Exhibit 5.1
March 3, 2022
Main Street Capital Corporation
1300 Post Oak Boulevard, 8th Floor
Houston, TX 77056
Ladies and Gentlemen:
We have acted as counsel to Main Street Capital Corporation, a Maryland corporation (the “Company”), in connection with the preparation and filing of a registration statement on Form N-2 (File No. 333-263258) filed by the Company with the Securities and Exchange Commission (the “Commission”) under the Securities Act of 1933, as amended (the “Securities Act”), on the date hereof (the “Registration Statement”), relating to the public offering of securities of the Company that may be offered by the Company from time to time as set forth in the prospectus dated March 3, 2022, which was included in the Registration Statement, and which forms a part of the Registration Statement (the “Prospectus”), and as may be set forth from time to time in one or more supplements to the Prospectus.
This opinion letter is rendered in connection with the issuance and sale from time to time of up to 15,000,000 shares of the Company’s common stock (the “Shares”), as described in the prospectus supplement, dated as of March 3, 2022, filed with the Commission pursuant to Rule 424(b)(2) under the Securities Act (the “Prospectus Supplement”). The Shares are to be sold by the Company pursuant to equity distribution agreements, each dated as of March 3, 2022, by and between the Company and each of Truist Securities, Inc., RBC Capital Markets, LLC, Raymond James & Associates, Inc., Comerica Securities, Inc. and SMBC Nikko Securities America, Inc. (collectively, the “Sales Agreements”).
In rendering the opinion expressed below, we have examined and relied on originals or copies, certified or otherwise identified to our satisfaction, of such documents, corporate records and other instruments and such agreements, certificates and receipts of public officials, certificates of officers or other representatives of the Company and others, and such other documents as we have deemed necessary or appropriate as a basis for rendering the opinion set forth below, including the following documents:
| (i) | the Articles of Amendment and Restatement of the Company, certified as of the date hereof by an officer of the Company; |
| (ii) | the Amended and Restated Bylaws of the Company, certified as of the date hereof by an officer of the Company; |