Quarterly report pursuant to Section 13 or 15(d)

Short-term Financing (Narrative) (Details)

v3.20.1
Short-term Financing (Narrative) (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Feb. 06, 2020
Jul. 31, 2019
Mar. 17, 2016
Aug. 05, 2015
Feb. 29, 2020
Feb. 28, 2019
Feb. 29, 2020
Feb. 28, 2019
May 31, 2019
JPM $1 Billion Credit Facility [Member] | JP Morgan Chase Bank, N.A. [Member] | Paychex of New York, LLC [Member]                  
Financing [Line Items]                  
Maximum borrowing capacity [1],[2]         $ 1,000,000   $ 1,000,000    
Expiration date [1],[2]             Jul. 31, 2024    
JPM $500 Million Credit Facility [Member] | JP Morgan Chase Bank, N.A. [Member] | Paychex of New York, LLC [Member]                  
Financing [Line Items]                  
Maximum borrowing capacity [1],[2]         500,000   $ 500,000    
Expiration date [1],[2]             Aug. 17, 2022    
Revolving Credit Facility [Member] | JPM $1 Billion Credit Facility [Member] | Paychex of New York, LLC [Member]                  
Financing [Line Items]                  
Maximum borrowing capacity   $ 1,000,000              
Term   5 years              
Revolving Credit Facility [Member] | JPM $1 Billion Credit Facility [Member] | Paychex of New York, LLC [Member]                  
Financing [Line Items]                  
Maximum borrowing capacity       $ 1,000,000          
Term       5 years          
Expiration date       Jul. 31, 2019          
Revolving Credit Facility [Member] | JPM $1 Billion Credit Facility [Member] | JP Morgan Chase Bank, N.A. [Member]                  
Financing [Line Items]                  
Amounts outstanding         0   $ 0   $ 0
Amount borrowed         $ 400,000 $ 694,000 $ 483,000  
Number of days borrowed           71 days 16 days 81 days  
Weighted-average interest rate           3.48% 5.09% 3.66%  
Revolving Credit Facility [Member] | JPM $1 Billion Credit Facility [Member] | JP Morgan Chase Bank, N.A. [Member] | Seventy-One Days [Member]                  
Financing [Line Items]                  
Amount borrowed           $ 400,000   $ 400,000  
Number of days borrowed           71 days   71 days  
Revolving Credit Facility [Member] | JPM $1 Billion Credit Facility [Member] | JP Morgan Chase Bank, N.A. [Member] | Seventy-One Days [Member] | LIBOR [Member]                  
Financing [Line Items]                  
Weighted-average interest rate           3.48%   3.48%  
Revolving Credit Facility [Member] | JPM $1 Billion Credit Facility [Member] | JP Morgan Chase Bank, N.A. [Member] | Overnight Basis [Member]                  
Financing [Line Items]                  
Amount borrowed         0        
Revolving Credit Facility [Member] | JPM $500 Million Credit Facility [Member] | JP Morgan Chase Bank, N.A. [Member]                  
Financing [Line Items]                  
Amounts outstanding         0   $ 0   0
Amount borrowed         $ 273,000 $ 400,000 $ 450,000 $ 400,000  
Number of days borrowed         3 days 71 days 27 days 78 days  
Weighted-average interest rate         4.75% 3.48% 3.30% 3.57%  
Revolving Credit Facility [Member] | JPM $500 Million Credit Facility [Member] | JP Morgan Chase Bank, N.A. [Member] | Three Days [Member]                  
Financing [Line Items]                  
Amount borrowed         $ 64,000   $ 64,000    
Number of days borrowed         3 days   3 days    
Weighted-average interest rate         4.75%   4.75%    
Revolving Credit Facility [Member] | JPM $500 Million Credit Facility [Member] | JP Morgan Chase Bank, N.A. [Member] | Eight Days [Member]                  
Financing [Line Items]                  
Amount borrowed             $ 450,000    
Number of days borrowed             8 days    
Revolving Credit Facility [Member] | JPM $500 Million Credit Facility [Member] | JP Morgan Chase Bank, N.A. [Member] | Eight Days [Member] | LIBOR [Member]                  
Financing [Line Items]                  
Weighted-average interest rate             3.00%    
Revolving Credit Facility [Member] | JPM $500 Million Credit Facility [Member] | JP Morgan Chase Bank, N.A. [Member] | Ten Days [Member]                  
Financing [Line Items]                  
Amount borrowed         $ 400,000   $ 400,000    
Number of days borrowed         10 days   10 days    
Revolving Credit Facility [Member] | JPM $500 Million Credit Facility [Member] | JP Morgan Chase Bank, N.A. [Member] | Ten Days [Member] | LIBOR [Member]                  
Financing [Line Items]                  
Weighted-average interest rate         3.00%   3.00%    
Revolving Credit Facility [Member] | JPM $500 Million Credit Facility [Member] | JP Morgan Chase Bank, N.A. [Member] | Seventy-One Days [Member]                  
Financing [Line Items]                  
Amount borrowed           $ 400,000   $ 400,000  
Number of days borrowed           71 days   71 days  
Revolving Credit Facility [Member] | JPM $500 Million Credit Facility [Member] | JP Morgan Chase Bank, N.A. [Member] | Seventy-One Days [Member] | LIBOR [Member]                  
Financing [Line Items]                  
Weighted-average interest rate           3.48%   3.48%  
Revolving Credit Facility [Member] | PNC $250 Million Credit Facility [Member] | PNC Bank, National Association [Member]                  
Financing [Line Items]                  
Amounts outstanding         $ 51,200   $ 51,200    
Maximum borrowing capacity $ 250,000                
Term 3 years                
Amount borrowed         $ 141,300   $ 141,300    
Number of days borrowed         91 days   270 days    
Weighted-average interest rate         2.55%   2.79%    
Revolving Credit Facility [Member] | PNC $150 Million Credit Facility [Member] | PNC Bank, National Association [Member]                  
Financing [Line Items]                  
Amounts outstanding                 0
Maximum borrowing capacity     $ 150,000            
Term     4 years            
Expiration date     Feb. 06, 2020            
Amount borrowed           $ 58,900   $ 58,900  
Number of days borrowed           90 days   269 days  
Weighted-average interest rate           2.94%   2.72%  
Standby Letters of Credit [Member]                  
Financing [Line Items]                  
Maximum borrowing capacity         $ 147,400   $ 147,400   148,900
Amounts outstanding         $ 0 $ 0 $ 0 $ 0 $ 0
Minimum [Member] | Standby Letters of Credit [Member]                  
Financing [Line Items]                  
Expiration date             Apr. 01, 2020    
Maximum [Member] | Standby Letters of Credit [Member]                  
Financing [Line Items]                  
Expiration date             Feb. 05, 2021    
[1] Borrower is a wholly owned subsidiary of the Company.
[2] JPM acts as the administrative agent for this syndicated credit facility.