<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:cef="http://xbrl.sec.gov/cef/2023"
  xmlns:dbl="http://www.doubleline.com/20240119"
  xmlns:dei="http://xbrl.sec.gov/dei/2023"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:us-gaap="http://fasb.org/us-gaap/2023"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="dbl-20240119.xsd" xlink:type="simple"/>
    <context id="c-1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001525201</identifier>
        </entity>
        <period>
            <startDate>2024-01-19</startDate>
            <endDate>2024-01-19</endDate>
        </period>
    </context>
    <context id="c-2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001525201</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">dbl:DoubleLineIncomeSolutionsFundMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-19</startDate>
            <endDate>2024-01-19</endDate>
        </period>
    </context>
    <context id="c-3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001525201</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">dbl:DoubleLineYieldOpportunitiesFundMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-19</startDate>
            <endDate>2024-01-19</endDate>
        </period>
    </context>
    <context id="c-4">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001525201</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">dbl:CommonSharesDBLMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-19</startDate>
            <endDate>2024-01-19</endDate>
        </period>
    </context>
    <context id="c-5">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001525201</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">dbl:CommonSharesDSLMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-19</startDate>
            <endDate>2024-01-19</endDate>
        </period>
    </context>
    <context id="c-6">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001525201</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">dbl:CommonSharesDLYMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-19</startDate>
            <endDate>2024-01-19</endDate>
        </period>
    </context>
    <unit id="shares">
        <measure>shares</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="c-1" id="f-4">0001525201</dei:EntityCentralIndexKey>
    <dei:EntityCentralIndexKey contextRef="c-2" id="f-5">0001566388</dei:EntityCentralIndexKey>
    <dei:EntityCentralIndexKey contextRef="c-3" id="f-6">0001788399</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="c-1" id="f-7">false</dei:AmendmentFlag>
    <dei:DocumentType contextRef="c-1" id="f-8">DEF 14A</dei:DocumentType>
    <dei:EntityRegistrantName contextRef="c-1" id="f-1">DoubleLine Opportunistic Credit Fund</dei:EntityRegistrantName>
    <dei:EntityRegistrantName contextRef="c-2" id="f-2">DoubleLine Income Solutions Fund</dei:EntityRegistrantName>
    <dei:EntityRegistrantName contextRef="c-3" id="f-3">DoubleLine Yield Opportunities Fund</dei:EntityRegistrantName>
    <cef:OutstandingSecuritiesTableTextBlock contextRef="c-1" id="f-9">&lt;div style="text-align:center"&gt;&lt;table style="border-collapse:collapse;display:inline-table;margin-bottom:5pt;vertical-align:text-bottom;width:65.384%"&gt;&lt;tr&gt;&lt;td style="width:1.0%"&gt;&lt;/td&gt;&lt;td style="width:68.752%"&gt;&lt;/td&gt;&lt;td style="width:0.1%"&gt;&lt;/td&gt;&lt;td style="width:1.0%"&gt;&lt;/td&gt;&lt;td style="width:29.048%"&gt;&lt;/td&gt;&lt;td style="width:0.1%"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan="3" style="padding:0 1pt"&gt;&lt;/td&gt;&lt;td colspan="3" style="padding:2px 1pt;text-align:center;vertical-align:bottom"&gt;&lt;span style="color:#000000;font-family:'Times New Roman',sans-serif;font-size:10pt;font-weight:700;line-height:120%;text-decoration:underline"&gt;Outstanding Common Shares&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan="3" style="padding:2px 1pt;text-align:left;vertical-align:bottom"&gt;&lt;span style="color:#000000;font-family:'Times New Roman',sans-serif;font-size:10pt;font-weight:400;line-height:120%"&gt;DBL&lt;/span&gt;&lt;/td&gt;&lt;td colspan="3" style="padding:2px 1pt;text-align:center;vertical-align:bottom"&gt;&lt;span style="color:#000000;font-family:'Times New Roman',sans-serif;font-size:10pt;font-weight:400;line-height:120%"&gt;17,071,098&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan="3" style="padding:2px 1pt;text-align:left;vertical-align:bottom"&gt;&lt;span style="color:#000000;font-family:'Times New Roman',sans-serif;font-size:10pt;font-weight:400;line-height:120%"&gt;DSL&lt;/span&gt;&lt;/td&gt;&lt;td colspan="3" style="padding:2px 1pt;text-align:center;vertical-align:bottom"&gt;&lt;span style="color:#000000;font-family:'Times New Roman',sans-serif;font-size:10pt;font-weight:400;line-height:120%"&gt;103,481,004&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan="3" style="padding:2px 1pt;text-align:left;vertical-align:bottom"&gt;&lt;span style="color:#000000;font-family:'Times New Roman',sans-serif;font-size:10pt;font-weight:400;line-height:120%"&gt;DLY&lt;/span&gt;&lt;/td&gt;&lt;td colspan="3" style="padding:2px 1pt;text-align:center;vertical-align:bottom"&gt;&lt;span style="color:#000000;font-family:'Times New Roman',sans-serif;font-size:10pt;font-weight:400;line-height:120%"&gt;47,945,779&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;</cef:OutstandingSecuritiesTableTextBlock>
    <cef:OutstandingSecurityTitleTextBlock contextRef="c-4" id="f-10">&lt;span style="color:#000000;font-family:'Times New Roman',sans-serif;font-size:10pt;font-weight:400;line-height:120%"&gt;DBL&lt;/span&gt;</cef:OutstandingSecurityTitleTextBlock>
    <cef:OutstandingSecurityHeldShares contextRef="c-4" decimals="0" id="f-11" unitRef="shares">17071098</cef:OutstandingSecurityHeldShares>
    <cef:OutstandingSecurityTitleTextBlock contextRef="c-5" id="f-12">&lt;span style="color:#000000;font-family:'Times New Roman',sans-serif;font-size:10pt;font-weight:400;line-height:120%"&gt;DSL&lt;/span&gt;</cef:OutstandingSecurityTitleTextBlock>
    <cef:OutstandingSecurityHeldShares contextRef="c-5" decimals="0" id="f-13" unitRef="shares">103481004</cef:OutstandingSecurityHeldShares>
    <cef:OutstandingSecurityTitleTextBlock contextRef="c-6" id="f-14">&lt;span style="color:#000000;font-family:'Times New Roman',sans-serif;font-size:10pt;font-weight:400;line-height:120%"&gt;DLY&lt;/span&gt;</cef:OutstandingSecurityTitleTextBlock>
    <cef:OutstandingSecurityHeldShares contextRef="c-6" decimals="0" id="f-15" unitRef="shares">47945779</cef:OutstandingSecurityHeldShares>
</xbrl>
