CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM
Board of Directors and Shareholders
Main Street Capital Corporation:
We have issued our reports dated March 11, 2011, with respect to the consolidated financial statements, schedule and internal control over financial reporting included in the Annual Report of Main Street Capital Corporation on Form 10-K for the year ended December 31, 2010. We hereby consent to the incorporation by reference of said reports in the Registration Statement of Main Street Capital Corporation on Form S-8 (File No. 333-151799), effective June 20, 2008.
/s/ GRANT THORNTON LLP
March 11, 2011