XML 42 R32.htm IDEA: XBRL DOCUMENT
v3.23.1

Funds Held for Clients and Corporate Investments (Narrative) (Details) $ in Millions | 9 Months Ended | 12 Months Ended
--- | --- | ---
Feb. 28, 2023 USD ($) Security | May 31, 2022 USD ($) Security
Schedule of Available-for-sale Securities [Line Items] |  |
Net unrealized losses on available-for-sale securities | $ (230.5) | $ (136.3)
Number of available-for-sale securities in an unrealized loss position | Security | 1,166 | 817
Percentage of available-for-sale securities in an unrealized loss position | 95.00% | 64.00%
Gross unrealized losses on available-for-sale securities | $ 231.3 | $ 139.0
Corporate Bonds [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Gross unrealized losses on available-for-sale securities | $ 47.9 | 19.0
Corporate Bonds [Member] | Minimum [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Available-for-sale securities maturity date | Mar. 01, 2023 |
Corporate Bonds [Member] | Maximum [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Available-for-sale securities maturity date | Aug. 16, 2029 |
Municipal Bonds [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Gross unrealized losses on available-for-sale securities | $ 129.3 | $ 92.5
Municipal Bonds [Member] | Minimum [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Available-for-sale securities maturity date | Mar. 01, 2023 |
Municipal Bonds [Member] | Maximum [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Available-for-sale securities maturity date | Apr. 01, 2030 |
Variable Rate Demand Notes [Member] | Minimum [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Available-for-sale securities contractual maturities | 20 years |
Variable Rate Demand Notes [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: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Maturity date of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in YYYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -URI https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of unrealized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References No definition available. + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleUnrealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (a)(2) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27290-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 4 -Subparagraph (a)(2) -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of investments in debt securities measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (b)(3) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27290-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 4 -Subparagraph (b)(3) -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions
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: |