v3.25.2
Document And Entity Information - USD ($)
12 Months Ended
Dec. 31, 2024
Mar. 10, 2025
Jun. 30, 2024
Document Information [Line Items]      
Entity, Registrant Name MainStreet Bancshares, Inc.    
Current Fiscal Year End Date --12-31    
Document, Fiscal Period Focus FY    
Document, Fiscal Year Focus 2024    
Document, Type 10-K/A    
Document, Annual Report true    
Document, Period End Date Dec. 31, 2024    
Document, Transition Report false    
Entity, File Number 001-38817    
Entity, Incorporation, State or Country Code VA    
Entity, Tax Identification Number 81-2871064    
Entity, Address, Address Line One 10089 Fairfax Boulevard    
Entity, Address, City or Town Fairfax    
Entity, Address, State or Province VA    
Entity, Address, Postal Zip Code 22030    
City Area Code 703    
Local Phone Number 481-4567    
Entity, Well-known Seasoned Issuer No    
Entity, Voluntary Filers No    
Entity, Current Reporting Status Yes    
Entity, Interactive Data, Current Yes    
Entity, Filer Category Accelerated Filer    
Entity, Small Business true    
Entity, Emerging Growth Company false    
ICFR Auditor Attestation Flag true    
Document, Financial Statement Error Correction Flag false    
Entity, Shell Company false    
Entity, Public Float     $ 134,721,919
Entity, Common Stock Shares, Outstanding   7,728,106  
Auditor Firm ID 613    
Auditor Name Yount, Hyde & Barbour, P.C.    
Auditor Location Winchester, Virginia    
Amendment Description MainStreet Bancshares, Inc. ("we" or the "Company") is filing this Amendment No. 2 on Form 10-K/A (the “Amendment”)  to its Annual Report on Form 10-K for the fiscal year ended December 31, 2024, as filed with the United States Securities and Exchange Commission on March 14, 2025 (the “Original Report’) soley to include the correct version of Exhibit 3.1, Restated Articles of Incorporation. The Company inadvertantly filed an incorrect version of Exhibit 3.1 with the Original Report. This Amendment also includes new certifications by our principal executive officer and principal financial officer as required by Item 15 of Part IV.   Except as expressly set forth herein, this Amendment does not reflect events occurring after the date of the Original Report or modify or update any of the other disclosures contained therein in any way other than as required to reflect the amendments referred to above. Accordingly, this Amendment should be read in conjunction with the Original Report and the Company's other filings with the SEC.    
Amendment Flag true    
Entity, Central Index Key 0001693577    
CommonStock Custom [Member]      
Document Information [Line Items]      
Title of 12(b) Security Common Stock    
Trading Symbol MNSB    
Security Exchange Name NASDAQ    
DepositaryShares Custom [Member]      
Document Information [Line Items]      
Title of 12(b) Security Depositary Shares    
Trading Symbol MNSBP    
Security Exchange Name NASDAQ