v3.22.2.2
Document and Entity Information
Dec. 01, 2022
Cover [Abstract]  
Entity Registrant Name MIDDLEFIELD BANC CORP
Amendment Flag false
Entity Central Index Key 0000836147
Current Fiscal Year End Date --12-31
Document Type 8-K
Document Period End Date Dec. 01, 2022
Entity Incorporation State Country Code OH
Entity File Number 001-36613
Entity Tax Identification Number 34-1585111
Entity Address, Address Line One 15985 East High Street
Entity Address, City or Town Middlefield
Entity Address, State or Province OH
Entity Address, Postal Zip Code 44062
City Area Code (440)
Local Phone Number 632-1666
Written Communications false
Soliciting Material false
Pre Commencement Tender Offer false
Pre Commencement Issuer Tender Offer false
Security 12b Title Common Stock, no par value
Trading Symbol MBCN
Security Exchange Name NASDAQ
Entity Emerging Growth Company false