v3.25.2

Commitments and Contingencies - Narrative (Details) - USD ($) $ in Thousands | Jun. 30, 2025 | Sep. 30, 2024
--- | --- | ---
Financial Support for Nonconsolidated Legal Entity [Line Items] |  |
Unfunded commitments | $ 305,286 | $ 311,361
Debt and Equity Financing |  |
Financial Support for Nonconsolidated Legal Entity [Line Items] |  |
Unfunded commitments | 278,200 | 284,300
Amount which can be drawn immediately | 264,400 | 247,600
JV Financing |  |
Financial Support for Nonconsolidated Legal Entity [Line Items] |  |
Unfunded commitments | $ 27,100 | $ 27,100

X
- Definition Investment Company, Financial Support To Investee Contractually Required, Amount Which Can Be Drawn Immediately + References No definition available. + Details
Name: | ocsl_InvestmentCompanyFinancialSupportToInvesteeContractuallyRequiredAmountWhichCanBeDrawnImmediately
Namespace Prefix: | ocsl_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 15 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480990/946-20-50-15 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 16 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480990/946-20-50-16 + Details
Name: | us-gaap_FinancialSupportForNonconsolidatedLegalEntityLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of financial support committed by investment company to investee that is contractually required but not provided. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 16 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480990/946-20-50-16 + Details
Name: | us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_InvestmentTypeAxis=ocsl_DebtAndEquityFinancingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=ocsl_JVFinancingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |