XML 42 R31.htm IDEA: XBRL DOCUMENT
v3.21.2

Funds Held for Clients and Corporate Investments (Narrative) (Details) $ in Millions | 3 Months Ended |
--- | --- | ---
Aug. 31, 2021 USD ($) security | May 31, 2021 USD ($) security
Schedule of Available-for-sale Securities [Line Items] |  |
Net unrealized gains on available-for-sale securities | $ 78.7 | $ 79.3
Number of available-for-sale securities in an unrealized loss position | security | 107 | 137
Percentage of available-for-sale securities in an unrealized loss position | 9.00% | 11.00%
Gross unrealized losses on available-for-sale securities | $ 1.8 | $ 4.0
Corporate Bonds [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Gross unrealized losses on available-for-sale securities | $ 0.2 | 0.2
Corporate Bonds [Member] | Minimum [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Available-for-sale securities maturity date | Sep. 07, 2021 |
Corporate Bonds [Member] | Maximum [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Available-for-sale securities maturity date | Aug. 12, 2028 |
Municipal Bonds [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Gross unrealized losses on available-for-sale securities | $ 0.7 | $ 2.3
Municipal Bonds [Member] | Minimum [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Available-for-sale securities maturity date | Sep. 01, 2021 |
Municipal Bonds [Member] | Maximum [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Available-for-sale securities maturity date | Nov. 15, 2028 |
VRDNs [Member] | Minimum [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Available-for-sale securities contractual maturities | 20 years |
VRDNs [Member] | Maximum [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Available-for-sale securities contractual maturities | 30 years |

X
- Definition Available-for-sale Securities, Debt Maturities, Term + References No definition available. + Details
Name: | payx_AvailableForSaleSecuritiesDebtMaturitiesTerm
Namespace Prefix: | payx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Available For Sale, Securities In Unrealized Loss Positions, Percentage + References No definition available. + Details
Name: | payx_AvailableForSaleSecuritiesInUnrealizedLossPositionsPercentage
Namespace Prefix: | payx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Available-for-sale Securities, Maturity Date + References No definition available. + Details
Name: | payx_AvailableForSaleSecuritiesMaturityDate
Namespace Prefix: | payx_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition The net change in the difference between the fair value and the carrying value of available for sale securities that are recognized in AOCI. + References No definition available. + Details
Name: | payx_NetUnrealizedGainLossOnAvailableForSaleSecurities
Namespace Prefix: | payx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investments in debt and equity securities classified as available-for-sale in a continuous loss position. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=121645371&loc=d3e27337-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of investment positions in available-for-sale investments in a continuous unrealized loss position for which an other-than-temporary impairment (OTTI) has not been recognized in the income statement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (b)(3) -URI http://asc.fasb.org/extlink&oid=121645371&loc=d3e27290-111563 + Details
Name: | us-gaap_AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

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_ScheduleOfAvailableForSaleSecuritiesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CorporateDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
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: | us-gaap_FinancialInstrumentAxis=us-gaap_MunicipalBondsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_VariableRateDemandObligationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |