XML 40 R26.htm IDEA: XBRL DOCUMENT
v3.23.2

Description of Business, Basis of Presentation, and Significant Accounting Policies (Tables) | 12 Months Ended
--- | ---
May 31, 2023
Accounting Policies [Abstract] |
Estimated Useful Lives of Depreciable Assets | The estimated useful lives of depreciable assets are generally as follows:
Category |  | Depreciable life
Buildings and improvements |  | 10 to 35 years or the remaining life, whichever is shorter
Data processing equipment |  | 3 to 4 years
Furniture, fixtures, and equipment |  | 2 to 7 years
Leasehold improvements |  | 10 years or the life of the lease, whichever is shorter
Software |  | 3 to 12 years

X
- Definition Property, Plant and Equipment, Estimated Useful Lives [Table Text Block] + References No definition available. + Details
Name: | payx_PropertyPlantAndEquipmentEstimatedUsefulLivesTableTextBlock
Namespace Prefix: | payx_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_AccountingPoliciesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration