<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>251</ContextCount>
  <ElementCount>293</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>89</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>6</UnitCount>
  <MyReports>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>100000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - Unaudited Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/StatementUnauditedConsolidatedBalanceSheets</Role>
      <ShortName>Unaudited Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100020 - Statement - Unaudited Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/StatementUnauditedConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Unaudited Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100030 - Statement - Unaudited Consolidated Statements of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/StatementUnauditedConsolidatedStatementsOfComprehensiveIncome</Role>
      <ShortName>Unaudited Consolidated Statements of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100040 - Statement - Unaudited Consolidated Statements of Shareholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/StatementUnauditedConsolidatedStatementsOfShareholdersEquity</Role>
      <ShortName>Unaudited Consolidated Statements of Shareholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100050 - Statement - Unaudited Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/StatementUnauditedConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Unaudited Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100060 - Disclosure - Organization and Description of Business</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureOrganizationAndDescriptionOfBusiness</Role>
      <ShortName>Organization and Description of Business</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100070 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>100080 - Disclosure - Revenue</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureRevenue</Role>
      <ShortName>Revenue</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>100090 - Disclosure - Property and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosurePropertyAndEquipment</Role>
      <ShortName>Property and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>100100 - Disclosure - Goodwill and Intangible Assets, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsNet</Role>
      <ShortName>Goodwill and Intangible Assets, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>100110 - Disclosure - Long-Term Debt, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureLongTermDebtNet</Role>
      <ShortName>Long-Term Debt, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>100120 - Disclosure - Derivative Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureDerivativeInstruments</Role>
      <ShortName>Derivative Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>100130 - Disclosure - Corporate Investments and Funds Held For Clients</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureCorporateInvestmentsAndFundsHeldForClients</Role>
      <ShortName>Corporate Investments and Funds Held For Clients</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>100140 - Disclosure - Fair Value of Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureFairValueOfFinancialInstruments</Role>
      <ShortName>Fair Value of Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>100150 - Disclosure - Employee Savings Plan and Employee Stock Purchase Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureEmployeeSavingsPlanAndEmployeeStockPurchasePlan</Role>
      <ShortName>Employee Savings Plan and Employee Stock Purchase Plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>100160 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureEarningsPerShare</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>100170 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureStockBasedCompensation</Role>
      <ShortName>Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>100180 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>100190 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>100200 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureSubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>100210 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.paycom.com/20220630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>100220 - Disclosure - Revenue (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureRevenueTables</Role>
      <ShortName>Revenue (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.paycom.com/20220630/taxonomy/role/DisclosureRevenue</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>100230 - Disclosure - Property and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosurePropertyAndEquipmentTables</Role>
      <ShortName>Property and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.paycom.com/20220630/taxonomy/role/DisclosurePropertyAndEquipment</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>100240 - Disclosure - Goodwill and Intangible Assets, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsNetTables</Role>
      <ShortName>Goodwill and Intangible Assets, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.paycom.com/20220630/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsNet</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>100250 - Disclosure - Long-Term Debt, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureLongTermDebtNetTables</Role>
      <ShortName>Long-Term Debt, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.paycom.com/20220630/taxonomy/role/DisclosureLongTermDebtNet</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>100260 - Disclosure - Corporate Investments and Funds Held For Clients (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureCorporateInvestmentsAndFundsHeldForClientsTables</Role>
      <ShortName>Corporate Investments and Funds Held For Clients (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.paycom.com/20220630/taxonomy/role/DisclosureCorporateInvestmentsAndFundsHeldForClients</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>100270 - Disclosure - Fair Value of Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsTables</Role>
      <ShortName>Fair Value of Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.paycom.com/20220630/taxonomy/role/DisclosureFairValueOfFinancialInstruments</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>100280 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureEarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.paycom.com/20220630/taxonomy/role/DisclosureEarningsPerShare</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>100290 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureStockBasedCompensationTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.paycom.com/20220630/taxonomy/role/DisclosureStockBasedCompensation</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>100300 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail</Role>
      <ShortName>Summary of Significant Accounting Policies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>100310 - Disclosure - Revenue - Summary of Changes in Deferred Revenue Related to Material Right Performance Obligations (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureRevenueSummaryOfChangesInDeferredRevenueRelatedToMaterialRightPerformanceObligationsDetail</Role>
      <ShortName>Revenue - Summary of Changes in Deferred Revenue Related to Material Right Performance Obligations (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>100320 - Disclosure - Revenue - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureRevenueAdditionalInformationDetail</Role>
      <ShortName>Revenue - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>100330 - Disclosure - Revenue - Additional Information (Detail 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureRevenueAdditionalInformationDetail1</Role>
      <ShortName>Revenue - Additional Information (Detail 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>100340 - Disclosure - Revenue - Summary of Asset Balances and Related Amortization Expense For Contract Costs (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureRevenueSummaryOfAssetBalancesAndRelatedAmortizationExpenseForContractCostsDetail</Role>
      <ShortName>Revenue - Summary of Asset Balances and Related Amortization Expense For Contract Costs (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>100350 - Disclosure - Property and Equipment - Schedule of Property and Equipment and Accumulated Depreciation and Amortization (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosurePropertyAndEquipmentScheduleOfPropertyAndEquipmentAndAccumulatedDepreciationAndAmortizationDetail</Role>
      <ShortName>Property and Equipment - Schedule of Property and Equipment and Accumulated Depreciation and Amortization (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>100360 - Disclosure - Property and Equipment - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosurePropertyAndEquipmentAdditionalInformationDetail</Role>
      <ShortName>Property and Equipment - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>100370 - Disclosure - Goodwill and Intangible Assets, Net - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsNetAdditionalInformationDetail</Role>
      <ShortName>Goodwill and Intangible Assets, Net - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>100380 - Disclosure - Goodwill and Intangible Assets, Net - Schedule of Intangible Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsNetScheduleOfIntangibleAssetsDetail</Role>
      <ShortName>Goodwill and Intangible Assets, Net - Schedule of Intangible Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>100390 - Disclosure - Long-Term Debt, Net - Schedule of Long-Term Debt (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureLongTermDebtNetScheduleOfLongTermDebtDetail</Role>
      <ShortName>Long-Term Debt, Net - Schedule of Long-Term Debt (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>100400 - Disclosure - Long-Term Debt, Net - Schedule of Long-Term Debt (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureLongTermDebtNetScheduleOfLongTermDebtParentheticalDetail</Role>
      <ShortName>Long-Term Debt, Net - Schedule of Long-Term Debt (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>100410 - Disclosure - Long-Term Debt, Net - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureLongTermDebtNetAdditionalInformationDetail</Role>
      <ShortName>Long-Term Debt, Net - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>100420 - Disclosure - Derivative Instruments - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAdditionalInformationDetails</Role>
      <ShortName>Derivative Instruments - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>100430 - Disclosure - Corporate Investments and Funds Held For Clients - Cash and Cash Equivalents and Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureCorporateInvestmentsAndFundsHeldForClientsCashAndCashEquivalentsAndInvestmentsDetails</Role>
      <ShortName>Corporate Investments and Funds Held For Clients - Cash and Cash Equivalents and Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>100440 - Disclosure - Corporate Investments and Funds Held For Clients - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureCorporateInvestmentsAndFundsHeldForClientsAdditionalInformationDetails</Role>
      <ShortName>Corporate Investments and Funds Held For Clients - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>100450 - Disclosure - Corporate Investments and Funds Held For Clients - Summary of Expected Maturities of Available for Sale Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureCorporateInvestmentsAndFundsHeldForClientsSummaryOfExpectedMaturitiesOfAvailableForSaleSecuritiesDetails</Role>
      <ShortName>Corporate Investments and Funds Held For Clients - Summary of Expected Maturities of Available for Sale Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>100470 - Disclosure - Fair Value of Financial Instruments - Schedule of Major Categories of Assets and Liabilities Measured at Fair Value on Recurring Basis (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsScheduleOfMajorCategoriesOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail</Role>
      <ShortName>Fair Value of Financial Instruments - Schedule of Major Categories of Assets and Liabilities Measured at Fair Value on Recurring Basis (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>100480 - Disclosure - Employee Savings Plan and Employee Stock Purchase Plan - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureEmployeeSavingsPlanAndEmployeeStockPurchasePlanAdditionalInformationDetail</Role>
      <ShortName>Employee Savings Plan and Employee Stock Purchase Plan - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>100490 - Disclosure - Earnings Per Share - Computation of Basic and Diluted Net Earnings Per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureEarningsPerShareComputationOfBasicAndDilutedNetEarningsPerShareDetail</Role>
      <ShortName>Earnings Per Share - Computation of Basic and Diluted Net Earnings Per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>100500 - Disclosure - Stock-Based Compensation - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureStockBasedCompensationAdditionalInformationDetail</Role>
      <ShortName>Stock-Based Compensation - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>100510 - Disclosure - Stock-Based Compensation - Summary of Nonvested Restricted Stock Awards and PSU Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureStockBasedCompensationSummaryOfNonvestedRestrictedStockAwardsAndPSUActivityDetail</Role>
      <ShortName>Stock-Based Compensation - Summary of Nonvested Restricted Stock Awards and PSU Activity (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>100520 - Disclosure - Stock-Based Compensation - Summary of Nonvested Restricted Stock Awards and PSU Activity (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureStockBasedCompensationSummaryOfNonvestedRestrictedStockAwardsAndPSUActivityParentheticalDetail</Role>
      <ShortName>Stock-Based Compensation - Summary of Nonvested Restricted Stock Awards and PSU Activity (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>100530 - Disclosure - Stock-Based Compensation - Summary of Unrecognized Compensation Cost and Related Weighted Average Recognition Period Associated with Unvested restricted Stock Awards and Unvested PSU Awards (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureStockBasedCompensationSummaryOfUnrecognizedCompensationCostAndRelatedWeightedAverageRecognitionPeriodAssociatedWithUnvestedRestrictedStockAwardsAndUnvestedPSUAwardsDetail</Role>
      <ShortName>Stock-Based Compensation - Summary of Unrecognized Compensation Cost and Related Weighted Average Recognition Period Associated with Unvested restricted Stock Awards and Unvested PSU Awards (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>100540 - Disclosure - Income Taxes - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetail</Role>
      <ShortName>Income Taxes - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="payc-10q_20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>100550 - Disclosure - Subsequent Events - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.paycom.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails</Role>
      <ShortName>Subsequent Events - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" original="payc-10q_20220630.htm">payc-10q_20220630.htm</File>
    <File>payc-20220630.xsd</File>
    <File>payc-20220630_cal.xml</File>
    <File>payc-20220630_def.xml</File>
    <File>payc-20220630_lab.xml</File>
    <File>payc-20220630_pre.xml</File>
    <File>payc-ex103_1017.htm</File>
    <File>payc-ex311_7.htm</File>
    <File>payc-ex312_6.htm</File>
    <File>payc-ex321_8.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="695">http://fasb.org/us-gaap/2022</BaseTaxonomy>
    <BaseTaxonomy items="29">http://xbrl.sec.gov/dei/2022</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
