XML 20 R6.htm IDEA: XBRL DOCUMENT
v3.23.2

Consolidated Statements of Stockholders' Equity (Parenthetical) - USD ($) $ in Millions | 12 Months Ended
--- | ---
May 31, 2023 | May 31, 2022 | May 31, 2021
Unrealized (losses) gains on securities, tax | $ (12.2) | $ (53.1) | $ (4.8)
Reclassification adjustment for realized gains (loss) on securities, tax | $ (2.5) | $ 0.1 | $ 0.3
Dividends declared, per share | $ 3.26 | $ 2.77 | $ 2.52
Authorized In May 2019 [Member] |  |  |
Approved repurchase amount | $ 400.0 | $ 400.0 | $ 400.0
Expiration date | May 31, 2022 | May 31, 2022 | May 31, 2022
Authorized In July 2021 [Member] |  |  |
Approved repurchase amount | $ 400.0 | $ 400.0 | $ 400.0
Expiration date | Jan. 31, 2024 | Jan. 31, 2024 | Jan. 31, 2024

X
- Definition Aggregate dividends declared during the period for each share of common stock outstanding. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 + Details
Name: | us-gaap_CommonStockDividendsPerShareDeclared
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of tax expense (benefit) of reclassification adjustment from accumulated other comprehensive income for unrealized gain (loss) realized upon the sale of available-for-sale securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 12 -URI https://asc.fasb.org/extlink&oid=126968391&loc=d3e640-108580 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27357-111563 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount, before adjustment, of tax expense (benefit) for unrealized holding gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Excludes tax expense (benefit) for unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 12 -URI https://asc.fasb.org/extlink&oid=126968391&loc=d3e640-108580 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 10A -Subparagraph (f) -URI https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580 + Details
Name: | us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of stock repurchase plan authorized. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramAuthorizedAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Expiration date for the purchase of an entity's own shares under a stock repurchase plan, in the YYYY-MM-DD format. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramExpirationDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_ShareRepurchaseProgramAxis=payx_AuthorizedInMay2019Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShareRepurchaseProgramAxis=payx_AuthorizedInJuly2021Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |