v3.25.2

Share Data and Net Assets - Schedule of Distributions (Details) - USD ($) $ / shares in Units, $ in Thousands |  |  |  |  |  |  | 3 Months Ended | 9 Months Ended
--- | --- | --- | --- | --- | --- | --- | --- | ---
Jun. 30, 2025 | Mar. 31, 2025 | Dec. 31, 2024 | Jun. 28, 2024 | Mar. 29, 2024 | Dec. 29, 2023 | Jun. 30, 2025 | Mar. 31, 2025 | Dec. 31, 2024 | Jun. 30, 2024 | Mar. 31, 2024 | Dec. 31, 2023 | Jun. 30, 2025 | Jun. 30, 2024
Investment Company, Changes in Net Assets [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Amount per share (in dollars per share) |  |  |  |  |  |  | $ 0.42 |  |  | $ 0.55 |  |  | $ 1.44 | $ 1.72
Cash Distribution |  |  |  |  |  |  |  |  |  |  |  |  | $ 114,100 | $ 133,100
DRIP Shares Issued (in shares) |  |  |  |  |  |  |  |  |  |  |  |  | 639,964,000 | 295,484,000
DRIP Shares Value |  |  |  |  |  |  | $ 3,751 | $ 4,289 | $ 1,455 | $ 1,873 | $ 1,853 | $ 1,936 | $ 9,495 | $ 5,662
Quarterly |  |  |  |  |  |  |  |  |  |  |  |  |  |
Investment Company, Changes in Net Assets [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Amount per share (in dollars per share) | $ 0.40 | $ 0.40 | $ 0.55 | $ 0.55 | $ 0.55 | $ 0.55 |  |  |  |  |  |  |  |
Cash Distribution | $ 31,600 | $ 31,500 | $ 43,800 | $ 43,300 | $ 42,800 | $ 41,700 |  |  |  |  |  |  |  |
DRIP Shares Issued (in shares) | 256,343,000 | 234,752,000 | 94,970,000 | 100,029,000 | 96,850,000 | 87,472,000 |  |  |  |  |  |  |  |
DRIP Shares Value | $ 3,600 | $ 3,700 | $ 1,500 | $ 1,900 | $ 1,900 | $ 1,700 |  |  |  |  |  |  |  |
Supplemental |  |  |  |  |  |  |  |  |  |  |  |  |  |
Investment Company, Changes in Net Assets [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Amount per share (in dollars per share) | $ 0.02 | $ 0.07 |  |  |  |  |  |  |  |  |  |  |  |
Cash Distribution | $ 1,600 | $ 5,600 |  |  |  |  |  |  |  |  |  |  |  |
DRIP Shares Issued (in shares) | 12,817,000 | 41,082,000 |  |  |  |  |  |  |  |  |  |  |  |
DRIP Shares Value | $ 200 | $ 600 |  |  |  |  |  |  |  |  |  |  |  |
Special |  |  |  |  |  |  |  |  |  |  |  |  |  |
Investment Company, Changes in Net Assets [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Amount per share (in dollars per share) |  |  |  |  |  | $ 0.07 |  |  |  |  |  |  |  |
Cash Distribution |  |  |  |  |  | $ 5,300 |  |  |  |  |  |  |  |
DRIP Shares Issued (in shares) |  |  |  |  |  | 11,133,000 |  |  |  |  |  |  |  |
DRIP Shares Value |  |  |  |  |  | $ 200 |  |  |  |  |  |  |  |

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 210 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477796/946-210-45-3 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 505 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478448/946-505-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 205 -Name Accounting Standards Codification -Section 45 -Paragraph 4 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478009/946-205-45-4 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 505 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478448/946-505-50-2 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 505 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478448/946-505-50-2 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 505 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478448/946-505-50-2 Reference 7: 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 + Details
Name: | us-gaap_InvestmentCompanyChangesInNetAssetsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Per share or unit amount of distribution to shareholders. Includes, but is not limited to, dividend and capital gain. Excludes distribution for tax return of capital. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 205 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478494/946-205-50-7 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480990/946-20-50-8 + Details
Name: | us-gaap_InvestmentCompanyDistributionToShareholdersPerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of dividend distribution from ordinary income and capital gain. Excludes distribution for tax return of capital. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 205 -Name Accounting Standards Codification -Section 45 -Paragraph 4 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478009/946-205-45-4 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480990/946-20-50-8 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 205 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478009/946-205-45-3 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-3 + Details
Name: | us-gaap_InvestmentCompanyDividendDistribution
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Number of shares issued during the period from a dividend reinvestment plan (DRIP). A dividend reinvestment plan allows the shareholders to reinvest dividends paid to them by the entity on new issues of stock by the entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 505 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478448/946-505-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(4)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-3 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesDividendReinvestmentPlan
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Value of stock issued during the period from a dividend reinvestment plan (DRIP). A dividend reinvestment plan allows the holder of the stock to reinvest dividends paid to them by the entity on new issues of stock by the entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 946 -SubTopic 830 -Name Accounting Standards Codification -Section 55 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479168/946-830-55-11 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 205 -Name Accounting Standards Codification -Section 45 -Paragraph 4 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478009/946-205-45-4 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 946 -SubTopic 230 -Name Accounting Standards Codification -Section 55 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479083/946-230-55-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 505 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478448/946-505-50-2 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(4)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-3 + Details
Name: | us-gaap_StockIssuedDuringPeriodValueDividendReinvestmentPlan
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_DistributionsMadeToMemberOrLimitedPartnerByDistributionTypeAxis=ocsl_DistributionTypeQuarterlyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DistributionsMadeToMemberOrLimitedPartnerByDistributionTypeAxis=ocsl_DistributionTypeSupplementalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DistributionsMadeToMemberOrLimitedPartnerByDistributionTypeAxis=ocsl_DistributionTypeSpecialMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |