0001396440424B2N-2Main Street Capital CorporationEX-FILING FEES333-285405N/AN/Aiso4217:USDxbrli:pure000139644012025-08-142025-08-1400013964402025-08-142025-08-14

Exhibit 107
Calculation of Filing Fee Tables

424(b)(2)
(Form Type)

Main Street Capital Corporation
(Exact Name of Registrant as Specified in its Charter)

Table 1: Newly Registered and Carry Forward Securities

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
Fees to Be PaidDebt5.400% Notes due 2028Rule 457(o) and Rule 457(r)$350,000,00099.989%$349,961,500$0.00015310$53,579.11
Total Offering Amounts$349,961,500$53,579.11
Total Fees Previously Paid-
Total Fee Offsets-
Net Fee Due$53,579.11

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

1