QuickLinks -- Click here to rapidly navigate through this document

Exhibit n.2

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

        We consent to the reference to our firm under the caption "Experts" and to the use of our report dated November 1, 2002, in Post-Effective Amendment No. 2 to the Registration Statement (Form N-2 No. 333-100385) and related Prospectus of Gladstone Capital Corporation for the registration of $75,000,000 of its common stock, preferred stock and debt securities.

McLean, Virginia
July 12, 2004




QuickLinks

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM