Quarterly report pursuant to Section 13 or 15(d)

Cover

v3.22.2.2
Cover - shares
9 Months Ended
Sep. 30, 2022
Nov. 03, 2022
Cover [Abstract]    
Document Type 10-Q  
Document Quarterly Report true  
Document Period End Date Sep. 30, 2022  
Document Transition Report false  
Securities Act File Number 001-33723  
Entity Registrant Name Main Street Capital Corporation  
Entity Incorporation, State or Country Code MD  
Entity Tax Identification Number 41-2230745  
Entity Address, Address Line One 1300 Post Oak Boulevard  
Entity Address, Address Line Two 8th Floor  
Entity Address, City or Town Houston  
Entity Address, State or Province TX  
Entity Address, Postal Zip Code 77056  
City Area Code 713  
Local Phone Number 350-6000  
Title of 12(b) Security Common Stock, par value $0.01 per share  
Trading Symbol MAIN  
Security Exchange Name NYSE  
Entity Current Reporting Status Yes  
Entity Interactive Data Current Yes  
Entity Filer Category Large Accelerated Filer  
Entity Small Business false  
Entity Emerging Growth Company false  
Entity Shell Company false  
Entity Common Stock, Shares Outstanding   77,253,793
Entity Central Index Key 0001396440  
Current Fiscal Year End Date --12-31  
Document Fiscal Year Focus 2022  
Document Fiscal Period Focus Q3  
Amendment Flag false