Attached files

file filename
S-1 - S-1 - MIDDLEFIELD BANC CORPd615256ds1.htm
EX-5 - EX-5 - MIDDLEFIELD BANC CORPd615256dex5.htm

Exhibit 23.1

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We consent to the incorporation by reference in this registration statement of Middlefield Banc Corp. on Form S-1 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, A.C.

Wexford, Pennsylvania

October 25, 2013