v3.25.2

Taxable/Distributable Income and Dividend Distributions (Tables) | 9 Months Ended
--- | ---
Jun. 30, 2025
Income Tax Disclosure [Abstract] |
Schedule of Reconciliation of Net Increase (Decrease) in Net Assets Resulting from Operations | Listed below is a reconciliation of "net increase (decrease) in net assets resulting from operations" to taxable income for the three and nine months ended June 30, 2025 and 2024.
|  | Three months ended June 30, 2025 |  | Three months ended June 30, 2024 |  | Nine months ended June 30, 2025 |  | Nine months ended June 30, 2024
Net increase (decrease) in net assets resulting from operations |  | $ | 38,352 |  |  | $ | 1,120 |  |  | $ | 9,342 |  |  | $ | 20,992 |
Net unrealized (appreciation) depreciation |  | (18,572) |  |  | (26,199) |  |  | 83,065 |  |  | 24,078 |
Book/tax difference due to capital losses suspended (utilized) |  | 4,439 |  |  | 70,156 |  |  | 17,030 |  |  | 87,016 |
Other book/tax differences |  | 831 |  |  | (2,349) |  |  | (3,409) |  |  | (13,298) |
Taxable/Distributable Income (1) |  | $ | 25,050 |  |  | $ | 42,728 |  |  | $ | 106,028 |  |  | $ | 118,788 |
__________ (1) The Company's taxable income for the three and nine months ended June 30, 2025 is an estimate and will not be finally determined until the Company files its tax return for the fiscal year ending September 30, 2025. Therefore, the final taxable income may be different than the estimate.
Schedule of Components of Accumulated Overdistributed Earnings | As of September 30, 2024, the Company's last tax year end, the components of accumulated overdistributed earnings on a tax basis were as follows:
Undistributed ordinary income, net | $ | 2,986 |
Net realized capital losses | (642,467) |
Unrealized losses, net | (137,979) |
Accumulated overdistributed earnings | $ | (777,460) |

X
- Definition Investment Company, Components Of Distributable Earnings (Accumulated Losses) + References No definition available. + Details
Name: | ocsl_InvestmentCompanyComponentsOfDistributableEarningsAccumulatedLossesTableTextBlock
Namespace Prefix: | ocsl_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the federal tax basis of investment holdings. This item captures the aggregate cost of securities, aggregate gross unrealized appreciation for all securities in which there is an excess of value over tax cost, aggregate gross unrealized depreciation for all securities in which there is an excess of tax cost over value, net unrealized appreciation (depreciation), and an explanation of the differences between tax and book. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-03(h)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479886/946-10-S99-3 + Details
Name: | us-gaap_FederalIncomeTaxNoteTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_IncomeTaxDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration