Quarterly report pursuant to Section 13 or 15(d)


Cover - shares
3 Months Ended
Mar. 31, 2024
May 06, 2024
Cover [Abstract]    
Document Type 10-Q  
Document Quarterly Report true  
Document Period End Date Mar. 31, 2024  
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   85,715,621
Entity Central Index Key 0001396440  
Current Fiscal Year End Date --12-31  
Document Fiscal Year Focus 2024  
Document Fiscal Period Focus Q1  
Amendment Flag false