EX-23 4 ex_135974.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 Nos. 333-153059 and 333-218859 on Form S-8 and Form S-8POS, File No. 333-183497 on Form S-3D and Form S-3DPOS, of Middlefield Banc Corp. of our report dated March 6, 2019, relating to our audit of the consolidated financial statements, 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, 2018.

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

Cranberry Township, Pennsylvania

March 6, 2019

1

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