XML 84 R68.htm IDEA: XBRL DOCUMENT
v3.21.2

Funds Held for Clients and Corporate Investments (Realized Gains and Losses from Sale of Available-for-sale Securities) (Details) - USD ($) $ in Millions | 12 Months Ended
--- | ---
May 31, 2021 | May 31, 2020 | May 31, 2019
Funds Held for Clients and Corporate Investments [Abstract] |  |  |
Gross realized gains | $ 1.2 | $ 11.6 | $ 0.6
Gross realized losses |  | (0.3) | $ (0.6)
Net realized gains | $ 1.2 | $ 11.3 |

X
- Definition Funds held for clients and corporate investments. + References No definition available. + Details
Name: | payx_FundsHeldForClientsAndCorporateInvestmentsAbstract
Namespace Prefix: | payx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition This item represents the difference between the gross realized gains and losses realized on the sale of debt or equity securities categorized neither as held-to-maturity nor trading securities. Additionally, this item would include any losses recognized for other than temporary impairments (OTTI) of the subject investments in debt and equity securities. + References No definition available. + Details
Name: | us-gaap_AvailableForSaleSecuritiesGrossRealizedGainLossNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This item represents the gross profit realized on the sale of debt or equity securities categorized neither as held-to-maturity nor trading securities. + References No definition available. + Details
Name: | us-gaap_AvailableForSaleSecuritiesGrossRealizedGains
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This item represents the gross loss realized on the sale of debt or equity securities categorized neither as held-to-maturity nor trading securities. + References No definition available. + Details
Name: | us-gaap_AvailableForSaleSecuritiesGrossRealizedLosses
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration