v3.26.3
Supplemental Information (Narrative) (Details) - USD ($)
3 Months Ended 12 Months Ended
Jan. 23, 2026
Jan. 22, 2026
Aug. 31, 2026
Aug. 31, 2025
May 31, 2026
Supplemental Information [Line Items]          
Depreciation expense     $ 39,100,000 $ 34,500,000  
Amortization expense     70,700,000 74,800,000  
Impairment loss relates to goodwill or intangible assets     0 0  
Goodwill     4,534,100,000   $ 4,527,400,000
Senior Notes, Series A [Member] | Senior Notes [Member]          
Supplemental Information [Line Items]          
Repayment of long-term private placement debt         $ 400,000,000
Maturity date         Mar. 13, 2026
Revolving Credit Facility [Member]          
Supplemental Information [Line Items]          
Unused amount available     2,000,000,000    
Revolving Credit Facility [Member] | PNC Bank, National Association [Member]          
Supplemental Information [Line Items]          
Maximum borrowing capacity $ 250,000,000        
Term of unsecured line of credit facility 3 years        
Outstanding loans     0    
Standby Letters of Credit [Member]          
Supplemental Information [Line Items]          
Maximum borrowing capacity     173,000,000   $ 176,500,000
Amounts outstanding     $ 0 $ 0 $ 0
Standby Letters of Credit [Member] | Minimum [Member]          
Supplemental Information [Line Items]          
Expiration date of credit facility     Sep. 01, 2026    
Standby Letters of Credit [Member] | Maximum [Member]          
Supplemental Information [Line Items]          
Expiration date of credit facility     Dec. 24, 2027    
2017 Credit Facility [Member] | Paychex of New York LLC [Member]          
Supplemental Information [Line Items]          
Maximum borrowing capacity $ 1,000,000,000 $ 750,000,000      
Expiration date of credit facility Jan. 23, 2031 Sep. 17, 2026      
Term of unsecured line of credit facility   5 years      
2019 Credit Facility [Member] | JP Morgan Chase Bank, N.A. [Member]          
Supplemental Information [Line Items]          
Maximum borrowing capacity $ 1,000,000,000        
Term of unsecured line of credit facility 5 years