EX-32.1 7 a2234575zex-32_1.htm EX-32.1
QuickLinks -- Click here to rapidly navigate through this document


Exhibit 32.1

CERTIFICATION PURSUANT TO
SECTION 1350, CHAPTER 63 OF TITLE 18, UNITED STATES CODE,
AS ADOPTED PURSUANT TO
SECTION 906 OF THE SARBANES-OXLEY ACT OF 2002

       In connection with the accompanying Annual Report of Main Street Capital Corporation (the "Company") on Form 10-K for the year ended December 31, 2017 (the "Report"), I, Vincent D. Foster, Chairman and Chief Executive Officer of the Company, certify, pursuant to 18 U.S.C. §1350, as adopted pursuant to §906 of the Sarbanes-Oxley Act of 2002, that:

       (1)   The Report fully complies with the requirements of Section 13(a) or Section 15(d) of the Securities Exchange Act of 1934, as amended; and

       (2)   The information contained in the Report fairly presents, in all material respects, the financial condition and results of operations of the Company.

Date: February 23, 2018   By:   /s/ VINCENT D. FOSTER

Vincent D. Foster
Chairman and Chief Executive Officer



QuickLinks

CERTIFICATION PURSUANT TO SECTION 1350, CHAPTER 63 OF TITLE 18, UNITED STATES CODE, AS ADOPTED PURSUANT TO SECTION 906 OF THE SARBANES-OXLEY ACT OF 2002