<?xml version="1.0" encoding="utf-8"?>
<xbrl
  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="rc">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000889900</identifier>
        </entity>
        <period>
            <startDate>2026-08-18</startDate>
            <endDate>2026-08-18</endDate>
        </period>
    </context>
    <context id="offrl_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000889900</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-18</startDate>
            <endDate>2026-08-18</endDate>
        </period>
    </context>
    <context id="offrl_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000889900</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-18</startDate>
            <endDate>2026-08-18</endDate>
        </period>
    </context>
    <context id="offrl_3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000889900</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>3</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-18</startDate>
            <endDate>2026-08-18</endDate>
        </period>
    </context>
    <context id="offrl_4">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000889900</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>4</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-18</startDate>
            <endDate>2026-08-18</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <ffd:FormTp contextRef="rc" id="ixv-397">S-3</ffd:FormTp>
    <ffd:SubmissnTp contextRef="rc" id="ixv-398">S-3ASR</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="rc" id="ixv-399">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey contextRef="rc" id="ixv-400">0000889900</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-401">PATTERSON UTI ENERGY INC</dei:EntityRegistrantName>
    <ffd:OfferingTableNa contextRef="rc" id="hiddenrcOfferingTableNa" xsi:nil="true"/>
    <ffd:OffsetTableNa contextRef="rc" id="hiddenrcOffsetTableNa">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa contextRef="rc" id="hiddenrcCombinedProspectusTableNa">N/A</ffd:CombinedProspectusTableNa>
    <ffd:FormTp contextRef="rc" id="ixv-456">S-3</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-457">PATTERSON UTI ENERGY INC</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="offrl_1" id="ixv-458">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_1" id="ixv-459">Debt</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_1" id="ixv-460">Debt Securities</ffd:OfferingSctyTitl>
    <ffd:Rule457rFlg contextRef="offrl_1" id="ixv-461">true</ffd:Rule457rFlg>
    <ffd:FeeRate
      contextRef="offrl_1"
      decimals="7"
      id="ixv-462"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:PrevslyPdFlg contextRef="offrl_2" id="ixv-463">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_2" id="ixv-464">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_2" id="ixv-465">Preferred Stock</ffd:OfferingSctyTitl>
    <ffd:Rule457rFlg contextRef="offrl_2" id="ixv-466">true</ffd:Rule457rFlg>
    <ffd:FeeRate
      contextRef="offrl_2"
      decimals="7"
      id="ixv-467"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:PrevslyPdFlg contextRef="offrl_3" id="ixv-468">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_3" id="ixv-469">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_3" id="ixv-470">Common Stock</ffd:OfferingSctyTitl>
    <ffd:Rule457rFlg contextRef="offrl_3" id="ixv-471">true</ffd:Rule457rFlg>
    <ffd:FeeRate
      contextRef="offrl_3"
      decimals="7"
      id="ixv-472"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:PrevslyPdFlg contextRef="offrl_4" id="ixv-473">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_4" id="ixv-474">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_4" id="ixv-475">Warrants</ffd:OfferingSctyTitl>
    <ffd:Rule457rFlg contextRef="offrl_4" id="ixv-476">true</ffd:Rule457rFlg>
    <ffd:FeeRate
      contextRef="offrl_4"
      decimals="7"
      id="ixv-477"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:TtlOfferingAmt contextRef="rc" decimals="2" id="ixv-478" unitRef="USD">0.00</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="rc" decimals="2" id="ixv-479" unitRef="USD">0.00</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt contextRef="rc" decimals="2" id="ixv-480" unitRef="USD">0.00</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt contextRef="rc" decimals="2" id="ixv-481" unitRef="USD">0.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="rc" decimals="2" id="ixv-482" unitRef="USD">0.00</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="offrl_1" id="ixv-483">(a)	The registrant is deferring payment of the registration fee pursuant to Rule 456(b) under the Securities Act of 1933, as amended (the "Securities Act") and is excluding this information in reliance on Rule 456(b) and Rule 457(r) under the Securities Act. Any additional registration fees will be paid subsequently on a pay-as-you-go basis.

(b)	The registrant is registering hereby an indeterminate number of securities as may be issued and sold, from time to time, by the registrant at indeterminate prices.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_2" id="ixv-484">See Offering Note 1.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_3" id="ixv-485">See Offering Note 1. </ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_4" id="ixv-486">See Offering Note 1. </ffd:OfferingNote>
</xbrl>
