EX-23 10 ex_174247.htm EXHIBIT 23

Exhibit 23

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We consent to the incorporation by reference in Registration Statements File Nos. 333-213607 and 333-219313 on Form S-3; File No. 333-218859 on Form S-8; and File No. 333-183497 on Form S-3D and Form S-3DPOS, effective September 13, 2012, of Middlefield Banc Corp., of our report dated March 4, 2020, relating to our audit of the consolidated financial statements and internal control over financial reporting, which appears in the Annual Report to Shareholders, which is incorporated in this Annual Report on Form 10-K of Middlefield Banc Corp. for the year ended December 31, 2019.

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

Cranberry Township, Pennsylvania

March 4, 2020

S.R. Snodgrass, P.C. ● 2009 Mackenzle Way, Suite 340 ● Cranberry Township, Pennsylvania 16066 ● Phone: 724-934-0344 ● Fax: 724-934-0345