<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2026"
  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"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2026/ffd-2026.xsd"
      xlink:type="simple"/>
    <context id="c-1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001930087</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-11</startDate>
            <endDate>2026-08-11</endDate>
        </period>
    </context>
    <context id="c-2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001930087</identifier>
        </entity>
        <period>
            <startDate>2026-08-11</startDate>
            <endDate>2026-08-11</endDate>
        </period>
    </context>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="c-2" id="f-10">0001930087</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="c-2" id="f-11">Golub Capital Private Credit Fund</dei:EntityRegistrantName>
    <ffd:FormTp contextRef="c-2" id="f-12">SC TO</ffd:FormTp>
    <ffd:SubmissnTp contextRef="c-2" id="f-13">SC TO-I/A</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="c-2" id="f-14">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OffsetTableNa contextRef="c-2" id="f-15">N/A</ffd:OffsetTableNa>
    <ffd:OfferingTableNa contextRef="c-2" id="f-16" xsi:nil="true"/>
    <ffd:Rule011Flg contextRef="c-1" id="f-17">true</ffd:Rule011Flg>
    <ffd:PrevslyPdFlg contextRef="c-1" id="f-1">true</ffd:PrevslyPdFlg>
    <ffd:TxValtn contextRef="c-1" decimals="2" id="f-2" unitRef="usd">227477713.66</ffd:TxValtn>
    <ffd:FeeAmt contextRef="c-1" decimals="2" id="f-3" unitRef="usd">31414.67</ffd:FeeAmt>
    <ffd:TtlTxValtn contextRef="c-2" decimals="2" id="f-4" unitRef="usd">227477713.66</ffd:TtlTxValtn>
    <ffd:TtlFeeAmt contextRef="c-2" decimals="2" id="f-5" unitRef="usd">31414.67</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt contextRef="c-2" decimals="2" id="f-6" unitRef="usd">31414.67</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt contextRef="c-2" decimals="2" id="f-7" unitRef="usd">0.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="c-2" decimals="2" id="f-8" unitRef="usd">0.00</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c-1" id="f-9">&lt;div style="padding-right:-2.63pt"&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:10pt;font-weight:400;line-height:120%"&gt;The Transaction Valuation is calculated as the aggregate maximum purchase price for shares of beneficial interest (the &#x201c;Shares&#x201d;) of Golub Capital Private Credit Fund (the &#x201c;Fund&#x201d;), based upon the net asset value per share as of March&#160;31, 2026, of $24.14. This amount is based upon the offer to purchase up to 9,423,269 Shares, par value $0.001 per share, of the Fund. &lt;/span&gt;&lt;/div&gt;&lt;div style="padding-right:-2.63pt"&gt;&lt;span&gt;&lt;br/&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="padding-right:-2.63pt"&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:10pt;font-weight:400;line-height:120%"&gt;The amount of filing fee is calculated at $138.10 per $1,000,000.00 of the Transaction Valuation in accordance with Rule 0-11 under the Securities Exchange Act of 1934, as amended, as modified by Fee Rate Advisory No. 1 for fiscal year 2026.&lt;/span&gt;&lt;/div&gt;</ffd:OfferingNote>
</xbrl>
