EX-23.1 6 gbdcfy202310-kexhibit231.htm EX-23.1 Document

EXHIBIT 23.1
Consent of Independent Registered Public Accounting Firm

We consent to the incorporation by reference of our reports dated November 20, 2023, with respect to the consolidated financial statements of Golub Capital BDC, Inc. and Subsidiaries and the effectiveness of internal control over financial reporting of Golub Capital BDC, Inc. and Subsidiaries included in this Annual Report (Form 10-K) for the year ended September 30, 2023, into the Registration Statement (Form N-2, File No. 333-265509), filed with the Securities and Exchange Commission.

/s/ Ernst & Young LLP

Chicago, Illinois
November 20, 2023