XML 45 R34.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Funds Held for Clients and Corporate Investments (Narrative) (Details) $ in Millions | 9 Months Ended |
--- | --- | ---
Feb. 28, 2018 USD ($) security | May 31, 2017 USD ($) security
Schedule of Available-for-sale Securities [Line Items] |  |
Net unrealized loss on available-for-sale securities | $ 34.9 |
Net unrealized gain on available-for-sale securities |  | $ 32.0
Number of available-for-sale securities in an unrealized loss position | security | 859 | 216
Gross unrealized losses on available-for-sale securities | $ 39.9 | $ 5.8
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 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 The net unrealize loss 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_NetUnrealizedLossOnAvailableForSaleSecurities
Namespace Prefix: | payx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27337-111563 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (a)(2) -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27290-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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (b)(3) -URI http://asc.fasb.org/extlink&oid=82897076&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_MajorTypesOfDebtAndEquitySecuritiesAxis=us-gaap_VariableRateDemandObligationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |