XML 64 R54.htm IDEA: XBRL DOCUMENT
v3.20.1

Fair Value Measurements (Narrative) (Details) | 9 Months Ended
--- | ---
Feb. 29, 2020
Maximum [Member] | U.S. Government Agency And Treasury Securities [Member] |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
Short-term investments considered cash equivalents, maturity at acquisition | 90 days

X
- Definition Short-term investments considered cash equivalents, maturity at acquisition + References No definition available. + Details
Name: | payx_InvestmentsConsideredCashEquivalentsMaturityPeriod
Namespace Prefix: | payx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=us-gaap_USTreasuryAndGovernmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |