<?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/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:utr="http://www.xbrl.org/2009/utr"
  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="c-1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001591698</identifier>
        </entity>
        <period>
            <startDate>2025-12-05</startDate>
            <endDate>2025-12-05</endDate>
        </period>
    </context>
    <context id="c-2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001591698</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-05</startDate>
            <endDate>2025-12-05</endDate>
        </period>
    </context>
    <unit id="shares">
        <measure>shares</measure>
    </unit>
    <unit id="usdPerShare">
        <divide>
            <unitNumerator>
                <measure>iso4217:USD</measure>
            </unitNumerator>
            <unitDenominator>
                <measure>shares</measure>
            </unitDenominator>
        </divide>
    </unit>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="rate">
        <measure>utr:Rate</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="c-1" id="f-19">0001591698</dei:EntityCentralIndexKey>
    <ffd:FeeExhibitTp contextRef="c-1" id="f-20">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OffsetTableNa contextRef="c-1" id="f-21">N/A</ffd:OffsetTableNa>
    <ffd:SubmissnTp contextRef="c-1" id="f-1">S-8</ffd:SubmissnTp>
    <ffd:FormTp contextRef="c-1" id="f-2">S-8</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="c-1" id="f-3">Paylocity Holding Corporation</dei:EntityRegistrantName>
    <ffd:OfferingSctyTp contextRef="c-2" id="f-4">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c-2" id="f-5">Common Stock, par value $0.001 per share</ffd:OfferingSctyTitl>
    <ffd:PrevslyPdFlg contextRef="c-2" id="f-6">false</ffd:PrevslyPdFlg>
    <ffd:FeesOthrRuleFlg contextRef="c-2" id="f-7">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd contextRef="c-2" decimals="0" id="f-8" unitRef="shares">444000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="c-2"
      decimals="2"
      id="f-9"
      unitRef="usdPerShare">147.74</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric contextRef="c-2" decimals="0" id="f-10" unitRef="usd">65596560</ffd:MaxAggtOfferingPric>
    <ffd:TtlOfferingAmt contextRef="c-1" decimals="2" id="f-11" unitRef="usd">65596560</ffd:TtlOfferingAmt>
    <ffd:FeeRate contextRef="c-2" decimals="7" id="f-12" unitRef="rate">0.00013810</ffd:FeeRate>
    <ffd:FeeAmt contextRef="c-2" decimals="2" id="f-13" unitRef="usd">9058.88</ffd:FeeAmt>
    <ffd:TtlFeeAmt contextRef="c-1" decimals="2" id="f-14" unitRef="usd">9058.88</ffd:TtlFeeAmt>
    <ffd:TtlOffsetAmt contextRef="c-1" decimals="2" id="f-15" unitRef="usd">0</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="c-1" decimals="2" id="f-16" unitRef="usd">9058.88</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c-2" id="f-17">&lt;div style="margin-bottom:12pt;padding-left:36pt;text-indent:-18pt"&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:6.5pt;font-weight:400;line-height:112%;position:relative;top:-3.5pt;vertical-align:baseline"&gt;(1)&lt;/span&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:10pt;font-weight:400;line-height:112%"&gt;&#160;&#160;&#160;&#160;This registration statement covers a total of 444,000 shares of common stock, par value $0.001 per share (the &#x201c;Common Stock&#x201d;), of Paylocity Holding Corporation (the &#x201c;Registrant&#x201d;) reserved for issuance under the Registrant&#x2019;s Amended and Restated 2023 Equity Incentive Plan (the &#x201c;Plan&#x201d;). Pursuant to Rule 416(a) under the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;), this registration statement shall also cover any additional shares of common stock that become issuable under the Plan, as may be amended from time to time, by reason of any stock dividend, stock split, recapitalization or other similar transaction effected without the receipt of consideration that increases the number of the Registrant&#x2019;s outstanding shares of Common Stock. &lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom:12pt;padding-left:36pt;text-indent:-18pt"&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:6.5pt;font-weight:400;line-height:112%;position:relative;top:-3.5pt;vertical-align:baseline"&gt;(2)&lt;/span&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:10pt;font-weight:400;line-height:112%"&gt;&#160;&#160;&#160;&#160;Estimated in accordance with paragraphs (c) and (h) of Rule 457 under the Securities Act solely for the purpose of calculating the registration fee on the basis of $147.74 per share of Common Stock, which represents the average of the high and low price per share of the Registrant&#x2019;s Common Stock on December&#160;1, 2025 as reported on the Nasdaq Global Select Market.&lt;/span&gt;&lt;/div&gt;</ffd:OfferingNote>
    <ffd:AmtSctiesRegd contextRef="c-2" decimals="0" id="f-18" unitRef="shares">444000</ffd:AmtSctiesRegd>
</xbrl>
