v3.25.2

Related Party Transactions (Details) |  |  |  |  | 3 Months Ended | 7 Months Ended | 9 Months Ended | 62 Months Ended |
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Jan. 23, 2023 USD ($) | Mar. 19, 2021 USD ($) | May 03, 2019 | May 02, 2019 | Jun. 30, 2025 USD ($) component | Jun. 30, 2024 USD ($) | Mar. 31, 2024 USD ($) | Jan. 23, 2025 USD ($) | Jun. 30, 2025 USD ($) component | Jun. 30, 2024 USD ($) | Jun. 30, 2024 | Sep. 30, 2024 USD ($)
Related Party Transaction [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Base management fee and incentive fee payable |  |  |  |  | $ 7,600,000 |  |  |  | $ 7,600,000 |  |  | $ 15,500,000
Base management fee rate (as a percent) |  |  | 1.00% | 1.00% |  |  |  | 1.00% |  |  | 1.50% |
Base management fee, threshold (as a percent) |  |  | 200.00% |  |  |  |  |  |  |  |  |
Contractual fee waived, per quarter |  |  |  |  |  | $ 1,500,000 | $ 1,500,000 |  |  |  |  |
Base management fee |  |  |  |  | 7,195,000 | 11,781,000 |  |  | 22,854,000 | $ 34,862,000 |  |
Investment company, incentive fee waived, income-based |  |  |  |  | 5,359,000 | 3,210,000 |  |  | 18,469,000 | 3,210,000 |  |
Part I incentive fee |  |  |  |  | 5,767,000 | 8,341,000 |  |  | 20,413,000 | 25,821,000 |  |
Accrued capital gains incentive fee liability |  |  |  |  | 0 |  |  |  | 0 |  |  |
Due to affiliate |  |  |  |  | 2,381,000 |  |  |  | $ 2,381,000 |  |  | 4,088,000
Affiliated Entity |  |  |  |  |  |  |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Related party transaction, termination, notice period |  |  |  |  |  |  |  |  | 60 days |  |  |
Investment company, incentive fee waived, income-based |  |  |  |  | 5,400,000 |  |  |  | $ 18,500,000 |  |  |
Administrator expense |  |  |  |  | 700,000 | 500,000 |  |  | 1,700,000 | 1,300,000 |  |
General and administrative expenses |  |  |  |  | 100,000 | 100,000 |  |  | 300,000 | 300,000 |  |
Due to affiliate |  |  |  |  | $ 2,400,000 |  |  |  | $ 2,400,000 |  |  | $ 4,100,000
Oaktree Strategic Income Corporation Merger |  |  |  |  |  |  |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Investment company, contractual fee waived |  | $ 6,000,000 |  |  |  |  |  | $ 750,000 |  |  |  |
Contractual fee waived, period otherwise receivable (in years) |  | 2 years |  |  |  |  |  |  |  |  |  |
Contractual fee waived, per quarter |  | $ 750,000 |  |  |  |  |  |  |  |  |  |
Oaktree Strategic Income II, Inc. Merger |  |  |  |  |  |  |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Investment company, contractual fee waived | $ 9,000,000 |  |  |  |  |  |  |  |  |  |  |
Oaktree Strategic Income II, Inc Merger, Year One |  |  |  |  |  |  |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Investment company, contractual fee waived | 6,000,000 |  |  |  |  |  |  |  |  |  |  |
Contractual fee waived, per quarter | 1,500,000 |  |  |  |  |  |  |  |  |  |  |
Oaktree Strategic Income II, Inc Merger, Year Two |  |  |  |  |  |  |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Investment company, contractual fee waived | 3,000,000 |  |  |  |  |  |  |  |  |  |  |
Contractual fee waived, per quarter | $ 750,000 |  |  |  |  |  |  |  |  |  |  |
Investment Advisory Agreement |  |  |  |  |  |  |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Number of components | component |  |  |  |  | 2 |  |  |  | 2 |  |  |
Related party transaction, termination, notice period |  |  |  |  |  |  |  |  | 60 days |  |  |
Base management fee |  |  |  |  | $ 7,200,000 | 10,300,000 |  |  | $ 21,900,000 | 30,400,000 |  |
Management incentive rate (as a percent) |  |  |  |  |  |  |  |  | 1.50% |  |  |
Investment Advisory Agreement | Affiliated Entity |  |  |  |  |  |  |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Part I incentive fee |  |  |  |  | $ 400,000 | $ 5,100,000 |  |  | $ 1,900,000 | 22,600,000 |  |
Accrued capital gains incentive fees expensed (reversed) |  |  |  |  |  |  |  |  | 0 | $ 0 |  |
Incentive fee expense |  |  |  |  |  |  |  |  | $ 9,600,000 |  |  |
Investment Advisory Agreement Incentive Rate Pre Incentive Fee Net Investment Income Below Catch Up |  |  |  |  |  |  |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Management incentive rate (as a percent) |  |  |  |  |  |  |  |  | 100.00% |  |  |
Investment Advisory Agreement Incentive Rate Quarterly Catch Up Threshold |  |  |  |  |  |  |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Management incentive rate (as a percent) |  |  |  |  |  |  |  |  | 1.8182% |  |  |
Investment Advisory Agreement Cumulative Pre Incentive Fee Net Investment Income |  |  |  |  |  |  |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Management incentive rate (as a percent) |  |  |  |  |  |  |  |  | 17.50% |  |  |
Investment Advisory Agreement - Incentive Rate, Realized Capital Gains | Affiliated Entity |  |  |  |  |  |  |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Management incentive rate (as a percent) |  |  |  |  |  |  |  |  | 17.50% |  |  |

X
- Definition Investment Company, Contractual Fee Waived, Per Quarter + References No definition available. + Details
Name: | ocsl_InvestmentCompanyContractualFeeWaivedPerQuarter
Namespace Prefix: | ocsl_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Investment Company, Contractual Fee Waived, Period + References No definition available. + Details
Name: | ocsl_InvestmentCompanyContractualFeeWaivedPeriod
Namespace Prefix: | ocsl_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Management And Incentive Fee Payable + References No definition available. + Details
Name: | ocsl_ManagementAndIncentiveFeePayable
Namespace Prefix: | ocsl_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Management And Service Fees, Investments Percentage Threshold + References No definition available. + Details
Name: | ocsl_ManagementAndServiceFeesInvestmentsPercentageThreshold
Namespace Prefix: | ocsl_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Related Party Transaction, Number Of Components + References No definition available. + Details
Name: | ocsl_RelatedPartyTransactionNumberOfComponents
Namespace Prefix: | ocsl_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Related Party Transaction, Termination, Notice Period + References No definition available. + Details
Name: | ocsl_RelatedPartyTransactionTerminationNoticePeriod
Namespace Prefix: | ocsl_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of expense for administrative fee from service provided, including, but not limited to, salary, rent, or overhead cost. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 1 -SubTopic 10 -Topic 850 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483326/850-10-50-1 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479105/946-220-45-3 + Details
Name: | us-gaap_AdministrativeFeesExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of expense for incentive fee based on performance under arrangement to manage operations, including, but not limited to, investment. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 1 -SubTopic 10 -Topic 850 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483326/850-10-50-1 + Details
Name: | us-gaap_IncentiveFeeExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of expense for income-based incentive fee for performance under arrangement to manage operation, including, but not limited to, managing investment. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 + Details
Name: | us-gaap_IncentiveFeeExpenseIncomeBased
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of fee payable for management of operations based on performance under arrangement, including, but not limited to, investment. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(12)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 + Details
Name: | us-gaap_IncentiveFeePayable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of increase (decrease) in fee payable for management of operations based on performance under arrangement, including, but not limited to, investment. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 230 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477867/946-230-45-1 + Details
Name: | us-gaap_IncreaseDecreaseInIncentiveFeePayable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of fee contractually waived by investment company. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480990/946-20-50-7 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 + Details
Name: | us-gaap_InvestmentCompanyContractualFeeWaived
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of income-based incentive fee waived for investment company. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480990/946-20-50-7 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 + Details
Name: | us-gaap_InvestmentCompanyIncentiveFeeWaivedIncomeBased
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Base rate for management and service fees under arrangement to manage operations, including, but not limited to, investment. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(c)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 + Details
Name: | us-gaap_ManagementAndServiceFeesBaseRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Rate based on performance for management and service fees under arrangement to manage operations, including, but not limited to, investment. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(c)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 + Details
Name: | us-gaap_ManagementAndServiceFeesIncentiveRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of expense for investment management fee, including, but not limited to, expense in connection with research, selection, supervision, and custody of investment. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 946 -SubTopic 830 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479168/946-830-55-10 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479105/946-220-45-3 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 1 -SubTopic 10 -Topic 850 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483326/850-10-50-1 + Details
Name: | us-gaap_ManagementFeeExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of general and administrative expense classified as other. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483621/220-10-S99-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 + Details
Name: | us-gaap_OtherGeneralAndAdministrativeExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of liabilities classified as other. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(15)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 480 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 64 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481620/480-10-55-64 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 944 -SubTopic 605 -Name Accounting Standards Codification -Section 55 -Paragraph 14 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477548/944-605-55-14 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 944 -SubTopic 605 -Name Accounting Standards Codification -Section 55 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477548/944-605-55-11 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(15)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 Reference 6: 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 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(12)(b)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(12)(b)(3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 9: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(12)(b)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 10: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(17)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 + Details
Name: | us-gaap_OtherLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 850 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483326/850-10-50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 850 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483326/850-10-50-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 850 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483326/850-10-50-3 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(k)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(k)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 13 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481990/310-10-45-13 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(c)(2)(i)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(c)(2)(ii)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(g)(3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 + Details
Name: | us-gaap_RelatedPartyTransactionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=srt_AffiliatedEntityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=ocsl_OaktreeStrategicIncomeCorporationMergerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=ocsl_OaktreeStrategicIncomeIIIncMergerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=ocsl_OaktreeStrategicIncomeIIIncMergerYearOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=ocsl_OaktreeStrategicIncomeIIIncMergerYearTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=ocsl_InvestmentAdvisoryAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=ocsl_InvestmentAdvisoryAgreementIncentiveRatePreIncentiveFeeNetInvestmentIncomeBelowCatchUpMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=ocsl_InvestmentAdvisoryAgreementIncentiveRateQuarterlyCatchUpThresholdMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=ocsl_InvestmentAdvisoryAgreementIncentiveRatePreIncentiveFeeNetInvestmentIncomeExceedsCatchUpThresholdMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=ocsl_InvestmentAdvisoryAgreementIncentiveRateRealizedCapitalGainsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |