Please wait
Exhibit 23.1
Consent of Independent Registered Public Accounting Firm

We consent to the incorporation by reference of our reports dated February 24, 2026, with respect to the consolidated financial statements of Carlyle Secured Lending, Inc. and the effectiveness of internal control over financial reporting of Carlyle Secured Lending, Inc. included in the Annual Report (Form 10-K) for the year ended December 31, 2025, into the Registration Statement (Form N-2, File No. 333-278993), filed with the Securities and Exchange Commission.


/s/ Ernst & Young LLP

New York, New York
February 24, 2026