XML 17 R6.htm IDEA: XBRL DOCUMENT
v3.23.4

Consolidated Statements of Stockholders' Equity (Parenthetical) - USD ($) $ in Millions | 3 Months Ended | 6 Months Ended
--- | --- | ---
Nov. 30, 2023 | Nov. 30, 2022 | Nov. 30, 2023 | Nov. 30, 2022
Unrealized gains (losses) on securities, tax | $ 4.8 | $ (10.3) | $ (2.8) | $ (20.0)
Reclassification adjustment for realized gains (loss) on securities, tax | $ (0.0) | $ 0.0 | $ (0.0) | $ 0.0
Cash dividends declared, per share | $ 0.89 | $ 0.79 | $ 1.78 | $ 1.58
Authorized In January 2024 [Member] |  |  |  |
Expiration date |  |  | Jan. 31, 2024 |
Authorized In January 2024 [Member] | Maximum [Member] |  |  |  |
Approved repurchase amount | $ 400.0 |  | $ 400.0 |

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 -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480008/505-10-S99-1 + 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 -Name Accounting Standards Codification -Section 45 -Paragraph 12 -SubTopic 10 -Topic 220 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482790/220-10-45-12 + 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 -Name Accounting Standards Codification -Section 45 -Paragraph 12 -SubTopic 10 -Topic 220 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482790/220-10-45-12 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 10A -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482790/220-10-45-10A + 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_AuthorizedInJanuary2024Member
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: |