Attached files

file filename
S-1/A - S-1/A - MIDDLEFIELD BANC CORPd615256ds1a.htm

Exhibit 23.1

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We consent to the incorporation by reference in this registration statement Pre-Effective Amendment No. 1 of Middlefield Banc Corp. on Form S-1 (No. 333-191895) of our report dated March 13, 2013, on Middlefield Banc Corp.’s consolidated financial statements appearing in the Annual Report on Form 10-K of Middlefield Banc Corp. for the year ended December 31, 2012, and to the reference to us under the heading “Experts” in the prospectus, which is part of this registration statement.

/s/ S.R. Snodgrass, P.C.

Wexford, Pennsylvania

January 17, 2014