N-2 424B2 EX-FILING FEES 333-285405 0001396440 Main Street Capital CORP N/A N/A 0001396440 2026-03-26 2026-03-26 0001396440 1 2026-03-26 2026-03-26 iso4217:USD xbrli:pure xbrli:shares

Calculation of Filing Fee Tables

N-2

Main Street Capital CORP

Table 1: Newly Registered and Carry Forward Securities ☐Not Applicable

Security Type

Security Class Title

Fee Calculation or Carry Forward Rule

Amount Registered

Proposed Maximum Offering Price Per Unit

Maximum Aggregate Offering Price

Fee Rate

Amount of Registration Fee

Carry Forward Form Type

Carry Forward File Number

Carry Forward Initial Effective Date

Filing Fee Previously Paid in Connection with Unsold Securities to be Carried Forward

Newly Registered Securities
Fees to be Paid 1 Debt 6.95% Notes Due 2029 457(o) $ 200,000,000.00 0.0001381 $ 27,620.00
Fees Previously Paid
Carry Forward Securities
Carry Forward Securities

Total Offering Amounts:

$ 200,000,000.00

$ 27,620.00

Total Fees Previously Paid:

$ 0.00

Total Fee Offsets:

$ 0.00

Net Fee Due:

$ 27,620.00

Offering Note

1

The pricing supplement to which this Exhibit is attached is a final prospectus for the related offering.

Table 2: Fee Offset Claims and Sources ☑Not Applicable
Registrant or Filer Name Form or Filing Type File Number Initial Filing Date Filing Date Fee Offset Claimed Security Type Associated with Fee Offset Claimed Security Title Associated with Fee Offset Claimed Unsold Securities Associated with Fee Offset Claimed Unsold Aggregate Offering Amount Associated with Fee Offset Claimed Fee Paid with Fee Offset Source
Rules 457(b) and 0-11(a)(2)
Fee Offset Claims
Fee Offset Sources
Rule 457(p)
Fee Offset Claims
Fee Offset Sources
Table 3: Combined Prospectuses ☑Not Applicable

Security Type

Security Class Title

Amount of Securities Previously Registered

Maximum Aggregate Offering Price of Securities Previously Registered

Form Type

File Number

Initial Effective Date

Narrative Disclosure
The maximum aggregate amount of the securities to which the prospectus relates is 200,000,000. The prospectus is a final prospectus for the related offering.