v3.25.2

N-2 - USD ($) $ / shares in Units, $ in Millions | 9 Months Ended |  |  |  |  |
--- | --- | --- | --- | --- | --- | ---
Jun. 30, 2025 | Mar. 31, 2025 | Sep. 30, 2024 | Jun. 30, 2024 | Mar. 31, 2024 | Sep. 30, 2023
Cover [Abstract] |  |  |  |  |  |
Entity Central Index Key | 0001414932 |  |  |  |  |
Amendment Flag | false |  |  |  |  |
Securities Act File Number | 1-33901 |  |  |  |  |
Document Type | 10-Q |  |  |  |  |
Entity Registrant Name | Oaktree Specialty Lending Corporation |  |  |  |  |
Entity Address, Address Line One | 333 South Grand Avenue |  |  |  |  |
Entity Address, Address Line Two | 28th Floor |  |  |  |  |
Entity Address, City or Town | Los Angeles |  |  |  |  |
Entity Address, State or Province | CA |  |  |  |  |
Entity Address, Postal Zip Code | 90071 |  |  |  |  |
City Area Code | 213 |  |  |  |  |
Local Phone Number | 830-6300 |  |  |  |  |
Entity Emerging Growth Company | false |  |  |  |  |
Financial Highlights [Abstract] |  |  |  |  |  |
Senior Securities Amount | $ 1,466.1 |  |  | $ 1,743.4 |  |
General Description of Registrant [Abstract] |  |  |  |  |  |
NAV Per Share | $ 16.76 | $ 16.75 | $ 18.09 | $ 18.19 | $ 18.72 | $ 19.63
Capital Stock, Long-Term Debt, and Other Securities [Abstract] |  |  |  |  |  |
Long Term Debt [Table Text Block] | Syndicated Facility On November 30, 2017, the Company entered into a senior secured revolving credit facility (as amended and restated, the “Syndicated Facility”) pursuant to a Senior Secured Revolving Credit Agreement with the lenders party thereto, ING Capital LLC, as administrative agent, ING Capital LLC, JPMorgan Chase Bank, N.A., BofA Securities, Inc. and Wells Fargo Securities, LLC, as joint lead arrangers and joint bookrunners, and JPMorgan Chase Bank, N.A. and Bank of America, N.A., as syndication agents. The Syndicated Facility provides that the Company may use the proceeds of the loans and issuances of letters of credit under the Syndicated Facility for general corporate purposes, including acquiring and funding leveraged loans, mezzanine loans, high-yield securities, convertible securities, preferred stock, common stock and other investments. The Syndicated Facility further allows the Company to request letters of credit from ING Capital LLC, as the issuing bank. As of June 30, 2025, the size of the Syndicated Facility was $1.160 billion. In addition, pursuant to an "accordion" feature, the Company may increase the size of the facility to up to the greater of $1.50 billion and the Company's net worth, as defined in the facility, under certain circumstances. As of June 30, 2025, (i) the period during which the Company may make drawings will expire on April 8, 2029 and the maturity date is April 8, 2030 and (ii) the interest rate margin for (a) SOFR loans (which may be 1- or 3-month at the Company’s option) was 1.875% plus a SOFR adjustment equal to 0.10% and (b) alternate base rate loans was 0.875% plus a SOFR adjustment equal to 0.10%; provided that, if at any time the Borrowing Base (as defined in the Syndicated Facility) is greater than 1.60 times the Combined Debt Amount (as defined in the Syndicated Facility), the interest rate margin with respect to (a) SOFR loans will be 1.75% plus a SOFR adjustment equal to 0.10% and (b) alternate base rate loans will be 0.75% plus a SOFR adjustment equal to 0.10%. The Syndicated Facility is secured by substantially all of the Company’s assets (excluding, among other things, investments held in and by certain subsidiaries of the Company (including OSI 2 Senior Lending SPV, LLC, or “OSI 2 SPV”) or investments in certain portfolio companies of the Company) and guaranteed by certain subsidiaries of the Company. The Syndicated Facility requires the Company to, among other things, (i) make representations and warranties regarding the collateral as well as each of the Company’s portfolio companies’ businesses, (ii) agree to certain indemnification obligations, and (iii) comply with various affirmative and negative covenants, reporting requirements and other customary requirements for similar revolving credit facilities, including covenants related to: (A) limitations on the incurrence of additional indebtedness and liens, (B) limitations on certain investments, (C) limitations on certain asset transfers and restricted payments, (D) maintaining a certain minimum stockholders’ equity, (E) maintaining a ratio of total assets (less total liabilities) to total indebtedness, of the Company and its subsidiaries (subject to certain exceptions), of not less than 1.50 to 1.00, (F) maintaining a ratio of consolidated EBITDA to consolidated interest expense, of the Company and its subsidiaries (subject to certain exceptions), of not less than 2.25 to 1.00, (G) maintaining a minimum liquidity and net worth, and (H) limitations on the creation or existence of agreements that prohibit liens on certain properties of the Company and certain of its subsidiaries. The Syndicated Facility also includes usual and customary default provisions such as the failure to make timely payments under the facility, the occurrence of a change in control, and the failure by the Company to materially perform under the agreements governing the facility, which, if not complied with, could accelerate repayment under the facility. As of June 30, 2025, the Company was in compliance with all financial covenants under the Syndicated Facility. In addition to the asset coverage ratio described above, borrowings under the Syndicated Facility (and the incurrence of certain other permitted debt) are subject to compliance with a borrowing base that will apply different advance rates to different types of assets in the Company’s portfolio. Each loan or letter of credit originated or assumed under the Syndicated Facility is subject to the satisfaction of certain conditions. In connection with the April 8, 2025 amendment of the Syndicated Facility, the Company accelerated $0.7 million of deferred financing costs into interest expense during the three and nine months ended June 30, 2025. As of June 30, 2025 and September 30, 2024, the Company had $510.0 million and $430.0 million of borrowings outstanding under the Syndicated Facility, which had a fair value of $510.0 million and $430.0 million, respectively. The Company's borrowings under the Syndicated Facility bore interest at a weighted average interest rate of 6.533% and 7.576% for the nine months ended June 30, 2025 and 2024, respectively. For the three and nine months ended June 30, 2025, the Company recorded interest expense (inclusive of fees) of $9.7 million and $27.5 million, respectively, related to the Syndicated Facility. For the three and nine months ended June 30, 2024, the Company recorded interest expense (inclusive of fees) of $10.2 million and $29.3 million, respectively, related to the Syndicated Facility. OSI2 Citibank Facility On January 23, 2023, as a result of the consummation of the OSI2 Merger, the Company became party to a revolving credit facility (as amended and/or restated from time to time, the “OSI2 Citibank Facility”) with OSI 2 SPV, the Company’s wholly-owned and consolidated subsidiary, as the borrower, the Company, as collateral manager, each of the lenders from time to time party thereto, Citibank, N.A., as administrative agent, and Deutsche Bank Trust Company Americas, as collateral agent. On May 14, 2025, the Company repaid all outstanding borrowings under the OSI2 Citibank Facility, following which the OSI2 Citibank Facility was terminated. Obligations under the OSI2 Citibank Facility would have otherwise matured on January 26, 2029. In connection with the termination of the OSI2 Citibank Facility, the Company accelerated $3.1 million of deferred financing costs into interest expense during the three and nine months ended June 30, 2025. As of September 30, 2024, the Company had $280.0 million outstanding under the OSI2 Citibank Facility, which had a fair value of $280.0 million. The Company’s borrowings under the OSI2 Citibank Facility bore interest at a weighted average interest rate of 6.741% and 8.029% for the nine months ended June 30, 2025 and 2024, respectively. For the three and nine months ended June 30, 2025, the Company recorded interest expense (inclusive of fees) of $4.5 million and $14.4 million, respectively, related to the OSI2 Citibank Facility. For the three and nine months ended June 30, 2024, the Company recorded interest expense (inclusive of fees) of $6.1 million and $18.1 million, respectively, related to the OSI2 Citibank Facility. 2025 Notes On February 25, 2020, the Company issued $300.0 million in aggregate principal amount of the 2025 Notes for net proceeds of $293.8 million after deducting OID of $2.5 million, underwriting commissions and discounts of $3.0 million and offering costs of $0.7 million. The OID on the 2025 Notes was amortized based on the effective interest method over the term of the 2025 Notes. Interest on the 2025 Notes was paid semi-annually on February 25 and August 25 at a rate of 3.500% per annum. The 2025 Notes matured on February 25, 2025. 2027 Notes On May 18, 2021, the Company issued $350.0 million in aggregate principal amount of the 2027 Notes for net proceeds of $344.8 million after deducting OID of $1.0 million, underwriting commissions and discounts of $3.5 million and offering costs of $0.7 million. The OID on the 2027 Notes is amortized based on the effective interest method over the term of the 2027 Notes. The 2027 Notes were issued pursuant to an indenture, dated April 30, 2012, as supplemented by the sixth supplemental indenture, dated May 18, 2021 (collectively, the "2027 Notes Indenture"), between the Company and the Trustee. The 2027 Notes are the Company's general unsecured obligations that rank senior in right of payment to all of the Company's existing and future indebtedness that is expressly subordinated in right of payment to the 2027 Notes. The 2027 Notes rank equally in right of payment with all of the Company's existing and future liabilities that are not so subordinated. The 2027 Notes effectively rank junior to any of the Company's secured indebtedness (including unsecured indebtedness that the Company later secures) to the extent of the value of the assets securing such indebtedness. The 2027 Notes rank structurally junior to all existing and future indebtedness (including trade payables) incurred by the Company's subsidiaries, financing vehicles or similar facilities. Interest on the 2027 Notes is paid semi-annually on January 15 and July 15 at a rate of 2.700% per annum. The 2027 Notes mature on January 15, 2027 and may be redeemed in whole or in part at any time or from time to time at the Company's option prior to maturity at par plus a “make-whole” premium, if applicable. In addition, holders of the 2027 Notes can require the Company to repurchase the 2027 Notes at 100% of their principal amount upon the occurrence of certain change of control events as described in the 2027 Notes Indenture. The 2027 Notes were issued in minimum denominations of $2,000 and integral multiples of $1,000 in excess thereof. During the three and nine months ended June 30, 2025, the Company did not repurchase any of the 2027 Notes in the open market. The 2027 Notes Indenture contains certain covenants, including covenants requiring the Company's compliance with the asset coverage requirements set forth in Section 18(a)(1)(A) as modified by Section 61(a)(1) and (2) of the Investment Company Act or any successor provisions (but giving effect to any exemptive relief granted to the Company by the Securities and Exchange Commission (the "SEC"), as well as covenants requiring the Company to provide financial information to the holders of the 2027 Notes and the Trustee if the Company ceases to be subject to the reporting requirements of the Securities Exchange Act of 1934, as amended (the "Exchange Act"). These covenants are subject to limitations and exceptions that are described in the 2027 Notes Indenture. In connection with the 2027 Notes, the Company entered into an interest rate swap to more closely align the interest rates of its liabilities with its investment portfolio, which consists of predominately floating rate loans. Under the interest rate swap agreement, the Company receives a fixed interest rate of 2.700% and pays a floating interest rate of the three-month SOFR plus 1.658% plus a SOFR adjustment of 0.26161% on a notional amount of $350.0 million. The Company designated the interest rate swap as the hedging instrument in an effective hedge accounting relationship. See Note 12 for more information regarding the interest rate swap. 2029 Notes On August 15, 2023, the Company issued $300.0 million in aggregate principal amount of the 2029 Notes for net proceeds of $292.9 million after deducting OID of $3.5 million, underwriting commissions and discounts of $3.0 million and offering costs of $0.6 million. The OID on the 2029 Notes is amortized based on the effective interest method over the term of the 2029 Notes. The 2029 Notes were issued pursuant to an indenture, dated April 30, 2012, as supplemented by the seventh supplemental indenture, dated August 15, 2023 (collectively, the "2029 Notes Indenture"), between the Company and the Trustee. The 2029 Notes are the Company's general unsecured obligations that rank senior in right of payment to all of the Company's existing and future indebtedness that is expressly subordinated in right of payment to the 2029 Notes. The 2029 Notes rank equally in right of payment with all of the Company's existing and future liabilities that are not so subordinated. The 2029 Notes effectively rank junior to any of the Company's secured indebtedness (including unsecured indebtedness that the Company later secures) to the extent of the value of the assets securing such indebtedness. The 2029 Notes rank structurally junior to all existing and future indebtedness (including trade payables) incurred by the Company's subsidiaries, financing vehicles or similar facilities. Interest on the 2029 Notes is paid semi-annually on February 15 and August 15 at a rate of 7.100% per annum. The 2029 Notes mature on February 15, 2029 and may be redeemed in whole or in part at any time or from time to time at the Company's option prior to maturity at par plus a “make-whole” premium, if applicable. In addition, holders of the 2029 Notes can require the Company to repurchase the 2029 Notes at 100% of their principal amount upon the occurrence of certain change of control events as described in the 2029 Notes Indenture. The 2029 Notes were issued in minimum denominations of $2,000 and integral multiples of $1,000 in excess thereof. During the three and nine months ended June 30, 2025, the Company did not repurchase any of the 2029 Notes in the open market. The 2029 Notes Indenture contains certain covenants, including covenants requiring the Company's compliance with the asset coverage requirements set forth in Section 18(a)(1)(A) as modified by Section 61(a)(1) and (2) of the Investment Company Act or any successor provisions (but giving effect to any exemptive relief granted to the Company by the SEC), as well as covenants requiring the Company to provide financial information to the holders of the 2029 Notes and the Trustee if the Company ceases to be subject to the reporting requirements of the Exchange Act. These covenants are subject to limitations and exceptions that are described in the 2029 Notes Indenture. In connection with the 2029 Notes, the Company entered into an interest rate swap to more closely align the interest rates of its liabilities with its investment portfolio, which consists of predominately floating rate loans. Under the interest rate swap agreement, the Company receives a fixed interest rate of 7.100% and pays a floating interest rate of the three-month SOFR plus 3.1255% on a notional amount of $300.0 million. The Company designated the interest rate swap as the hedging instrument in an effective hedge accounting relationship. See Note 12 for more information regarding the interest rate swap. 2030 Notes On February 27, 2025, the Company issued $300.0 million in aggregate principal amount of the 2030 Notes for net proceeds of $296.3 million after deducting OID of less than $0.1 million, underwriting commissions and discounts of $3.0 million and offering costs of $0.7 million. The OID on the 2030 Notes is amortized based on the effective interest method over the term of the 2030 Notes. The 2030 Notes were issued pursuant to an indenture, dated April 30, 2012, as supplemented by the eighth supplemental indenture, dated February 27, 2025 (collectively, the "2030 Notes Indenture"), between the Company and the Trustee. The 2030 Notes are the Company's general unsecured obligations that rank senior in right of payment to all of the Company's existing and future indebtedness that is expressly subordinated in right of payment to the 2030 Notes. The 2030 Notes rank equally in right of payment with all of the Company's existing and future liabilities that are not so subordinated. The 2030 Notes effectively rank junior to any of the Company's secured indebtedness (including unsecured indebtedness that the Company later secures) to the extent of the value of the assets securing such indebtedness. The 2030 Notes rank structurally junior to all existing and future indebtedness (including trade payables) incurred by the Company's subsidiaries, financing vehicles or similar facilities. Interest on the 2030 Notes is paid semi-annually on February 27 and August 27 at a rate of 6.340% per annum. The 2030 Notes mature on February 27, 2030 and may be redeemed in whole or in part at any time or from time to time at the Company's option prior to maturity at par plus a “make-whole” premium, if applicable. In addition, holders of the 2030 Notes can require the Company to repurchase the 2030 Notes at 100% of their principal amount upon the occurrence of certain change of control events as described in the 2030 Notes Indenture. The 2030 Notes were issued in minimum denominations of $2,000 and integral multiples of $1,000 in excess thereof. During the three and nine months ended June 30, 2025, the Company did not repurchase any of the 2030 Notes in the open market. The 2030 Notes Indenture contains certain covenants, including covenants requiring the Company's compliance with the asset coverage requirements set forth in Section 18(a)(1)(A) as modified by Section 61(a)(1) and (2) of the Investment Company Act or any successor provisions (but giving effect to any exemptive relief granted to the Company by the SEC), as well as covenants requiring the Company to provide financial information to the holders of the 2030 Notes and the Trustee if the Company ceases to be subject to the reporting requirements of the Exchange Act. These covenants are subject to limitations and exceptions that are described in the 2030 Notes Indenture. In connection with the 2030 Notes, the Company entered into an interest rate swap to more closely align the interest rates of its liabilities with its investment portfolio, which consists of predominately floating rate loans. Under the interest rate swap agreement, the Company receives a fixed interest rate of 6.340% and pays a floating interest rate of the three-month SOFR plus 2.192% on a notional amount of $300.0 million. The Company designated the interest rate swap as the hedging instrument in an effective hedge accounting relationship. See Note 12 for more information regarding the interest rate swap. |  |  |  |  |
Long Term Debt, Structuring [Text Block] | On February 27, 2025, the Company issued $300.0 million in aggregate principal amount of the 2030 Notes for net proceeds of $296.3 million after deducting OID of less than $0.1 million, underwriting commissions and discounts of $3.0 million and offering costs of $0.7 million. The OID on the 2030 Notes is amortized based on the effective interest method over the term of the 2030 Notes. |  |  |  |  |
Long Term Debt, Dividends and Covenants [Text Block] | The 2030 Notes Indenture contains certain covenants, including covenants requiring the Company's compliance with the asset coverage requirements set forth in Section 18(a)(1)(A) as modified by Section 61(a)(1) and (2) of the Investment Company Act or any successor provisions (but giving effect to any exemptive relief granted to the Company by the SEC), as well as covenants requiring the Company to provide financial information to the holders of the 2030 Notes and the Trustee if the Company ceases to be subject to the reporting requirements of the Exchange Act. These covenants are subject to limitations and exceptions that are described in the 2030 Notes Indenture. |  |  |  |  |
Syndicated Facility [Member] |  |  |  |  |  |
Capital Stock, Long-Term Debt, and Other Securities [Abstract] |  |  |  |  |  |
Long Term Debt, Title [Text Block] | Syndicated Facility |  |  |  |  |
Long Term Debt, Structuring [Text Block] | On November 30, 2017, the Company entered into a senior secured revolving credit facility (as amended and restated, the “Syndicated Facility”) pursuant to a Senior Secured Revolving Credit Agreement with the lenders party thereto, ING Capital LLC, as administrative agent, ING Capital LLC, JPMorgan Chase Bank, N.A., BofA Securities, Inc. and Wells Fargo Securities, LLC, as joint lead arrangers and joint bookrunners, and JPMorgan Chase Bank, N.A. and Bank of America, N.A., as syndication agents. The Syndicated Facility provides that the Company may use the proceeds of the loans and issuances of letters of credit under the Syndicated Facility for general corporate purposes, including acquiring and funding leveraged loans, mezzanine loans, high-yield securities, convertible securities, preferred stock, common stock and other investments. The Syndicated Facility further allows the Company to request letters of credit from ING Capital LLC, as the issuing bank. As of June 30, 2025, the size of the Syndicated Facility was $1.160 billion. In addition, pursuant to an "accordion" feature, the Company may increase the size of the facility to up to the greater of $1.50 billion and the Company's net worth, as defined in the facility, under certain circumstances. As of June 30, 2025, (i) the period during which the Company may make drawings will expire on April 8, 2029 and the maturity date is April 8, 2030 and (ii) the interest rate margin for (a) SOFR loans (which may be 1- or 3-month at the Company’s option) was 1.875% plus a SOFR adjustment equal to 0.10% and (b) alternate base rate loans was 0.875% plus a SOFR adjustment equal to 0.10%; provided that, if at any time the Borrowing Base (as defined in the Syndicated Facility) is greater than 1.60 times the Combined Debt Amount (as defined in the Syndicated Facility), the interest rate margin with respect to (a) SOFR loans will be 1.75% plus a SOFR adjustment equal to 0.10% and (b) alternate base rate loans will be 0.75% plus a SOFR adjustment equal to 0.10%. The Syndicated Facility is secured by substantially all of the Company’s assets (excluding, among other things, investments held in and by certain subsidiaries of the Company (including OSI 2 Senior Lending SPV, LLC, or “OSI 2 SPV”) or investments in certain portfolio companies of the Company) and guaranteed by certain subsidiaries of the Company. |  |  |  |  |
Long Term Debt, Dividends and Covenants [Text Block] | The Syndicated Facility requires the Company to, among other things, (i) make representations and warranties regarding the collateral as well as each of the Company’s portfolio companies’ businesses, (ii) agree to certain indemnification obligations, and (iii) comply with various affirmative and negative covenants, reporting requirements and other customary requirements for similar revolving credit facilities, including covenants related to: (A) limitations on the incurrence of additional indebtedness and liens, (B) limitations on certain investments, (C) limitations on certain asset transfers and restricted payments, (D) maintaining a certain minimum stockholders’ equity, (E) maintaining a ratio of total assets (less total liabilities) to total indebtedness, of the Company and its subsidiaries (subject to certain exceptions), of not less than 1.50 to 1.00, (F) maintaining a ratio of consolidated EBITDA to consolidated interest expense, of the Company and its subsidiaries (subject to certain exceptions), of not less than 2.25 to 1.00, (G) maintaining a minimum liquidity and net worth, and (H) limitations on the creation or existence of agreements that prohibit liens on certain properties of the Company and certain of its subsidiaries. The Syndicated Facility also includes usual and customary default provisions such as the failure to make timely payments under the facility, the occurrence of a change in control, and the failure by the Company to materially perform under the agreements governing the facility, which, if not complied with, could accelerate repayment under the facility. As of June 30, 2025, the Company was in compliance with all financial covenants under the Syndicated Facility. In addition to the asset coverage ratio described above, borrowings under the Syndicated Facility (and the incurrence of certain other permitted debt) are subject to compliance with a borrowing base that will apply different advance rates to different types of assets in the Company’s portfolio. Each loan or letter of credit originated or assumed under the Syndicated Facility is subject to the satisfaction of certain conditions. In connection with the April 8, 2025 amendment of the Syndicated Facility, the Company accelerated $0.7 million of deferred financing costs into interest expense during the three and nine months ended June 30, 2025. |  |  |  |  |
OSI2 Citibank Facility [Member] |  |  |  |  |  |
Capital Stock, Long-Term Debt, and Other Securities [Abstract] |  |  |  |  |  |
Long Term Debt, Title [Text Block] | OSI2 Citibank Facility |  |  |  |  |
Long Term Debt, Structuring [Text Block] | On January 23, 2023, as a result of the consummation of the OSI2 Merger, the Company became party to a revolving credit facility (as amended and/or restated from time to time, the “OSI2 Citibank Facility”) with OSI 2 SPV, the Company’s wholly-owned and consolidated subsidiary, as the borrower, the Company, as collateral manager, each of the lenders from time to time party thereto, Citibank, N.A., as administrative agent, and Deutsche Bank Trust Company Americas, as collateral agent. On May 14, 2025, the Company repaid all outstanding borrowings under the OSI2 Citibank Facility, following which the OSI2 Citibank Facility was terminated. Obligations under the OSI2 Citibank Facility would have otherwise matured on January 26, 2029. In connection with the termination of the OSI2 Citibank Facility, the Company accelerated $3.1 million of deferred financing costs into interest expense during the three and nine months ended June 30, 2025. As of |  |  |  |  |
2025 Notes [Member] |  |  |  |  |  |
Capital Stock, Long-Term Debt, and Other Securities [Abstract] |  |  |  |  |  |
Long Term Debt, Title [Text Block] | 2025 Notes |  |  |  |  |
Long Term Debt, Structuring [Text Block] | On February 25, 2020, the Company issued $300.0 million in aggregate principal amount of the 2025 Notes for net proceeds of $293.8 million after deducting OID of $2.5 million, underwriting commissions and discounts of $3.0 million and offering costs of $0.7 million. The OID on the 2025 Notes was amortized based on the effective interest method over the term of the 2025 Notes. Interest on the 2025 Notes was paid semi-annually on February 25 and August 25 at a rate of 3.500% per annum. The 2025 Notes matured on February 25, 2025. |  |  |  |  |
2027 Notes [Member] |  |  |  |  |  |
Capital Stock, Long-Term Debt, and Other Securities [Abstract] |  |  |  |  |  |
Long Term Debt, Title [Text Block] | 2027 Notes |  |  |  |  |
Long Term Debt, Structuring [Text Block] | On May 18, 2021, the Company issued $350.0 million in aggregate principal amount of the 2027 Notes for net proceeds of $344.8 million after deducting OID of $1.0 million, underwriting commissions and discounts of $3.5 million and offering costs of $0.7 million. The OID on the 2027 Notes is amortized based on the effective interest method over the term of the 2027 Notes. The 2027 Notes were issued pursuant to an indenture, dated April 30, 2012, as supplemented by the sixth supplemental indenture, dated May 18, 2021 (collectively, the "2027 Notes Indenture"), between the Company and the Trustee. The 2027 Notes are the Company's general unsecured obligations that rank senior in right of payment to all of the Company's existing and future indebtedness that is expressly subordinated in right of payment to the 2027 Notes. The 2027 Notes rank equally in right of payment with all of the Company's existing and future liabilities that are not so subordinated. The 2027 Notes effectively rank junior to any of the Company's secured indebtedness (including unsecured indebtedness that the Company later secures) to the extent of the value of the assets securing such indebtedness. The 2027 Notes rank structurally junior to all existing and future indebtedness (including trade payables) incurred by the Company's subsidiaries, financing vehicles or similar facilities. Interest on the 2027 Notes is paid semi-annually on January 15 and July 15 at a rate of 2.700% per annum. The 2027 Notes mature on January 15, 2027 and may be redeemed in whole or in part at any time or from time to time at the Company's option prior to maturity at par plus a “make-whole” premium, if applicable. In addition, holders of the 2027 Notes can require the Company to repurchase the 2027 Notes at 100% of their principal amount upon the occurrence of certain change of control events as described in the 2027 Notes Indenture. The 2027 Notes were issued in minimum denominations of $2,000 and integral multiples of $1,000 in excess thereof. During the three and nine months ended June 30, 2025, the Company did not repurchase any of the 2027 Notes in the open market. |  |  |  |  |
Long Term Debt, Dividends and Covenants [Text Block] | The 2027 Notes Indenture contains certain covenants, including covenants requiring the Company's compliance with the asset coverage requirements set forth in Section 18(a)(1)(A) as modified by Section 61(a)(1) and (2) of the Investment Company Act or any successor provisions (but giving effect to any exemptive relief granted to the Company by the Securities and Exchange Commission (the "SEC"), as well as covenants requiring the Company to provide financial information to the holders of the 2027 Notes and the Trustee if the Company ceases to be subject to the reporting requirements of the Securities Exchange Act of 1934, as amended (the "Exchange Act"). These covenants are subject to limitations and exceptions that are described in the 2027 Notes Indenture. |  |  |  |  |
2029 Notes [Member] |  |  |  |  |  |
Capital Stock, Long-Term Debt, and Other Securities [Abstract] |  |  |  |  |  |
Long Term Debt, Title [Text Block] | 2029 Notes |  |  |  |  |
Long Term Debt, Structuring [Text Block] | On August 15, 2023, the Company issued $300.0 million in aggregate principal amount of the 2029 Notes for net proceeds of $292.9 million after deducting OID of $3.5 million, underwriting commissions and discounts of $3.0 million and offering costs of $0.6 million. The OID on the 2029 Notes is amortized based on the effective interest method over the term of the 2029 Notes. The 2029 Notes were issued pursuant to an indenture, dated April 30, 2012, as supplemented by the seventh supplemental indenture, dated August 15, 2023 (collectively, the "2029 Notes Indenture"), between the Company and the Trustee. The 2029 Notes are the Company's general unsecured obligations that rank senior in right of payment to all of the Company's existing and future indebtedness that is expressly subordinated in right of payment to the 2029 Notes. The 2029 Notes rank equally in right of payment with all of the Company's existing and future liabilities that are not so subordinated. The 2029 Notes effectively rank junior to any of the Company's secured indebtedness (including unsecured indebtedness that the Company later secures) to the extent of the value of the assets securing such indebtedness. The 2029 Notes rank structurally junior to all existing and future indebtedness (including trade payables) incurred by the Company's subsidiaries, financing vehicles or similar facilities. Interest on the 2029 Notes is paid semi-annually on February 15 and August 15 at a rate of 7.100% per annum. The 2029 Notes mature on February 15, 2029 and may be redeemed in whole or in part at any time or from time to time at the Company's option prior to maturity at par plus a “make-whole” premium, if applicable. In addition, holders of the 2029 Notes can require the Company to repurchase the 2029 Notes at 100% of their principal amount upon the occurrence of certain change of control events as described in the 2029 Notes Indenture. The 2029 Notes were issued in minimum denominations of $2,000 and integral multiples of $1,000 in excess thereof. During the three and nine months ended June 30, 2025, the Company did not repurchase any of the 2029 Notes in the open market. |  |  |  |  |
Long Term Debt, Dividends and Covenants [Text Block] | The 2029 Notes Indenture contains certain covenants, including covenants requiring the Company's compliance with the asset coverage requirements set forth in Section 18(a)(1)(A) as modified by Section 61(a)(1) and (2) of the Investment Company Act or any successor provisions (but giving effect to any exemptive relief granted to the Company by the SEC), as well as covenants requiring the Company to provide financial information to the holders of the 2029 Notes and the Trustee if the Company ceases to be subject to the reporting requirements of the Exchange Act. These covenants are subject to limitations and exceptions that are described in the 2029 Notes Indenture. In connection with the 2029 Notes, the Company entered into an interest rate swap to more closely align the interest rates of its liabilities with its investment portfolio, which consists of predominately floating rate loans. Under the interest rate swap agreement, the Company receives a fixed interest rate of 7.100% and pays a floating interest rate of the three-month SOFR plus 3.1255% on a notional amount of $300.0 million. The Company designated the interest rate swap as the hedging instrument in an effective hedge accounting relationship. See Note 12 for more information regarding the interest rate swap. 2030 Notes On February 27, 2025, the Company issued $300.0 million in aggregate principal amount of the 2030 Notes for net proceeds of $296.3 million after deducting OID of less than $0.1 million, underwriting commissions and discounts of $3.0 million and offering costs of $0.7 million. The OID on the 2030 Notes is amortized based on the effective interest method over the term of the 2030 Notes. The 2030 Notes were issued pursuant to an indenture, dated April 30, 2012, as supplemented by the eighth supplemental indenture, dated February 27, 2025 (collectively, the "2030 Notes Indenture"), between the Company and the Trustee. The 2030 Notes are the Company's general unsecured obligations that rank senior in right of payment to all of the Company's existing and future indebtedness that is expressly subordinated in right of payment to the 2030 Notes. The 2030 Notes rank equally in right of payment with all of the Company's existing and future liabilities that are not so subordinated. The 2030 Notes effectively rank junior to any of the Company's secured indebtedness (including unsecured indebtedness that the Company later secures) to the extent of the value of the assets securing such indebtedness. The 2030 Notes rank structurally junior to all existing and future indebtedness (including trade payables) incurred by the Company's subsidiaries, financing vehicles or similar facilities. Interest on the 2030 Notes is paid semi-annually on February 27 and August 27 at a rate of 6.340% per annum. The 2030 Notes mature on February 27, 2030 and may be redeemed in whole or in part at any time or from time to time at the Company's option prior to maturity at par plus a “make-whole” premium, if applicable. In addition, holders of the 2030 Notes can require the Company to repurchase the 2030 Notes at 100% of their principal amount upon the occurrence of certain change of control events as described in the 2030 Notes Indenture. The 2030 Notes were issued in minimum denominations of $2,000 and integral multiples of $1,000 in excess thereof. During the three and nine months ended June 30, 2025, the Company did not repurchase any of the 2030 Notes in the open market. The 2030 Notes Indenture contains certain covenants, including covenants requiring the Company's compliance with the asset coverage requirements set forth in Section 18(a)(1)(A) as modified by Section 61(a)(1) and (2) of the Investment Company Act or any successor provisions (but giving effect to any exemptive relief granted to the Company by the SEC), as well as covenants requiring the Company to provide financial information to the holders of the 2030 Notes and the Trustee if the Company ceases to be subject to the reporting requirements of the Exchange Act. These covenants are subject to limitations and exceptions that are described in the 2030 Notes Indenture. In connection with the 2030 Notes, the Company entered into an interest rate swap to more closely align the interest rates of its liabilities with its investment portfolio, which consists of predominately floating rate loans. Under the interest rate swap agreement, the Company receives a fixed interest rate of 6.340% and pays a floating interest rate of the three-month SOFR plus 2.192% on a notional amount of $300.0 million. The Company designated the interest rate swap as the hedging instrument in an effective hedge accounting relationship. See Note 12 for more information regarding the interest rate swap. |  |  |  |  |

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Form N-2 -Section Item 10 + Details
Name: | cef_CapitalStockLongTermDebtAndOtherSecuritiesAbstract
Namespace Prefix: | cef_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Form N-2 -Section Item 4 + Details
Name: | cef_FinancialHighlightsAbstract
Namespace Prefix: | cef_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Form N-2 -Section Item 8 + Details
Name: | cef_GeneralDescriptionOfRegistrantAbstract
Namespace Prefix: | cef_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Form N-2 -Section Item 10 -Subsection 2 -Paragraph b + Details
Name: | cef_LongTermDebtDividendsAndCovenantsTextBlock
Namespace Prefix: | cef_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Form N-2 -Section Item 10 -Subsection 2 -Paragraph a + Details
Name: | cef_LongTermDebtStructuringTextBlock
Namespace Prefix: | cef_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Form N-2 -Section Item 10 -Subsection 2 + Details
Name: | cef_LongTermDebtTableTextBlock
Namespace Prefix: | cef_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Form N-2 -Section Item 10 -Subsection 2 + Details
Name: | cef_LongTermDebtTitleTextBlock
Namespace Prefix: | cef_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Form N-2 -Section Item 4 -Subsection 3 -Paragraph 2 + Details
Name: | cef_SeniorSecuritiesAmt
Namespace Prefix: | cef_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition Boolean flag that is true when the XBRL content amends previously-filed or accepted submission. + References No definition available. + Details
Name: | dei_AmendmentFlag
Namespace Prefix: | dei_
Data Type: | xbrli:booleanItemType
Balance Type: | na
Period Type: | duration

X
- Definition Area code of city + References No definition available. + Details
Name: | dei_CityAreaCode
Namespace Prefix: | dei_
Data Type: | xbrli:normalizedStringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Cover page. + References No definition available. + Details
Name: | dei_CoverAbstract
Namespace Prefix: | dei_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'. + References No definition available. + Details
Name: | dei_DocumentType
Namespace Prefix: | dei_
Data Type: | dei:submissionTypeItemType
Balance Type: | na
Period Type: | duration

X
- Definition Address Line 1 such as Attn, Building Name, Street Name + References No definition available. + Details
Name: | dei_EntityAddressAddressLine1
Namespace Prefix: | dei_
Data Type: | xbrli:normalizedStringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Address Line 2 such as Street or Suite number + References No definition available. + Details
Name: | dei_EntityAddressAddressLine2
Namespace Prefix: | dei_
Data Type: | xbrli:normalizedStringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Name of the City or Town + References No definition available. + Details
Name: | dei_EntityAddressCityOrTown
Namespace Prefix: | dei_
Data Type: | xbrli:normalizedStringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Code for the postal or zip code + References No definition available. + Details
Name: | dei_EntityAddressPostalZipCode
Namespace Prefix: | dei_
Data Type: | xbrli:normalizedStringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Name of the state or province. + References No definition available. + Details
Name: | dei_EntityAddressStateOrProvince
Namespace Prefix: | dei_
Data Type: | dei:stateOrProvinceItemType
Balance Type: | na
Period Type: | duration

X
- Definition A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Exchange Act -Number 240 -Section 12 -Subsection b-2 + Details
Name: | dei_EntityCentralIndexKey
Namespace Prefix: | dei_
Data Type: | dei:centralIndexKeyItemType
Balance Type: | na
Period Type: | duration

X
- Definition Indicate if registrant meets the emerging growth company criteria. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Exchange Act -Number 240 -Section 12 -Subsection b-2 + Details
Name: | dei_EntityEmergingGrowthCompany
Namespace Prefix: | dei_
Data Type: | xbrli:booleanItemType
Balance Type: | na
Period Type: | duration

X
- Definition Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen. + References No definition available. + Details
Name: | dei_EntityFileNumber
Namespace Prefix: | dei_
Data Type: | dei:fileNumberItemType
Balance Type: | na
Period Type: | duration

X
- Definition The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Exchange Act -Number 240 -Section 12 -Subsection b-2 + Details
Name: | dei_EntityRegistrantName
Namespace Prefix: | dei_
Data Type: | xbrli:normalizedStringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Local phone number for entity. + References No definition available. + Details
Name: | dei_LocalPhoneNumber
Namespace Prefix: | dei_
Data Type: | xbrli:normalizedStringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Net asset value per share or per unit of investments in certain entities that calculate net asset value per share. Includes, but is not limited to, by unit, membership interest, or other ownership interest. Investment includes, but is not limited to, investment in certain hedge funds, venture capital funds, private equity funds, real estate partnerships or funds. Excludes fair value disclosure. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 946 -SubTopic 830 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479168/946-830-55-12 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 45 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477796/946-210-45-4 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 205 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478494/946-205-50-7 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 205 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478494/946-205-50-7 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 505 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478448/946-505-50-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(19)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.6-05(4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-2 + Details
Name: | us-gaap_NetAssetValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_DebtInstrumentAxis=ocsl_SyndicatedFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=ocsl_OSI2CitibankFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=ocsl_A2025NotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=ocsl_A2027NotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=ocsl_A2029NotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |