XML 14 R6.htm IDEA: XBRL DOCUMENT
v3.24.3

Consolidated Statements of Stockholders' Equity (Parenthetical) - USD ($) $ in Millions | 3 Months Ended
--- | ---
Aug. 31, 2024 | Aug. 31, 2023
Unrealized gains (losses) on securities, tax | $ 20.2 | $ (7.6)
Reclassification adjustment for realized gains (loss) on securities, tax | $ 0.0 | $ 0.0
Cash dividends declared, per share | $ 0.98 | $ 0.89
Authorized In July 2021 [Member] |  |
Expiration date | Jan. 31, 2024 |
Authorized In July 2021 [Member] | Maximum [Member] |  |
Approved repurchase amount | $ 400.0 |
Authorized In January 2024 [Member] |  |
Approved repurchase amount | $ 400.0 |
Expiration date | May 31, 2027 |

X
- Definition Amount authorized for purchase of share under share repurchase plan. Includes, but is not limited to, repurchase of stock and unit of ownership. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 505 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481520/505-30-50-4 + Details
Name: | srt_StockRepurchaseProgramAuthorizedAmount1
Namespace Prefix: | srt_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Expiration date for purchase of share under share repurchase plan, in YYYY-MM-DD format. Includes, but is not limited to, repurchase of stock and unit of ownership. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 505 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481520/505-30-50-4 + Details
Name: | srt_StockRepurchaseProgramExpirationDate
Namespace Prefix: | srt_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

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
- Details
Name: | srt_ShareRepurchaseProgramAxis=payx_AuthorizedInJuly2021Member
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: |

X
- Details
Name: | srt_ShareRepurchaseProgramAxis=payx_AuthorizedInJanuary2024Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |