XML 35 R23.htm IDEA: XBRL DOCUMENT
v3.22.4

Description of Business, Basis of Presentation, and Significant Accounting Policies (Narrative) (Details) $ in Millions | 3 Months Ended | 6 Months Ended | 12 Months Ended
--- | --- | --- | ---
Nov. 30, 2022 USD ($) Item | Nov. 30, 2021 USD ($) Item | Nov. 30, 2022 USD ($) Segment Item | Nov. 30, 2021 USD ($) Item | May 31, 2023 USD ($) | May 31, 2022 USD ($) Item
Accounting Policies [Line Items] |  |  |  |  |  |
Number of reportable segments | Segment |  |  | 1 |  |  |
Allowance for credit losses | $ 20.4 |  | $ 20.4 |  |  | $ 18.2
Advance collections | 34.4 |  | 34.4 |  |  | 2.6
Maximum individual health insurance claims liability |  |  |  |  |  | 0.5
Stock-based compensation costs recognized | $ 15.3 | $ 14.0 | $ 29.7 | $ 26.4 |  |
Accounting Standards Update 2021-10 [Member] |  |  |  |  |  |
Accounting Policies [Line Items] |  |  |  |  |  |
Change in accounting principle, accounting standards update, adoption date | Jun. 01, 2022 |  | Jun. 01, 2022 |  |  |
Change in accounting principle, accounting standards update, adopted [true false] | true |  | true |  |  |
Change in accounting principle, accounting standards update, immaterial effect [true false] | true |  | true |  |  |
Forecast [Member] |  |  |  |  |  |
Accounting Policies [Line Items] |  |  |  |  |  |
Maximum individual health insurance claims liability |  |  |  |  | $ 0.5 |
Trade Receivables [Member] |  |  |  |  |  |
Accounting Policies [Line Items] |  |  |  |  |  |
Receivables | $ 277.1 |  | $ 277.1 |  |  | 123.2
Purchased Receivables [Member] |  |  |  |  |  |
Accounting Policies [Line Items] |  |  |  |  |  |
Receivables | $ 616.9 |  | $ 616.9 |  |  | $ 618.8
Accounts And Unbilled Receivables [Member] |  |  |  |  |  |
Accounting Policies [Line Items] |  |  |  |  |  |
Number of clients creating a credit concentration | Item |  |  | 0 |  |  | 0
Revenue [Member] |  |  |  |  |  |
Accounting Policies [Line Items] |  |  |  |  |  |
Number of clients creating a credit concentration | Item | 0 | 0 | 0 | 0 |  |
PEO [Member] |  |  |  |  |  |
Accounting Policies [Line Items] |  |  |  |  |  |
Individual workers' compensation claims liability |  |  |  |  |  | $ 1.0
PEO [Member] | Forecast [Member] |  |  |  |  |  |
Accounting Policies [Line Items] |  |  |  |  |  |
Individual workers' compensation claims liability |  |  |  |  | 1.0 |
PEO Aggregate Claims Exceeding $1.0M [Member] | Minimum [Member] |  |  |  |  |  |
Accounting Policies [Line Items] |  |  |  |  |  |
Individual workers' compensation claims liability |  |  |  |  |  | 1.0
PEO Aggregate Claims Exceeding $1.0M [Member] | Minimum [Member] | Forecast [Member] |  |  |  |  |  |
Accounting Policies [Line Items] |  |  |  |  |  |
Individual workers' compensation claims liability |  |  |  |  | 1.0 |
PEO Aggregate Claims Exceeding $1.0M [Member] | Maximum [Member] |  |  |  |  |  |
Accounting Policies [Line Items] |  |  |  |  |  |
Maximum individual workers' compensation claims liability |  |  |  |  |  | $ 2.0
PEO Aggregate Claims Exceeding $1.0M [Member] | Maximum [Member] | Forecast [Member] |  |  |  |  |  |
Accounting Policies [Line Items] |  |  |  |  |  |
Maximum individual workers' compensation claims liability |  |  |  |  | $ 2.0 |

X
- Definition Accounting Policies [Line Items] + References No definition available. + Details
Name: | payx_AccountingPoliciesLineItems
Namespace Prefix: | payx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Accounts Notes And Loans Receivable Gross Current + References No definition available. + Details
Name: | payx_AccountsNotesAndLoansReceivableGrossCurrent
Namespace Prefix: | payx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Advance Collections Current + References No definition available. + Details
Name: | payx_AdvanceCollectionsCurrent
Namespace Prefix: | payx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of Clients Creating a Credit Concentration + References No definition available. + Details
Name: | payx_ConcentrationRiskNumberOfClient
Namespace Prefix: | payx_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Individual Claims Liability Workers Compensation Insurance + References No definition available. + Details
Name: | payx_IndividualClaimsLiabilityWorkersCompensationInsurance
Namespace Prefix: | payx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Maximum Individual Claims Liability Health Insurance + References No definition available. + Details
Name: | payx_MaximumIndividualClaimsLiabilityHealthInsurance
Namespace Prefix: | payx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Maximum individual claims liability workers compensation insurance. + References No definition available. + Details
Name: | payx_MaximumIndividualClaimsLiabilityWorkersCompensationInsurance
Namespace Prefix: | payx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of expense for award under share-based payment arrangement. Excludes amount capitalized. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1)(i) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_AllocatedShareBasedCompensationExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of allowance for credit loss on accounts receivable, classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=123577603&loc=d3e5074-111524 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(4)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Indicates (true false) whether accounting standards update was adopted. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 10 -Section 65 -Paragraph 5 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 20 -Section 65 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=121483254&loc=SL120254523-199619 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 10 -Section 65 -Paragraph 5 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 10 -Section 65 -Paragraph 4 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 10 -Section 65 -Paragraph 5 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 20 -Section 65 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126986314&loc=SL124402458-218513 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 65 -Paragraph 8 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 10 -Section 65 -Paragraph 4 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 926 -SubTopic 20 -Section 65 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 926 -SubTopic 20 -Section 65 -Paragraph 2 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 65 -Paragraph 7 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126983955&loc=SL122642865-165497 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 65 -Paragraph 7 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126983955&loc=SL122642865-165497 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 65 -Paragraph 5 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126983955&loc=SL120254526-165497 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 65 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=126983955&loc=SL120254526-165497 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 10 -Section 65 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=122640432&loc=SL120254519-210437 Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 10 -Section 65 -Paragraph 4 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=128293352&loc=SL120154346-209984 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 848 -SubTopic 10 -Section 65 -Paragraph 1 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=125980421&loc=SL122150809-237846 Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 20 -Section 65 -Paragraph 2 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126986314&loc=SL124402458-218513 Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 65 -Paragraph 3 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=128092918&loc=SL128093175-196984 Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 40 -Section 65 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641 Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 65 -Paragraph 3 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=128092918&loc=SL128093175-196984 Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 40 -Section 65 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126732423&loc=SL126732908-238011 Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 40 -Section 65 -Paragraph 1 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011 Reference 25: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 65 -Paragraph 6 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497 Reference 26: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 10 -Section 65 -Paragraph 3 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=122640432&loc=SL120320025-210437 Reference 27: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 105 -SubTopic 10 -Section 65 -Paragraph 6 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695 Reference 28: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 848 -SubTopic 10 -Section 65 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846 Reference 29: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 65 -Paragraph 6 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497 Reference 30: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 10 -Section 65 -Paragraph 3 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=122640432&loc=SL120320025-210437 Reference 31: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 105 -SubTopic 10 -Section 65 -Paragraph 6 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695 Reference 32: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 40 -Section 65 -Paragraph 2 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641 Reference 33: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 40 -Section 65 -Paragraph 1 -Subparagraph (a)(2) -URI https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011 Reference 34: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 832 -SubTopic 10 -Section 65 -Paragraph 1 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=128342835&loc=SL128342857-244232 + Details
Name: | us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateAdopted
Namespace Prefix: | us-gaap_
Data Type: | xbrli:booleanItemType
Balance Type: | na
Period Type: | instant

X
- Definition Date accounting standards update was adopted, in YYYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 20 -Section 65 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126986314&loc=SL124402458-218513 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 40 -Section 65 -Paragraph 1 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 65 -Paragraph 7 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126983955&loc=SL122642865-165497 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 832 -SubTopic 10 -Section 65 -Paragraph 1 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=128342835&loc=SL128342857-244232 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 65 -Paragraph 5 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126983955&loc=SL120254526-165497 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 20 -Section 65 -Paragraph 2 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126986314&loc=SL124402458-218513 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 10 -Section 65 -Paragraph 4 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 65 -Paragraph 3 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=128092918&loc=SL128093175-196984 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 10 -Section 65 -Paragraph 3 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=122640432&loc=SL120320025-210437 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 105 -SubTopic 10 -Section 65 -Paragraph 6 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 105 -SubTopic 10 -Section 65 -Paragraph 6 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 10 -Section 65 -Paragraph 3 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=122640432&loc=SL120320025-210437 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 926 -SubTopic 20 -Section 65 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 65 -Paragraph 7 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126983955&loc=SL122642865-165497 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 65 -Paragraph 6 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 40 -Section 65 -Paragraph 1 -Subparagraph (a)(2) -URI https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011 Reference 17: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 40 -Section 65 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641 Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 40 -Section 65 -Paragraph 1 -Subparagraph (a)(3) -URI https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011 Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 40 -Section 65 -Paragraph 2 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641 Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 848 -SubTopic 10 -Section 65 -Paragraph 1 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=125980421&loc=SL122150809-237846 Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 10 -Section 65 -Paragraph 5 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984 Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 40 -Section 65 -Paragraph 1 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011 Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 10 -Section 65 -Paragraph 5 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984 Reference 25: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 65 -Paragraph 3 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=128092918&loc=SL128093175-196984 Reference 26: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 40 -Section 65 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126732423&loc=SL126732908-238011 Reference 27: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 10 -Section 65 -Paragraph 4 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=128293352&loc=SL120154346-209984 Reference 28: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 65 -Paragraph 8 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277 Reference 29: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 65 -Paragraph 3 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=128092918&loc=SL128093175-196984 Reference 30: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 848 -SubTopic 10 -Section 65 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846 Reference 31: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 20 -Section 65 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=121483254&loc=SL120254523-199619 Reference 32: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 10 -Section 65 -Paragraph 4 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437 Reference 33: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 926 -SubTopic 20 -Section 65 -Paragraph 2 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079 Reference 34: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 65 -Paragraph 6 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497 Reference 35: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 10 -Section 65 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=122640432&loc=SL120254519-210437 Reference 36: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 65 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=126983955&loc=SL120254526-165497 Reference 37: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 10 -Section 65 -Paragraph 5 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984 + Details
Name: | us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateAdoptionDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | instant

X
- Definition Indicates (true false) whether effect from applying amendment to accounting standards is immaterial. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section S99 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=122038215&loc=d3e31010-122693 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 20 -Section 65 -Paragraph 2 -Subparagraph (d)(1) -URI https://asc.fasb.org/extlink&oid=126986314&loc=SL124402458-218513 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 65 -Paragraph 8 -Subparagraph (e)(3) -URI https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 10 -Section 65 -Paragraph 4 -Subparagraph (e)(1) -URI https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b)(2) -URI https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794 + Details
Name: | us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateImmaterialEffect
Namespace Prefix: | us-gaap_
Data Type: | xbrli:booleanItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 18 -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8672-108599 + Details
Name: | us-gaap_NumberOfReportableSegments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=us-gaap_AccountingStandardsUpdate202110Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementScenarioAxis=srt_ScenarioForecastMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis=us-gaap_TradeAccountsReceivableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis=us-gaap_FinanceReceivablesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByBenchmarkAxis=payx_AccountsAndUnbilledReceivablesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByBenchmarkAxis=us-gaap_SalesRevenueNetMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=payx_PeoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=payx_PeoAggregateClaimsExceeding1.0mMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |