<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="pcar-20261027.xsd" xlink:type="simple"/>
    <context id="C_ca18af3e-5220-4e1d-9972-ac125ea1a30d">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000075362</identifier>
        </entity>
        <period>
            <startDate>2026-10-27</startDate>
            <endDate>2026-10-27</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="C_ca18af3e-5220-4e1d-9972-ac125ea1a30d"
      id="F_32f00597-ae93-490b-88d4-0cb1b345c1a3">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="C_ca18af3e-5220-4e1d-9972-ac125ea1a30d"
      id="F_d08d05ba-1366-4804-a86a-e9155ccd9f92">0000075362</dei:EntityCentralIndexKey>
    <dei:DocumentType
      contextRef="C_ca18af3e-5220-4e1d-9972-ac125ea1a30d"
      id="F_7b149845-a356-4b04-8df0-f84c0fef2204">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="C_ca18af3e-5220-4e1d-9972-ac125ea1a30d"
      id="F_4519299c-3af5-4d52-aec8-cc623a737345">2026-10-27</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="C_ca18af3e-5220-4e1d-9972-ac125ea1a30d"
      id="F_3b8a3dab-87d1-44a5-bc5f-a0fa0b89e405">PACCAR Inc</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="C_ca18af3e-5220-4e1d-9972-ac125ea1a30d"
      id="F_80b7b3ae-8031-4f68-9bea-03887e5514f7">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="C_ca18af3e-5220-4e1d-9972-ac125ea1a30d"
      id="F_8f77f2aa-b6aa-4265-86b1-b2c4fbf1bfd8">001-14817</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="C_ca18af3e-5220-4e1d-9972-ac125ea1a30d"
      id="F_cc92df75-bd49-4c38-ba63-67117b5ed639">91-0351110</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="C_ca18af3e-5220-4e1d-9972-ac125ea1a30d"
      id="F_b66a58ba-9d19-4774-82ca-f2a009337f26">777 106th Avenue NE</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="C_ca18af3e-5220-4e1d-9972-ac125ea1a30d"
      id="F_fb2b40be-36aa-46de-8656-0cfbb1048186">Bellevue</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="C_ca18af3e-5220-4e1d-9972-ac125ea1a30d"
      id="F_78313437-b71c-4b69-86ec-e92a0ba67c2d">WA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="C_ca18af3e-5220-4e1d-9972-ac125ea1a30d"
      id="F_c195a9dd-8912-4698-a0d9-c5d7c5869477">98004</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="C_ca18af3e-5220-4e1d-9972-ac125ea1a30d"
      id="F_aac25e3f-8201-413c-9835-0a3476f5fde7">425</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="C_ca18af3e-5220-4e1d-9972-ac125ea1a30d"
      id="F_1c6c91a4-313d-49ce-9fe9-01c695b5b3d5">468-7400</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="C_ca18af3e-5220-4e1d-9972-ac125ea1a30d"
      id="F_7395c797-9ad6-4376-8ac0-06cc16bde4d2">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="C_ca18af3e-5220-4e1d-9972-ac125ea1a30d"
      id="F_c43c4131-e60d-4e67-883d-2351821aff40">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="C_ca18af3e-5220-4e1d-9972-ac125ea1a30d"
      id="F_cc016d67-ced7-471a-a676-513cb904915b">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="C_ca18af3e-5220-4e1d-9972-ac125ea1a30d"
      id="F_44b7625c-da1b-42e1-b1e3-9a35a18912ec">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="C_ca18af3e-5220-4e1d-9972-ac125ea1a30d"
      id="F_5bea72b9-d559-4cba-8370-5449fea79a78">Common stock, $1 par value</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="C_ca18af3e-5220-4e1d-9972-ac125ea1a30d"
      id="F_4d9a9c64-33a3-4ef2-b0aa-ff950a88f099">PCAR</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="C_ca18af3e-5220-4e1d-9972-ac125ea1a30d"
      id="F_5fc84a51-47eb-49bb-9d14-d9a91f54e1d6">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="C_ca18af3e-5220-4e1d-9972-ac125ea1a30d"
      id="F_8c8d08ed-0b04-4ccb-92bf-c17cee7d257f">false</dei:EntityEmergingGrowthCompany>
</xbrl>
