QuickLinks -- Click here to rapidly navigate through this document


Exhibit 32.1

Certification of Chief Executive Officer
Pursuant to
Section 906 of the Sarbanes-Oxley Act of 2002 (18 U.S.C. 1350)

        In connection with the Quarterly Report of Main Street Capital Corporation (the "Registrant") on Form 10-Q for the quarter ended June 30, 2019 (the "Report"), as filed with the Securities and Exchange Commission on the date hereof, I, Dwayne L. Hyzak, the Chief Executive Officer of the Registrant, hereby certify, pursuant to 18 U.S.C. §1350, as adopted pursuant to §906 of the Sarbanes-Oxley Act of 2002, that:

  /s/ DWAYNE L. HYZAK

  Name:   Dwayne L. Hyzak

  Date:   August 9, 2019



QuickLinks

Certification of Chief Executive Officer Pursuant to Section 906 of the Sarbanes-Oxley Act of 2002 (18 U.S.C. 1350)