XML 70 R56.htm IDEA: XBRL DOCUMENT
v3.23.2

Stock-Based Compensation Plans (Other Information Pertaining to Restricted Stock Awards) (Details) - USD ($) $ / shares in Units, $ in Millions | 12 Months Ended
--- | ---
May 31, 2023 | May 31, 2022 | May 31, 2021
Time-Based Restricted Stock Awards [Member] |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |
Weighted-average grant-date fair value per share | $ 0 | $ 114.21 | $ 73.93
Total grant-date fair value of shares vested | $ 4.3 | $ 3.8 | $ 3.0
Performance-Based Restricted Stock Awards [Member] |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |
Weighted-average grant-date fair value per share | $ 0 | $ 103.97 | $ 65.17
Total grant-date fair value of shares vested | $ 3.7 | $ 7.2 | $ 8.4

X
- Definition The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan). + 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 (c)(2)(iii)(01) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value of share-based awards for which the grantee gained the right by satisfying service and performance requirements, to receive or retain shares or units, other instruments, or cash. + 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 (d)(2) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_AwardTypeAxis=payx_TimeBasedRestrictedStockAwardsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=payx_PerformanceBasedRestrictedStockAwardsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |