v3.23.3

Taxable/Distributable Income and Dividend Distributions (Tables) | 12 Months Ended
--- | ---
Sep. 30, 2023
Income Tax Disclosure [Abstract] |
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 years ended September 30, 2023, 2022 and 2021.
|  | Year ended September 30, 2023 |  | Year ended September 30, 2022 |  | Year ended September 30, 2021
Net increase (decrease) in net assets resulting from operations |  | $ | 117,331 |  |  | $ | 29,223 |  |  | $ | 237,260 |
Net unrealized (appreciation) depreciation |  | 28,555 |  |  | 136,248 |  |  | (114,519) |
Book/tax difference due to organizational costs |  | — |  |  | (87) |  |  | (87) |
Book/tax difference due to capital losses suspended (utilized) |  | 34,607 |  |  | (16,490) |  |  | (41,625) |
Other book/tax differences |  | (14,691) |  |  | (6,506) |  |  | 11,863 |
Taxable/Distributable Income (1) |  | $ | 165,802 |  |  | $ | 142,388 |  |  | $ | 92,892 |
__________ (1) The Company's taxable income for the year ended September 30, 2023 is an estimate and will not be finally determined until the Company files its tax return for the fiscal year ending September 30, 2023. Therefore, the final taxable income may be different than the estimate.
Components of Accumulated Overdistributed Earnings | As of September 30, 2023, the Company's last tax year end, the components of accumulated overdistributed earnings on a tax basis were as follows:
Undistributed ordinary income, net | $ | 33,525 |
Net realized capital losses | (509,832) |
Unrealized losses, net | (175,031) |
Accumulated overdistributed earnings | $ | (651,338) |

X
- Definition Investment Company, Components Of Distributable Earnings (Accumulated Losses) + References No definition available. + Details
Name: | ocsl_InvestmentCompanyComponentsOfDistributableEarningsAccumulatedLossesTableTextBlock
Namespace Prefix: | ocsl_
Data Type: | dtr-types1: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