<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2025"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2025/ffd-2025.xsd"
      xlink:type="simple"/>
    <context id="c0">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001901164</identifier>
        </entity>
        <period>
            <startDate>2026-07-02</startDate>
            <endDate>2026-07-02</endDate>
        </period>
    </context>
    <context id="c1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001901164</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-02</startDate>
            <endDate>2026-07-02</endDate>
        </period>
    </context>
    <unit id="shares">
        <measure>shares</measure>
    </unit>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:SubmissnTp contextRef="c0" id="ixv-188">N-2</ffd:SubmissnTp>
    <ffd:FormTp contextRef="c0" id="ixv-189">N-2</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="c0" id="ixv-23">T. Rowe Price OHA Select Private Credit Fund</dei:EntityRegistrantName>
    <ffd:OfferingSctyTp contextRef="c1" id="ixv-190">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c1" id="ixv-191">Common shares of beneficial interest, $0.001 par value</ffd:OfferingSctyTitl>
    <ffd:Rule415a6Flg contextRef="c1" id="ixv-192">true</ffd:Rule415a6Flg>
    <ffd:AmtSctiesRegd
      contextRef="c1"
      decimals="INF"
      id="ixv-193"
      unitRef="shares">2500000000</ffd:AmtSctiesRegd>
    <ffd:MaxAggtOfferingPric contextRef="c1" decimals="INF" id="ixv-194" unitRef="usd">867249293</ffd:MaxAggtOfferingPric>
    <ffd:CfwdFormTp contextRef="c1" id="ixv-195">N-2</ffd:CfwdFormTp>
    <ffd:CfwdPrrFileNb contextRef="c1" id="ixv-196">333-266378</ffd:CfwdPrrFileNb>
    <ffd:CfwdPrrFctvDt contextRef="c1" id="ixv-197">2023-09-29</ffd:CfwdPrrFctvDt>
    <ffd:CfwdPrevslyPdFee contextRef="c1" decimals="0" id="ixv-198" unitRef="usd">955708</ffd:CfwdPrevslyPdFee>
    <ffd:TtlOfferingAmt contextRef="c0" decimals="INF" id="ixv-199" unitRef="usd">867249293</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="c0" decimals="0" id="ixv-200" unitRef="usd">0</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt contextRef="c0" decimals="0" id="ixv-201" unitRef="usd">0</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt contextRef="c0" decimals="0" id="ixv-202" unitRef="usd">0</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="c0" decimals="0" id="ixv-203" unitRef="usd">0</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c1" id="ixv-149">&lt;table style="font-size: 12pt; border-spacing: 0px; border-collapse: collapse; width: 100%;"&gt; &lt;tr style="height: 0px; font-size: 0px;"&gt;&lt;td style="width: 1%;"&gt;&#160;&lt;/td&gt;&lt;td style="width: 99%;"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="vertical-align: top;"&gt; &lt;td style="padding: 0px 0pt;"&gt; &lt;div style="margin-bottom: 4pt;"&gt; &lt;span style="font-size: 10.0pt;"&gt;(1)&lt;/span&gt; &lt;/div&gt; &lt;/td&gt; &lt;td style="padding: 0px 5.4pt; text-align: left;"&gt; &lt;div style="margin-bottom: 4pt;"&gt; &lt;span style="font-size: 10.0pt;"&gt;Estimated pursuant to Rule 457(o) under the Securities Act of 1933 solely for the purpose of determining the registration fee. &lt;/span&gt; &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;&lt;table style="font-size: 12pt; border-spacing: 0px; border-collapse: collapse; width: 100%;"&gt; &lt;tr style="height: 0px; font-size: 0px;"&gt;&lt;td style="width: 1%;"&gt;&#160;&lt;/td&gt;&lt;td style="width: 99%;"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="vertical-align: top;"&gt; &lt;td style="padding: 0px 0pt;"&gt; &lt;div style="margin-bottom: 4pt;"&gt; &lt;span style="font-size: 10.0pt;"&gt;(3)&lt;/span&gt; &lt;/div&gt; &lt;/td&gt; &lt;td style="padding: 0px 5.4pt; text-align: left;"&gt; &lt;div style="margin-bottom: 4pt;"&gt; &lt;span style="font-size: 10.0pt;"&gt;Pursuant to Rule 415(a)(6) under the Securities Act, this registration statement includes $867,249,293 aggregate principal offering price of unsold securities (the &#x201c;Unsold Securities&#x201d;) that were previously registered for sale under a registration statement initially filed with the Securities and Exchange Commission on July 28, 2022 on Form N-2 (File No. 333-266378) and became effective on September 29, 2023 (the &#x201c;Prior Registration Statement&#x201d;). The Registrant previously paid filing fees in the aggregate of $955,708 relating to the Unsold Securities. Pursuant to Rule 415(a)(6) under the Securities Act, the filing fees previously paid with respect to the Unsold Securities will continue to be applied to such Unsold Securities. Pursuant to Rule 415(a)(6) under the Securities Act, the offering of Unsold Securities under the Prior Registration Statement will be deemed terminated as of the date of effectiveness of this registration statement.&lt;/span&gt; &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</ffd:OfferingNote>
    <ffd:CombinedProspectusTableNa contextRef="c0" id="ixv-206">N/A</ffd:CombinedProspectusTableNa>
    <dei:EntityCentralIndexKey contextRef="c0" id="ixv-207">0001901164</dei:EntityCentralIndexKey>
    <ffd:FeeExhibitTp contextRef="c0" id="ixv-208">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OffsetTableNa contextRef="c0" id="ixv-209">N/A</ffd:OffsetTableNa>
</xbrl>
