SEC Info  
    Home      Search      My Interests      Help      Sign In      Please Sign In

Paychex Inc – ‘10-Q’ for 2/29/20 – ‘JSON’

On:  Friday, 3/27/20, at 4:25pm ET   ·   For:  2/29/20   ·   Accession #:  723531-20-17   ·   File #:  0-11330

Previous ‘10-Q’:  ‘10-Q’ on 12/20/19 for 11/30/19   ·   Next:  ‘10-Q’ on 10/9/20 for 8/31/20   ·   Latest:  ‘10-Q’ on 4/2/24 for 2/29/24

Find Words in Filings emoji
 
  in    Show  and   Hints

  As Of               Filer                 Filing    For·On·As Docs:Size

 3/27/20  Paychex Inc                       10-Q        2/29/20   91:19M

Quarterly Report   —   Form 10-Q   —   Sect. 13 / 15(d) – SEA’34
Filing Table of Contents

Document/Exhibit                   Description                      Pages   Size 

 1: 10-Q        Quarterly Report                                    HTML   1.60M 
 2: EX-31.1     Certification -- §302 - SOA'02                      HTML     37K 
 3: EX-31.2     Certification -- §302 - SOA'02                      HTML     37K 
 4: EX-32.1     Certification -- §906 - SOA'02                      HTML     31K 
 5: EX-32.2     Certification -- §906 - SOA'02                      HTML     31K 
49: R1          Document and Entity Information                     HTML     79K 
78: R2          Consolidated Statements of Income and               HTML     87K 
                Comprehensive Income                                             
68: R3          Consolidated Balance Sheets                         HTML    150K 
20: R4          Consolidated Balance Sheets (Parenthetical)         HTML     36K 
48: R5          Consolidated Statements of Stockholders' Equity     HTML     76K 
77: R6          Consolidated Statements of Stockholders' Equity     HTML     29K 
                (Parenthetical)                                                  
67: R7          Consolidated Statements of Cash Flows               HTML    122K 
19: R8          Description of Business, Basis of Presentation,     HTML     97K 
                and Significant Accounting Policies                              
50: R9          Service Revenue                                     HTML    342K 
32: R10         Basic and Diluted Earnings Per Share                HTML    141K 
24: R11         Business Combinations                               HTML    114K 
52: R12         Other (Expense)/Income, Net                         HTML     85K 
82: R13         Funds Held for Clients and Corporate Investments    HTML    530K 
33: R14         Fair Value Measurements                             HTML    450K 
25: R15         Leases                                              HTML    152K 
53: R16         Property and Equipment, Net of Accumulated          HTML     86K 
                Depreciation                                                     
83: R17         Goodwill and Intangible Assets, Net of Accumulated  HTML    107K 
                Amortization                                                     
34: R18         Accumulated Other Comprehensive Income/(Loss)       HTML    123K 
23: R19         Short-term Financing                                HTML    286K 
70: R20         Long-Term Financing                                 HTML     83K 
79: R21         Commitments and Contingencies                       HTML     37K 
46: R22         Income Taxes                                        HTML     33K 
17: R23         Description of Business, Basis of Presentation,     HTML    114K 
                and Significant Accounting Policies (Policy)                     
71: R24         Service Revenue (Tables)                            HTML    314K 
80: R25         Basic and Diluted Earnings Per Share (Tables)       HTML    133K 
47: R26         Business Combinations (Tables)                      HTML    102K 
18: R27         Other (Expense)/Income, Net (Tables)                HTML     83K 
69: R28         Funds Held for Clients and Corporate Investments    HTML    519K 
                (Tables)                                                         
81: R29         Fair Value Measurements (Tables)                    HTML    433K 
86: R30         Leases (Tables)                                     HTML    147K 
56: R31         Property and Equipment, Net of Accumulated          HTML     83K 
                Depreciation (Tables)                                            
22: R32         Goodwill and Intangible Assets, Net of Accumulated  HTML    104K 
                Amortization (Tables)                                            
31: R33         Accumulated Other Comprehensive Income/(Loss)       HTML    119K 
                (Tables)                                                         
85: R34         Short-term Financing (Tables)                       HTML    263K 
55: R35         Long-Term Financing (Tables)                        HTML     81K 
21: R36         Description of Business, Basis of Presentation,     HTML     83K 
                and Significant Accounting Policies (Narrative)                  
                (Details)                                                        
30: R37         Service Revenue (Narrative) (Details)               HTML     50K 
84: R38         Service Revenue (Narrative) (Performance            HTML     38K 
                Obligation) (Details)                                            
57: R39         Service Revenue (Summary of Disaggregates Revenue   HTML     35K 
                by Services) (Details)                                           
74: R40         Service Revenue (Summary of Changes in Deferred     HTML     34K 
                Revenue Related to Material Right Performance                    
                Obligations) (Details)                                           
63: R41         Service Revenue (Summary of Changes in Deferred     HTML     40K 
                Costs to Obtain and Fulfill Contracts) (Details)                 
16: R42         Basic and Diluted Earnings Per Share (Narrative)    HTML     51K 
                (Details)                                                        
45: R43         Basic and Diluted Earnings Per Share (Basic and     HTML     55K 
                Diluted Earnings Per Share) (Details)                            
73: R44         Business Combinations (Narrative) (Details)         HTML     58K 
62: R45         Business Combinations (Acquisition Date Fair        HTML     80K 
                Values To Acquired Net Assets) (Details)                         
15: R46         Business Combinations (Summary Of Pro Forma         HTML     31K 
                Information) (Details)                                           
44: R47         Other (Expense)/Income, Net (Schedule of Interest   HTML     37K 
                (Expense)/Income, Net) (Details)                                 
72: R48         Funds Held for Clients and Corporate Investments    HTML     48K 
                (Narrative) (Details)                                            
64: R49         Funds Held for Clients and Corporate Investments    HTML     82K 
                (Funds Held for Clients and Corporate Investments)               
                (Details)                                                        
59: R50         Funds Held for Clients and Corporate Investments    HTML     37K 
                (Classification of Investments on Consolidated                   
                Balance Sheets) (Details)                                        
87: R51         Funds Held for Clients and Corporate Investments    HTML     57K 
                (Securities in Unrealized Loss Position) (Details)               
38: R52         Funds Held for Clients and Corporate Investments    HTML     33K 
                (Realized Gains and Losses from Sale of                          
                Available-for-sale Securities) (Details)                         
28: R53         Funds Held for Clients and Corporate Investments    HTML     53K 
                (Amortized Cost and Fair Value of                                
                Available-for-Sale Securities by Contractual                     
                Maturity) (Details)                                              
60: R54         Fair Value Measurements (Narrative) (Details)       HTML     31K 
88: R55         Fair Value Measurements (Financial Assets and       HTML     79K 
                Liabilities Measured at Fair Value on Recurring                  
                Basis) (Details)                                                 
39: R56         Fair Value Measurements (Financial Liabilities      HTML     53K 
                Measured at Fair Value on Non-Recurring Basis)                   
                (Details)                                                        
29: R57         Leases (Narrative) (Details)                        HTML     42K 
58: R58         Leases (Supplemental Balance Sheet Information      HTML     39K 
                Related to Leases) (Details)                                     
89: R59         Leases (Components of Lease Expense) (Details)      HTML     34K 
40: R60         Leases (Supplemental Cash Flow Information Related  HTML     33K 
                to Leases) (Details)                                             
12: R61         Leases (Future Lease Payments) (Details)            HTML     53K 
65: R62         Property and Equipment, Net of Accumulated          HTML     30K 
                Depreciation (Narrative) (Details)                               
75: R63         Property and Equipment, Net of Accumulated          HTML     54K 
                Depreciation (Components of Property and                         
                Equipment, at Cost) (Details)                                    
41: R64         Goodwill and Intangible Assets, Net of Accumulated  HTML     32K 
                Amortization (Narrative) (Details)                               
13: R65         Goodwill and Intangible Assets, Net of Accumulated  HTML     38K 
                Amortization (Change in Goodwill) (Details)                      
66: R66         Goodwill and Intangible Assets, Net of Accumulated  HTML     38K 
                Amortization (Components of Intangible Assets, at                
                Cost) (Details)                                                  
76: R67         Goodwill and Intangible Assets, Net of Accumulated  HTML     39K 
                Amortization (Estimated Amortization Expense)                    
                (Details)                                                        
43: R68         Accumulated Other Comprehensive Income/(Loss)       HTML     49K 
                (Changes in Accumulated Other Comprehensive                      
                Income/(Loss)) (Details)                                         
11: R69         Short-term Financing (Narrative) (Details)          HTML    124K 
27: R70         Short-term Financing (Description of Credit         HTML     47K 
                Facilities) (Details)                                            
37: R71         Short-term Financing (Credit Facility Amount        HTML     50K 
                Borrowed) (Details)                                              
91: R72         Long-Term Financing (Narrative) (Details)           HTML     41K 
61: R73         Long-Term Financing (Schedule Of Long-Term Debt)    HTML     43K 
                (Details)                                                        
26: R74         Long-Term Financing (Information Related To Senior  HTML     47K 
                Notes) (Details)                                                 
35: R75         Commitments and Contingencies (Narrative)           HTML     28K 
                (Details)                                                        
90: R76         Income Taxes (Narrative) (Details)                  HTML     30K 
51: XML         IDEA XML File -- Filing Summary                      XML    177K 
36: XML         XBRL Instance -- payx-20200229x10q_htm               XML   5.90M 
42: EXCEL       IDEA Workbook of Financial Reports                  XLSX     98K 
 7: EX-101.CAL  XBRL Calculations -- payx-20200229_cal               XML    267K 
 8: EX-101.DEF  XBRL Definitions -- payx-20200229_def                XML    602K 
 9: EX-101.LAB  XBRL Labels -- payx-20200229_lab                     XML   1.46M 
10: EX-101.PRE  XBRL Presentations -- payx-20200229_pre              XML   1.06M 
 6: EX-101.SCH  XBRL Schema -- payx-20200229                         XSD    201K 
14: JSON        XBRL Instance as JSON Data -- MetaLinks              357±   561K 
54: ZIP         XBRL Zipped Folder -- 0000723531-20-000017-xbrl      Zip    287K 


‘JSON’   —   XBRL Instance as JSON Data — MetaLinks


This File is an XBRL Instance as JavaScript Object Notation (JSON) Data.



{
"instance":  {
    "payx-20200229x10q.htm":  {
        "axisCustom":  0,
        "axisStandard":  26,
        "contextCount":  262,
        "dts":  {
            "calculationLink":  {
                "local":  [
                    "payx-20200229_cal.xml"
                    ]
                },
            "definitionLink":  {
                "local":  [
                    "payx-20200229_def.xml"
                    ],
                "remote":  [
                    "http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-eedm-def-2019-01-31.xml",
                    "http://xbrl.fasb.org/srt/2019/elts/srt-eedm1-def-2019-01-31.xml"
                    ]
                },
            "inline":  {
                "local":  [
                    "payx-20200229x10q.htm"
                    ]
                },
            "labelLink":  {
                "local":  [
                    "payx-20200229_lab.xml"
                    ],
                "remote":  [
                    "http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-doc-2019-01-31.xml",
                    "https://xbrl.sec.gov/dei/2019/dei-doc-2019-01-31.xml"
                    ]
                },
            "presentationLink":  {
                "local":  [
                    "payx-20200229_pre.xml"
                    ]
                },
            "referenceLink":  {
                "remote":  [
                    "http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-ref-2019-01-31.xml",
                    "https://xbrl.sec.gov/dei/2019/dei-ref-2019-01-31.xml"
                    ]
                },
            "schema":  {
                "local":  [
                    "payx-20200229.xsd"
                    ],
                "remote":  [
                    "http://xbrl.fasb.org/us-gaap/2019/elts/us-roles-2019-01-31.xsd",
                    "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
                    "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
                    "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
                    "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
                    "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
                    "http://www.xbrl.org/dtr/type/nonNumeric-2009-12-16.xsd",
                    "http://www.xbrl.org/dtr/type/numeric-2009-12-16.xsd",
                    "http://www.xbrl.org/2005/xbrldt-2005.xsd",
                    "https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd",
                    "http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd",
                    "http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd",
                    "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
                    "http://xbrl.fasb.org/srt/2019/elts/srt-types-2019-01-31.xsd",
                    "http://xbrl.fasb.org/srt/2019/elts/srt-roles-2019-01-31.xsd",
                    "https://xbrl.sec.gov/country/2017/country-2017-01-31.xsd",
                    "http://xbrl.fasb.org/us-gaap/2019/elts/us-types-2019-01-31.xsd",
                    "http://www.xbrl.org/lrr/role/deprecated-2009-12-16.xsd",
                    "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
                    "http://xbrl.fasb.org/us-gaap/2019/elts/us-parts-codification-2019-01-31.xsd"
                    ]
                }
            },
        "elementCount":  530,
        "entityCount":  1,
        "hidden":  {
            "http://fasb.org/us-gaap/2019-01-31":  14,
            "http://www.paychex.com/20200229":  2,
            "http://xbrl.sec.gov/dei/2019-01-31":  7,
            "total":  23
            },
        "keyCustom":  65,
        "keyStandard":  349,
        "memberCustom":  28,
        "memberStandard":  39,
        "nsprefix":  "payx",
        "nsuri":  "http://www.paychex.com/20200229",
        "report":  {
            "R1":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "dei:DocumentType",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "document",
                "isDefault":  "true",
                "longName":  "00090 - Document - Document and Entity Information",
                "role":  "http://www.paychex.com/role/DocumentDocumentAndEntityInformation",
                "shortName":  "Document and Entity Information",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "dei:DocumentType",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R10":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:EarningsPerShareTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10301 - Disclosure - Basic and Diluted Earnings Per Share",
                "role":  "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShare",
                "shortName":  "Basic and Diluted Earnings Per Share",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:EarningsPerShareTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R11":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BusinessCombinationDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10401 - Disclosure - Business Combinations",
                "role":  "http://www.paychex.com/role/DisclosureBusinessCombinations",
                "shortName":  "Business Combinations",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BusinessCombinationDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R12":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:OtherNonoperatingIncomeAndExpenseTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10501 - Disclosure - Other (Expense)/Income, Net",
                "role":  "http://www.paychex.com/role/DisclosureOtherExpenseIncomeNet",
                "shortName":  "Other (Expense)/Income, Net",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:OtherNonoperatingIncomeAndExpenseTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R13":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "payx:FundsHeldForClientsAndCorporateInvestmentsDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10601 - Disclosure - Funds Held for Clients and Corporate Investments",
                "role":  "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestments",
                "shortName":  "Funds Held for Clients and Corporate Investments",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "payx:FundsHeldForClientsAndCorporateInvestmentsDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R14":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FairValueDisclosuresTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10701 - Disclosure - Fair Value Measurements",
                "role":  "http://www.paychex.com/role/DisclosureFairValueMeasurements",
                "shortName":  "Fair Value Measurements",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FairValueDisclosuresTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R15":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LesseeOperatingLeasesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10801 - Disclosure - Leases",
                "role":  "http://www.paychex.com/role/DisclosureLeases",
                "shortName":  "Leases",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LesseeOperatingLeasesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R16":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10901 - Disclosure - Property and Equipment, Net of Accumulated Depreciation",
                "role":  "http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciation",
                "shortName":  "Property and Equipment, Net of Accumulated Depreciation",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R17":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "11001 - Disclosure - Goodwill and Intangible Assets, Net of Accumulated Amortization",
                "role":  "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortization",
                "shortName":  "Goodwill and Intangible Assets, Net of Accumulated Amortization",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R18":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ComprehensiveIncomeNoteTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "11101 - Disclosure - Accumulated Other Comprehensive Income/(Loss)",
                "role":  "http://www.paychex.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLoss",
                "shortName":  "Accumulated Other Comprehensive Income/(Loss)",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ComprehensiveIncomeNoteTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R19":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ShortTermDebtTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "11201 - Disclosure - Short-term Financing",
                "role":  "http://www.paychex.com/role/DisclosureShortTermFinancing",
                "shortName":  "Short-term Financing",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ShortTermDebtTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R2":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_12_1_2019_To_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
                    "reportCount":  1,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "00100 - Statement - Consolidated Statements of Income and Comprehensive Income",
                "role":  "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome",
                "shortName":  "Consolidated Statements of Income and Comprehensive Income",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_12_1_2019_To_2_29_2020",
                    "decimals":  "-5",
                    "lang":  "en-US",
                    "name":  "us-gaap:InterestIncomeOperating",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R20":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LongTermDebtTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "11301 - Disclosure - Long-Term Financing",
                "role":  "http://www.paychex.com/role/DisclosureLongTermFinancing",
                "shortName":  "Long-Term Financing",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LongTermDebtTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R21":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "11401 - Disclosure - Commitments and Contingencies",
                "role":  "http://www.paychex.com/role/DisclosureCommitmentsAndContingencies",
                "shortName":  "Commitments and Contingencies",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R22":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:IncomeTaxDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "11501 - Disclosure - Income Taxes",
                "role":  "http://www.paychex.com/role/DisclosureIncomeTaxes",
                "shortName":  "Income Taxes",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:IncomeTaxDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R23":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:NatureOfOperations",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "20102 - Disclosure - Description of Business, Basis of Presentation, and Significant Accounting Policies (Policy)",
                "role":  "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesPolicy",
                "shortName":  "Description of Business, Basis of Presentation, and Significant Accounting Policies (Policy)",
                "subGroupType":  "policies",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:NatureOfOperations",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R24":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DisaggregationOfRevenueTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30203 - Disclosure - Service Revenue (Tables)",
                "role":  "http://www.paychex.com/role/DisclosureServiceRevenueTables",
                "shortName":  "Service Revenue (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DisaggregationOfRevenueTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R25":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30303 - Disclosure - Basic and Diluted Earnings Per Share (Tables)",
                "role":  "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareTables",
                "shortName":  "Basic and Diluted Earnings Per Share (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R26":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30403 - Disclosure - Business Combinations (Tables)",
                "role":  "http://www.paychex.com/role/DisclosureBusinessCombinationsTables",
                "shortName":  "Business Combinations (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R27":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfOtherNonoperatingIncomeExpenseTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30503 - Disclosure - Other (Expense)/Income, Net (Tables)",
                "role":  "http://www.paychex.com/role/DisclosureOtherExpenseIncomeNetTables",
                "shortName":  "Other (Expense)/Income, Net (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfOtherNonoperatingIncomeExpenseTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R28":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "payx:ComponentsOfFundsHeldForClientsAndCorporateInvestmentsTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30603 - Disclosure - Funds Held for Clients and Corporate Investments (Tables)",
                "role":  "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsTables",
                "shortName":  "Funds Held for Clients and Corporate Investments (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "payx:ComponentsOfFundsHeldForClientsAndCorporateInvestmentsTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R29":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30703 - Disclosure - Fair Value Measurements (Tables)",
                "role":  "http://www.paychex.com/role/DisclosureFairValueMeasurementsTables",
                "shortName":  "Fair Value Measurements (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R3":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CashAndCashEquivalentsAtCarryingValue",
                    "reportCount":  1,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "00200 - Statement - Consolidated Balance Sheets",
                "role":  "http://www.paychex.com/role/StatementConsolidatedBalanceSheets",
                "shortName":  "Consolidated Balance Sheets",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_5_31_2019",
                    "decimals":  "-5",
                    "lang":  "en-US",
                    "name":  "us-gaap:CashAndCashEquivalentsAtCarryingValue",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R30":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "payx:SupplementalBalanceSheetRelatedToLeasesTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30803 - Disclosure - Leases (Tables)",
                "role":  "http://www.paychex.com/role/DisclosureLeasesTables",
                "shortName":  "Leases (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "payx:SupplementalBalanceSheetRelatedToLeasesTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R31":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:PropertyPlantAndEquipmentTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30903 - Disclosure - Property and Equipment, Net of Accumulated Depreciation (Tables)",
                "role":  "http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciationTables",
                "shortName":  "Property and Equipment, Net of Accumulated Depreciation (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:PropertyPlantAndEquipmentTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R32":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfGoodwillTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "31003 - Disclosure - Goodwill and Intangible Assets, Net of Accumulated Amortization (Tables)",
                "role":  "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationTables",
                "shortName":  "Goodwill and Intangible Assets, Net of Accumulated Amortization (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfGoodwillTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R33":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "31103 - Disclosure - Accumulated Other Comprehensive Income/(Loss) (Tables)",
                "role":  "http://www.paychex.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossTables",
                "shortName":  "Accumulated Other Comprehensive Income/(Loss) (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R34":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020_us-gaap_CreditFacilityAxis_us-gaap_RevolvingCreditFacilityMember",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfLineOfCreditFacilitiesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "31203 - Disclosure - Short-term Financing (Tables)",
                "role":  "http://www.paychex.com/role/DisclosureShortTermFinancingTables",
                "shortName":  "Short-term Financing (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020_us-gaap_CreditFacilityAxis_us-gaap_RevolvingCreditFacilityMember",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfLineOfCreditFacilitiesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R35":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "31303 - Disclosure - Long-Term Financing (Tables)",
                "role":  "http://www.paychex.com/role/DisclosureLongTermFinancingTables",
                "shortName":  "Long-Term Financing (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R36":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "ix:continuation",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:NumberOfReportableSegments",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit17",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40101 - Disclosure - Description of Business, Basis of Presentation, and Significant Accounting Policies (Narrative) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails",
                "shortName":  "Description of Business, Basis of Presentation, and Significant Accounting Policies (Narrative) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "ix:continuation",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:NumberOfReportableSegments",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit17",
                    "xsiNil":  "false"
                    }
                },
            "R37":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "payx:ServiceRevenueContractsTerm",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40201 - Disclosure - Service Revenue (Narrative) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureServiceRevenueNarrativeDetails",
                "shortName":  "Service Revenue (Narrative) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "payx:ServiceRevenueContractsTerm",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R38":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_2019-06-01",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RevenueRemainingPerformanceObligation",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40202 - Disclosure - Service Revenue (Narrative) (Performance Obligation) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureServiceRevenueNarrativePerformanceObligationDetails",
                "shortName":  "Service Revenue (Narrative) (Performance Obligation) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_2019-06-01",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RevenueRemainingPerformanceObligation",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R39":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_12_1_2019_To_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
                    "reportCount":  1,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40203 - Disclosure - Service Revenue (Summary of Disaggregates Revenue by Services) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureServiceRevenueSummaryOfDisaggregatesRevenueByServicesDetails",
                "shortName":  "Service Revenue (Summary of Disaggregates Revenue by Services) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  null
                },
            "R4":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:CommonStockParOrStatedValuePerShare",
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CommonStockParOrStatedValuePerShare",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit16",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "00205 - Statement - Consolidated Balance Sheets (Parenthetical)",
                "role":  "http://www.paychex.com/role/StatementConsolidatedBalanceSheetsParenthetical",
                "shortName":  "Consolidated Balance Sheets (Parenthetical)",
                "subGroupType":  "parenthetical",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:CommonStockParOrStatedValuePerShare",
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CommonStockParOrStatedValuePerShare",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit16",
                    "xsiNil":  "false"
                    }
                },
            "R40":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ContractWithCustomerAssetAndLiabilityTableTextBlock",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_11_30_2019",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ContractWithCustomerLiability",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40204 - Disclosure - Service Revenue (Summary of Changes in Deferred Revenue Related to Material Right Performance Obligations) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureServiceRevenueSummaryOfChangesInDeferredRevenueRelatedToMaterialRightPerformanceObligationsDetails",
                "shortName":  "Service Revenue (Summary of Changes in Deferred Revenue Related to Material Right Performance Obligations) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ContractWithCustomerAssetAndLiabilityTableTextBlock",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_11_30_2019",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ContractWithCustomerLiability",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R41":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CapitalizedContractCostAmortization",
                    "reportCount":  1,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40205 - Disclosure - Service Revenue (Summary of Changes in Deferred Costs to Obtain and Fulfill Contracts) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureServiceRevenueSummaryOfChangesInDeferredCostsToObtainAndFulfillContractsDetails",
                "shortName":  "Service Revenue (Summary of Changes in Deferred Costs to Obtain and Fulfill Contracts) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_11_30_2019_us-gaap_CapitalizedContractCostAxis_payx_CostsToObtainContractMember",
                    "decimals":  "-5",
                    "lang":  "en-US",
                    "name":  "us-gaap:CapitalizedContractCostNet",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R42":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:StockRepurchasedAndRetiredDuringPeriodValue",
                    "reportCount":  1,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40301 - Disclosure - Basic and Diluted Earnings Per Share (Narrative) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareNarrativeDetails",
                "shortName":  "Basic and Diluted Earnings Per Share (Narrative) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_12_1_2018_To_2_28_2019_us-gaap_ShareRepurchaseProgramAxis_payx_AuthorizedInJuly2016Member",
                    "decimals":  "-5",
                    "lang":  "en-US",
                    "name":  "us-gaap:StockRepurchasedAndRetiredDuringPeriodShares",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit1",
                    "xsiNil":  "false"
                    }
                },
            "R43":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_12_1_2019_To_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:NetIncomeLossAvailableToCommonStockholdersBasic",
                    "reportCount":  1,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40302 - Disclosure - Basic and Diluted Earnings Per Share (Basic and Diluted Earnings Per Share) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareBasicAndDilutedEarningsPerShareDetails",
                "shortName":  "Basic and Diluted Earnings Per Share (Basic and Diluted Earnings Per Share) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_12_1_2019_To_2_29_2020",
                    "decimals":  "-5",
                    "lang":  "en-US",
                    "name":  "us-gaap:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit1",
                    "xsiNil":  "false"
                    }
                },
            "R44":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RestrictedCash",
                    "reportCount":  1,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40401 - Disclosure - Business Combinations (Narrative) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureBusinessCombinationsNarrativeDetails",
                "shortName":  "Business Combinations (Narrative) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020_us-gaap_BusinessAcquisitionAxis_payx_OasisOutsourcingGroupHoldingsL.p.Member",
                    "decimals":  null,
                    "lang":  "en-US",
                    "name":  "us-gaap:BusinessAcquisitionEffectiveDateOfAcquisition1",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R45":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:Goodwill",
                    "reportCount":  1,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40402 - Disclosure - Business Combinations (Acquisition Date Fair Values To Acquired Net Assets) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails",
                "shortName":  "Business Combinations (Acquisition Date Fair Values To Acquired Net Assets) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_12_20_2018_us-gaap_BusinessAcquisitionAxis_payx_OasisOutsourcingGroupHoldingsL.p.Member",
                    "decimals":  "-5",
                    "lang":  "en-US",
                    "name":  "us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R46":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:BusinessAcquisitionProFormaInformationTextBlock",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_12_1_2018_To_2_28_2019",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BusinessAcquisitionsProFormaRevenue",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40403 - Disclosure - Business Combinations (Summary Of Pro Forma Information) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureBusinessCombinationsSummaryOfProFormaInformationDetails",
                "shortName":  "Business Combinations (Summary Of Pro Forma Information) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:BusinessAcquisitionProFormaInformationTextBlock",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_12_1_2018_To_2_28_2019",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BusinessAcquisitionsProFormaRevenue",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R47":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfOtherNonoperatingIncomeExpenseTableTextBlock",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_12_1_2019_To_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:InvestmentIncomeNonoperating",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40501 - Disclosure - Other (Expense)/Income, Net (Schedule of Interest (Expense)/Income, Net) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureOtherExpenseIncomeNetScheduleOfInterestExpenseIncomeNetDetails",
                "shortName":  "Other (Expense)/Income, Net (Schedule of Interest (Expense)/Income, Net) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfOtherNonoperatingIncomeExpenseTableTextBlock",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_12_1_2019_To_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:InvestmentIncomeNonoperating",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R48":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "payx:NetUnrealizedGainLossOnAvailableForSaleSecurities",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40601 - Disclosure - Funds Held for Clients and Corporate Investments (Narrative) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsNarrativeDetails",
                "shortName":  "Funds Held for Clients and Corporate Investments (Narrative) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "payx:NetUnrealizedGainLossOnAvailableForSaleSecurities",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R49":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "payx:FundsHeldForClientsMoneyMarketSecuritiesAndOtherCashEquivalentsAmortizedCost",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40602 - Disclosure - Funds Held for Clients and Corporate Investments (Funds Held for Clients and Corporate Investments) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails",
                "shortName":  "Funds Held for Clients and Corporate Investments (Funds Held for Clients and Corporate Investments) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "payx:FundsHeldForClientsMoneyMarketSecuritiesAndOtherCashEquivalentsAmortizedCost",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R5":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_5_31_2018_us-gaap_StatementEquityComponentsAxis_us-gaap_CommonStockMember",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CommonStockSharesOutstanding",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit1",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "00300 - Statement - Consolidated Statements of Stockholders' Equity",
                "role":  "http://www.paychex.com/role/StatementConsolidatedStatementsOfStockholdersEquity",
                "shortName":  "Consolidated Statements of Stockholders' Equity",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_5_31_2018_us-gaap_StatementEquityComponentsAxis_us-gaap_CommonStockMember",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CommonStockSharesOutstanding",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit1",
                    "xsiNil":  "false"
                    }
                },
            "R50":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FundsHeldForClients",
                    "reportCount":  1,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40603 - Disclosure - Funds Held for Clients and Corporate Investments (Classification of Investments on Consolidated Balance Sheets) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsClassificationOfInvestmentsOnConsolidatedBalanceSheetsDetails",
                "shortName":  "Funds Held for Clients and Corporate Investments (Classification of Investments on Consolidated Balance Sheets) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  null
                },
            "R51":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_5_31_2019",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40604 - Disclosure - Funds Held for Clients and Corporate Investments (Securities in Unrealized Loss Position) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsSecuritiesInUnrealizedLossPositionDetails",
                "shortName":  "Funds Held for Clients and Corporate Investments (Securities in Unrealized Loss Position) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_5_31_2019",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R52":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:RealizedGainLossOnInvestmentsTableTextBlock",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_12_1_2019_To_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AvailableForSaleSecuritiesGrossRealizedGains",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40605 - Disclosure - Funds Held for Clients and Corporate Investments (Realized Gains and Losses from Sale of Available-for-sale Securities) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsRealizedGainsAndLossesFromSaleOfAvailableForSaleSecuritiesDetails",
                "shortName":  "Funds Held for Clients and Corporate Investments (Realized Gains and Losses from Sale of Available-for-sale Securities) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:RealizedGainLossOnInvestmentsTableTextBlock",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_12_1_2019_To_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AvailableForSaleSecuritiesGrossRealizedGains",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R53":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40606 - Disclosure - Funds Held for Clients and Corporate Investments (Amortized Cost and Fair Value of Available-for-Sale Securities by Contractual Maturity) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsAmortizedCostAndFairValueOfAvailableForSaleSecuritiesByContractualMaturityDetails",
                "shortName":  "Funds Held for Clients and Corporate Investments (Amortized Cost and Fair Value of Available-for-Sale Securities by Contractual Maturity) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R54":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020_srt_RangeAxis_srt_MaximumMember_us-gaap_FairValueByAssetClassAxis_us-gaap_USTreasuryAndGovernmentMember",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "payx:InvestmentsConsideredCashEquivalentsMaturityPeriod",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40701 - Disclosure - Fair Value Measurements (Narrative) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureFairValueMeasurementsNarrativeDetails",
                "shortName":  "Fair Value Measurements (Narrative) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020_srt_RangeAxis_srt_MaximumMember_us-gaap_FairValueByAssetClassAxis_us-gaap_USTreasuryAndGovernmentMember",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "payx:InvestmentsConsideredCashEquivalentsMaturityPeriod",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R55":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CashAndCashEquivalentsFairValueDisclosure",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40702 - Disclosure - Fair Value Measurements (Financial Assets and Liabilities Measured at Fair Value on Recurring Basis) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
                "shortName":  "Fair Value Measurements (Financial Assets and Liabilities Measured at Fair Value on Recurring Basis) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CashAndCashEquivalentsFairValueDisclosure",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R56":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "payx:FairValueLiabilitiesMeasuredOnNonrecurringBasisTableTextBlock",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DebtInstrumentCarryingAmount",
                    "reportCount":  1,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40703 - Disclosure - Fair Value Measurements (Financial Liabilities Measured at Fair Value on Non-Recurring Basis) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialLiabilitiesMeasuredAtFairValueOnNonRecurringBasisDetails",
                "shortName":  "Fair Value Measurements (Financial Liabilities Measured at Fair Value on Non-Recurring Basis) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "payx:FairValueLiabilitiesMeasuredOnNonrecurringBasisTableTextBlock",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsNonrecurringMember",
                    "decimals":  "-5",
                    "lang":  "en-US",
                    "name":  "payx:DebtInstrumentFairValueAmount",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R57":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:LeaseCostTableTextBlock",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_12_1_2019_To_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:OperatingLeaseCost",
                    "reportCount":  1,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40801 - Disclosure - Leases (Narrative) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureLeasesNarrativeDetails",
                "shortName":  "Leases (Narrative) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020_srt_RangeAxis_srt_MinimumMember",
                    "decimals":  null,
                    "lang":  "en-US",
                    "name":  "payx:LesseeOperatingLeaseTermExpirationYear",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R58":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:OperatingLeaseRightOfUseAsset",
                    "reportCount":  1,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40802 - Disclosure - Leases (Supplemental Balance Sheet Information Related to Leases) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureLeasesSupplementalBalanceSheetInformationRelatedToLeasesDetails",
                "shortName":  "Leases (Supplemental Balance Sheet Information Related to Leases) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  null,
                    "lang":  "en-US",
                    "name":  "us-gaap:OperatingLeaseWeightedAverageRemainingLeaseTerm1",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R59":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:LeaseCostTableTextBlock",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_12_1_2019_To_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:OperatingLeaseCost",
                    "reportCount":  1,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40803 - Disclosure - Leases (Components of Lease Expense) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureLeasesComponentsOfLeaseExpenseDetails",
                "shortName":  "Leases (Components of Lease Expense) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:LeaseCostTableTextBlock",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  "-5",
                    "lang":  "en-US",
                    "name":  "us-gaap:ShortTermLeaseCost",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R6":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_12_1_2019_To_2_29_2020",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CommonStockDividendsPerShareDeclared",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit16",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "00305 - Statement - Consolidated Statements of Stockholders' Equity (Parenthetical)",
                "role":  "http://www.paychex.com/role/StatementConsolidatedStatementsOfStockholdersEquityParenthetical",
                "shortName":  "Consolidated Statements of Stockholders' Equity (Parenthetical)",
                "subGroupType":  "parenthetical",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_12_1_2019_To_2_29_2020",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CommonStockDividendsPerShareDeclared",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit16",
                    "xsiNil":  "false"
                    }
                },
            "R60":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "payx:SupplementalCashFlowInformationRelatedToLeasesTableTextBlock",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:OperatingLeasePayments",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40804 - Disclosure - Leases (Supplemental Cash Flow Information Related to Leases) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureLeasesSupplementalCashFlowInformationRelatedToLeasesDetails",
                "shortName":  "Leases (Supplemental Cash Flow Information Related to Leases) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "payx:SupplementalCashFlowInformationRelatedToLeasesTableTextBlock",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:OperatingLeasePayments",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R61":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40805 - Disclosure - Leases (Future Lease Payments) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureLeasesFutureLeasePaymentsDetails",
                "shortName":  "Leases (Future Lease Payments) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R62":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_12_1_2019_To_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:Depreciation",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40901 - Disclosure - Property and Equipment, Net of Accumulated Depreciation (Narrative) (Details)",
                "role":  "http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciationNarrativeDetails",
                "shortName":  "Property and Equipment, Net of Accumulated Depreciation (Narrative) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_12_1_2019_To_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:Depreciation",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R63":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:PropertyPlantAndEquipmentGross",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40902 - Disclosure - Property and Equipment, Net of Accumulated Depreciation (Components of Property and Equipment, at Cost) (Details)",
                "role":  "http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciationComponentsOfPropertyAndEquipmentAtCostDetails",
                "shortName":  "Property and Equipment, Net of Accumulated Depreciation (Components of Property and Equipment, at Cost) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:PropertyPlantAndEquipmentGross",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R64":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_12_1_2019_To_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AmortizationOfIntangibleAssets",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41001 - Disclosure - Goodwill and Intangible Assets, Net of Accumulated Amortization (Narrative) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationNarrativeDetails",
                "shortName":  "Goodwill and Intangible Assets, Net of Accumulated Amortization (Narrative) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_12_1_2019_To_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AmortizationOfIntangibleAssets",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R65":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_5_31_2019",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:Goodwill",
                    "reportCount":  1,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41002 - Disclosure - Goodwill and Intangible Assets, Net of Accumulated Amortization (Change in Goodwill) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationChangeInGoodwillDetails",
                "shortName":  "Goodwill and Intangible Assets, Net of Accumulated Amortization (Change in Goodwill) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfGoodwillTextBlock",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  "-5",
                    "lang":  "en-US",
                    "name":  "us-gaap:GoodwillAcquiredDuringPeriod",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R66":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:IntangibleAssetsGrossExcludingGoodwill",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41003 - Disclosure - Goodwill and Intangible Assets, Net of Accumulated Amortization (Components of Intangible Assets, at Cost) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationComponentsOfIntangibleAssetsAtCostDetails",
                "shortName":  "Goodwill and Intangible Assets, Net of Accumulated Amortization (Components of Intangible Assets, at Cost) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:IntangibleAssetsGrossExcludingGoodwill",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R67":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41004 - Disclosure - Goodwill and Intangible Assets, Net of Accumulated Amortization (Estimated Amortization Expense) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationEstimatedAmortizationExpenseDetails",
                "shortName":  "Goodwill and Intangible Assets, Net of Accumulated Amortization (Estimated Amortization Expense) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R68":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_11_30_2019",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AccumulatedOtherComprehensiveIncomeLossNetOfTax",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41102 - Disclosure - Accumulated Other Comprehensive Income/(Loss) (Changes in Accumulated Other Comprehensive Income/(Loss)) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
                "shortName":  "Accumulated Other Comprehensive Income/(Loss) (Changes in Accumulated Other Comprehensive Income/(Loss)) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_11_30_2019",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AccumulatedOtherComprehensiveIncomeLossNetOfTax",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R69":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfLineOfCreditFacilitiesTextBlock",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020_dei_LegalEntityAxis_payx_PaychexOfNewYorkLlcMember_us-gaap_DebtInstrumentAxis_payx_JpmOneBillionCreditFacilityJuly312019Member_us-gaap_LineOfCreditFacilityAxis_payx_JpMorganChaseBankNaMember",
                    "decimals":  "-9",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LineOfCreditFacilityMaximumBorrowingCapacity",
                    "reportCount":  1,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41201 - Disclosure - Short-term Financing (Narrative) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails",
                "shortName":  "Short-term Financing (Narrative) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_7_31_2019_dei_LegalEntityAxis_payx_PaychexOfNewYorkLlcMember_us-gaap_CreditFacilityAxis_us-gaap_RevolvingCreditFacilityMember_us-gaap_DebtInstrumentAxis_payx_JpmOneBillionCreditFacilityJuly312019Member",
                    "decimals":  "-8",
                    "lang":  "en-US",
                    "name":  "us-gaap:LineOfCreditFacilityMaximumBorrowingCapacity",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R7":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:NetIncomeLossAvailableToCommonStockholdersBasic",
                    "reportCount":  1,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "00400 - Statement - Consolidated Statements of Cash Flows",
                "role":  "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows",
                "shortName":  "Consolidated Statements of Cash Flows",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  "-5",
                    "lang":  "en-US",
                    "name":  "us-gaap:DepreciationDepletionAndAmortization",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R70":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfLineOfCreditFacilitiesTextBlock",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020_dei_LegalEntityAxis_payx_PaychexOfNewYorkLlcMember_us-gaap_DebtInstrumentAxis_payx_JpmOneBillionCreditFacilityJuly312019Member_us-gaap_LineOfCreditFacilityAxis_payx_JpMorganChaseBankNaMember",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LineOfCreditFacilityInitiationDate1",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41202 - Disclosure - Short-term Financing (Description of Credit Facilities) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureShortTermFinancingDescriptionOfCreditFacilitiesDetails",
                "shortName":  "Short-term Financing (Description of Credit Facilities) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfLineOfCreditFacilitiesTextBlock",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020_dei_LegalEntityAxis_payx_PaychexOfNewYorkLlcMember_us-gaap_DebtInstrumentAxis_payx_JpmOneBillionCreditFacilityJuly312019Member_us-gaap_LineOfCreditFacilityAxis_payx_JpMorganChaseBankNaMember",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LineOfCreditFacilityInitiationDate1",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R71":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "payx:ScheduleOfLineOfCreditFacilitiesBorrowedTextBlock",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_12_1_2018_To_2_28_2019_us-gaap_CreditFacilityAxis_us-gaap_RevolvingCreditFacilityMember_us-gaap_DebtInstrumentAxis_payx_JpmOneBillionCreditFacilityMember_us-gaap_LineOfCreditFacilityAxis_payx_JpMorganChaseBankNaMember",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "payx:LineOfCreditFacilityNumberOfDaysBorrowed",
                    "reportCount":  1,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41203 - Disclosure - Short-term Financing (Credit Facility Amount Borrowed) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureShortTermFinancingCreditFacilityAmountBorrowedDetails",
                "shortName":  "Short-term Financing (Credit Facility Amount Borrowed) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "payx:ScheduleOfLineOfCreditFacilitiesBorrowedTextBlock",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_12_1_2018_To_2_28_2019_us-gaap_CreditFacilityAxis_us-gaap_RevolvingCreditFacilityMember_us-gaap_DebtInstrumentAxis_payx_JpmOneBillionCreditFacilityMember_us-gaap_LineOfCreditFacilityAxis_payx_JpMorganChaseBankNaMember",
                    "decimals":  "-5",
                    "lang":  "en-US",
                    "name":  "us-gaap:LineOfCreditFacilityAverageOutstandingAmount",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R72":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "payx:FairValueLiabilitiesMeasuredOnNonrecurringBasisTableTextBlock",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DebtInstrumentCarryingAmount",
                    "reportCount":  1,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41301 - Disclosure - Long-Term Financing (Narrative) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureLongTermFinancingNarrativeDetails",
                "shortName":  "Long-Term Financing (Narrative) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_3_13_2019_dei_LegalEntityAxis_payx_CompanyAndPaychexOfNewYorkMember_us-gaap_LongtermDebtTypeAxis_us-gaap_SeniorNotesMember",
                    "decimals":  "-5",
                    "lang":  "en-US",
                    "name":  "us-gaap:DebtInstrumentCarryingAmount",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R73":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "payx:FairValueLiabilitiesMeasuredOnNonrecurringBasisTableTextBlock",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DebtInstrumentCarryingAmount",
                    "reportCount":  1,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41302 - Disclosure - Long-Term Financing (Schedule Of Long-Term Debt) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureLongTermFinancingScheduleOfLongTermDebtDetails",
                "shortName":  "Long-Term Financing (Schedule Of Long-Term Debt) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  null
                },
            "R74":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020_us-gaap_DebtInstrumentAxis_payx_SeriesSeniorNotesMember_us-gaap_LongtermDebtTypeAxis_us-gaap_SeniorNotesMember",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DebtInstrumentInterestRateStatedPercentage",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit13",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41303 - Disclosure - Long-Term Financing (Information Related To Senior Notes) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureLongTermFinancingInformationRelatedToSeniorNotesDetails",
                "shortName":  "Long-Term Financing (Information Related To Senior Notes) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020_us-gaap_DebtInstrumentAxis_payx_SeriesSeniorNotesMember_us-gaap_LongtermDebtTypeAxis_us-gaap_SeniorNotesMember",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DebtInstrumentInterestRateStatedPercentage",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit13",
                    "xsiNil":  "false"
                    }
                },
            "R75":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ContractualObligation",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41401 - Disclosure - Commitments and Contingencies (Narrative) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureCommitmentsAndContingenciesNarrativeDetails",
                "shortName":  "Commitments and Contingencies (Narrative) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "As_Of_2_29_2020",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ContractualObligation",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit12",
                    "xsiNil":  "false"
                    }
                },
            "R76":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_12_1_2019_To_2_29_2020",
                    "decimals":  "3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:EffectiveIncomeTaxRateContinuingOperations",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit13",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41501 - Disclosure - Income Taxes (Narrative) (Details)",
                "role":  "http://www.paychex.com/role/DisclosureIncomeTaxesNarrativeDetails",
                "shortName":  "Income Taxes (Narrative) (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "ix:continuation",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_12_1_2019_To_2_29_2020",
                    "decimals":  "3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:EffectiveIncomeTaxRateContinuingOperations",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit13",
                    "xsiNil":  "false"
                    }
                },
            "R8":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10101 - Disclosure - Description of Business, Basis of Presentation, and Significant Accounting Policies",
                "role":  "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPolicies",
                "shortName":  "Description of Business, Basis of Presentation, and Significant Accounting Policies",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R9":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RevenueFromContractWithCustomerTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10201 - Disclosure - Service Revenue",
                "role":  "http://www.paychex.com/role/DisclosureServiceRevenue",
                "shortName":  "Service Revenue",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "payx-20200229x10q.htm",
                    "contextRef":  "Duration_6_1_2019_To_2_29_2020",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RevenueFromContractWithCustomerTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                }
            },
        "segmentCount":  74,
        "tag":  {
            "dei_AmendmentFlag":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
                            "label":  "Amendment Flag",
                            "terseLabel":  "Amendment Flag"
                            }
                        }
                    },
                "localname":  "AmendmentFlag",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_CityAreaCode":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Area code of city",
                            "label":  "City Area Code"
                            }
                        }
                    },
                "localname":  "CityAreaCode",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_CoverAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Cover page.",
                            "label":  "Document and Entity Information [Abstract]"
                            }
                        }
                    },
                "localname":  "CoverAbstract",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "dei_CurrentFiscalYearEndDate":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "End date of current fiscal year in the format --MM-DD.",
                            "label":  "Current Fiscal Year End Date",
                            "terseLabel":  "Current Fiscal Year End Date"
                            }
                        }
                    },
                "localname":  "CurrentFiscalYearEndDate",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "gMonthDayItemType"
                },
            "dei_DocumentFiscalPeriodFocus":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
                            "label":  "Document Fiscal Period Focus",
                            "terseLabel":  "Document Fiscal Period Focus"
                            }
                        }
                    },
                "localname":  "DocumentFiscalPeriodFocus",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "fiscalPeriodItemType"
                },
            "dei_DocumentFiscalYearFocus":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "This is focus fiscal year of the document report in CCYY format.  For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus.  Example: 2006.",
                            "label":  "Document Fiscal Year Focus",
                            "terseLabel":  "Document Fiscal Year Focus"
                            }
                        }
                    },
                "localname":  "DocumentFiscalYearFocus",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "gYearItemType"
                },
            "dei_DocumentPeriodEndDate":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The end date of the period reflected on the cover page if a periodic report.  For all other reports and registration statements containing historical data, it is the date up through which that historical data is presented.  If there is no historical data in the report, use the filing date.  The format of the date is CCYY-MM-DD.",
                            "label":  "Document Period End Date"
                            }
                        }
                    },
                "localname":  "DocumentPeriodEndDate",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "dateItemType"
                },
            "dei_DocumentQuarterlyReport":  {
                "auth_ref":  [
                    "r361"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true only for a form used as an quarterly report.",
                            "label":  "Document Quarterly Report"
                            }
                        }
                    },
                "localname":  "DocumentQuarterlyReport",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_DocumentTransitionReport":  {
                "auth_ref":  [
                    "r362"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true only for a form used as a transition report.",
                            "label":  "Document Transition Report"
                            }
                        }
                    },
                "localname":  "DocumentTransitionReport",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_DocumentType":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc).  The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
                            "label":  "Document Type"
                            }
                        }
                    },
                "localname":  "DocumentType",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "submissionTypeItemType"
                },
            "dei_EntityAddressAddressLine1":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Address Line 1 such as Attn, Building Name, Street Name",
                            "label":  "Entity Address, Address Line One"
                            }
                        }
                    },
                "localname":  "EntityAddressAddressLine1",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityAddressCityOrTown":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Name of the City or Town",
                            "label":  "Entity Address, City or Town"
                            }
                        }
                    },
                "localname":  "EntityAddressCityOrTown",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityAddressPostalZipCode":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Code for the postal or zip code",
                            "label":  "Entity Address, Postal Zip Code"
                            }
                        }
                    },
                "localname":  "EntityAddressPostalZipCode",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityAddressStateOrProvince":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Name of the state or province.",
                            "label":  "Entity Address, State or Province"
                            }
                        }
                    },
                "localname":  "EntityAddressStateOrProvince",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "stateOrProvinceItemType"
                },
            "dei_EntityCentralIndexKey":  {
                "auth_ref":  [
                    "r363"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC.  It is commonly abbreviated as CIK.",
                            "label":  "Entity Central Index Key",
                            "terseLabel":  "Entity Central Index Key"
                            }
                        }
                    },
                "localname":  "EntityCentralIndexKey",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "centralIndexKeyItemType"
                },
            "dei_EntityCommonStockSharesOutstanding":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report.  Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
                            "label":  "Entity Common Stock, Shares Outstanding",
                            "terseLabel":  "Entity Common Stock, Shares Outstanding"
                            }
                        }
                    },
                "localname":  "EntityCommonStockSharesOutstanding",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "dei_EntityCurrentReportingStatus":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days.  This information should be based on the registrant's current or most recent filing containing the related disclosure.",
                            "label":  "Entity Current Reporting Status",
                            "terseLabel":  "Entity Current Reporting Status"
                            }
                        }
                    },
                "localname":  "EntityCurrentReportingStatus",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "yesNoItemType"
                },
            "dei_EntityDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "All the names of the entities being reported upon in a document.  Any legal structure used to conduct activities or to hold assets.  Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts.  This item does not include business and geographical segments which are included in the geographical or business segments domains.",
                            "label":  "Entity [Domain]",
                            "terseLabel":  "Entity [Domain]"
                            }
                        }
                    },
                "localname":  "EntityDomain",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLongTermFinancingNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingDescriptionOfCreditFacilitiesDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "dei_EntityEmergingGrowthCompany":  {
                "auth_ref":  [
                    "r363"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Indicate if registrant meets the emerging growth company criteria.",
                            "label":  "Entity Emerging Growth Company"
                            }
                        }
                    },
                "localname":  "EntityEmergingGrowthCompany",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_EntityFileNumber":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Commission file number.  The field allows up to 17 characters.  The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
                            "label":  "Entity File Number"
                            }
                        }
                    },
                "localname":  "EntityFileNumber",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "fileNumberItemType"
                },
            "dei_EntityFilerCategory":  {
                "auth_ref":  [
                    "r363"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Indicate whether the registrant is one of the following:  Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer.  Definitions of these categories are stated in Rule 12b-2 of the Exchange Act.  This information should be based on the registrant's current or most recent filing containing the related disclosure.",
                            "label":  "Entity Filer Category",
                            "terseLabel":  "Entity Filer Category"
                            }
                        }
                    },
                "localname":  "EntityFilerCategory",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "filerCategoryItemType"
                },
            "dei_EntityIncorporationStateCountryCode":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Two-character EDGAR code representing the state or country of incorporation.",
                            "label":  "Entity Incorporation, State or Country Code"
                            }
                        }
                    },
                "localname":  "EntityIncorporationStateCountryCode",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "edgarStateCountryItemType"
                },
            "dei_EntityInteractiveDataCurrent":  {
                "auth_ref":  [
                    "r364"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
                            "label":  "Entity Interactive Data Current"
                            }
                        }
                    },
                "localname":  "EntityInteractiveDataCurrent",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "yesNoItemType"
                },
            "dei_EntityRegistrantName":  {
                "auth_ref":  [
                    "r363"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
                            "label":  "Entity Registrant Name",
                            "terseLabel":  "Entity Registrant Name"
                            }
                        }
                    },
                "localname":  "EntityRegistrantName",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityShellCompany":  {
                "auth_ref":  [
                    "r363"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
                            "label":  "Entity Shell Company"
                            }
                        }
                    },
                "localname":  "EntityShellCompany",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_EntitySmallBusiness":  {
                "auth_ref":  [
                    "r363"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Indicates that the company is a Smaller Reporting Company (SRC).",
                            "label":  "Entity Small Business"
                            }
                        }
                    },
                "localname":  "EntitySmallBusiness",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_EntityTaxIdentificationNumber":  {
                "auth_ref":  [
                    "r363"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS.",
                            "label":  "Entity Tax Identification Number"
                            }
                        }
                    },
                "localname":  "EntityTaxIdentificationNumber",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "employerIdItemType"
                },
            "dei_LegalEntityAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The set of legal entities associated with a report.",
                            "label":  "Legal Entity [Axis]"
                            }
                        }
                    },
                "localname":  "LegalEntityAxis",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLongTermFinancingNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingDescriptionOfCreditFacilitiesDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "dei_LocalPhoneNumber":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Local phone number for entity.",
                            "label":  "Local Phone Number"
                            }
                        }
                    },
                "localname":  "LocalPhoneNumber",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_Security12bTitle":  {
                "auth_ref":  [
                    "r359"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Title of a 12(b) registered security.",
                            "label":  "Title of 12(b) Security"
                            }
                        }
                    },
                "localname":  "Security12bTitle",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "securityTitleItemType"
                },
            "dei_SecurityExchangeName":  {
                "auth_ref":  [
                    "r360"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Name of the Exchange on which a security is registered.",
                            "label":  "Security Exchange Name"
                            }
                        }
                    },
                "localname":  "SecurityExchangeName",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "edgarExchangeCodeItemType"
                },
            "dei_TradingSymbol":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Trading symbol of an instrument as listed on an exchange.",
                            "label":  "Trading Symbol"
                            }
                        }
                    },
                "localname":  "TradingSymbol",
                "nsuri":  "http://xbrl.sec.gov/dei/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "tradingSymbolItemType"
                },
            "payx_AccountingPoliciesLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Accounting Policies [Line Items]",
                            "label":  "Accounting Policies [Line Items]"
                            }
                        }
                    },
                "localname":  "AccountingPoliciesLineItems",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "payx_AccountingPoliciesTable":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Accounting Policies [Table]",
                            "label":  "Accounting Policies [Table]"
                            }
                        }
                    },
                "localname":  "AccountingPoliciesTable",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "payx_AccountsNotesAndLoansReceivableGrossCurrent":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Accounts Notes And Loans Receivable Gross Current",
                            "label":  "Accounts Notes And Loans Receivable Gross Current",
                            "verboseLabel":  "Receivables"
                            }
                        }
                    },
                "localname":  "AccountsNotesAndLoansReceivableGrossCurrent",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_AccruedWorksiteEmployeeCompensationAndRelatedItems":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "payx_CurrentLiabilitiesBeforeClientFundObligations",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Accrued Worksite Employee Compensation And Related Items",
                            "label":  "Accrued Worksite Employee Compensation And Related Items",
                            "terseLabel":  "Accrued worksite employee compensation and related items"
                            }
                        }
                    },
                "localname":  "AccruedWorksiteEmployeeCompensationAndRelatedItems",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_AdvanceCollectionsCurrent":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Advance Collections Current",
                            "label":  "Advance Collections Current",
                            "terseLabel":  "Advance collections"
                            }
                        }
                    },
                "localname":  "AdvanceCollectionsCurrent",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_AuthorizedInJuly2016Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Authorized in July 2016 [Member]",
                            "label":  "Authorized In July2016 [Member]",
                            "terseLabel":  "Authorized in July 2016 [Member]"
                            }
                        }
                    },
                "localname":  "AuthorizedInJuly2016Member",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "payx_AuthorizedInMay2019Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Authorized In May 2019 [Member]",
                            "label":  "Authorized In May2019 [Member]",
                            "terseLabel":  "Authorized In May 2019 [Member]"
                            }
                        }
                    },
                "localname":  "AuthorizedInMay2019Member",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "payx_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveYearsAmortizedCostBasis":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsAmortizedCostAndFairValueOfAvailableForSaleSecuritiesByContractualMaturityDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount after adjustments of available-for-sale debt securities at cost, maturing after the fifth fiscal year following the latest fiscal year.  Adjustments include, but are not limited to, accretion, amortization, collection of cash, previous other-than-temporary impairments (OTTI) recognized in earnings less cumulative-effect adjustments, and fair value hedge accounting adjustments.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Available-for-sale Securities, Debt Maturities, after Five Years, Amortized Cost Basis",
                            "verboseLabel":  "Due after five years, Amortized cost"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesDebtMaturitiesAfterFiveYearsAmortizedCostBasis",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsAmortizedCostAndFairValueOfAvailableForSaleSecuritiesByContractualMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveYearsFairValue":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsAmortizedCostAndFairValueOfAvailableForSaleSecuritiesByContractualMaturityDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_AvailableForSaleSecuritiesDebtSecurities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Fair value of available-for-sale debt securities maturing after the fifth fiscal year following the latest fiscal year.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Available-for-sale Securities, Debt Maturities, after Five Years, Fair Value",
                            "verboseLabel":  "Due after five years, Fair value"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesDebtMaturitiesAfterFiveYearsFairValue",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsAmortizedCostAndFairValueOfAvailableForSaleSecuritiesByContractualMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_AvailableForSaleSecuritiesDebtMaturitiesAfterYearOneThroughYearThreeAmortizedCostBasis":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsAmortizedCostAndFairValueOfAvailableForSaleSecuritiesByContractualMaturityDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount after adjustments of available-for-sale debt securities at cost, maturing after the first fiscal year through the third fiscal year following the latest fiscal year.  Adjustments include, but are not limited to, accretion, amortization, collection of cash, previous other-than-temporary impairments (OTTI) recognized in earnings less cumulative-effect adjustments, and fair value hedge accounting adjustments.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Available-for-sale Securities, Debt Maturities, After Year One Through Year Three, Amortized Cost Basis",
                            "verboseLabel":  "Due after one year through three years, Amortized cost"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesDebtMaturitiesAfterYearOneThroughYearThreeAmortizedCostBasis",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsAmortizedCostAndFairValueOfAvailableForSaleSecuritiesByContractualMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_AvailableForSaleSecuritiesDebtMaturitiesAfterYearOneThroughYearThreeFairValue":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsAmortizedCostAndFairValueOfAvailableForSaleSecuritiesByContractualMaturityDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_AvailableForSaleSecuritiesDebtSecurities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Fair value of available-for-sale debt securities maturing after the first fiscal year through the third fiscal year following the latest fiscal year.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Available-for-sale Securities, Debt Maturities, After Year One Through Year Three, Fair Value",
                            "verboseLabel":  "Due after one year through three years, Fair value"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesDebtMaturitiesAfterYearOneThroughYearThreeFairValue",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsAmortizedCostAndFairValueOfAvailableForSaleSecuritiesByContractualMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_AvailableForSaleSecuritiesDebtMaturitiesAfterYearThreeThroughYearFiveAmortizedCostBasis":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsAmortizedCostAndFairValueOfAvailableForSaleSecuritiesByContractualMaturityDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount after adjustments of available-for-sale debt securities at cost, maturing after the third fiscal year through the fifth fiscal year following the latest fiscal year.  Adjustments include, but are not limited to, accretion, amortization, collection of cash, previous other-than-temporary impairments (OTTI) recognized in earnings less cumulative-effect adjustments, and fair value hedge accounting adjustments.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Available-for-sale Securities, Debt Maturities, After Year Three Through Year Five, Amortized Cost Basis",
                            "verboseLabel":  "Due after three years through five years, Amortized cost"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesDebtMaturitiesAfterYearThreeThroughYearFiveAmortizedCostBasis",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsAmortizedCostAndFairValueOfAvailableForSaleSecuritiesByContractualMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_AvailableForSaleSecuritiesDebtMaturitiesAfterYearThreeThroughYearFiveFairValue":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsAmortizedCostAndFairValueOfAvailableForSaleSecuritiesByContractualMaturityDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_AvailableForSaleSecuritiesDebtSecurities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Fair value of available-for-sale debt securities maturing after the third fiscal year through the fifth fiscal year following the latest fiscal year.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Available-for-sale Securities, Debt Maturities, After Year Three Through Year Five, Fair Value",
                            "verboseLabel":  "Due after three years through five years, Fair value"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesDebtMaturitiesAfterYearThreeThroughYearFiveFairValue",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsAmortizedCostAndFairValueOfAvailableForSaleSecuritiesByContractualMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_AvailableForSaleSecuritiesDebtMaturitiesTerm":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Available-for-sale Securities, Debt Maturities, Term",
                            "label":  "Available-for-sale Securities, Debt Maturities, Term",
                            "verboseLabel":  "Available-for-sale securities contractual maturities"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesDebtMaturitiesTerm",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsNarrativeDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "payx_BusinessCombinationAcquisitionRelatedCostsNetOfTax":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Business Combination Acquisition Related Costs, Net Of Tax",
                            "label":  "Business Combination Acquisition Related Costs, Net Of Tax",
                            "terseLabel":  "Excluded incurred costs related to acquisition, net of tax"
                            }
                        }
                    },
                "localname":  "BusinessCombinationAcquisitionRelatedCostsNetOfTax",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedCompensationAndRelatedItems":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Business Combination, Recognized Identifiable Assets Acquired And Liabilities Assumed, Accrued Compensation And Related Items",
                            "label":  "Business Combination, Recognized Identifiable Assets Acquired And Liabilities Assumed, Accrued Compensation And Related Items",
                            "terseLabel":  "Accrued corporate compensation and related items"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedCompensationAndRelatedItems",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedWorksiteEmployeeCompensationAndRelatedItems":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails":  {
                        "order":  7.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Accrued Worksite Employee Compensation And Related Items",
                            "label":  "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Accrued Worksite Employee Compensation And Related Items",
                            "terseLabel":  "Accrued worksite employee compensation and related items"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedWorksiteEmployeeCompensationAndRelatedItems",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidTaxes":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails":  {
                        "order":  10.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Business Combination Recognized Identifiable Assets Acquired and Liabilities Assumed Current Assets Prepaid Taxes",
                            "label":  "Business Combination Recognized Identifiable Assets Acquired and Liabilities Assumed Current Assets Prepaid Taxes",
                            "terseLabel":  "Prepaid income taxes"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidTaxes",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentRestrictedCash":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Noncurrent Restricted Cash",
                            "label":  "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Noncurrent Restricted Cash",
                            "terseLabel":  "Long-term restricted cash"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentRestrictedCash",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPeoUnbilledReceivables":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails":  {
                        "order":  11.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed PEO Unbilled Receivables",
                            "label":  "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed PEO Unbilled Receivables",
                            "terseLabel":  "PEO unbilled receivables, net of advance collections"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPeoUnbilledReceivables",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedRestrictedCash":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails":  {
                        "order":  8.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Restricted Cash",
                            "label":  "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Restricted Cash",
                            "terseLabel":  "Restricted cash"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedRestrictedCash",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_CapitalizedContractCost":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Capitalized Contract Cost",
                            "label":  "Capitalized Contract Cost",
                            "terseLabel":  "Capitalization of costs"
                            }
                        }
                    },
                "localname":  "CapitalizedContractCost",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueSummaryOfChangesInDeferredCostsToObtainAndFulfillContractsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_ClassificationOfInvestmentsOnConsolidatedBalanceSheetsTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of classification of investments on consolidated balance sheets.",
                            "label":  "Classification Of Investments On Consolidated Balance Sheets [Table Text Block]",
                            "verboseLabel":  "Classification of Investments on Consolidated Balance Sheets"
                            }
                        }
                    },
                "localname":  "ClassificationOfInvestmentsOnConsolidatedBalanceSheetsTableTextBlock",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "payx_ClientFundObligations":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LiabilitiesCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Client fund obligations.",
                            "label":  "Client Fund Obligations",
                            "verboseLabel":  "Client fund obligations"
                            }
                        }
                    },
                "localname":  "ClientFundObligations",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_CompanyAndPaychexOfNewYorkMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Company And Paychex Of New York [Member]",
                            "label":  "Company And Paychex Of New York [Member]",
                            "terseLabel":  "Company And Paychex Of New York [Member]"
                            }
                        }
                    },
                "localname":  "CompanyAndPaychexOfNewYorkMember",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLongTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "payx_ComponentsOfFundsHeldForClientsAndCorporateInvestmentsTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of components of funds held for clients and corporate investments.",
                            "label":  "Components Of Funds Held For Clients And Corporate Investments [Table Text Block]",
                            "verboseLabel":  "Funds Held for Clients and Corporate Investments"
                            }
                        }
                    },
                "localname":  "ComponentsOfFundsHeldForClientsAndCorporateInvestmentsTableTextBlock",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "payx_ConstructionInProgress1Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Capital spending for items, including internally developed software and other capital projects, not yet placed in service.",
                            "label":  "Construction In Progress1 [Member]",
                            "terseLabel":  "Construction in Progress [Member]"
                            }
                        }
                    },
                "localname":  "ConstructionInProgress1Member",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciationComponentsOfPropertyAndEquipmentAtCostDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "payx_ContractWithCustomerLiabilityAdditions":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Contract With Customer Liability Additions",
                            "label":  "Contract With Customer Liability Additions",
                            "terseLabel":  "Deferral of revenue"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerLiabilityAdditions",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueSummaryOfChangesInDeferredRevenueRelatedToMaterialRightPerformanceObligationsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_CostsToFulfillContractMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Costs To Fulfill Contract [Member]",
                            "label":  "Costs To Fulfill Contract [Member]",
                            "terseLabel":  "Costs To Fulfill A Contract [Member]"
                            }
                        }
                    },
                "localname":  "CostsToFulfillContractMember",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueSummaryOfChangesInDeferredCostsToObtainAndFulfillContractsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "payx_CostsToObtainContractMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Costs To Obtain Contract [Member]",
                            "label":  "Costs To Obtain Contract [Member]",
                            "terseLabel":  "Costs To Obtain A Contract [Member]"
                            }
                        }
                    },
                "localname":  "CostsToObtainContractMember",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueSummaryOfChangesInDeferredCostsToObtainAndFulfillContractsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "payx_CurrentAssetsBeforeFundsHeldForClients":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_AssetsCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Current assets before funds held for clients.",
                            "label":  "Current assets before funds held for clients",
                            "totalLabel":  "Current assets before funds held for clients"
                            }
                        }
                    },
                "localname":  "CurrentAssetsBeforeFundsHeldForClients",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_CurrentLiabilitiesBeforeClientFundObligations":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LiabilitiesCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Current liabilities before client fund obligations.",
                            "label":  "Current liabilities before client fund obligations",
                            "totalLabel":  "Current liabilities before client fund obligations"
                            }
                        }
                    },
                "localname":  "CurrentLiabilitiesBeforeClientFundObligations",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_CustomerContractTerminationNoticeDays":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Customer Contract Termination Notice Days",
                            "label":  "Customer Contract Termination Notice Days",
                            "terseLabel":  "Notice of termination period"
                            }
                        }
                    },
                "localname":  "CustomerContractTerminationNoticeDays",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueNarrativeDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "payx_DebtInstrumentFairValueAmount":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialLiabilitiesMeasuredAtFairValueOnNonRecurringBasisDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LongTermDebtFairValue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Debt Instrument Fair Value Amount",
                            "label":  "Debt Instrument Fair Value Amount",
                            "terseLabel":  "Total long-term borrowings, Fair value"
                            }
                        }
                    },
                "localname":  "DebtInstrumentFairValueAmount",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialLiabilitiesMeasuredAtFairValueOnNonRecurringBasisDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_DebtInstrumentNoteType":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Debt Instrument Note Type",
                            "label":  "Debt Instrument Note Type",
                            "terseLabel":  "Note type"
                            }
                        }
                    },
                "localname":  "DebtInstrumentNoteType",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLongTermFinancingInformationRelatedToSeniorNotesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "payx_DebtWeightedAverageInterestRate1":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Debt Weighted Average Interest Rate 1",
                            "label":  "Debt Weighted Average Interest Rate 1",
                            "terseLabel":  "Weighted-average interest rate"
                            }
                        }
                    },
                "localname":  "DebtWeightedAverageInterestRate1",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingCreditFacilityAmountBorrowedDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "payx_DeferredFinanceCostsNetFairValue":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialLiabilitiesMeasuredAtFairValueOnNonRecurringBasisDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LongTermDebtFairValue",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Deferred Finance Costs Net Fair Value",
                            "label":  "Deferred Finance Costs Net Fair Value",
                            "negatedLabel":  "Less:  Debt issuance costs, net of accumulated amortization, Fair value"
                            }
                        }
                    },
                "localname":  "DeferredFinanceCostsNetFairValue",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialLiabilitiesMeasuredAtFairValueOnNonRecurringBasisDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_DirectPassThroughCostGuaranteedCostBenefitPlans":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Direct Pass Through Cost Guaranteed Cost Benefit Plans",
                            "label":  "Direct Pass Through Cost Guaranteed Cost Benefit Plans",
                            "terseLabel":  "Direct pass-through costs related to guaranteed cost benefit plans"
                            }
                        }
                    },
                "localname":  "DirectPassThroughCostGuaranteedCostBenefitPlans",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_DirectPassThroughCostPayrollWagesAndTaxesIncludingFederalAndStateUnemploymentInsurance":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Direct Pass Through Cost Payroll Wages And Taxes Including Federal And State Unemployment Insurance",
                            "label":  "Direct Pass Through Cost Payroll Wages And Taxes Including Federal And State Unemployment Insurance",
                            "terseLabel":  "Direct pass-through costs for payroll wages and payroll taxes"
                            }
                        }
                    },
                "localname":  "DirectPassThroughCostPayrollWagesAndTaxesIncludingFederalAndStateUnemploymentInsurance",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_DirectPassThroughCostStateUnemploymentInsurance":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Direct Pass Through Cost State Unemployment Insurance",
                            "label":  "Direct Pass Through Cost State Unemployment Insurance",
                            "terseLabel":  "Direct pass-through costs related to state unemployment insurance"
                            }
                        }
                    },
                "localname":  "DirectPassThroughCostStateUnemploymentInsurance",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_EightDaysMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Eight Days [Member]",
                            "label":  "Eight Days [Member]",
                            "terseLabel":  "Eight Days [Member]"
                            }
                        }
                    },
                "localname":  "EightDaysMember",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "payx_EquityActivityRelatedToStockBasedAwards":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Equity activity related to stock-based awards.  Includes proceeds from stock option exercises and cash usage related to stock withheld to cover taxes on lapsing of stock-based awards.",
                            "label":  "Equity activity related to stock-based awards",
                            "terseLabel":  "Activity related to equity-based plans"
                            }
                        }
                    },
                "localname":  "EquityActivityRelatedToStockBasedAwards",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_FairValueLiabilitiesMeasuredOnNonrecurringBasisTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Fair Value Liabilities Measured On Nonrecurring Basis [Table Text Block]",
                            "label":  "Fair Value Liabilities Measured On Nonrecurring Basis [Table Text Block]",
                            "terseLabel":  "Financial Liabilities Measured at Fair Value on Non-Recurring Basis"
                            }
                        }
                    },
                "localname":  "FairValueLiabilitiesMeasuredOnNonrecurringBasisTableTextBlock",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "payx_FundsHeldForClientsAndCorporateInvestmentsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Funds held for clients and corporate investments.",
                            "label":  "Funds Held for Clients and Corporate Investments [Abstract]"
                            }
                        }
                    },
                "localname":  "FundsHeldForClientsAndCorporateInvestmentsAbstract",
                "nsuri":  "http://www.paychex.com/20200229",
                "xbrltype":  "stringItemType"
                },
            "payx_FundsHeldForClientsAndCorporateInvestmentsAmortizedCost":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetailsAlternate":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Funds held for clients and corporate investments amortized cost.",
                            "label":  "Funds Held For Clients And Corporate Investments Amortized Cost",
                            "totalLabel":  "Total funds held for clients and corporate investments, Amortized cost"
                            }
                        }
                    },
                "localname":  "FundsHeldForClientsAndCorporateInvestmentsAmortizedCost",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_FundsHeldForClientsAndCorporateInvestmentsDisclosureTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Funds held for clients and corporate investments.",
                            "label":  "Funds Held for Clients and Corporate Investments Disclosure [Text Block]",
                            "verboseLabel":  "Funds Held for Clients and Corporate Investments"
                            }
                        }
                    },
                "localname":  "FundsHeldForClientsAndCorporateInvestmentsDisclosureTextBlock",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestments"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "payx_FundsHeldForClientsAndCorporateInvestmentsFairValue":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsClassificationOfInvestmentsOnConsolidatedBalanceSheetsDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails":  {
                        "order":  3.0,
                        "parentTag":  "payx_FundsHeldForClientsAndCorporateInvestmentsAmortizedCost",
                        "weight":  1.0
                        },
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetailsAlternate":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Funds held for clients and corporate investments, fair value.",
                            "label":  "Funds Held For Clients And Corporate Investments Fair Value",
                            "totalLabel":  "Total funds held for clients and corporate investments, Fair value"
                            }
                        }
                    },
                "localname":  "FundsHeldForClientsAndCorporateInvestmentsFairValue",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsClassificationOfInvestmentsOnConsolidatedBalanceSheetsDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_FundsHeldForClientsAndCorporateInvestmentsGrossUnrealizedGains":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails":  {
                        "order":  1.0,
                        "parentTag":  "payx_FundsHeldForClientsAndCorporateInvestmentsAmortizedCost",
                        "weight":  -1.0
                        },
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetailsAlternate":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Funds Held For Clients And Corporate Investments Gross Unrealized Gains",
                            "label":  "Funds Held For Clients And Corporate Investments Gross Unrealized Gains",
                            "totalLabel":  "Total funds held for clients and corporate investments, Gross unrealized gains"
                            }
                        }
                    },
                "localname":  "FundsHeldForClientsAndCorporateInvestmentsGrossUnrealizedGains",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_FundsHeldForClientsAndCorporateInvestmentsGrossUnrealizedLosses":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails":  {
                        "order":  2.0,
                        "parentTag":  "payx_FundsHeldForClientsAndCorporateInvestmentsAmortizedCost",
                        "weight":  1.0
                        },
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetailsAlternate":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Funds Held For Clients And Corporate Investments Gross Unrealized Losses",
                            "label":  "Funds Held For Clients And Corporate Investments Gross Unrealized Losses",
                            "negatedTotalLabel":  "Total funds held for clients and corporate investments, Gross unrealized losses"
                            }
                        }
                    },
                "localname":  "FundsHeldForClientsAndCorporateInvestmentsGrossUnrealizedLosses",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_FundsHeldForClientsMoneyMarketSecuritiesAndOtherCashEquivalentsAmortizedCost":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetailsAlternate":  {
                        "order":  1.0,
                        "parentTag":  "payx_FundsHeldForClientsAndCorporateInvestmentsAmortizedCost",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Funds held for clients money market securities and other cash equivalents, amortized cost.",
                            "label":  "Funds Held For Clients Money Market Securities And Other Cash Equivalents Amortized Cost",
                            "totalLabel":  "Funds held for clients' money market securities and other cash equivalents, Amortized cost"
                            }
                        }
                    },
                "localname":  "FundsHeldForClientsMoneyMarketSecuritiesAndOtherCashEquivalentsAmortizedCost",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_FundsHeldForClientsMoneyMarketSecuritiesAndOtherCashEquivalentsFairValue":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails":  {
                        "order":  1.0,
                        "parentTag":  "payx_FundsHeldForClientsMoneyMarketSecuritiesAndOtherCashEquivalentsAmortizedCost",
                        "weight":  1.0
                        },
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetailsAlternate":  {
                        "order":  1.0,
                        "parentTag":  "payx_FundsHeldForClientsAndCorporateInvestmentsFairValue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Funds held for clients money market securities and other cash equivalents, fair value.",
                            "label":  "Funds Held For Clients Money Market Securities And Other Cash Equivalents Fair Value",
                            "verboseLabel":  "Funds held for clients' money market securities and other cash equivalents, Fair value"
                            }
                        }
                    },
                "localname":  "FundsHeldForClientsMoneyMarketSecuritiesAndOtherCashEquivalentsFairValue",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_IncreaseDecreaseInOperatingLeaseRightOfUseAssetsAndLiabilitiesNet":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  15.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Increase Decrease In Operating Lease Right Of Use Assets and Liabilities, Net",
                            "label":  "Increase Decrease In Operating Lease Right Of Use Assets and Liabilities, Net",
                            "negatedLabel":  "Net change in operating lease right-of-use assets and liabilities"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInOperatingLeaseRightOfUseAssetsAndLiabilitiesNet",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_IntangibleAssetsLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Intangible Assets [Line Items]",
                            "label":  "Intangible Assets [Line Items]"
                            }
                        }
                    },
                "localname":  "IntangibleAssetsLineItems",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationComponentsOfIntangibleAssetsAtCostDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "payx_InvestmentsConsideredCashEquivalentsMaturityPeriod":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Short-term investments considered cash equivalents, maturity at acquisition",
                            "label":  "Investments Considered Cash Equivalents Maturity Period",
                            "terseLabel":  "Short-term investments considered cash equivalents, maturity at acquisition"
                            }
                        }
                    },
                "localname":  "InvestmentsConsideredCashEquivalentsMaturityPeriod",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsNarrativeDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "payx_JpMorganChaseBankNaMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "JP Morgan Chase Bank, NA [Member]",
                            "label":  "Jp Morgan Chase Bank Na [Member]",
                            "terseLabel":  "JP Morgan Chase Bank, N.A. [Member]"
                            }
                        }
                    },
                "localname":  "JpMorganChaseBankNaMember",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingCreditFacilityAmountBorrowedDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingDescriptionOfCreditFacilitiesDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingTables"
                    ],
                "xbrltype":  "domainItemType"
                },
            "payx_JpmFiveHundredMillionCreditFacilityMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "JPM Five Hundred Million Credit Facility [Member]",
                            "label":  "Jpm Five Hundred Million Credit Facility [Member]",
                            "terseLabel":  "JPM $500 Million Credit Facility [Member]"
                            }
                        }
                    },
                "localname":  "JpmFiveHundredMillionCreditFacilityMember",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingCreditFacilityAmountBorrowedDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingDescriptionOfCreditFacilitiesDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingTables"
                    ],
                "xbrltype":  "domainItemType"
                },
            "payx_JpmOneBillionCreditFacilityJuly312019Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "JPM One Billion Credit Facility July 31 2019 [Member]",
                            "label":  "Jpm One Billion Credit Facility July312019 [Member]",
                            "terseLabel":  "JPM $1 Billion Credit Facility [Member]"
                            }
                        }
                    },
                "localname":  "JpmOneBillionCreditFacilityJuly312019Member",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingDescriptionOfCreditFacilitiesDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "payx_JpmOneBillionCreditFacilityMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "JPM One Billion Credit Facility [Member]",
                            "label":  "Jpm One Billion Credit Facility [Member]",
                            "terseLabel":  "JPM $1 Billion Credit Facility [Member]"
                            }
                        }
                    },
                "localname":  "JpmOneBillionCreditFacilityMember",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingCreditFacilityAmountBorrowedDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingDescriptionOfCreditFacilitiesDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingTables"
                    ],
                "xbrltype":  "domainItemType"
                },
            "payx_LesseeOperatingLeaseTermExpirationYear":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Lessee Operating Lease Term Expiration Year",
                            "label":  "Lessee Operating Lease Term Expiration Year",
                            "terseLabel":  "Operating leases, contractual term"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseTermExpirationYear",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeasesNarrativeDetails"
                    ],
                "xbrltype":  "gYearItemType"
                },
            "payx_LesseeOperatingNumberOfLeasesNotYetCommenced":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Lessee Operating Number Of Leases Not Yet Commenced",
                            "label":  "Lessee Operating Number Of Leases Not Yet Commenced",
                            "terseLabel":  "Number of lease agreements, not yet commenced"
                            }
                        }
                    },
                "localname":  "LesseeOperatingNumberOfLeasesNotYetCommenced",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeasesNarrativeDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "payx_LineOfCreditFacilityNumberOfDaysBorrowed":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Line of Credit Facility, Number Of Days Borrowed",
                            "label":  "Line of Credit Facility, Number Of Days Borrowed",
                            "verboseLabel":  "Number of days borrowed"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityNumberOfDaysBorrowed",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingCreditFacilityAmountBorrowedDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "payx_LongLivedAssetsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Long Lived Assets [Member]",
                            "label":  "Long Lived Assets [Member]",
                            "terseLabel":  "Long Lived Assets [Member]"
                            }
                        }
                    },
                "localname":  "LongLivedAssetsMember",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "payx_ManagementSolutionsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Management Solutions [Member]",
                            "label":  "Management Solutions [Member]",
                            "terseLabel":  "Management Solutions [Member]"
                            }
                        }
                    },
                "localname":  "ManagementSolutionsMember",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueSummaryOfDisaggregatesRevenueByServicesDetails",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome"
                    ],
                "xbrltype":  "domainItemType"
                },
            "payx_MaximumIndividualClaimsLiabilityHealthInsurance":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Maximum Individual Claims Liability Health Insurance",
                            "label":  "Maximum Individual Claims Liability Health Insurance",
                            "terseLabel":  "Maximum individual health insurance claims liability"
                            }
                        }
                    },
                "localname":  "MaximumIndividualClaimsLiabilityHealthInsurance",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_MaximumIndividualClaimsLiabilityWorkersCompensationInsurance":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Maximum individual claims liability workers compensation insurance.",
                            "label":  "Maximum Individual Claims Liability Workers Compensation Insurance",
                            "verboseLabel":  "Maximum individual workers' compensation claims liability"
                            }
                        }
                    },
                "localname":  "MaximumIndividualClaimsLiabilityWorkersCompensationInsurance",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_NetChangeInClientFundObligations":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Net change in client fund obligations.",
                            "label":  "Net Change In Client Fund Obligations",
                            "verboseLabel":  "Net change in client fund obligations"
                            }
                        }
                    },
                "localname":  "NetChangeInClientFundObligations",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_NetUnrealizedGainLossOnAvailableForSaleSecurities":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The net change in the difference between the fair value and the carrying value of available for sale securities that are recognized in AOCI.",
                            "label":  "Net Unrealized Gain Loss On Available For Sale Securities",
                            "terseLabel":  "Net unrealized gains on available-for-sale securities"
                            }
                        }
                    },
                "localname":  "NetUnrealizedGainLossOnAvailableForSaleSecurities",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_OasisOutsourcingGroupHoldingsL.p.Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Oasis Outsourcing Group Holdings L.P. [Member]",
                            "label":  "Oasis Outsourcing Group Holdings L.p. [Member]",
                            "terseLabel":  "Oasis Outsourcing Group Holdings, L.P. [Member]"
                            }
                        }
                    },
                "localname":  "OasisOutsourcingGroupHoldingsL.p.Member",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails",
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "payx_OperatingLeaseRightOfUseAssetAmortization":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Operating Lease Right Of Use Asset Amortization",
                            "label":  "Operating Lease Right Of Use Asset Amortization",
                            "terseLabel":  "Amortization of ROU assets"
                            }
                        }
                    },
                "localname":  "OperatingLeaseRightOfUseAssetAmortization",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeasesSupplementalCashFlowInformationRelatedToLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_OtherSecuritiesAmortizedCost":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetailsAlternate":  {
                        "order":  3.0,
                        "parentTag":  "payx_FundsHeldForClientsAndCorporateInvestmentsAmortizedCost",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Other securities amortized cost.",
                            "label":  "Other Securities Amortized Cost",
                            "totalLabel":  "Other, Amortized cost"
                            }
                        }
                    },
                "localname":  "OtherSecuritiesAmortizedCost",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_OtherSecuritiesFairValue":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails":  {
                        "order":  3.0,
                        "parentTag":  "payx_OtherSecuritiesAmortizedCost",
                        "weight":  1.0
                        },
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetailsAlternate":  {
                        "order":  3.0,
                        "parentTag":  "payx_FundsHeldForClientsAndCorporateInvestmentsFairValue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Other securities fair value.",
                            "label":  "Other Securities Fair Value",
                            "terseLabel":  "Other, Fair value"
                            }
                        }
                    },
                "localname":  "OtherSecuritiesFairValue",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_OtherSecuritiesGrossUnrealizedGains":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails":  {
                        "order":  1.0,
                        "parentTag":  "payx_OtherSecuritiesAmortizedCost",
                        "weight":  -1.0
                        },
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetailsAlternate":  {
                        "order":  2.0,
                        "parentTag":  "payx_FundsHeldForClientsAndCorporateInvestmentsGrossUnrealizedGains",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Other Securities Gross Unrealized Gains",
                            "label":  "Other Securities Gross Unrealized Gains",
                            "terseLabel":  "Other, Gross unrealized gains"
                            }
                        }
                    },
                "localname":  "OtherSecuritiesGrossUnrealizedGains",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_OtherSecuritiesGrossUnrealizedLosses":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails":  {
                        "order":  2.0,
                        "parentTag":  "payx_OtherSecuritiesAmortizedCost",
                        "weight":  1.0
                        },
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetailsAlternate":  {
                        "order":  2.0,
                        "parentTag":  "payx_FundsHeldForClientsAndCorporateInvestmentsGrossUnrealizedLosses",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Other Securities Gross Unrealized Losses",
                            "label":  "Other Securities Gross Unrealized Losses",
                            "negatedLabel":  "Other, Gross unrealized losses"
                            }
                        }
                    },
                "localname":  "OtherSecuritiesGrossUnrealizedLosses",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_OvernightBasisMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Overnight Basis [Member]",
                            "label":  "Overnight Basis [Member]",
                            "terseLabel":  "Overnight Basis [Member]"
                            }
                        }
                    },
                "localname":  "OvernightBasisMember",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "payx_PaychexAdvanceLlcMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Paychex Advance LLC [Member]",
                            "label":  "Paychex Advance Llc [Member]",
                            "terseLabel":  "Paychex Advance, LLC [Member]"
                            }
                        }
                    },
                "localname":  "PaychexAdvanceLlcMember",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingDescriptionOfCreditFacilitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "payx_PaychexOfNewYorkLlcMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Paychex Of New York LLC [Member]",
                            "label":  "Paychex Of New York Llc [Member]",
                            "terseLabel":  "Paychex of New York, LLC [Member]"
                            }
                        }
                    },
                "localname":  "PaychexOfNewYorkLlcMember",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingDescriptionOfCreditFacilitiesDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "payx_PaymentsToAcquireBusinessesBorrowingOnDebt":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Payments to Acquire Businesses, Borrowing On Debt",
                            "label":  "Payments to Acquire Businesses, Borrowing On Debt",
                            "verboseLabel":  "Acquisition financed amount"
                            }
                        }
                    },
                "localname":  "PaymentsToAcquireBusinessesBorrowingOnDebt",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_PeoAndInsuranceServicesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "PEO And Insurance Services [Member]",
                            "label":  "Peo And Insurance Services [Member]",
                            "terseLabel":  "PEO And Insurance Solutions [Member]"
                            }
                        }
                    },
                "localname":  "PeoAndInsuranceServicesMember",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueSummaryOfDisaggregatesRevenueByServicesDetails",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome"
                    ],
                "xbrltype":  "domainItemType"
                },
            "payx_PncBankNationalAssociationMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "PNC Bank, National Association [Member]",
                            "label":  "Pnc Bank National Association [Member]",
                            "terseLabel":  "PNC Bank, National Association [Member]"
                            }
                        }
                    },
                "localname":  "PncBankNationalAssociationMember",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingCreditFacilityAmountBorrowedDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingDescriptionOfCreditFacilitiesDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingTables"
                    ],
                "xbrltype":  "domainItemType"
                },
            "payx_PncOneHundredFiftyMillionCreditFacilityMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "PNC One Hundred Fifty Million Credit Facility [Member]",
                            "label":  "Pnc One Hundred Fifty Million Credit Facility [Member]",
                            "terseLabel":  "PNC $150 Million Credit Facility [Member]"
                            }
                        }
                    },
                "localname":  "PncOneHundredFiftyMillionCreditFacilityMember",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingCreditFacilityAmountBorrowedDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingDescriptionOfCreditFacilitiesDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "payx_PncTwoHundredFiftyMillionCreditFacilityMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "PNC Two Hundred Fifty Million Credit Facility [Member]",
                            "label":  "Pnc Two Hundred Fifty Million Credit Facility [Member]",
                            "terseLabel":  "PNC $250 Million Credit Facility [Member]"
                            }
                        }
                    },
                "localname":  "PncTwoHundredFiftyMillionCreditFacilityMember",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingCreditFacilityAmountBorrowedDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingDescriptionOfCreditFacilitiesDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingTables"
                    ],
                "xbrltype":  "domainItemType"
                },
            "payx_PreRefundedMunicipalBondsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Pre-refunded municipal bonds.",
                            "label":  "Pre Refunded Municipal Bonds [Member]",
                            "terseLabel":  "Pre-Refunded Municipal Bonds [Member]"
                            }
                        }
                    },
                "localname":  "PreRefundedMunicipalBondsMember",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsSecuritiesInUnrealizedLossPositionDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "payx_ProceedsFromBorrowingsToFundAcquisition":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Proceeds From Borrowings To Fund Acquisition",
                            "label":  "Proceeds From Borrowings To Fund Acquisition",
                            "terseLabel":  "Proceeds from borrowings to fund acquisition"
                            }
                        }
                    },
                "localname":  "ProceedsFromBorrowingsToFundAcquisition",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_RestrictedCashAndRestrictedCashEquivalentsIncludedInFundsHeldForClients":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of restricted cash and restricted cash equivalents included in funds held for clients.",
                            "label":  "Restricted Cash And Restricted Cash Equivalents Included In Funds Held For Clients",
                            "terseLabel":  "Restricted cash and restricted cash equivalents included in funds held for clients"
                            }
                        }
                    },
                "localname":  "RestrictedCashAndRestrictedCashEquivalentsIncludedInFundsHeldForClients",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_RevenueMunicipalBondsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Revenue municipal bonds.",
                            "label":  "Revenue Municipal Bonds [Member]",
                            "terseLabel":  "Revenue Municipal Bonds [Member]"
                            }
                        }
                    },
                "localname":  "RevenueMunicipalBondsMember",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsSecuritiesInUnrealizedLossPositionDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "payx_RevenuePerformanceObligationsTimingYears":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Revenue Performance Obligations Timing Years",
                            "label":  "Revenue Performance Obligations Timing Years",
                            "terseLabel":  "Revenue performance obligations timing, years"
                            }
                        }
                    },
                "localname":  "RevenuePerformanceObligationsTimingYears",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueNarrativeDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "payx_ScheduleOfLineOfCreditFacilitiesBorrowedTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Schedule Of Line Of Credit Facilities Borrowed [Text Block]",
                            "label":  "Schedule Of Line Of Credit Facilities Borrowed [Text Block]",
                            "terseLabel":  "Credit Facility Amount Borrowed"
                            }
                        }
                    },
                "localname":  "ScheduleOfLineOfCreditFacilitiesBorrowedTextBlock",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "payx_SeriesBSeniorNotesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Series B Senior Notes [Member]",
                            "label":  "Series B Senior Notes [Member]",
                            "terseLabel":  "Senior Notes, Series B [Member]"
                            }
                        }
                    },
                "localname":  "SeriesBSeniorNotesMember",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialLiabilitiesMeasuredAtFairValueOnNonRecurringBasisDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingInformationRelatedToSeniorNotesDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingScheduleOfLongTermDebtDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "payx_SeriesSeniorNotesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Series A Senior Notes [Member]",
                            "label":  "Series Senior Notes [Member]",
                            "terseLabel":  "Senior Notes, Series A [Member]"
                            }
                        }
                    },
                "localname":  "SeriesSeniorNotesMember",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialLiabilitiesMeasuredAtFairValueOnNonRecurringBasisDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingInformationRelatedToSeniorNotesDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingScheduleOfLongTermDebtDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "payx_ServiceRevenueContractsTerm":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Service Revenue Contracts Term",
                            "label":  "Service Revenue Contracts Term",
                            "terseLabel":  "Contracts term"
                            }
                        }
                    },
                "localname":  "ServiceRevenueContractsTerm",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueNarrativeDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "payx_ServiceRevenueLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Service Revenue [Line Items]",
                            "label":  "Service Revenue [Line Items]"
                            }
                        }
                    },
                "localname":  "ServiceRevenueLineItems",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "payx_ServiceRevenueTable":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Service Revenue [Table]",
                            "label":  "Service Revenue [Table]"
                            }
                        }
                    },
                "localname":  "ServiceRevenueTable",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "payx_SeventyOneDaysMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Seventy-One Days [Member]",
                            "label":  "Seventy One Days [Member]",
                            "terseLabel":  "Seventy-One Days [Member]"
                            }
                        }
                    },
                "localname":  "SeventyOneDaysMember",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "payx_StockIssuedDuringPeriodValueShareBasedCompensation1":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Stock Issued During Period Value Share Based Compensation 1",
                            "label":  "Stock Issued During Period Value Share Based Compensation 1",
                            "terseLabel":  "Activity related to equity-based plans"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodValueShareBasedCompensation1",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfStockholdersEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "payx_SupplementalBalanceSheetRelatedToLeasesTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Supplemental Balance Sheet Information Related To Leases [Table Text Block]",
                            "label":  "Supplemental Balance Sheet Related To Leases [Table Text Block]",
                            "terseLabel":  "Supplemental Balance Sheet Information Related to Leases"
                            }
                        }
                    },
                "localname":  "SupplementalBalanceSheetRelatedToLeasesTableTextBlock",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeasesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "payx_SupplementalCashFlowInformationRelatedToLeasesTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Supplemental Cash Flow Information Related To Leases [Table Text Block]",
                            "label":  "Supplemental Cash Flow Information Related To Leases [Table Text Block]",
                            "terseLabel":  "Supplemental Cash Flow Information Related to Leases"
                            }
                        }
                    },
                "localname":  "SupplementalCashFlowInformationRelatedToLeasesTableTextBlock",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeasesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "payx_TenDaysMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Ten Days [Member]",
                            "label":  "Ten Days [Member]",
                            "terseLabel":  "Ten Days [Member]"
                            }
                        }
                    },
                "localname":  "TenDaysMember",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "payx_ThreeDaysMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Three Days [Member]",
                            "label":  "Three Days [Member]",
                            "terseLabel":  "Three Days [Member]"
                            }
                        }
                    },
                "localname":  "ThreeDaysMember",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "payx_UnamortizedLandlordAllowancesAndLeaseIncentives":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Unamortized Landlord Allowances And Lease Incentives",
                            "label":  "Unamortized Landlord Allowances And Lease Incentives",
                            "terseLabel":  "Unamortized landlord allowances and lease incentives"
                            }
                        }
                    },
                "localname":  "UnamortizedLandlordAllowancesAndLeaseIncentives",
                "nsuri":  "http://www.paychex.com/20200229",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "srt_EuropeMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Europe [Member]",
                            "terseLabel":  "Europe [Member]"
                            }
                        }
                    },
                "localname":  "EuropeMember",
                "nsuri":  "http://fasb.org/srt/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_MaximumMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Maximum [Member]",
                            "terseLabel":  "Maximum [Member]"
                            }
                        }
                    },
                "localname":  "MaximumMember",
                "nsuri":  "http://fasb.org/srt/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureLeasesNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureServiceRevenueNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_MinimumMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Minimum [Member]",
                            "terseLabel":  "Minimum [Member]"
                            }
                        }
                    },
                "localname":  "MinimumMember",
                "nsuri":  "http://fasb.org/srt/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureLeasesNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureServiceRevenueNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_ProductOrServiceAxis":  {
                "auth_ref":  [
                    "r122",
                    "r223",
                    "r226",
                    "r349",
                    "r350"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Product and Service [Axis]"
                            }
                        }
                    },
                "localname":  "ProductOrServiceAxis",
                "nsuri":  "http://fasb.org/srt/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueSummaryOfDisaggregatesRevenueByServicesDetails",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_ProductsAndServicesDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Products And Services [Domain]",
                            "terseLabel":  "Product and Service [Domain]"
                            }
                        }
                    },
                "localname":  "ProductsAndServicesDomain",
                "nsuri":  "http://fasb.org/srt/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueSummaryOfDisaggregatesRevenueByServicesDetails",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_RangeAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Statistical Measurement [Axis]"
                            }
                        }
                    },
                "localname":  "RangeAxis",
                "nsuri":  "http://fasb.org/srt/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureLeasesNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureServiceRevenueNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_RangeMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Range [Member]",
                            "terseLabel":  "Range [Domain]"
                            }
                        }
                    },
                "localname":  "RangeMember",
                "nsuri":  "http://fasb.org/srt/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureLeasesNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureServiceRevenueNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_ScenarioForecastMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Scenario Forecast [Member]",
                            "terseLabel":  "Forecast [Member]"
                            }
                        }
                    },
                "localname":  "ScenarioForecastMember",
                "nsuri":  "http://fasb.org/srt/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_ScenarioUnspecifiedDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Scenario Unspecified [Domain]",
                            "terseLabel":  "Scenario, Unspecified [Domain]"
                            }
                        }
                    },
                "localname":  "ScenarioUnspecifiedDomain",
                "nsuri":  "http://fasb.org/srt/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_SegmentGeographicalDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Segment Geographical [Domain]",
                            "terseLabel":  "Geographical [Domain]"
                            }
                        }
                    },
                "localname":  "SegmentGeographicalDomain",
                "nsuri":  "http://fasb.org/srt/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_StatementGeographicalAxis":  {
                "auth_ref":  [
                    "r123",
                    "r223",
                    "r227",
                    "r351",
                    "r356",
                    "r358"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Geographical [Axis]"
                            }
                        }
                    },
                "localname":  "StatementGeographicalAxis",
                "nsuri":  "http://fasb.org/srt/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_StatementScenarioAxis":  {
                "auth_ref":  [
                    "r196",
                    "r311"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Scenario [Axis]"
                            }
                        }
                    },
                "localname":  "StatementScenarioAxis",
                "nsuri":  "http://fasb.org/srt/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_WeightedAverageMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Weighted Average [Member]",
                            "terseLabel":  "Weighted Average [Member]"
                            }
                        }
                    },
                "localname":  "WeightedAverageMember",
                "nsuri":  "http://fasb.org/srt/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_AccountingPoliciesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Description of Business, Basis of Presentation, and Significant Accounting Policies [Abstract]"
                            }
                        }
                    },
                "localname":  "AccountingPoliciesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AccountingStandardsUpdate201602Member":  {
                "auth_ref":  [
                    "r292"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Accounting Standards Update 2016-02 Leases (Topic 842).",
                            "label":  "Accounting Standards Update201602 [Member]",
                            "terseLabel":  "ASU 2016-02 [Member]"
                            }
                        }
                    },
                "localname":  "AccountingStandardsUpdate201602Member",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_AccountsNotesAndLoansReceivableNetCurrent":  {
                "auth_ref":  [
                    "r1",
                    "r22",
                    "r47",
                    "r124",
                    "r125",
                    "r336"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  5.0,
                        "parentTag":  "payx_CurrentAssetsBeforeFundsHeldForClients",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount, after allowance for credit loss, of accounts and financing receivables, classified as current.  Includes, but is not limited to, notes and loan receivable.",
                            "label":  "Accounts, Notes, Loans and Financing Receivable, Net, Current",
                            "verboseLabel":  "Accounts receivable, net of allowance for doubtful accounts"
                            }
                        }
                    },
                "localname":  "AccountsNotesAndLoansReceivableNetCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis":  {
                "auth_ref":  [
                    "r47"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by type of receivable.",
                            "label":  "Receivable Type [Axis]"
                            }
                        }
                    },
                "localname":  "AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AccountsPayableCurrent":  {
                "auth_ref":  [
                    "r35"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "payx_CurrentLiabilitiesBeforeClientFundObligations",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Carrying value as of the balance sheet date of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business.  Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
                            "label":  "Accounts Payable, Current",
                            "verboseLabel":  "Accounts payable"
                            }
                        }
                    },
                "localname":  "AccountsPayableCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments":  {
                "auth_ref":  [
                    "r86"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The sum of the periodic adjustments of the differences between securities' face values and purchase prices that are charged against earnings.  This is called accretion if the security was purchased at a discount and amortization if it was purchased at premium.  As a noncash item, this element is an adjustment to net income when calculating cash provided by or used in operations using the indirect method.",
                            "label":  "Accretion (Amortization) of Discounts and Premiums, Investments",
                            "negatedLabel":  "Amortization of premiums and discounts on available-for-sale securities, net"
                            }
                        }
                    },
                "localname":  "AccretionAmortizationOfDiscountsAndPremiumsInvestments",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccruedIncomeTaxesNoncurrent":  {
                "auth_ref":  [
                    "r19",
                    "r321",
                    "r338"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Carrying amount as of the balance sheet date of the unpaid sum of the known and estimated amounts payable to satisfy all domestic and foreign income tax obligations due beyond one year or the operating cycle, whichever is longer.  Alternate captions include income taxes payable, noncurrent.",
                            "label":  "Accrued Income Taxes, Noncurrent",
                            "terseLabel":  "Accrued income taxes"
                            }
                        }
                    },
                "localname":  "AccruedIncomeTaxesNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment":  {
                "auth_ref":  [
                    "r33",
                    "r191"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciationComponentsOfPropertyAndEquipmentAtCostDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_PropertyPlantAndEquipmentNet",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of accumulated depreciation, depletion and amortization for physical assets used in the normal conduct of business to produce goods and services.",
                            "label":  "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment",
                            "terseLabel":  "Less:  Accumulated depreciation"
                            }
                        }
                    },
                "localname":  "AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciationComponentsOfPropertyAndEquipmentAtCostDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax":  {
                "auth_ref":  [
                    "r54",
                    "r55",
                    "r56"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_StockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Accumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at period end.  Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners.  Includes foreign currency translation items, certain pension adjustments, unrealized gains and losses on certain investments in debt and equity securities, other than temporary impairment (OTTI) losses related to factors other than credit losses on available-for-sale and held-to-maturity debt securities that an entity does not intend to sell and it is not more likely than not that the entity will be required to sell before recovery of the amortized cost basis, as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.",
                            "label":  "Accumulated Other Comprehensive Income (Loss), Net of Tax",
                            "periodEndLabel":  "Ending balance",
                            "periodStartLabel":  "Beginning balance",
                            "verboseLabel":  "Accumulated other comprehensive income"
                            }
                        }
                    },
                "localname":  "AccumulatedOtherComprehensiveIncomeLossNetOfTax",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccumulatedOtherComprehensiveIncomeMember":  {
                "auth_ref":  [
                    "r53",
                    "r56",
                    "r59",
                    "r270"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Accumulated increase (decrease) in equity from transactions and other events and circumstances from non-owner sources, attributable to the parent.  Excludes net income (loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners.",
                            "label":  "Accumulated Other Comprehensive Income [Member]",
                            "terseLabel":  "Accumulated Other Comprehensive Income/(Loss) [Member]"
                            }
                        }
                    },
                "localname":  "AccumulatedOtherComprehensiveIncomeMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfStockholdersEquity"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_AdditionalPaidInCapitalCommonStock":  {
                "auth_ref":  [
                    "r23"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_StockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Value received from shareholders in common stock-related transactions that are in excess of par value or stated value and amounts received from other stock-related transactions.  Includes only common stock transactions (excludes preferred stock transactions).  May be called contributed capital, capital in excess of par, capital surplus, or paid-in capital.",
                            "label":  "Additional Paid in Capital, Common Stock",
                            "verboseLabel":  "Additional paid-in capital"
                            }
                        }
                    },
                "localname":  "AdditionalPaidInCapitalCommonStock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AdditionalPaidInCapitalMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders.",
                            "label":  "Additional Paid In Capital [Member]",
                            "terseLabel":  "Additional Paid-in Capital [Member]"
                            }
                        }
                    },
                "localname":  "AdditionalPaidInCapitalMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfStockholdersEquity"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_AdjustmentsForNewAccountingPronouncementsAxis":  {
                "auth_ref":  [
                    "r95"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by new accounting pronouncement.",
                            "label":  "Adjustments for New Accounting Pronouncements [Axis]"
                            }
                        }
                    },
                "localname":  "AdjustmentsForNewAccountingPronouncementsAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue":  {
                "auth_ref":  [
                    "r232",
                    "r233",
                    "r238",
                    "r239"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of increase to additional paid-in capital (APIC) for recognition of cost for award under share-based payment arrangement.",
                            "label":  "Adjustments to Additional Paid in Capital, Share-based Compensation, Requisite Service Period Recognition",
                            "terseLabel":  "Stock-based compensation costs"
                            }
                        }
                    },
                "localname":  "AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfStockholdersEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]",
                            "verboseLabel":  "Adjustments to reconcile net income to net cash provided by operating activities:"
                            }
                        }
                    },
                "localname":  "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AllocatedShareBasedCompensationExpense":  {
                "auth_ref":  [
                    "r233",
                    "r236",
                    "r237"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of expense for award under share-based payment arrangement.  Excludes amount capitalized.",
                            "label":  "Allocated Share-based Compensation Expense",
                            "verboseLabel":  "Stock-based compensation costs recognized"
                            }
                        }
                    },
                "localname":  "AllocatedShareBasedCompensationExpense",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent":  {
                "auth_ref":  [
                    "r28",
                    "r127",
                    "r150"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of allowance for credit loss on accounts receivable, classified as current.",
                            "label":  "Allowance for Doubtful Accounts Receivable, Current",
                            "terseLabel":  "Allowance for doubtful accounts"
                            }
                        }
                    },
                "localname":  "AllowanceForDoubtfulAccountsReceivableCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AmortizationOfIntangibleAssets":  {
                "auth_ref":  [
                    "r85",
                    "r177",
                    "r184"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets.  As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method.",
                            "label":  "Amortization of Intangible Assets",
                            "verboseLabel":  "Amortization expense"
                            }
                        }
                    },
                "localname":  "AmortizationOfIntangibleAssets",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount":  {
                "auth_ref":  [
                    "r106"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented.",
                            "label":  "Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount",
                            "verboseLabel":  "Weighted-average anti-dilutive common share equivalents"
                            }
                        }
                    },
                "localname":  "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareBasicAndDilutedEarningsPerShareDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_AssetBackedSecuritiesMember":  {
                "auth_ref":  [
                    "r143",
                    "r229"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Securities that are primarily serviced by the cash flows of a discrete pool of receivables or other financial assets for example, but not limited to, credit card receivables, car loans, recreational vehicle loans, and mobile home loans.",
                            "label":  "Asset Backed Securities [Member]",
                            "terseLabel":  "Asset-Backed Securities [Member]"
                            }
                        }
                    },
                "localname":  "AssetBackedSecuritiesMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_Assets":  {
                "auth_ref":  [
                    "r120",
                    "r319",
                    "r337"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized.  Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
                            "label":  "Assets",
                            "totalLabel":  "Total assets"
                            }
                        }
                    },
                "localname":  "Assets",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AssetsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Assets [Abstract]",
                            "terseLabel":  "Assets"
                            }
                        }
                    },
                "localname":  "AssetsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AssetsCurrent":  {
                "auth_ref":  [
                    "r4",
                    "r6",
                    "r49"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold, or consumed within one year (or the normal operating cycle, if longer).  Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
                            "label":  "Assets, Current",
                            "totalLabel":  "Total current assets"
                            }
                        }
                    },
                "localname":  "AssetsCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax":  {
                "auth_ref":  [
                    "r137"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
                        "weight":  -1.0
                        },
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetailsAlternate":  {
                        "order":  1.0,
                        "parentTag":  "payx_FundsHeldForClientsAndCorporateInvestmentsGrossUnrealizedGains",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount, before tax, of unrealized gain in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
                            "label":  "Available-for-sale Debt Securities, Accumulated Gross Unrealized Gain, before Tax",
                            "verboseLabel":  "Available-for-sale securities, Gross unrealized gains"
                            }
                        }
                    },
                "localname":  "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax":  {
                "auth_ref":  [
                    "r138"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
                        "weight":  1.0
                        },
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetailsAlternate":  {
                        "order":  1.0,
                        "parentTag":  "payx_FundsHeldForClientsAndCorporateInvestmentsGrossUnrealizedLosses",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount, before tax, of unrealized loss in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
                            "label":  "Available-for-sale Debt Securities, Accumulated Gross Unrealized Loss, before Tax",
                            "negatedLabel":  "Available-for-sale securities, Gross unrealized losses"
                            }
                        }
                    },
                "localname":  "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis":  {
                "auth_ref":  [
                    "r135",
                    "r157"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsAmortizedCostAndFairValueOfAvailableForSaleSecuritiesByContractualMaturityDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetailsAlternate":  {
                        "order":  2.0,
                        "parentTag":  "payx_FundsHeldForClientsAndCorporateInvestmentsAmortizedCost",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
                            "label":  "Available-for-sale Debt Securities, Amortized Cost Basis",
                            "totalLabel":  "Available-for-sale securities, Amortized cost"
                            }
                        }
                    },
                "localname":  "AvailableForSaleDebtSecuritiesAmortizedCostBasis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsAmortizedCostAndFairValueOfAvailableForSaleSecuritiesByContractualMaturityDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsSecuritiesInUnrealizedLossPositionDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of accumulated unrealized loss on investments in debt and equity securities classified as available-for-sale that have been in a continuous loss position for twelve months or longer.",
                            "label":  "Available-for-sale Securities, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss",
                            "negatedLabel":  "Securities in an unrealized loss position for more than twelve months, Gross unrealized losses"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsSecuritiesInUnrealizedLossPositionDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss":  {
                "auth_ref":  [
                    "r146"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsSecuritiesInUnrealizedLossPositionDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of accumulated unrealized loss on investments in debt and equity securities classified as available-for-sale in a continuous loss position.",
                            "label":  "Available-for-sale Securities, Continuous Unrealized Loss Position, Accumulated Loss",
                            "negatedTotalLabel":  "Total, Gross unrealized losses"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsSecuritiesInUnrealizedLossPositionDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsSecuritiesInUnrealizedLossPositionDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "This item represents the aggregate fair value of investments in debt and equity securities in an unrealized loss position which are categorized neither as held-to-maturity nor trading securities.",
                            "label":  "Available-for-sale Securities, Continuous Unrealized Loss Position, Fair Value",
                            "totalLabel":  "Total, Fair value"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsSecuritiesInUnrealizedLossPositionDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsSecuritiesInUnrealizedLossPositionDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "This item represents the aggregate fair value of investments in debt and equity securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for less than twelve months.",
                            "label":  "Available-for-sale Securities, Continuous Unrealized Loss Position, Less than Twelve Months, Fair Value",
                            "verboseLabel":  "Securities in an unrealized loss position for less than twelve months, Fair value"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsSecuritiesInUnrealizedLossPositionDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsSecuritiesInUnrealizedLossPositionDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "This item represents the aggregate fair value of investments in debt and equity securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for twelve months or longer.",
                            "label":  "Available-for-sale Securities, Continuous Unrealized Loss Position, Twelve Months or Longer, Fair Value",
                            "terseLabel":  "Securities in an unrealized loss position for more than twelve months, Fair value",
                            "verboseLabel":  "Securities in an unrealized loss position for more than twelve months, fair value"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsSecuritiesInUnrealizedLossPositionDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost":  {
                "auth_ref":  [
                    "r141"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsAmortizedCostAndFairValueOfAvailableForSaleSecuritiesByContractualMaturityDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amortized cost of investment in debt security measured at fair value with change recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in next fiscal year following latest fiscal year.  Excludes interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date.",
                            "label":  "Available-for-sale Securities, Debt Maturities, Next Twelve Months, Amortized Cost Basis",
                            "terseLabel":  "Due in one year or less, Amortized cost"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsAmortizedCostAndFairValueOfAvailableForSaleSecuritiesByContractualMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue":  {
                "auth_ref":  [
                    "r139",
                    "r141",
                    "r331"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsAmortizedCostAndFairValueOfAvailableForSaleSecuritiesByContractualMaturityDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_AvailableForSaleSecuritiesDebtSecurities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), maturing in next fiscal year following latest fiscal year.  Excludes interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date.",
                            "label":  "Available-for-sale Securities, Debt Maturities, Next Twelve Months, Fair Value",
                            "verboseLabel":  "Due in one year or less, Fair value"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsAmortizedCostAndFairValueOfAvailableForSaleSecuritiesByContractualMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesDebtSecurities":  {
                "auth_ref":  [
                    "r133",
                    "r136",
                    "r157"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsAmortizedCostAndFairValueOfAvailableForSaleSecuritiesByContractualMaturityDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
                        "weight":  1.0
                        },
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetailsAlternate":  {
                        "order":  2.0,
                        "parentTag":  "payx_FundsHeldForClientsAndCorporateInvestmentsFairValue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
                            "label":  "Available-for-sale Securities, Debt Securities",
                            "terseLabel":  "Available-for-sale securities",
                            "totalLabel":  "Available-for-sale securities, Fair value",
                            "verboseLabel":  "Available-for-sale securities, Fair value"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesDebtSecurities",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsAmortizedCostAndFairValueOfAvailableForSaleSecuritiesByContractualMaturityDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesGrossRealizedGainLossNet":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsRealizedGainsAndLossesFromSaleOfAvailableForSaleSecuritiesDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "This item represents the difference between the gross realized gains and losses realized on the sale of debt or equity securities categorized neither as held-to-maturity nor trading securities.  Additionally, this item would include any losses recognized for other than temporary impairments (OTTI) of the subject investments in debt and equity securities.",
                            "label":  "Available-for-sale Securities, Gross Realized Gain (Loss)",
                            "totalLabel":  "Net realized gains/(losses)"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesGrossRealizedGainLossNet",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsRealizedGainsAndLossesFromSaleOfAvailableForSaleSecuritiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesGrossRealizedGains":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsRealizedGainsAndLossesFromSaleOfAvailableForSaleSecuritiesDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_AvailableForSaleSecuritiesGrossRealizedGainLossNet",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "This item represents the gross profit realized on the sale of debt or equity securities categorized neither as held-to-maturity nor trading securities.",
                            "label":  "Available-for-sale Securities, Gross Realized Gains",
                            "terseLabel":  "Realized gains"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesGrossRealizedGains",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsRealizedGainsAndLossesFromSaleOfAvailableForSaleSecuritiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesGrossRealizedLosses":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsRealizedGainsAndLossesFromSaleOfAvailableForSaleSecuritiesDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_AvailableForSaleSecuritiesGrossRealizedGainLossNet",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "This item represents the gross loss realized on the sale of debt or equity securities categorized neither as held-to-maturity nor trading securities.",
                            "label":  "Available-for-sale Securities, Gross Realized Losses",
                            "negatedTerseLabel":  "Realized losses"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesGrossRealizedLosses",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsRealizedGainsAndLossesFromSaleOfAvailableForSaleSecuritiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsLessThanOneYear":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Number of investment positions in available-for-sale investments in a continuous unrealized loss position for less than one year or normal operating cycle, if longer, for which an other-than-temporary impairment (OTTI) has not been recognized in the income statement.",
                            "label":  "Available-for-sale, Securities in Unrealized Loss Positions, Qualitative Disclosure, Number of Positions, Less than One Year",
                            "terseLabel":  "Number of available-for-sale securities in an unrealized loss position for less than twelve months"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsLessThanOneYear",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsNarrativeDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "us-gaap_AvailableForSaleSecuritiesNoncurrent":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsClassificationOfInvestmentsOnConsolidatedBalanceSheetsDetails":  {
                        "order":  3.0,
                        "parentTag":  "payx_FundsHeldForClientsAndCorporateInvestmentsFairValue",
                        "weight":  1.0
                        },
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Investments in debt and equity securities which are categorized neither as held-to-maturity nor trading and which are intended to be sold or mature more than one year from the balance sheet date or operating cycle, if longer.  Such securities are reported at fair value; unrealized gains (losses) related to Available-for-sale Securities are excluded from earnings and reported in a separate component of shareholders' equity (other comprehensive income), unless the Available-for-sale security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis.  All or a portion of the unrealized holding gain (loss) of an Available-for-sale security that is designated as being hedged in a fair value hedge is recognized in earnings during the period of the hedge, as are other than temporary declines in fair value below the cost basis for investments in equity securities and debt securities that an entity intends to sell or it is more likely than not that it will be required to sell before the recovery of its amortized cost basis.  Other than temporary declines in fair value below the cost basis for debt securities categorized as Available-for-sale that an entity does not intend to sell and for which it is not more likely than not that the entity will be required to sell before the recovery of its amortized cost basis are bifurcated into credit losses and losses related to all other factors.  Other than temporary declines in fair value below cost basis related to credit losses are recognized in earnings, and losses related to all other factors are recognized in other comprehensive income.",
                            "label":  "Available-for-sale Securities, Noncurrent",
                            "verboseLabel":  "Long-term corporate investments"
                            }
                        }
                    },
                "localname":  "AvailableForSaleSecuritiesNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsClassificationOfInvestmentsOnConsolidatedBalanceSheetsDetails",
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableforsaleSecuritiesGrossRealizedGainLossExcludingOtherThanTemporaryImpairments":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  8.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "This item represents the difference between the gross realized gains and losses realized on the sale of debt or equity securities categorized neither as held-to-maturity nor trading securities.",
                            "label":  "Available-for-sale Securities, Gross Realized Gain (Loss), Excluding Other than Temporary Impairments",
                            "negatedLabel":  "Net realized (gains)/losses on sales of available-for-sale securities"
                            }
                        }
                    },
                "localname":  "AvailableforsaleSecuritiesGrossRealizedGainLossExcludingOtherThanTemporaryImpairments",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions1":  {
                "auth_ref":  [
                    "r144"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Available-for-sale, Securities in Unrealized Loss Positions, Qualitative Disclosure, Number of Positions",
                            "verboseLabel":  "Number of available-for-sale securities in an unrealized loss position"
                            }
                        }
                    },
                "localname":  "AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions1",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsNarrativeDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "us-gaap_AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsGreaterThanOrEqualToOneYear":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Number of investment positions in available-for-sale investments that have been in a continuous unrealized loss position for greater than or equal to a year for which an other-than-temporary impairment (OTTI) has not been recognized in the income statement.",
                            "label":  "Available-for-sale, Securities in Unrealized Loss Positions, Qualitative Disclosure, Number of Positions, Greater than or Equal to One Year",
                            "terseLabel":  "Number of available-for-sale securities in an unrealized loss position for more than twelve months"
                            }
                        }
                    },
                "localname":  "AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsGreaterThanOrEqualToOneYear",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsNarrativeDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "us-gaap_BankTimeDepositsMember":  {
                "auth_ref":  [
                    "r329"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Certificates of deposit (CD) or savings accounts with a fixed term or understanding the customer can only withdraw by giving advanced notice with a bank or other financial institution.  A CD is a short to medium-term investment available at banks and savings and loan institutions where a customer agrees to lend money to the institution for a certain amount of time and is paid a predetermined rate of interest.",
                            "label":  "Bank Time Deposits [Member]",
                            "terseLabel":  "Time Deposits [Member]"
                            }
                        }
                    },
                "localname":  "BankTimeDepositsMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_BasisOfAccountingPolicyPolicyTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
                            "label":  "Basis of Accounting, Policy [Policy Text Block]",
                            "terseLabel":  "Basis of Presentation"
                            }
                        }
                    },
                "localname":  "BasisOfAccountingPolicyPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesPolicy"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_BuildingAndBuildingImprovementsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Facility held for productive use including, but not limited to, office, production, storage and distribution facilities and any addition, improvement, or renovation to the structure, for example, but not limited to, interior masonry, interior flooring, electrical, and plumbing.",
                            "label":  "Building And Building Improvements [Member]",
                            "terseLabel":  "Buildings and Improvements [Member]"
                            }
                        }
                    },
                "localname":  "BuildingAndBuildingImprovementsMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciationComponentsOfPropertyAndEquipmentAtCostDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_BusinessAcquisitionAcquireeDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Identification of the acquiree in a material business combination (or series of individually immaterial business combinations), which may include the name or other type of identification of the acquiree.",
                            "label":  "Business Acquisition Acquiree [Domain]",
                            "terseLabel":  "Business Acquisition, Acquiree [Domain]"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionAcquireeDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails",
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_BusinessAcquisitionAxis":  {
                "auth_ref":  [
                    "r256",
                    "r257"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by business combination or series of individually immaterial business combinations.",
                            "label":  "Business Acquisition [Axis]"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails",
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_BusinessAcquisitionEffectiveDateOfAcquisition1":  {
                "auth_ref":  [
                    "r251",
                    "r252",
                    "r253"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Date when the acquirer obtains control of the acquiree, in CCYY-MM-DD format.",
                            "label":  "Business Acquisition, Effective Date of Acquisition",
                            "terseLabel":  "Effective acquisition date"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionEffectiveDateOfAcquisition1",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsNarrativeDetails"
                    ],
                "xbrltype":  "dateItemType"
                },
            "us-gaap_BusinessAcquisitionLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Business Acquisition [Line Items]"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails",
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_BusinessAcquisitionProFormaInformationTextBlock":  {
                "auth_ref":  [
                    "r254",
                    "r255"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of pro forma results of operations for a material business acquisition or series of individually immaterial business acquisitions that are material in the aggregate.",
                            "label":  "Business Acquisition, Pro Forma Information [Table Text Block]",
                            "terseLabel":  "Summary of Pro Forma Information"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionProFormaInformationTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss":  {
                "auth_ref":  [
                    "r254",
                    "r255"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The pro forma net Income or Loss for the period as if the business combination or combinations had been completed at the beginning of a period.",
                            "label":  "Business Acquisition, Pro Forma Net Income (Loss)",
                            "terseLabel":  "Net income"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionsProFormaNetIncomeLoss",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsSummaryOfProFormaInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessAcquisitionsProFormaRevenue":  {
                "auth_ref":  [
                    "r254",
                    "r255"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The pro forma revenue for a period as if the business combination or combinations had been completed at the beginning of the period.",
                            "label":  "Business Acquisition, Pro Forma Revenue",
                            "terseLabel":  "Revenues"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionsProFormaRevenue",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsSummaryOfProFormaInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationAcquisitionRelatedCosts":  {
                "auth_ref":  [
                    "r250"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "This element represents acquisition-related costs incurred to effect a business combination which costs have been expensed during the period.  Such costs include finder's fees; advisory, legal, accounting, valuation, and other professional or consulting fees; general administrative costs, including the costs of maintaining an internal acquisitions department; and may include costs of registering and issuing debt and equity securities.",
                            "label":  "Business Combination, Acquisition Related Costs",
                            "terseLabel":  "Excluded incurred costs related to acquisition"
                            }
                        }
                    },
                "localname":  "BusinessCombinationAcquisitionRelatedCosts",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationConsiderationTransferred1":  {
                "auth_ref":  [
                    "r262",
                    "r263",
                    "r264"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer.",
                            "label":  "Business Combination, Consideration Transferred",
                            "terseLabel":  "Purchase price"
                            }
                        }
                    },
                "localname":  "BusinessCombinationConsiderationTransferred1",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationDisclosureTextBlock":  {
                "auth_ref":  [
                    "r265"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The entire disclosure for a business combination (or series of individually immaterial business combinations) completed during the period, including background, timing, and recognized assets and liabilities.  The disclosure may include leverage buyout transactions (as applicable).",
                            "label":  "Business Combination Disclosure [Text Block]",
                            "terseLabel":  "Business Combinations"
                            }
                        }
                    },
                "localname":  "BusinessCombinationDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinations"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets":  {
                "auth_ref":  [
                    "r259"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of assets acquired at the acquisition date.",
                            "label":  "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Assets",
                            "totalLabel":  "Total Assets"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents":  {
                "auth_ref":  [
                    "r259"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of currency on hand as well as demand deposits with banks or financial institutions, acquired at the acquisition date.  Includes other kinds of accounts that have the general characteristics of demand deposits.  Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
                            "label":  "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Cash and Equivalents",
                            "verboseLabel":  "Cash and cash equivalents"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities":  {
                "auth_ref":  [
                    "r259"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails":  {
                        "order":  12.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of investments in debt and equity securities, including, but not limited to, held-to-maturity, trading and available-for-sale expected to be converted to cash, sold or exchanged within one year or the normal operating cycle, if longer, acquired at the acquisition date.",
                            "label":  "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets, Marketable Securities",
                            "terseLabel":  "Corporate investments"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets":  {
                "auth_ref":  [
                    "r259"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer, acquired at the acquisition date.",
                            "label":  "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets, Prepaid Expense and Other Assets",
                            "terseLabel":  "Prepaid expenses and other current assets"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables":  {
                "auth_ref":  [
                    "r259"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount due from customers or clients for goods or services, including trade receivables, that have been delivered or sold in the normal course of business, and amounts due from others, including related parties expected to be converted to cash, sold or exchanged within one year or the normal operating cycle, if longer, acquired at the acquisition date.",
                            "label":  "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets, Receivables",
                            "terseLabel":  "Accounts receivable, net of allowance for doubtful accounts"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable":  {
                "auth_ref":  [
                    "r259"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of liabilities incurred for goods and services received that are used in an entity's business and related party payables, assumed at the acquisition date.",
                            "label":  "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Liabilities, Accounts Payable",
                            "terseLabel":  "Accounts payable"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther":  {
                "auth_ref":  [
                    "r259"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of other liabilities due within one year or within the normal operating cycle, if longer, assumed at the acquisition date.",
                            "label":  "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Liabilities, Other",
                            "terseLabel":  "Other current liabilities"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities":  {
                "auth_ref":  [
                    "r240",
                    "r259"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of deferred tax liability attributable to taxable temporary differences assumed at the acquisition date.",
                            "label":  "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Deferred Tax Liabilities",
                            "terseLabel":  "Deferred income taxes"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill":  {
                "auth_ref":  [
                    "r259"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of intangible assets, excluding goodwill, acquired at the acquisition date.",
                            "label":  "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill",
                            "terseLabel":  "Intangible assets",
                            "verboseLabel":  "Amortizable intangible assets"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails",
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther":  {
                "auth_ref":  [
                    "r259"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of other liabilities due after one year or the normal operating cycle, if longer, assumed at the acquisition date.",
                            "label":  "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Noncurrent Liabilities, Other",
                            "terseLabel":  "Other long-term liabilities"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets":  {
                "auth_ref":  [
                    "r259"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of other assets expected to be realized or consumed after one year or the normal operating cycle, if longer, acquired at the acquisition date.",
                            "label":  "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Other Noncurrent Assets",
                            "terseLabel":  "Other long-term assets"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment":  {
                "auth_ref":  [
                    "r258",
                    "r259"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails":  {
                        "order":  7.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The amount of property, plant, and equipment recognized as of the acquisition date.",
                            "label":  "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Property, Plant, and Equipment",
                            "terseLabel":  "Property and equipment"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet":  {
                "auth_ref":  [
                    "r259"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount recognized for assets, including goodwill, in excess of (less than) the aggregate liabilities assumed.",
                            "label":  "Business Combination, Recognized Identifiable Assets Acquired, Goodwill, and Liabilities Assumed, Net",
                            "totalLabel":  "Net Assets"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Business Combinations [Abstract]"
                            }
                        }
                    },
                "localname":  "BusinessCombinationsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CapitalizedContractCostAmortization":  {
                "auth_ref":  [
                    "r167"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of amortization expense for asset recognized from cost incurred to obtain or fulfill contract with customer.",
                            "label":  "Capitalized Contract Cost, Amortization",
                            "terseLabel":  "Amortization",
                            "verboseLabel":  "Amortization of deferred contract costs"
                            }
                        }
                    },
                "localname":  "CapitalizedContractCostAmortization",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueSummaryOfChangesInDeferredCostsToObtainAndFulfillContractsDetails",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CapitalizedContractCostAmortizationPeriod":  {
                "auth_ref":  [
                    "r165"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amortization period of cost capitalized in obtaining or fulfilling contract with customer, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
                            "label":  "Capitalized Contract Cost, Amortization Period",
                            "terseLabel":  "Capitalized contract cost, amortization period"
                            }
                        }
                    },
                "localname":  "CapitalizedContractCostAmortizationPeriod",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueNarrativeDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_CapitalizedContractCostAxis":  {
                "auth_ref":  [
                    "r166"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by cost capitalized in obtaining or fulfilling contract with customer.",
                            "label":  "Capitalized Contract Cost [Axis]"
                            }
                        }
                    },
                "localname":  "CapitalizedContractCostAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueSummaryOfChangesInDeferredCostsToObtainAndFulfillContractsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CapitalizedContractCostDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Cost capitalized in obtaining and fulfilling contract with customer.",
                            "label":  "Capitalized Contract Cost [Domain]",
                            "terseLabel":  "Capitalized Contract Cost [Domain]"
                            }
                        }
                    },
                "localname":  "CapitalizedContractCostDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueSummaryOfChangesInDeferredCostsToObtainAndFulfillContractsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CapitalizedContractCostImpairmentLoss":  {
                "auth_ref":  [
                    "r167"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of impairment loss for asset recognized from cost incurred to obtain or fulfill contract with customer.",
                            "label":  "Capitalized Contract Cost, Impairment Loss",
                            "terseLabel":  "Impairment loss"
                            }
                        }
                    },
                "localname":  "CapitalizedContractCostImpairmentLoss",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CapitalizedContractCostLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Capitalized Contract Cost [Line Items]"
                            }
                        }
                    },
                "localname":  "CapitalizedContractCostLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueSummaryOfChangesInDeferredCostsToObtainAndFulfillContractsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CapitalizedContractCostNet":  {
                "auth_ref":  [
                    "r166"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount, after accumulated amortization and accumulated impairment loss, of asset recognized from cost incurred to obtain or fulfill contract with customer.",
                            "label":  "Capitalized Contract Cost, Net",
                            "periodEndLabel":  "Ending balance",
                            "periodStartLabel":  "Beginning balance"
                            }
                        }
                    },
                "localname":  "CapitalizedContractCostNet",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueSummaryOfChangesInDeferredCostsToObtainAndFulfillContractsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CapitalizedContractCostNetNoncurrent":  {
                "auth_ref":  [
                    "r166"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  7.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount, after accumulated amortization and accumulated impairment loss, of asset recognized from cost incurred to obtain or fulfill contract with customer; classified as noncurrent.",
                            "label":  "Capitalized Contract Cost, Net, Noncurrent",
                            "terseLabel":  "Long-term deferred costs"
                            }
                        }
                    },
                "localname":  "CapitalizedContractCostNetNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CapitalizedContractCostTable":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Disclosure of information about cost capitalized in obtaining or fulfilling contract with customer.",
                            "label":  "Capitalized Contract Cost [Table]"
                            }
                        }
                    },
                "localname":  "CapitalizedContractCostTable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueSummaryOfChangesInDeferredCostsToObtainAndFulfillContractsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CapitalizedContractCostTableTextBlock":  {
                "auth_ref":  [
                    "r168"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of cost capitalized in obtaining or fulfilling contract with customer.",
                            "label":  "Capitalized Contract Cost [Table Text Block]",
                            "terseLabel":  "Summary of Changes in Deferred Costs to Obtain and Fulfill Contracts"
                            }
                        }
                    },
                "localname":  "CapitalizedContractCostTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_CashAcquiredFromAcquisition":  {
                "auth_ref":  [
                    "r76"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The cash inflow associated with the acquisition of business during the period (for example, cash that was held by the acquired business).",
                            "label":  "Cash Acquired from Acquisition",
                            "terseLabel":  "Cash acquired"
                            }
                        }
                    },
                "localname":  "CashAcquiredFromAcquisition",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashAndCashEquivalentsAtCarryingValue":  {
                "auth_ref":  [
                    "r0",
                    "r31",
                    "r87"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "payx_CurrentAssetsBeforeFundsHeldForClients",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of currency on hand as well as demand deposits with banks or financial institutions.  Includes other kinds of accounts that have the general characteristics of demand deposits.  Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.  Excludes cash and cash equivalents within disposal group and discontinued operation.",
                            "label":  "Cash and Cash Equivalents, at Carrying Value",
                            "verboseLabel":  "Cash and cash equivalents"
                            }
                        }
                    },
                "localname":  "CashAndCashEquivalentsAtCarryingValue",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashAndCashEquivalentsFairValueDisclosure":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Fair value portion of currency on hand as well as demand deposits with banks or financial institutions.  Includes other kinds of accounts that have the general characteristics of demand deposits.  Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
                            "label":  "Cash and Cash Equivalents, Fair Value Disclosure",
                            "verboseLabel":  "Restricted and unrestricted cash equivalents"
                            }
                        }
                    },
                "localname":  "CashAndCashEquivalentsFairValueDisclosure",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy":  {
                "auth_ref":  [
                    "r11",
                    "r88",
                    "r90",
                    "r318"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Entity's cash and cash equivalents accounting policy with respect to restricted balances.  Restrictions may include legally restricted deposits held as compensating balances against short-term borrowing arrangements, contracts entered into with others, or company statements of intention with regard to particular deposits; however, time deposits and short-term certificates of deposit are not generally included in legally restricted deposits.",
                            "label":  "Cash and Cash Equivalents, Restricted Cash and Cash Equivalents, Policy [Policy Text Block]",
                            "terseLabel":  "Restricted Cash and Restricted Cash Equivalents"
                            }
                        }
                    },
                "localname":  "CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesPolicy"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents":  {
                "auth_ref":  [
                    "r82",
                    "r87",
                    "r89"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage.  Excludes amount for disposal group and discontinued operations.  Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.  Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
                            "label":  "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents",
                            "periodEndLabel":  "Cash, cash equivalents, restricted cash and restricted cash equivalents, end of period",
                            "periodStartLabel":  "Cash, cash equivalents, restricted cash and restricted cash equivalents, beginning of period"
                            }
                        }
                    },
                "localname":  "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents [Abstract]",
                            "terseLabel":  "Reconciliation of cash, cash equivalents, restricted cash and restricted cash equivalents to the Consolidated Balance Sheets:"
                            }
                        }
                    },
                "localname":  "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect":  {
                "auth_ref":  [
                    "r82",
                    "r285"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) in cash, cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including effect from exchange rate change.  Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.  Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
                            "label":  "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect",
                            "totalLabel":  "Net change in cash, cash equivalents, restricted cash and restricted cash equivalents"
                            }
                        }
                    },
                "localname":  "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ClassOfTreasuryStockTable":  {
                "auth_ref":  [
                    "r212",
                    "r213",
                    "r214",
                    "r215"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Disclosure of information about treasury stock, including, but not limited to, average cost per share, description of share repurchase program, shares repurchased, shares held for each class of treasury stock.",
                            "label":  "Class of Treasury Stock [Table]"
                            }
                        }
                    },
                "localname":  "ClassOfTreasuryStockTable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CommercialPaperMember":  {
                "auth_ref":  [
                    "r200"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Unsecured promissory note (generally negotiable) that provides institutions with short-term funds.",
                            "label":  "Commercial Paper [Member]",
                            "terseLabel":  "Commercial Paper [Member]"
                            }
                        }
                    },
                "localname":  "CommercialPaperMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CommitmentsAndContingencies":  {
                "auth_ref":  [
                    "r44",
                    "r195",
                    "r325",
                    "r345"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_LiabilitiesAndStockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur.",
                            "label":  "Commitments and Contingencies",
                            "verboseLabel":  "Commitments and contingencies - Note N"
                            }
                        }
                    },
                "localname":  "CommitmentsAndContingencies",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CommitmentsAndContingenciesDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Commitments and Contingencies [Abstract]"
                            }
                        }
                    },
                "localname":  "CommitmentsAndContingenciesDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock":  {
                "auth_ref":  [
                    "r194",
                    "r197"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The entire disclosure for commitments and contingencies.",
                            "label":  "Commitments and Contingencies Disclosure [Text Block]",
                            "verboseLabel":  "Commitments and Contingencies"
                            }
                        }
                    },
                "localname":  "CommitmentsAndContingenciesDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureCommitmentsAndContingencies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_CommonStockDividendsPerShareDeclared":  {
                "auth_ref":  [
                    "r211"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Aggregate dividends declared during the period for each share of common stock outstanding.",
                            "label":  "Common Stock, Dividends, Per Share, Declared",
                            "verboseLabel":  "Cash dividends per share"
                            }
                        }
                    },
                "localname":  "CommonStockDividendsPerShareDeclared",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfStockholdersEquityParenthetical"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_CommonStockMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Stock that is subordinate to all other stock of the issuer.",
                            "label":  "Common Stock [Member]",
                            "terseLabel":  "Common Stock [Member]"
                            }
                        }
                    },
                "localname":  "CommonStockMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareNarrativeDetails",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfStockholdersEquity"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CommonStockParOrStatedValuePerShare":  {
                "auth_ref":  [
                    "r21"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Face amount or stated value per share of common stock.",
                            "label":  "Common Stock, Par or Stated Value Per Share",
                            "verboseLabel":  "Common stock, par value"
                            }
                        }
                    },
                "localname":  "CommonStockParOrStatedValuePerShare",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_CommonStockSharesAuthorized":  {
                "auth_ref":  [
                    "r21"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
                            "label":  "Common Stock, Shares Authorized",
                            "verboseLabel":  "Common stock, shares authorized"
                            }
                        }
                    },
                "localname":  "CommonStockSharesAuthorized",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_CommonStockSharesIssued":  {
                "auth_ref":  [
                    "r21"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury).  These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized.  Shares issued include shares outstanding and shares held in the treasury.",
                            "label":  "Common Stock, Shares, Issued",
                            "verboseLabel":  "Common stock, shares issued"
                            }
                        }
                    },
                "localname":  "CommonStockSharesIssued",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_CommonStockSharesOutstanding":  {
                "auth_ref":  [
                    "r21",
                    "r206"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Number of shares of common stock outstanding.  Common stock represent the ownership interest in a corporation.",
                            "label":  "Common Stock, Shares, Outstanding",
                            "periodEndLabel":  "Ending balance, Shares",
                            "periodStartLabel":  "Beginning balance, Shares",
                            "verboseLabel":  "Common stock, shares outstanding"
                            }
                        }
                    },
                "localname":  "CommonStockSharesOutstanding",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheetsParenthetical",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfStockholdersEquity"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_CommonStockValue":  {
                "auth_ref":  [
                    "r21"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_StockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer).  This item includes treasury stock repurchased by the entity.  Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
                            "label":  "Common Stock, Value, Issued",
                            "verboseLabel":  "Common stock, $0.01 par value; Authorized: 600.0 shares; Issued and outstanding: 358.7 shares as of February 29, 2020 and 359.3 shares as of May 31, 2019"
                            }
                        }
                    },
                "localname":  "CommonStockValue",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ComprehensiveIncomeNetOfTax":  {
                "auth_ref":  [
                    "r61",
                    "r62",
                    "r63"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income, attributable to parent entity.  Excludes changes in equity resulting from investments by owners and distributions to owners.",
                            "label":  "Comprehensive Income (Loss), Net of Tax, Attributable to Parent",
                            "totalLabel":  "Comprehensive income"
                            }
                        }
                    },
                "localname":  "ComprehensiveIncomeNetOfTax",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ComprehensiveIncomeNoteTextBlock":  {
                "auth_ref":  [
                    "r73"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The entire disclosure for comprehensive income, which includes, but is not limited to, 1) the amount of income tax expense or benefit allocated to each component of other comprehensive income, including reclassification adjustments, 2) the reclassification adjustments for each classification of other comprehensive income and 3) the ending accumulated balances for each component of comprehensive income.",
                            "label":  "Comprehensive Income (Loss) Note [Text Block]",
                            "verboseLabel":  "Accumulated Other Comprehensive Income/(Loss)"
                            }
                        }
                    },
                "localname":  "ComprehensiveIncomeNoteTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLoss"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ConcentrationRiskBenchmarkDomain":  {
                "auth_ref":  [
                    "r112",
                    "r113",
                    "r283",
                    "r284"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The denominator in a calculation of a disclosed concentration risk percentage.",
                            "label":  "Concentration Risk Benchmark [Domain]",
                            "terseLabel":  "Concentration Risk Benchmark [Domain]"
                            }
                        }
                    },
                "localname":  "ConcentrationRiskBenchmarkDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ConcentrationRiskByBenchmarkAxis":  {
                "auth_ref":  [
                    "r112",
                    "r113",
                    "r283",
                    "r284",
                    "r354"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by benchmark of concentration risk.",
                            "label":  "Concentration Risk Benchmark [Axis]"
                            }
                        }
                    },
                "localname":  "ConcentrationRiskByBenchmarkAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ConcentrationRiskByTypeAxis":  {
                "auth_ref":  [
                    "r112",
                    "r113",
                    "r283",
                    "r284",
                    "r354"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by type of concentration risk, for example, but not limited to, asset, liability, net assets, geographic, customer, employees, supplier, lender.",
                            "label":  "Concentration Risk Type [Axis]"
                            }
                        }
                    },
                "localname":  "ConcentrationRiskByTypeAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ConcentrationRiskPercentage1":  {
                "auth_ref":  [
                    "r112",
                    "r113",
                    "r283",
                    "r284"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the \"benchmark\" (or denominator) in the equation, this concept represents the concentration percentage derived from the division.",
                            "label":  "Concentration Risk, Percentage",
                            "terseLabel":  "Total percentage"
                            }
                        }
                    },
                "localname":  "ConcentrationRiskPercentage1",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_ConcentrationRiskTypeDomain":  {
                "auth_ref":  [
                    "r112",
                    "r113",
                    "r283",
                    "r284"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "For an entity that discloses a concentration risk as a percentage of some financial balance or benchmark, identifies the type (for example, asset, liability, net assets, geographic, customer, employees, supplier, lender) of the concentration.",
                            "label":  "Concentration Risk Type [Domain]",
                            "terseLabel":  "Concentration Risk Type [Domain]"
                            }
                        }
                    },
                "localname":  "ConcentrationRiskTypeDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ContractWithCustomerAssetAndLiabilityTableTextBlock":  {
                "auth_ref":  [
                    "r218"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of contract balances and changes in contract balances.",
                            "label":  "Contract with Customer, Asset and Liability [Table Text Block]",
                            "terseLabel":  "Summary of Changes in Deferred Revenue Related to Material Right Performance Obligations"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerAssetAndLiabilityTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ContractWithCustomerLiability":  {
                "auth_ref":  [
                    "r216",
                    "r217",
                    "r224"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable.",
                            "label":  "Contract with Customer, Liability",
                            "periodEndLabel":  "Balance, end of period",
                            "periodStartLabel":  "Balance, beginning of period"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerLiability",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueSummaryOfChangesInDeferredRevenueRelatedToMaterialRightPerformanceObligationsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ContractWithCustomerLiabilityCurrent":  {
                "auth_ref":  [
                    "r216",
                    "r217",
                    "r224"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  5.0,
                        "parentTag":  "payx_CurrentLiabilitiesBeforeClientFundObligations",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable, classified as current.",
                            "label":  "Contract with Customer, Liability, Current",
                            "terseLabel":  "Deferred revenue"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerLiabilityCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ContractWithCustomerLiabilityRevenueRecognized":  {
                "auth_ref":  [
                    "r225"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of revenue recognized that was previously included in balance of obligation to transfer good or service to customer for which consideration from customer has been received or is due.",
                            "label":  "Contract with Customer, Liability, Revenue Recognized",
                            "negatedLabel":  "Recognition of unearned revenue"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerLiabilityRevenueRecognized",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueSummaryOfChangesInDeferredRevenueRelatedToMaterialRightPerformanceObligationsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ContractualObligation":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of contractual obligation, including but not limited to, long-term debt, capital lease obligations, operating lease obligations, purchase obligations, and other commitments.",
                            "label":  "Contractual Obligation",
                            "verboseLabel":  "Commitments to purchase capital assets"
                            }
                        }
                    },
                "localname":  "ContractualObligation",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureCommitmentsAndContingenciesNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CorporateDebtSecuritiesMember":  {
                "auth_ref":  [
                    "r229",
                    "r231",
                    "r353"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Debt securities issued by domestic or foreign corporate business, banks and other entities with a promise of repayment.",
                            "label":  "Corporate Debt Securities [Member]",
                            "terseLabel":  "Corporate Bonds [Member]"
                            }
                        }
                    },
                "localname":  "CorporateDebtSecuritiesMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsSecuritiesInUnrealizedLossPositionDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CreditFacilityAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by type of credit facility.  Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
                            "label":  "Credit Facility [Axis]"
                            }
                        }
                    },
                "localname":  "CreditFacilityAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingCreditFacilityAmountBorrowedDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingTables"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CreditFacilityDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Type of credit facility.  Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
                            "label":  "Credit Facility [Domain]",
                            "terseLabel":  "Credit Facility [Domain]"
                            }
                        }
                    },
                "localname":  "CreditFacilityDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingCreditFacilityAmountBorrowedDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingTables"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CustomerListsMember":  {
                "auth_ref":  [
                    "r261"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information about customers such as their name and contact information; it may also be an extensive database that includes other information about the customers such as their order history and demographic information.",
                            "label":  "Customer Lists [Member]",
                            "terseLabel":  "Client Lists [Member]"
                            }
                        }
                    },
                "localname":  "CustomerListsMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationComponentsOfIntangibleAssetsAtCostDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_DebtDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Financing [Abstract]"
                            }
                        }
                    },
                "localname":  "DebtDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtInstrumentAxis":  {
                "auth_ref":  [
                    "r16",
                    "r17",
                    "r18",
                    "r320",
                    "r322",
                    "r335"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by type of debt instrument, including, but not limited to, draws against credit facilities.",
                            "label":  "Debt Instrument [Axis]"
                            }
                        }
                    },
                "localname":  "DebtInstrumentAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialLiabilitiesMeasuredAtFairValueOnNonRecurringBasisDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingInformationRelatedToSeniorNotesDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingScheduleOfLongTermDebtDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingCreditFacilityAmountBorrowedDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingDescriptionOfCreditFacilitiesDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingTables"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtInstrumentCarryingAmount":  {
                "auth_ref":  [
                    "r18",
                    "r202",
                    "r322",
                    "r335"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureLongTermFinancingScheduleOfLongTermDebtDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LongTermDebt",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt.  Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt.",
                            "label":  "Long-term Debt, Gross",
                            "terseLabel":  "Aggregate principal amount",
                            "verboseLabel":  "Total long-term borrowings, Amortized cost"
                            }
                        }
                    },
                "localname":  "DebtInstrumentCarryingAmount",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialLiabilitiesMeasuredAtFairValueOnNonRecurringBasisDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingScheduleOfLongTermDebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtInstrumentFrequencyOfPeriodicPayment":  {
                "auth_ref":  [
                    "r42",
                    "r333"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Description of the frequency of periodic payments (monthly, quarterly, annual).",
                            "label":  "Debt Instrument, Frequency of Periodic Payment",
                            "terseLabel":  "Interest payment dates"
                            }
                        }
                    },
                "localname":  "DebtInstrumentFrequencyOfPeriodicPayment",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLongTermFinancingInformationRelatedToSeniorNotesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtInstrumentInterestRateEffectivePercentage":  {
                "auth_ref":  [
                    "r41",
                    "r204",
                    "r289"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium.",
                            "label":  "Debt Instrument, Interest Rate, Effective Percentage",
                            "terseLabel":  "Effective interest rate"
                            }
                        }
                    },
                "localname":  "DebtInstrumentInterestRateEffectivePercentage",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLongTermFinancingInformationRelatedToSeniorNotesDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_DebtInstrumentInterestRateStatedPercentage":  {
                "auth_ref":  [
                    "r41"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Contractual interest rate for funds borrowed, under the debt agreement.",
                            "label":  "Debt Instrument, Interest Rate, Stated Percentage",
                            "verboseLabel":  "Stated interest rate"
                            }
                        }
                    },
                "localname":  "DebtInstrumentInterestRateStatedPercentage",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLongTermFinancingInformationRelatedToSeniorNotesDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_DebtInstrumentInterestRateTerms":  {
                "auth_ref":  [
                    "r41"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Description of the interest rate as being fixed or variable, and, if variable, identification of the index or rate on which the interest rate is based and the number of points or percentage added to that index or rate to set the rate, and other pertinent information, such as frequency of rate resets.",
                            "label":  "Debt Instrument, Interest Rate Terms",
                            "terseLabel":  "Interest rate type"
                            }
                        }
                    },
                "localname":  "DebtInstrumentInterestRateTerms",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLongTermFinancingInformationRelatedToSeniorNotesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtInstrumentLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Debt Instrument [Line Items]"
                            }
                        }
                    },
                "localname":  "DebtInstrumentLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialLiabilitiesMeasuredAtFairValueOnNonRecurringBasisDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingInformationRelatedToSeniorNotesDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingScheduleOfLongTermDebtDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtInstrumentNameDomain":  {
                "auth_ref":  [
                    "r42"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities.",
                            "label":  "Debt Instrument Name [Domain]",
                            "terseLabel":  "Debt Instrument, Name [Domain]"
                            }
                        }
                    },
                "localname":  "DebtInstrumentNameDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialLiabilitiesMeasuredAtFairValueOnNonRecurringBasisDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingInformationRelatedToSeniorNotesDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingScheduleOfLongTermDebtDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingCreditFacilityAmountBorrowedDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingDescriptionOfCreditFacilitiesDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingTables"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_DebtInstrumentTable":  {
                "auth_ref":  [
                    "r42",
                    "r92",
                    "r207",
                    "r208",
                    "r209",
                    "r210",
                    "r288",
                    "r289",
                    "r291",
                    "r334"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "A table or schedule providing information pertaining to long-term debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation.  These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
                            "label":  "Schedule of Long-term Debt Instruments [Table]"
                            }
                        }
                    },
                "localname":  "DebtInstrumentTable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLongTermFinancingInformationRelatedToSeniorNotesDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingScheduleOfLongTermDebtDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtInstrumentTerm":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
                            "label":  "Debt Instrument, Term",
                            "verboseLabel":  "Term"
                            }
                        }
                    },
                "localname":  "DebtInstrumentTerm",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_DeferredFinanceCostsNet":  {
                "auth_ref":  [
                    "r34",
                    "r290"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureLongTermFinancingScheduleOfLongTermDebtDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LongTermDebt",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount, after accumulated amortization, of debt issuance costs.  Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs.",
                            "label":  "Debt Issuance Costs, Net",
                            "negatedTerseLabel":  "Less:  Debt issuance costs, net of accumulated amortization, Amortized cost"
                            }
                        }
                    },
                "localname":  "DeferredFinanceCostsNet",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialLiabilitiesMeasuredAtFairValueOnNonRecurringBasisDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingScheduleOfLongTermDebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredIncomeTaxExpenseBenefit":  {
                "auth_ref":  [
                    "r85",
                    "r91",
                    "r245",
                    "r246"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of deferred income tax expense (benefit) pertaining to income (loss) from continuing operations.",
                            "label":  "Deferred Income Tax Expense (Benefit)",
                            "terseLabel":  "(Benefit)/provision for deferred income taxes"
                            }
                        }
                    },
                "localname":  "DeferredIncomeTaxExpenseBenefit",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredIncomeTaxLiabilitiesNet":  {
                "auth_ref":  [
                    "r241",
                    "r244"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences with jurisdictional netting.",
                            "label":  "Deferred Income Tax Liabilities, Net",
                            "verboseLabel":  "Deferred income taxes"
                            }
                        }
                    },
                "localname":  "DeferredIncomeTaxLiabilitiesNet",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_Depreciation":  {
                "auth_ref":  [
                    "r85",
                    "r189"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The amount of expense recognized in the current period that reflects the allocation of the cost of tangible assets over the assets' useful lives.  Includes production and non-production related depreciation.",
                            "label":  "Depreciation",
                            "verboseLabel":  "Depreciation expense"
                            }
                        }
                    },
                "localname":  "Depreciation",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciationNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DepreciationDepletionAndAmortization":  {
                "auth_ref":  [
                    "r85",
                    "r118"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The aggregate expense recognized in the current period that allocates the cost of tangible assets, intangible assets, or depleting assets to periods that benefit from use of the assets.",
                            "label":  "Depreciation, Depletion and Amortization",
                            "verboseLabel":  "Depreciation and amortization on property and equipment and intangible assets"
                            }
                        }
                    },
                "localname":  "DepreciationDepletionAndAmortization",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DisaggregationOfRevenueLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Disaggregation of Revenue [Line Items]"
                            }
                        }
                    },
                "localname":  "DisaggregationOfRevenueLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueSummaryOfDisaggregatesRevenueByServicesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DisaggregationOfRevenueTable":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Disclosure of information about disaggregation of revenue into categories depicting how nature, amount, timing, and uncertainty of revenue and cash flows are affected by economic factor.",
                            "label":  "Disaggregation of Revenue [Table]"
                            }
                        }
                    },
                "localname":  "DisaggregationOfRevenueTable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueSummaryOfDisaggregatesRevenueByServicesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DisaggregationOfRevenueTableTextBlock":  {
                "auth_ref":  [
                    "r223"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of disaggregation of revenue into categories depicting how nature, amount, timing, and uncertainty of revenue and cash flows are affected by economic factor.",
                            "label":  "Disaggregation of Revenue [Table Text Block]",
                            "terseLabel":  "Summary of Disaggregates Revenue by Services"
                            }
                        }
                    },
                "localname":  "DisaggregationOfRevenueTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_DividendsCommonStockCash":  {
                "auth_ref":  [
                    "r211"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of paid and unpaid common stock dividends declared with the form of settlement in cash.",
                            "label":  "Dividends, Common Stock, Cash",
                            "negatedTerseLabel":  "Cash dividends declared"
                            }
                        }
                    },
                "localname":  "DividendsCommonStockCash",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfStockholdersEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EarningsPerShareAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Basic and Diluted Earnings Per Share [Abstract]"
                            }
                        }
                    },
                "localname":  "EarningsPerShareAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EarningsPerShareBasic":  {
                "auth_ref":  [
                    "r67",
                    "r96",
                    "r101",
                    "r103",
                    "r104",
                    "r105",
                    "r108",
                    "r327",
                    "r347"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.",
                            "label":  "Earnings Per Share, Basic",
                            "verboseLabel":  "Basic earnings per share"
                            }
                        }
                    },
                "localname":  "EarningsPerShareBasic",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareBasicAndDilutedEarningsPerShareDetails",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_EarningsPerShareBasicAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Earnings Per Share, Basic [Abstract]",
                            "verboseLabel":  "Basic earnings per share:"
                            }
                        }
                    },
                "localname":  "EarningsPerShareBasicAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareBasicAndDilutedEarningsPerShareDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EarningsPerShareDiluted":  {
                "auth_ref":  [
                    "r67",
                    "r96",
                    "r101",
                    "r103",
                    "r104",
                    "r105",
                    "r108",
                    "r327",
                    "r347"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
                            "label":  "Earnings Per Share, Diluted",
                            "verboseLabel":  "Diluted earnings per share"
                            }
                        }
                    },
                "localname":  "EarningsPerShareDiluted",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareBasicAndDilutedEarningsPerShareDetails",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_EarningsPerShareDilutedAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Earnings Per Share, Diluted [Abstract]",
                            "terseLabel":  "Diluted earnings per share:"
                            }
                        }
                    },
                "localname":  "EarningsPerShareDilutedAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareBasicAndDilutedEarningsPerShareDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EarningsPerShareTextBlock":  {
                "auth_ref":  [
                    "r109"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The entire disclosure for earnings per share.",
                            "label":  "Earnings Per Share [Text Block]",
                            "verboseLabel":  "Basic and Diluted Earnings Per Share"
                            }
                        }
                    },
                "localname":  "EarningsPerShareTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShare"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_EffectiveIncomeTaxRateContinuingOperations":  {
                "auth_ref":  [
                    "r93",
                    "r242",
                    "r243"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
                            "label":  "Effective Income Tax Rate Reconciliation, Percent",
                            "verboseLabel":  "Effective income tax rate"
                            }
                        }
                    },
                "localname":  "EffectiveIncomeTaxRateContinuingOperations",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureIncomeTaxesNarrativeDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_EmployeeRelatedLiabilitiesCurrent":  {
                "auth_ref":  [
                    "r39"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  3.0,
                        "parentTag":  "payx_CurrentLiabilitiesBeforeClientFundObligations",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Total of the carrying values as of the balance sheet date of obligations incurred through that date and payable for obligations related to services received from employees, such as accrued salaries and bonuses, payroll taxes and fringe benefits.  Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
                            "label":  "Employee-related Liabilities, Current",
                            "terseLabel":  "Accrued corporate compensation and related items"
                            }
                        }
                    },
                "localname":  "EmployeeRelatedLiabilitiesCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EquityClassOfTreasuryStockLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Equity, Class of Treasury Stock [Line Items]"
                            }
                        }
                    },
                "localname":  "EquityClassOfTreasuryStockLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EquityComponentDomain":  {
                "auth_ref":  [
                    "r206"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc.",
                            "label":  "Equity Component [Domain]",
                            "terseLabel":  "Equity Component [Domain]"
                            }
                        }
                    },
                "localname":  "EquityComponentDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareNarrativeDetails",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfStockholdersEquity"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]",
                            "terseLabel":  "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]"
                            }
                        }
                    },
                "localname":  "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable":  {
                "auth_ref":  [
                    "r272",
                    "r273",
                    "r274",
                    "r281"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Disclosure of information about asset and liability measured at fair value on recurring and nonrecurring basis.",
                            "label":  "Fair Value Measurements, Recurring and Nonrecurring [Table]",
                            "terseLabel":  "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Table]"
                            }
                        }
                    },
                "localname":  "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable":  {
                "auth_ref":  [
                    "r275"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Disclosure of information about input and valuation technique used to measure fair value and change in valuation approach and technique for each separate class of asset and liability measured on recurring and nonrecurring basis.",
                            "label":  "Fair Value Measurement Inputs and Valuation Techniques [Table]"
                            }
                        }
                    },
                "localname":  "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialLiabilitiesMeasuredAtFairValueOnNonRecurringBasisDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain":  {
                "auth_ref":  [
                    "r278"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Class of asset.",
                            "label":  "Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]",
                            "terseLabel":  "Asset Class [Domain]"
                            }
                        }
                    },
                "localname":  "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueByAssetClassAxis":  {
                "auth_ref":  [
                    "r272",
                    "r281"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by class of asset.",
                            "label":  "Asset Class [Axis]"
                            }
                        }
                    },
                "localname":  "FairValueByAssetClassAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueByFairValueHierarchyLevelAxis":  {
                "auth_ref":  [
                    "r229",
                    "r230",
                    "r231",
                    "r273",
                    "r312"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
                            "label":  "Fair Value, Hierarchy [Axis]"
                            }
                        }
                    },
                "localname":  "FairValueByFairValueHierarchyLevelAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueByMeasurementFrequencyAxis":  {
                "auth_ref":  [
                    "r272",
                    "r273",
                    "r276",
                    "r277",
                    "r282"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by measurement frequency.",
                            "label":  "Measurement Frequency [Axis]"
                            }
                        }
                    },
                "localname":  "FairValueByMeasurementFrequencyAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialLiabilitiesMeasuredAtFairValueOnNonRecurringBasisDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueDisclosuresAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Fair Value Measurements [Abstract]"
                            }
                        }
                    },
                "localname":  "FairValueDisclosuresAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueDisclosuresTextBlock":  {
                "auth_ref":  [
                    "r280"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities.  Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
                            "label":  "Fair Value Disclosures [Text Block]",
                            "verboseLabel":  "Fair Value Measurements"
                            }
                        }
                    },
                "localname":  "FairValueDisclosuresTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurements"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_FairValueInputsLevel1Member":  {
                "auth_ref":  [
                    "r229",
                    "r230",
                    "r231",
                    "r273",
                    "r313"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date.",
                            "label":  "Fair Value Inputs Level1 [Member]",
                            "terseLabel":  "Quoted Prices in Active Markets (Level 1) [Member]"
                            }
                        }
                    },
                "localname":  "FairValueInputsLevel1Member",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueInputsLevel2Member":  {
                "auth_ref":  [
                    "r229",
                    "r230",
                    "r231",
                    "r273",
                    "r314"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets.",
                            "label":  "Fair Value Inputs Level2 [Member]",
                            "terseLabel":  "Significant Other Observable Inputs (Level 2) [Member]"
                            }
                        }
                    },
                "localname":  "FairValueInputsLevel2Member",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueMeasurementFrequencyDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Measurement frequency.",
                            "label":  "Fair Value Measurement Frequency [Domain]",
                            "terseLabel":  "Fair Value, Measurement Frequency [Domain]"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementFrequencyDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialLiabilitiesMeasuredAtFairValueOnNonRecurringBasisDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueMeasurementsFairValueHierarchyDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
                            "label":  "Fair Value Measurements Fair Value Hierarchy [Domain]",
                            "terseLabel":  "Fair Value, Measurements, Fair Value Hierarchy [Domain]"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementsFairValueHierarchyDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueMeasurementsNonrecurringMember":  {
                "auth_ref":  [
                    "r272",
                    "r273",
                    "r276",
                    "r277",
                    "r279",
                    "r282"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Infrequent fair value measurement.  Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, not frequently measured at fair value.",
                            "label":  "Fair Value Measurements Nonrecurring [Member]",
                            "terseLabel":  "Non-Recurring Basis [Member]"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementsNonrecurringMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialLiabilitiesMeasuredAtFairValueOnNonRecurringBasisDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueMeasurementsRecurringMember":  {
                "auth_ref":  [
                    "r280",
                    "r282"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Frequent fair value measurement.  Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, frequently measured at fair value.",
                            "label":  "Fair Value Measurements Recurring [Member]",
                            "terseLabel":  "Recurring [Member]"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementsRecurringMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FinanceReceivablesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amounts due the Company from customers, clients, lessees, borrowers, or others under the terms of its agreements therewith.  Such amount may include accrued interest receivable in accordance with the terms of the agreements.  The agreements also may contain provisions and related items including a discount or premium, payable on demand, secured, or unsecured, interest bearing or noninterest bearing, among myriad other features and characteristics.",
                            "label":  "Finance Receivables [Member]",
                            "terseLabel":  "Purchased Receivables [Member]"
                            }
                        }
                    },
                "localname":  "FinanceReceivablesMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FinancialInstrumentAxis":  {
                "auth_ref":  [
                    "r151",
                    "r153",
                    "r154",
                    "r155",
                    "r156",
                    "r158",
                    "r159",
                    "r160",
                    "r161"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by type of financial instrument.",
                            "label":  "Financial Instrument [Axis]"
                            }
                        }
                    },
                "localname":  "FinancialInstrumentAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsSecuritiesInUnrealizedLossPositionDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetUsefulLife":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
                            "label":  "Finite-Lived Intangible Asset, Useful Life",
                            "terseLabel":  "Amortization period"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetUsefulLife",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization":  {
                "auth_ref":  [
                    "r183"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationComponentsOfIntangibleAssetsAtCostDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_IntangibleAssetsNetExcludingGoodwill",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Accumulated amount of amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
                            "label":  "Finite-Lived Intangible Assets, Accumulated Amortization",
                            "verboseLabel":  "Less:  Accumulated amortization"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsAccumulatedAmortization",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationComponentsOfIntangibleAssetsAtCostDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths":  {
                "auth_ref":  [
                    "r185"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of amortization expense for assets, excluding financial assets and goodwill, lacking physical substance with a finite life expected to be recognized during the next fiscal year following the latest fiscal year.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Finite-Lived Intangible Assets, Amortization Expense, Next Twelve Months",
                            "terseLabel":  "2020"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationEstimatedAmortizationExpenseDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive":  {
                "auth_ref":  [
                    "r185"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of amortization expense for assets, excluding financial assets and goodwill, lacking physical substance with a finite life expected to be recognized during the fifth fiscal year following the latest fiscal year.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Finite-Lived Intangible Assets, Amortization Expense, Year Five",
                            "terseLabel":  "2024"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsAmortizationExpenseYearFive",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationEstimatedAmortizationExpenseDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour":  {
                "auth_ref":  [
                    "r185"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of amortization expense for assets, excluding financial assets and goodwill, lacking physical substance with a finite life expected to be recognized during the fourth fiscal year following the latest fiscal year.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Finite-Lived Intangible Assets, Amortization Expense, Year Four",
                            "terseLabel":  "2023"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsAmortizationExpenseYearFour",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationEstimatedAmortizationExpenseDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree":  {
                "auth_ref":  [
                    "r185"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of amortization expense for assets, excluding financial assets and goodwill, lacking physical substance with a finite life expected to be recognized during the third fiscal year following the latest fiscal year.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Finite-Lived Intangible Assets, Amortization Expense, Year Three",
                            "terseLabel":  "2022"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsAmortizationExpenseYearThree",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationEstimatedAmortizationExpenseDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo":  {
                "auth_ref":  [
                    "r185"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of amortization expense for assets, excluding financial assets and goodwill, lacking physical substance with a finite life expected to be recognized during the second fiscal year following the latest fiscal year.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Finite-Lived Intangible Assets, Amortization Expense, Year Two",
                            "terseLabel":  "2021"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationEstimatedAmortizationExpenseDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis":  {
                "auth_ref":  [
                    "r178",
                    "r180",
                    "r183",
                    "r187",
                    "r316"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by major type or class of finite-lived intangible assets.",
                            "label":  "Finite-Lived Intangible Assets by Major Class [Axis]"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsByMajorClassAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationComponentsOfIntangibleAssetsAtCostDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Finite-Lived Intangible Assets, Net, Amortization Expense, Fiscal Year Maturity [Abstract]",
                            "terseLabel":  "Year ending May 31"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationEstimatedAmortizationExpenseDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain":  {
                "auth_ref":  [
                    "r178",
                    "r182"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The major class of finite-lived intangible asset (for example, patents, trademarks, copyrights, etc.) A major class is composed of intangible assets that can be grouped together because they are similar, either by their nature or by their use in the operations of a company.",
                            "label":  "Finite Lived Intangible Assets Major Class Name [Domain]",
                            "terseLabel":  "Finite-Lived Intangible Assets, Major Class Name [Domain]"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsMajorClassNameDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationComponentsOfIntangibleAssetsAtCostDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FundsHeldForClients":  {
                "auth_ref":  [
                    "r48"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsClassificationOfInvestmentsOnConsolidatedBalanceSheetsDetails":  {
                        "order":  1.0,
                        "parentTag":  "payx_FundsHeldForClientsAndCorporateInvestmentsFairValue",
                        "weight":  1.0
                        },
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_AssetsCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Carrying amount as of the balance sheet date of the funds held on behalf of others and that are expected to be liquidated within one year or the normal operating cycle, if longer.  This does not include funds held under reinsurance agreements.",
                            "label":  "Funds Held for Clients",
                            "verboseLabel":  "Funds held for clients"
                            }
                        }
                    },
                "localname":  "FundsHeldForClients",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsClassificationOfInvestmentsOnConsolidatedBalanceSheetsDetails",
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FurnitureAndFixturesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Equipment commonly used in offices and stores that have no permanent connection to the structure of a building or utilities.  Examples include, but are not limited to, desks, chairs, tables, and bookcases.",
                            "label":  "Furniture And Fixtures [Member]",
                            "terseLabel":  "Furniture, Fixtures, and Equipment [Member]"
                            }
                        }
                    },
                "localname":  "FurnitureAndFixturesMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciationComponentsOfPropertyAndEquipmentAtCostDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_GeographicConcentrationRiskMember":  {
                "auth_ref":  [
                    "r111"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Reflects the percentage that a specified dollar value on the balance sheet or income statement in the period from one or more specified geographic areas is to a corresponding consolidated, segment, or product line amount.  Risk is the materially adverse effects of economic decline or antagonistic political actions resulting in loss of assets, sales volume, labor supply, or source of materials and supplies in a US state or a specified country, continent, or region such as EMEA (Europe, Middle East, Africa).",
                            "label":  "Geographic Concentration Risk [Member]",
                            "terseLabel":  "Geographic Concentration Risk [Member]"
                            }
                        }
                    },
                "localname":  "GeographicConcentrationRiskMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_Goodwill":  {
                "auth_ref":  [
                    "r169",
                    "r170"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails":  {
                        "order":  9.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
                        "weight":  1.0
                        },
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
                            "label":  "Goodwill",
                            "periodEndLabel":  "Goodwill Balance, end of period",
                            "periodStartLabel":  "Goodwill Balance, beginning of period",
                            "verboseLabel":  "Goodwill"
                            }
                        }
                    },
                "localname":  "Goodwill",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails",
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationChangeInGoodwillDetails",
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GoodwillAcquiredDuringPeriod":  {
                "auth_ref":  [
                    "r171"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of increase in asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized resulting from a business combination.",
                            "label":  "Goodwill, Acquired During Period",
                            "verboseLabel":  "Goodwill acquired"
                            }
                        }
                    },
                "localname":  "GoodwillAcquiredDuringPeriod",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationChangeInGoodwillDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GoodwillAndIntangibleAssetImpairment":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Total loss recognized during the period from the impairment of goodwill plus the loss recognized in the period resulting from the impairment of the carrying amount of intangible assets, other than goodwill.",
                            "label":  "Goodwill and Intangible Asset Impairment",
                            "terseLabel":  "Impairment loss relates to goodwill or intangible assets"
                            }
                        }
                    },
                "localname":  "GoodwillAndIntangibleAssetImpairment",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Goodwill and Intangible Assets, Net of Accumulated Amortization [Abstract]"
                            }
                        }
                    },
                "localname":  "GoodwillAndIntangibleAssetsDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock":  {
                "auth_ref":  [
                    "r188"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The entire disclosure for goodwill and intangible assets.",
                            "label":  "Goodwill and Intangible Assets Disclosure [Text Block]",
                            "verboseLabel":  "Goodwill and Intangible Assets, Net of Accumulated Amortization"
                            }
                        }
                    },
                "localname":  "GoodwillAndIntangibleAssetsDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortization"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_GoodwillForeignCurrencyTranslationGainLoss":  {
                "auth_ref":  [
                    "r172"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of foreign currency translation gain (loss) which increases (decreases) an asset representing future economic benefits from other assets acquired in a business combination that are not individually identified and separately recognized.",
                            "label":  "Goodwill, Foreign Currency Translation Gain (Loss)",
                            "terseLabel":  "Currency translation adjustment"
                            }
                        }
                    },
                "localname":  "GoodwillForeignCurrencyTranslationGainLoss",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationChangeInGoodwillDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GoodwillPurchaseAccountingAdjustments":  {
                "auth_ref":  [
                    "r173",
                    "r249"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) from adjustments after acquisition date under purchase accounting of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
                            "label":  "Goodwill, Purchase Accounting Adjustments",
                            "terseLabel":  "Acquisition accounting adjustments"
                            }
                        }
                    },
                "localname":  "GoodwillPurchaseAccountingAdjustments",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationChangeInGoodwillDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GoodwillTranslationAndPurchaseAccountingAdjustmentsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Goodwill, Translation and Purchase Accounting Adjustments [Abstract]",
                            "terseLabel":  "Changes during the period:"
                            }
                        }
                    },
                "localname":  "GoodwillTranslationAndPurchaseAccountingAdjustmentsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationChangeInGoodwillDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest":  {
                "auth_ref":  [
                    "r66",
                    "r96",
                    "r317",
                    "r326",
                    "r348"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest.",
                            "label":  "Income (Loss) from Continuing Operations before Income Taxes, Extraordinary Items, Noncontrolling Interest",
                            "totalLabel":  "Income before income taxes"
                            }
                        }
                    },
                "localname":  "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncomeStatementAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Consolidated Statements of Income and Comprehensive Income [Abstract]"
                            }
                        }
                    },
                "localname":  "IncomeStatementAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IncomeTaxDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Income Taxes [Abstract]"
                            }
                        }
                    },
                "localname":  "IncomeTaxDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IncomeTaxDisclosureTextBlock":  {
                "auth_ref":  [
                    "r248"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The entire disclosure for income taxes.  Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information.",
                            "label":  "Income Tax Disclosure [Text Block]",
                            "terseLabel":  "Income Taxes"
                            }
                        }
                    },
                "localname":  "IncomeTaxDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureIncomeTaxes"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_IncomeTaxExpenseBenefit":  {
                "auth_ref":  [
                    "r91",
                    "r119",
                    "r247"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
                            "label":  "Income Tax Expense (Benefit)",
                            "terseLabel":  "Income taxes"
                            }
                        }
                    },
                "localname":  "IncomeTaxExpenseBenefit",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities":  {
                "auth_ref":  [
                    "r84"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  12.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The increase (decrease) during the reporting period in the amounts payable to vendors for goods and services received and the amount of obligations and expenses incurred but not paid.",
                            "label":  "Increase (Decrease) in Accounts Payable and Accrued Liabilities",
                            "verboseLabel":  "Accounts payable and other current liabilities"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInAccountsPayableAndAccruedLiabilities",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInAccountsReceivable":  {
                "auth_ref":  [
                    "r84"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  10.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The increase (decrease) during the reporting period in amount due within one year (or one business cycle) from customers for the credit sale of goods and services.",
                            "label":  "Increase (Decrease) in Accounts Receivable",
                            "negatedTerseLabel":  "Accounts receivable and PEO unbilled receivables, net"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInAccountsReceivable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet":  {
                "auth_ref":  [
                    "r84"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  9.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The increase (decrease) during the reporting period in the amount due from borrowers for interest payments.",
                            "label":  "Increase (Decrease) in Accrued Interest Receivable, Net",
                            "negatedLabel":  "Interest receivable"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInAccruedInterestReceivableNet",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInDeferredCharges":  {
                "auth_ref":  [
                    "r84"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  14.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The increase (decrease) during the reporting period in the value of expenditures made during the current reporting period for benefits that will be received over a period of years.  Deferred charges differ from prepaid expenses in that they usually extend over a long period of time and may or may not be regularly recurring costs of operation.",
                            "label":  "Increase (Decrease) in Deferred Charges",
                            "negatedLabel":  "Deferred costs"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInDeferredCharges",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Increase (Decrease) in Operating Capital [Abstract]",
                            "verboseLabel":  "Changes in operating assets and liabilities:"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInOperatingCapitalAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IncreaseDecreaseInOtherNoncurrentAssetsAndLiabilitiesNet":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  13.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) in noncurrent operating assets after deduction of noncurrent operating liabilities classified as other.",
                            "label":  "Increase (Decrease) in Other Noncurrent Assets and Liabilities, Net",
                            "negatedLabel":  "Net change in other long-term assets and liabilities"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInOtherNoncurrentAssetsAndLiabilitiesNet",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets":  {
                "auth_ref":  [
                    "r84"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  11.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) in prepaid expenses, and assets classified as other.",
                            "label":  "Increase (Decrease) in Prepaid Expense and Other Assets",
                            "negatedLabel":  "Prepaid expenses and other current assets"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements":  {
                "auth_ref":  [
                    "r102",
                    "r107"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareBasicAndDilutedEarningsPerShareDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
                        "weight":  1.0
                        }
                    },
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Additional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of share based payment arrangements using the treasury stock method.",
                            "label":  "Incremental Common Shares Attributable to Dilutive Effect of Share-based Payment Arrangements",
                            "verboseLabel":  "Dilutive effect of common share equivalents"
                            }
                        }
                    },
                "localname":  "IncrementalCommonSharesAttributableToShareBasedPaymentArrangements",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareBasicAndDilutedEarningsPerShareDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis":  {
                "auth_ref":  [
                    "r179",
                    "r186"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by type or class of assets, excluding financial assets and goodwill, lacking physical substance and having a projected indefinite period of benefit.",
                            "label":  "Indefinite-lived Intangible Assets [Axis]"
                            }
                        }
                    },
                "localname":  "IndefiniteLivedIntangibleAssetsByMajorClassAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationComponentsOfIntangibleAssetsAtCostDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain":  {
                "auth_ref":  [
                    "r179",
                    "r186"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The major class of indefinite-lived intangible asset (for example, trade names, etc. but not all-inclusive), excluding goodwill.  A major class is composed of intangible assets that can be grouped together because they are similar, either by their nature or by their use in the operations of the company.",
                            "label":  "Indefinite Lived Intangible Assets Major Class Name [Domain]",
                            "terseLabel":  "Indefinite-lived Intangible Assets, Major Class Name [Domain]"
                            }
                        }
                    },
                "localname":  "IndefiniteLivedIntangibleAssetsMajorClassNameDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationComponentsOfIntangibleAssetsAtCostDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_IntangibleAssetsGrossExcludingGoodwill":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationComponentsOfIntangibleAssetsAtCostDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_IntangibleAssetsNetExcludingGoodwill",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount before accumulated amortization of intangible assets, excluding goodwill.",
                            "label":  "Intangible Assets, Gross (Excluding Goodwill)",
                            "verboseLabel":  "Total intangible assets, gross"
                            }
                        }
                    },
                "localname":  "IntangibleAssetsGrossExcludingGoodwill",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationComponentsOfIntangibleAssetsAtCostDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IntangibleAssetsNetExcludingGoodwill":  {
                "auth_ref":  [
                    "r176",
                    "r181"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationComponentsOfIntangibleAssetsAtCostDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Sum of the carrying amounts of all intangible assets, excluding goodwill, as of the balance sheet date, net of accumulated amortization and impairment charges.",
                            "label":  "Intangible Assets, Net (Excluding Goodwill)",
                            "totalLabel":  "Intangible assets, net of accumulated amortization",
                            "verboseLabel":  "Intangible assets, net of accumulated amortization"
                            }
                        }
                    },
                "localname":  "IntangibleAssetsNetExcludingGoodwill",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationComponentsOfIntangibleAssetsAtCostDetails",
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestExpense":  {
                "auth_ref":  [
                    "r64",
                    "r117",
                    "r287",
                    "r290",
                    "r328"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureOtherExpenseIncomeNetScheduleOfInterestExpenseIncomeNetDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_InterestIncomeExpenseNonoperatingNet",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of the cost of borrowed funds accounted for as interest expense.",
                            "label":  "Interest Expense",
                            "negatedTerseLabel":  "Interest expense"
                            }
                        }
                    },
                "localname":  "InterestExpense",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureOtherExpenseIncomeNetScheduleOfInterestExpenseIncomeNetDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestIncomeExpenseNonoperatingNet":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureOtherExpenseIncomeNetScheduleOfInterestExpenseIncomeNetDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The net amount of nonoperating interest income (expense).",
                            "label":  "Interest Income (Expense), Nonoperating, Net",
                            "terseLabel":  "Other (expense)/income, net",
                            "totalLabel":  "Other (expense)/income, net"
                            }
                        }
                    },
                "localname":  "InterestIncomeExpenseNonoperatingNet",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureOtherExpenseIncomeNetScheduleOfInterestExpenseIncomeNetDetails",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestIncomeOperating":  {
                "auth_ref":  [
                    "r69"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_Revenues",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of operating interest income, including, but not limited to, amortization and accretion of premiums and discounts on securities.",
                            "label":  "Interest Income, Operating",
                            "verboseLabel":  "Interest on funds held for clients"
                            }
                        }
                    },
                "localname":  "InterestIncomeOperating",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestReceivableCurrent":  {
                "auth_ref":  [
                    "r48"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  4.0,
                        "parentTag":  "payx_CurrentAssetsBeforeFundsHeldForClients",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Carrying amount as of the balance sheet date of current interest earned but not received.  Also called accrued interest or accrued interest receivable.  For classified balance sheets, represents the current amount receivable, that is amounts expected to be collected within one year or the normal operating cycle, if longer.",
                            "label":  "Interest Receivable, Current",
                            "verboseLabel":  "Interest receivable"
                            }
                        }
                    },
                "localname":  "InterestReceivableCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InvestmentIncomeNonoperating":  {
                "auth_ref":  [
                    "r71"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureOtherExpenseIncomeNetScheduleOfInterestExpenseIncomeNetDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_InterestIncomeExpenseNonoperatingNet",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The aggregate amount of income from investments (for example, dividends) not considered a component of the entity's core operations.",
                            "label":  "Investment Income, Nonoperating",
                            "verboseLabel":  "Interest income on corporate investments"
                            }
                        }
                    },
                "localname":  "InvestmentIncomeNonoperating",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureOtherExpenseIncomeNetScheduleOfInterestExpenseIncomeNetDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of maturities of an entity's investments as well as any other information pertinent to the investments.",
                            "label":  "Investments Classified by Contractual Maturity Date [Table Text Block]",
                            "verboseLabel":  "Amortized Cost and Fair Value of Available-for-Sale Securities by Contractual Maturity"
                            }
                        }
                    },
                "localname":  "InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_LandAndLandImprovementsMember":  {
                "auth_ref":  [
                    "r8"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Real estate held and assets that are an addition or improvement to real estate held.",
                            "label":  "Land And Land Improvements [Member]",
                            "terseLabel":  "Land and Improvements [Member]"
                            }
                        }
                    },
                "localname":  "LandAndLandImprovementsMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciationComponentsOfPropertyAndEquipmentAtCostDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_LeaseCostTableTextBlock":  {
                "auth_ref":  [
                    "r307"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of lessee's lease cost.  Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income.",
                            "label":  "Lease, Cost [Table Text Block]",
                            "terseLabel":  "Components of Lease Expense"
                            }
                        }
                    },
                "localname":  "LeaseCostTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeasesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_LeaseholdImprovementsMember":  {
                "auth_ref":  [
                    "r190"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Additions or improvements to assets held under a lease arrangement.",
                            "label":  "Leasehold Improvements [Member]",
                            "terseLabel":  "Leasehold Improvements [Member]"
                            }
                        }
                    },
                "localname":  "LeaseholdImprovementsMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciationComponentsOfPropertyAndEquipmentAtCostDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_LeasesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Leases [Abstract]"
                            }
                        }
                    },
                "localname":  "LeasesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LesseeLeaseDescriptionLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Lessee, Lease, Description [Line Items]"
                            }
                        }
                    },
                "localname":  "LesseeLeaseDescriptionLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeasesNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LesseeLeaseDescriptionTable":  {
                "auth_ref":  [
                    "r299"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Disclosure of information about lessee's leases.",
                            "label":  "Lessee, Lease, Description [Table]"
                            }
                        }
                    },
                "localname":  "LesseeLeaseDescriptionTable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeasesNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LesseeLeasesPolicyTextBlock":  {
                "auth_ref":  [
                    "r297"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for leasing arrangement entered into by lessee.",
                            "label":  "Lessee, Leases [Policy Text Block]",
                            "terseLabel":  "Leases"
                            }
                        }
                    },
                "localname":  "LesseeLeasesPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesPolicy"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock":  {
                "auth_ref":  [
                    "r308"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of undiscounted cash flows of lessee's operating lease liability.  Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position.",
                            "label":  "Lessee, Operating Lease, Liability, Maturity [Table Text Block]",
                            "terseLabel":  "Future Lease Payments"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeasesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue":  {
                "auth_ref":  [
                    "r308"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureLeasesFutureLeasePaymentsDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payments for operating lease.",
                            "label":  "Lessee, Operating Lease, Liability, Payments, Due",
                            "totalLabel":  "Total future lease payments"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityPaymentsDue",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeasesFutureLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive":  {
                "auth_ref":  [
                    "r308"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureLeasesFutureLeasePaymentsDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payments for operating lease, due after fifth fiscal year following latest fiscal year.",
                            "label":  "Lessee, Operating Lease, Liability, Payments, Due after Year Five",
                            "terseLabel":  "Thereafter"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeasesFutureLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive":  {
                "auth_ref":  [
                    "r308"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureLeasesFutureLeasePaymentsDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payments for operating lease, due in fifth fiscal year following latest fiscal year.",
                            "label":  "Lessee, Operating Lease, Liability, Payments, Due Year Five",
                            "terseLabel":  "2024"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityPaymentsDueYearFive",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeasesFutureLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour":  {
                "auth_ref":  [
                    "r308"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureLeasesFutureLeasePaymentsDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payments for operating lease, due in fourth fiscal year following latest fiscal year.",
                            "label":  "Lessee, Operating Lease, Liability, Payments, Due Year Four",
                            "terseLabel":  "2023"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityPaymentsDueYearFour",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeasesFutureLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree":  {
                "auth_ref":  [
                    "r308"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureLeasesFutureLeasePaymentsDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payments for operating lease, due in third fiscal year following latest fiscal year.",
                            "label":  "Lessee, Operating Lease, Liability, Payments, Due Year Three",
                            "terseLabel":  "2022"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityPaymentsDueYearThree",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeasesFutureLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo":  {
                "auth_ref":  [
                    "r308"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureLeasesFutureLeasePaymentsDetails":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payments for operating lease, due in second fiscal year following latest fiscal year.",
                            "label":  "Lessee, Operating Lease, Liability, Payments, Due Year Two",
                            "terseLabel":  "2021"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityPaymentsDueYearTwo",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeasesFutureLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear":  {
                "auth_ref":  [
                    "r308"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureLeasesFutureLeasePaymentsDetails":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payments for operating lease having an initial or remaining lease term in excess of one year due in remainder of fiscal year following latest fiscal year.",
                            "label":  "Lessee, Operating Lease, Liability, Payments, Remainder of Fiscal Year",
                            "terseLabel":  "2020"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeasesFutureLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount":  {
                "auth_ref":  [
                    "r308"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of lessee's undiscounted obligation for lease payments in excess of discounted obligation for lease payments for operating lease.",
                            "label":  "Lessee, Operating Lease, Liability, Undiscounted Excess Amount",
                            "terseLabel":  "Less: imputed interest"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseLiabilityUndiscountedExcessAmount",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeasesFutureLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LesseeOperatingLeaseRenewalTerm":  {
                "auth_ref":  [
                    "r298"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Term of lessee's operating lease renewal, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
                            "label":  "Lessee, Operating Lease, Renewal Term",
                            "terseLabel":  "Operating leases, renewal term"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseRenewalTerm",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeasesNarrativeDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_LesseeOperatingLeaseTermOfContract":  {
                "auth_ref":  [
                    "r298"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Term of lessee's operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
                            "label":  "Lessee, Operating Lease, Term of Contract",
                            "terseLabel":  "Operating leases, remaining term of contract"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeaseTermOfContract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeasesNarrativeDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_LesseeOperatingLeasesTextBlock":  {
                "auth_ref":  [
                    "r310"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The entire disclosure for operating leases of lessee.  Includes, but is not limited to, description of operating lease and maturity analysis of operating lease liability.",
                            "label":  "Lessee, Operating Leases [Text Block]",
                            "terseLabel":  "Leases"
                            }
                        }
                    },
                "localname":  "LesseeOperatingLeasesTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeases"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_LettersOfCreditOutstandingAmount":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The total amount of the contingent obligation under letters of credit outstanding as of the reporting date.",
                            "label":  "Letters of Credit Outstanding, Amount",
                            "verboseLabel":  "Amounts outstanding"
                            }
                        }
                    },
                "localname":  "LettersOfCreditOutstandingAmount",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_Liabilities":  {
                "auth_ref":  [
                    "r37"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LiabilitiesAndStockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized.  Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
                            "label":  "Liabilities",
                            "totalLabel":  "Total liabilities"
                            }
                        }
                    },
                "localname":  "Liabilities",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LiabilitiesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Liabilities [Abstract]",
                            "terseLabel":  "Liabilities"
                            }
                        }
                    },
                "localname":  "LiabilitiesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LiabilitiesAndStockholdersEquity":  {
                "auth_ref":  [
                    "r27",
                    "r323",
                    "r343"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
                            "label":  "Liabilities and Equity",
                            "totalLabel":  "Total liabilities and stockholders' equity"
                            }
                        }
                    },
                "localname":  "LiabilitiesAndStockholdersEquity",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LiabilitiesCurrent":  {
                "auth_ref":  [
                    "r40"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Total obligations incurred as part of normal operations that are expected to be paid during the following twelve months or within one business cycle, if longer.",
                            "label":  "Liabilities, Current",
                            "totalLabel":  "Total current liabilities"
                            }
                        }
                    },
                "localname":  "LiabilitiesCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LiabilityReserveEstimatePolicy":  {
                "auth_ref":  [
                    "r90",
                    "r346",
                    "r352"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for estimating its liability as of the balance sheet date for the ultimate cost of settling reported and unreported claims incurred and claims adjustment expenses (including effects of inflation and other societal and economic factors).",
                            "label":  "Liability Reserve Estimate, Policy [Policy Text Block]",
                            "terseLabel":  "PEO Insurance Reserves"
                            }
                        }
                    },
                "localname":  "LiabilityReserveEstimatePolicy",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesPolicy"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_LineOfCredit":  {
                "auth_ref":  [
                    "r18",
                    "r322",
                    "r335"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount.  Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line.  Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement.",
                            "label":  "Long-term Line of Credit",
                            "verboseLabel":  "Amounts outstanding"
                            }
                        }
                    },
                "localname":  "LineOfCredit",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LineOfCreditFacilityAverageOutstandingAmount":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Average amount borrowed under the credit facility during the period.",
                            "label":  "Line of Credit Facility, Average Outstanding Amount",
                            "verboseLabel":  "Weighted-average amount borrowed"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityAverageOutstandingAmount",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingCreditFacilityAmountBorrowedDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LineOfCreditFacilityAxis":  {
                "auth_ref":  [
                    "r36",
                    "r92"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by name of lender, which may be a single entity (for example, but not limited to, a bank, pension fund, venture capital firm) or a group of entities that participate in the line of credit.",
                            "label":  "Lender Name [Axis]"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingCreditFacilityAmountBorrowedDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingDescriptionOfCreditFacilitiesDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingTables"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LineOfCreditFacilityExpirationDate1":  {
                "auth_ref":  [
                    "r36"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Date the credit facility terminates, in CCYY-MM-DD format.",
                            "label":  "Line of Credit Facility, Expiration Date",
                            "terseLabel":  "Expiration Date",
                            "verboseLabel":  "Expiration date"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityExpirationDate1",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingDescriptionOfCreditFacilitiesDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "dateItemType"
                },
            "us-gaap_LineOfCreditFacilityInitiationDate1":  {
                "auth_ref":  [
                    "r36"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Date the credit facility first became available, in CCYY-MM-DD format.",
                            "label":  "Line of Credit Facility, Initiation Date",
                            "verboseLabel":  "Date Entered"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityInitiationDate1",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingDescriptionOfCreditFacilitiesDetails"
                    ],
                "xbrltype":  "dateItemType"
                },
            "us-gaap_LineOfCreditFacilityLenderDomain":  {
                "auth_ref":  [
                    "r36"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Identification of the lender, which may be a single entity (for example, a bank, pension fund, venture capital firm) or a group of entities that participate in the line of credit, including a letter of credit facility.",
                            "label":  "Line Of Credit Facility Lender [Domain]",
                            "terseLabel":  "Line of Credit Facility, Lender [Domain]"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityLenderDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingCreditFacilityAmountBorrowedDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingDescriptionOfCreditFacilitiesDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingTables"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_LineOfCreditFacilityLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Line of Credit Facility [Line Items]",
                            "terseLabel":  "Line of Credit Facility [Line Items]",
                            "verboseLabel":  "Financing [Line Items]"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingCreditFacilityAmountBorrowedDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingDescriptionOfCreditFacilitiesDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingTables"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LineOfCreditFacilityMaximumAmountOutstandingDuringPeriod":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Maximum amount borrowed under the credit facility at any time during the period.",
                            "label":  "Line of Credit Facility, Maximum Amount Outstanding During Period",
                            "terseLabel":  "Maximum amount borrowed",
                            "verboseLabel":  "Amount borrowed"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityMaximumAmountOutstandingDuringPeriod",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingCreditFacilityAmountBorrowedDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity":  {
                "auth_ref":  [
                    "r36"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility.",
                            "label":  "Line of Credit Facility, Maximum Borrowing Capacity",
                            "terseLabel":  "Maximum borrowing capacity",
                            "verboseLabel":  "Maximum Amount Available"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityMaximumBorrowingCapacity",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingDescriptionOfCreditFacilitiesDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LineOfCreditFacilityTable":  {
                "auth_ref":  [
                    "r36",
                    "r92"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "A table or schedule providing information pertaining to short-term or long-term contractual arrangements with lenders, including letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line.",
                            "label":  "Line of Credit Facility [Table]",
                            "terseLabel":  "Line of Credit Facility [Table]"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityTable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingCreditFacilityAmountBorrowedDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingDescriptionOfCreditFacilitiesDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingTables"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LondonInterbankOfferedRateLIBORMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Interest rate at which a bank borrows funds from other banks in the London interbank market.",
                            "label":  "London Interbank Offered Rate L I B O R [Member]",
                            "terseLabel":  "LIBOR [Member]"
                            }
                        }
                    },
                "localname":  "LondonInterbankOfferedRateLIBORMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_LongTermDebt":  {
                "auth_ref":  [
                    "r18",
                    "r203",
                    "r322",
                    "r340"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureLongTermFinancingScheduleOfLongTermDebtDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt.  Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper.  Excludes capital lease obligations.",
                            "label":  "Long-term Debt",
                            "totalLabel":  "Long-term borrowings, net of debt issuance costs, Amortized cost"
                            }
                        }
                    },
                "localname":  "LongTermDebt",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialLiabilitiesMeasuredAtFairValueOnNonRecurringBasisDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingScheduleOfLongTermDebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtFairValue":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialLiabilitiesMeasuredAtFairValueOnNonRecurringBasisDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The fair value amount of long-term debt whether such amount is presented as a separate caption or as a parenthetical disclosure.  Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements.  The element may be used in both the balance sheet and disclosure in the same submission.",
                            "label":  "Long-term Debt, Fair Value",
                            "totalLabel":  "Long-term borrowings, net of debt issuance costs, Fair value"
                            }
                        }
                    },
                "localname":  "LongTermDebtFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialLiabilitiesMeasuredAtFairValueOnNonRecurringBasisDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtMaturityDate":  {
                "auth_ref":  [
                    "r277"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Maturity date of long-term debt, in CCYY-MM-DD format.",
                            "label":  "Long-term Debt, Maturity Date",
                            "terseLabel":  "Principal payment dates"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturityDate",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLongTermFinancingInformationRelatedToSeniorNotesDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "dateItemType"
                },
            "us-gaap_LongTermDebtNoncurrent":  {
                "auth_ref":  [
                    "r42"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount after unamortized (discount) premium and debt issuance costs of long-term debt classified as noncurrent and excluding amounts to be repaid within one year or the normal operating cycle, if longer.  Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper.  Excludes capital lease obligations.",
                            "label":  "Long-term Debt, Excluding Current Maturities",
                            "terseLabel":  "Long-term borrowings, net of debt issuance costs"
                            }
                        }
                    },
                "localname":  "LongTermDebtNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtTextBlock":  {
                "auth_ref":  [
                    "r205"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The entire disclosure for long-term debt.",
                            "label":  "Long-term Debt [Text Block]",
                            "terseLabel":  "Long-Term Financing"
                            }
                        }
                    },
                "localname":  "LongTermDebtTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLongTermFinancing"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_LongtermDebtTypeAxis":  {
                "auth_ref":  [
                    "r42"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by type of long-term debt.",
                            "label":  "Long-term Debt, Type [Axis]"
                            }
                        }
                    },
                "localname":  "LongtermDebtTypeAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialLiabilitiesMeasuredAtFairValueOnNonRecurringBasisDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingInformationRelatedToSeniorNotesDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingScheduleOfLongTermDebtDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LongtermDebtTypeDomain":  {
                "auth_ref":  [
                    "r42",
                    "r201"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Type of long-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing.  These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
                            "label":  "Longterm Debt Type [Domain]",
                            "terseLabel":  "Long-term Debt, Type [Domain]"
                            }
                        }
                    },
                "localname":  "LongtermDebtTypeDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialLiabilitiesMeasuredAtFairValueOnNonRecurringBasisDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingInformationRelatedToSeniorNotesDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingScheduleOfLongTermDebtDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_MarketableSecuritiesCurrent":  {
                "auth_ref":  [
                    "r2",
                    "r38"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsClassificationOfInvestmentsOnConsolidatedBalanceSheetsDetails":  {
                        "order":  2.0,
                        "parentTag":  "payx_FundsHeldForClientsAndCorporateInvestmentsFairValue",
                        "weight":  1.0
                        },
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  3.0,
                        "parentTag":  "payx_CurrentAssetsBeforeFundsHeldForClients",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of investment in marketable security, classified as current.",
                            "label":  "Marketable Securities, Current",
                            "verboseLabel":  "Corporate investments"
                            }
                        }
                    },
                "localname":  "MarketableSecuritiesCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsClassificationOfInvestmentsOnConsolidatedBalanceSheetsDetails",
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_MoneyMarketFundsMember":  {
                "auth_ref":  [
                    "r229"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Fund that invests in short-term money-market instruments, for example, but not limited to, commercial paper, banker's acceptances, repurchase agreements, government securities, certificates of deposit, and other highly liquid securities.",
                            "label":  "Money Market Funds [Member]",
                            "terseLabel":  "Money Market Securities [Member]"
                            }
                        }
                    },
                "localname":  "MoneyMarketFundsMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_NatureOfOperations":  {
                "auth_ref":  [
                    "r110",
                    "r114"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The entire disclosure for the nature of an entity's business, major products or services, principal markets including location, and the relative importance of its operations in each business and the basis for the determination, including but not limited to, assets, revenues, or earnings.  For an entity that has not commenced principal operations, disclosures about the risks and uncertainties related to the activities in which the entity is currently engaged and an understanding of what those activities are being directed toward.",
                            "label":  "Nature of Operations [Text Block]",
                            "terseLabel":  "Description of Business"
                            }
                        }
                    },
                "localname":  "NatureOfOperations",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesPolicy"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_NetCashProvidedByUsedInFinancingActivities":  {
                "auth_ref":  [
                    "r82"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of cash inflow (outflow) from financing activities, including discontinued operations.  Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
                            "label":  "Net Cash Provided by (Used in) Financing Activities, Continuing Operations",
                            "totalLabel":  "Net cash (used in)/provided by financing activities"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInFinancingActivities",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Net Cash Provided by (Used in) Financing Activities [Abstract]",
                            "terseLabel":  "Financing activities"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInFinancingActivitiesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NetCashProvidedByUsedInInvestingActivities":  {
                "auth_ref":  [
                    "r82"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of cash inflow (outflow) from investing activities, including discontinued operations.  Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.",
                            "label":  "Net Cash Provided by (Used in) Investing Activities, Continuing Operations",
                            "totalLabel":  "Net cash provided by/(used in) investing activities"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInInvestingActivities",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Net Cash Provided by (Used in) Investing Activities [Abstract]",
                            "terseLabel":  "Investing activities"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInInvestingActivitiesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NetCashProvidedByUsedInOperatingActivities":  {
                "auth_ref":  [
                    "r82",
                    "r83",
                    "r86"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
                        "weight":  1.0
                        }
                    },
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of cash inflow (outflow) from operating activities, including discontinued operations.  Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
                            "label":  "Net Cash Provided by (Used in) Operating Activities, Continuing Operations",
                            "totalLabel":  "Net cash provided by operating activities"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInOperatingActivities",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Net Cash Provided by (Used in) Operating Activities [Abstract]",
                            "terseLabel":  "Operating activities"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInOperatingActivitiesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic":  {
                "auth_ref":  [
                    "r96",
                    "r99"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        },
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_ComprehensiveIncomeNetOfTax",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) available to common shareholders.",
                            "label":  "Net Income (Loss) Available to Common Stockholders, Basic",
                            "terseLabel":  "Net income",
                            "totalLabel":  "Net income",
                            "verboseLabel":  "Net income"
                            }
                        }
                    },
                "localname":  "NetIncomeLossAvailableToCommonStockholdersBasic",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareBasicAndDilutedEarningsPerShareDetails",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfStockholdersEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NewAccountingPronouncementOrChangeInAccountingPrincipleEffectOfAdoptionQuantification":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Represents the quantification of the effect of adopting the new accounting standard or change in accounting principle expected by the entity to have a significant effect on the entity's financial statements.",
                            "label":  "New Accounting Pronouncement or Change in Accounting Principle, Effect of Adoption, Quantification",
                            "terseLabel":  "Increase in lease-related assets and liabilities"
                            }
                        }
                    },
                "localname":  "NewAccountingPronouncementOrChangeInAccountingPrincipleEffectOfAdoptionQuantification",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting.  Includes, but is not limited to, quantification of the expected or actual impact.",
                            "label":  "New Accounting Pronouncements, Policy [Policy Text Block]",
                            "terseLabel":  "Recently Adopted and Issued Accounting Pronouncements"
                            }
                        }
                    },
                "localname":  "NewAccountingPronouncementsPolicyPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesPolicy"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_NumberOfReportableSegments":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Number of segments reported by the entity.  A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements.",
                            "label":  "Number of Reportable Segments",
                            "verboseLabel":  "Number of reportable segments"
                            }
                        }
                    },
                "localname":  "NumberOfReportableSegments",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "us-gaap_OperatingCostsAndExpenses":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_OperatingExpenses",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Generally recurring costs associated with normal operations except for the portion of these expenses which can be clearly related to production and included in cost of sales or services.  Excludes Selling, General and Administrative Expense.",
                            "label":  "Operating Costs and Expenses",
                            "verboseLabel":  "Operating expenses"
                            }
                        }
                    },
                "localname":  "OperatingCostsAndExpenses",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingExpenses":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_OperatingIncomeLoss",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Generally recurring costs associated with normal operations except for the portion of these expenses which can be clearly related to production and included in cost of sales or services.  Includes selling, general and administrative expense.",
                            "label":  "Operating Expenses",
                            "totalLabel":  "Total expenses"
                            }
                        }
                    },
                "localname":  "OperatingExpenses",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingExpensesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Operating Expenses [Abstract]",
                            "terseLabel":  "Expenses:"
                            }
                        }
                    },
                "localname":  "OperatingExpensesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_OperatingIncomeLoss":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The net result for the period of deducting operating expenses from operating revenues.",
                            "label":  "Operating Income (Loss)",
                            "totalLabel":  "Operating income"
                            }
                        }
                    },
                "localname":  "OperatingIncomeLoss",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeaseCost":  {
                "auth_ref":  [
                    "r300",
                    "r309"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of single lease cost, calculated by allocation of remaining cost of lease over remaining lease term.  Includes, but is not limited to, single lease cost, after impairment of right-of-use asset, calculated by amortization of remaining right-of-use asset and accretion of lease liability.",
                            "label":  "Operating Lease, Cost",
                            "terseLabel":  "Fixed payment operating lease expense"
                            }
                        }
                    },
                "localname":  "OperatingLeaseCost",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeasesComponentsOfLeaseExpenseDetails",
                    "http://www.paychex.com/role/DisclosureLeasesNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeaseImpairmentLoss":  {
                "auth_ref":  [
                    "r293"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of loss from impairment of right-of-use asset from operating lease.",
                            "label":  "Operating Lease, Impairment Loss",
                            "terseLabel":  "Operating lease, impairment loss"
                            }
                        }
                    },
                "localname":  "OperatingLeaseImpairmentLoss",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeaseLiability":  {
                "auth_ref":  [
                    "r295"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Present value of lessee's discounted obligation for lease payments from operating lease.",
                            "label":  "Operating lease, liability",
                            "verboseLabel":  "Total operating lease liabilities"
                            }
                        }
                    },
                "localname":  "OperatingLeaseLiability",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureLeasesFutureLeasePaymentsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeaseLiabilityCurrent":  {
                "auth_ref":  [
                    "r295"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Present value of lessee's discounted obligation for lease payments from operating lease, classified as current.",
                            "label":  "Operating Lease, Liability, Current",
                            "terseLabel":  "Operating lease liabilities, current",
                            "verboseLabel":  "Current portion"
                            }
                        }
                    },
                "localname":  "OperatingLeaseLiabilityCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeasesFutureLeasePaymentsDetails",
                    "http://www.paychex.com/role/DisclosureLeasesSupplementalBalanceSheetInformationRelatedToLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeaseLiabilityNoncurrent":  {
                "auth_ref":  [
                    "r295"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Present value of lessee's discounted obligation for lease payments from operating lease, classified as noncurrent.",
                            "label":  "Operating lease liabilities, non-current",
                            "terseLabel":  "Operating lease liabilities",
                            "verboseLabel":  "Non-current portion"
                            }
                        }
                    },
                "localname":  "OperatingLeaseLiabilityNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeasesFutureLeasePaymentsDetails",
                    "http://www.paychex.com/role/DisclosureLeasesSupplementalBalanceSheetInformationRelatedToLeasesDetails",
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeasePayments":  {
                "auth_ref":  [
                    "r296",
                    "r303"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of cash outflow from operating lease, excluding payments to bring another asset to condition and location necessary for its intended use.",
                            "label":  "Operating Lease, Payments",
                            "terseLabel":  "Cash paid for amounts included in the measurement of lease liabilities"
                            }
                        }
                    },
                "localname":  "OperatingLeasePayments",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeasesSupplementalCashFlowInformationRelatedToLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeaseRightOfUseAsset":  {
                "auth_ref":  [
                    "r294"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of lessee's right to use underlying asset under operating lease.",
                            "label":  "Operating lease, right-of-use asset",
                            "verboseLabel":  "Operating lease right-of-use assets, net of accumulated amortization"
                            }
                        }
                    },
                "localname":  "OperatingLeaseRightOfUseAsset",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureLeasesSupplementalBalanceSheetInformationRelatedToLeasesDetails",
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent":  {
                "auth_ref":  [
                    "r306",
                    "r309"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Weighted average discount rate for operating lease calculated at point in time.",
                            "label":  "Operating Lease, Weighted Average Discount Rate, Percent",
                            "terseLabel":  "Weighted average discount rate"
                            }
                        }
                    },
                "localname":  "OperatingLeaseWeightedAverageDiscountRatePercent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeasesSupplementalBalanceSheetInformationRelatedToLeasesDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1":  {
                "auth_ref":  [
                    "r305",
                    "r309"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Weighted average remaining lease term for operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
                            "label":  "Operating Lease, Weighted Average Remaining Lease Term",
                            "terseLabel":  "Weighted average remaining lease term (in years)"
                            }
                        }
                    },
                "localname":  "OperatingLeaseWeightedAverageRemainingLeaseTerm1",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeasesSupplementalBalanceSheetInformationRelatedToLeasesDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock":  {
                "auth_ref":  [
                    "r94",
                    "r97",
                    "r114",
                    "r271"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The entire disclosure for the general note to the financial statements for the reporting entity which may include, descriptions of the basis of presentation, business description, significant accounting policies, consolidations, reclassifications, new pronouncements not yet adopted and changes in accounting principles.",
                            "label":  "Organization, Consolidation, Basis of Presentation, Business Description and Accounting Policies [Text Block]",
                            "terseLabel":  "Description of Business, Basis of Presentation, and Significant Accounting Policies"
                            }
                        }
                    },
                "localname":  "OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_OtherAssetsFairValueDisclosure":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Fair value portion of other assets.",
                            "label":  "Other Assets, Fair Value Disclosure",
                            "verboseLabel":  "Other"
                            }
                        }
                    },
                "localname":  "OtherAssetsFairValueDisclosure",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherAssetsNoncurrent":  {
                "auth_ref":  [
                    "r34"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  9.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of noncurrent assets classified as other.",
                            "label":  "Other Assets, Noncurrent",
                            "verboseLabel":  "Other long-term assets"
                            }
                        }
                    },
                "localname":  "OtherAssetsNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax":  {
                "auth_ref":  [
                    "r51",
                    "r52",
                    "r54"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount after tax and reclassification adjustments, of appreciation (loss) in value of unsold available-for-sale securities.  Excludes amounts related to other than temporary impairment (OTTI) loss.",
                            "label":  "Other Comprehensive Income (Loss), Available-for-sale Securities Adjustment, Net of Tax",
                            "terseLabel":  "Unrealized gains on securities, net of reclassification adjustment and tax"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfStockholdersEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax":  {
                "auth_ref":  [
                    "r50",
                    "r286"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossChangesInAccumulatedOtherComprehensiveIncomeLossDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount after tax and reclassification adjustments of gain (loss) on foreign currency translation adjustments, foreign currency transactions designated and effective as economic hedges of a net investment in a foreign entity and intra-entity foreign currency transactions that are of a long-term-investment nature.",
                            "label":  "Other Comprehensive Income (Loss), Foreign Currency Transaction and Translation Adjustment, Net of Tax",
                            "terseLabel":  "Foreign currency translation adjustment"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfStockholdersEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent":  {
                "auth_ref":  [
                    "r60",
                    "r62",
                    "r267",
                    "r268",
                    "r269"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossChangesInAccumulatedOtherComprehensiveIncomeLossDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_ComprehensiveIncomeNetOfTax",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount after tax of other comprehensive income (loss) attributable to parent entity.",
                            "label":  "Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Parent",
                            "totalLabel":  "Total other comprehensive income, net of tax",
                            "verboseLabel":  "Other comprehensive income, net of tax"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax":  {
                "auth_ref":  [
                    "r54",
                    "r57",
                    "r58",
                    "r149"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossChangesInAccumulatedOtherComprehensiveIncomeLossDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount after tax of reclassification adjustment from accumulated other comprehensive income for unrealized gain (loss) realized upon the sale of available-for-sale securities.",
                            "label":  "Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, Net of Tax",
                            "negatedLabel":  "Reclassification adjustment for the (gain)/loss on sale of available-for-sale securities realized in net income, net of tax"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossChangesInAccumulatedOtherComprehensiveIncomeLossDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1":  {
                "auth_ref":  [
                    "r267",
                    "r268",
                    "r269"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of tax expense (benefit) allocated to other comprehensive income (loss) attributable to parent entity.",
                            "label":  "Other Comprehensive Income (Loss), Tax, Portion Attributable to Parent",
                            "terseLabel":  "Total tax expense included in other comprehensive income"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeLossTaxPortionAttributableToParent1",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossChangesInAccumulatedOtherComprehensiveIncomeLossDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax":  {
                "auth_ref":  [
                    "r51",
                    "r54"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossChangesInAccumulatedOtherComprehensiveIncomeLossDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount after tax, before reclassification adjustments, of unrealized holding gain (loss) on available-for-sale securities.",
                            "label":  "Other Comprehensive Income (Loss), Unrealized Holding Gain (Loss) on Securities Arising During Period, Net of Tax",
                            "terseLabel":  "Unrealized gains on available-for-sale securities, net of tax"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossChangesInAccumulatedOtherComprehensiveIncomeLossDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherIncomeAndExpensesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Other (Expense)/Income, Net [Abstract]"
                            }
                        }
                    },
                "localname":  "OtherIncomeAndExpensesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_OtherIntangibleAssetsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Intangible assets classified as other.",
                            "label":  "Other Intangible Assets [Member]",
                            "terseLabel":  "Other Intangible Assets [Member]"
                            }
                        }
                    },
                "localname":  "OtherIntangibleAssetsMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationComponentsOfIntangibleAssetsAtCostDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_OtherLiabilitiesCurrent":  {
                "auth_ref":  [
                    "r9",
                    "r10",
                    "r39"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  6.0,
                        "parentTag":  "payx_CurrentLiabilitiesBeforeClientFundObligations",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of liabilities classified as other, due within one year or the normal operating cycle, if longer.",
                            "label":  "Other Liabilities, Current",
                            "verboseLabel":  "Other current liabilities"
                            }
                        }
                    },
                "localname":  "OtherLiabilitiesCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherLiabilitiesFairValueDisclosure":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Fair value portion of other liabilities.",
                            "label":  "Other Liabilities, Fair Value Disclosure",
                            "verboseLabel":  "Other long-term liabilities"
                            }
                        }
                    },
                "localname":  "OtherLiabilitiesFairValueDisclosure",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherLiabilitiesNoncurrent":  {
                "auth_ref":  [
                    "r43"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of liabilities classified as other, due after one year or the normal operating cycle, if longer.",
                            "label":  "Other Liabilities, Noncurrent",
                            "verboseLabel":  "Other long-term liabilities"
                            }
                        }
                    },
                "localname":  "OtherLiabilitiesNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherNonoperatingIncomeAndExpenseTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The entire disclosure for the components of non-operating income or non-operating expense, including, but not limited to, amounts earned from dividends, interest on securities, gain (loss) on securities sold, equity earnings of unconsolidated affiliates, gain (loss) on sales of business, interest expense and other miscellaneous income or expense items.",
                            "label":  "Other Nonoperating Income and Expense [Text Block]",
                            "terseLabel":  "Other (Expense)/Income, Net"
                            }
                        }
                    },
                "localname":  "OtherNonoperatingIncomeAndExpenseTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureOtherExpenseIncomeNet"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_OtherNonoperatingIncomeExpense":  {
                "auth_ref":  [
                    "r72"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureOtherExpenseIncomeNetScheduleOfInterestExpenseIncomeNetDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_InterestIncomeExpenseNonoperatingNet",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of income (expense) related to nonoperating activities, classified as other.",
                            "label":  "Other Nonoperating Income (Expense)",
                            "terseLabel":  "Other"
                            }
                        }
                    },
                "localname":  "OtherNonoperatingIncomeExpense",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureOtherExpenseIncomeNetScheduleOfInterestExpenseIncomeNetDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsForRepurchaseOfCommonStock":  {
                "auth_ref":  [
                    "r81"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The cash outflow to reacquire common stock during the period.",
                            "label":  "Payments for Repurchase of Common Stock",
                            "negatedTerseLabel":  "Repurchases of common shares"
                            }
                        }
                    },
                "localname":  "PaymentsForRepurchaseOfCommonStock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsOfDividendsCommonStock":  {
                "auth_ref":  [
                    "r81"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of cash outflow in the form of ordinary dividends to common shareholders of the parent entity.",
                            "label":  "Payments of Ordinary Dividends, Common Stock",
                            "negatedLabel":  "Dividends paid"
                            }
                        }
                    },
                "localname":  "PaymentsOfDividendsCommonStock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsToAcquireAvailableForSaleSecurities":  {
                "auth_ref":  [
                    "r77",
                    "r134"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The cash outflow to acquire debt and equity securities not classified as either held-to-maturity securities or trading securities which would be classified as available-for-sale securities and reported at fair value, with unrealized gains and losses excluded from earnings and reported in a separate component of shareholders' equity.",
                            "label":  "Payments to Acquire Available-for-sale Securities",
                            "negatedLabel":  "Purchases of available-for-sale securities"
                            }
                        }
                    },
                "localname":  "PaymentsToAcquireAvailableForSaleSecurities",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired":  {
                "auth_ref":  [
                    "r78"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The cash outflow associated with the acquisition of a business, net of the cash acquired from the purchase.",
                            "label":  "Payments to Acquire Businesses, Net of Cash Acquired",
                            "negatedTerseLabel":  "Acquisition of businesses, net of cash acquired"
                            }
                        }
                    },
                "localname":  "PaymentsToAcquireBusinessesNetOfCashAcquired",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsToAcquireOtherProductiveAssets":  {
                "auth_ref":  [
                    "r79"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of cash outflow for the purchase of or improvements to tangible or intangible assets, used to produce goods or deliver services, classified as other.",
                            "label":  "Payments to Acquire Other Productive Assets",
                            "negatedLabel":  "Purchases of other assets"
                            }
                        }
                    },
                "localname":  "PaymentsToAcquireOtherProductiveAssets",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment":  {
                "auth_ref":  [
                    "r79"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets.",
                            "label":  "Payments to Acquire Property, Plant, and Equipment",
                            "negatedLabel":  "Purchases of property and equipment"
                            }
                        }
                    },
                "localname":  "PaymentsToAcquirePropertyPlantAndEquipment",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PrepaidExpenseAndOtherAssetsCurrent":  {
                "auth_ref":  [
                    "r4",
                    "r29",
                    "r30"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  7.0,
                        "parentTag":  "payx_CurrentAssetsBeforeFundsHeldForClients",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer.",
                            "label":  "Prepaid Expense and Other Assets, Current",
                            "verboseLabel":  "Prepaid expenses and other current assets"
                            }
                        }
                    },
                "localname":  "PrepaidExpenseAndOtherAssetsCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PrepaidTaxes":  {
                "auth_ref":  [
                    "r3",
                    "r5",
                    "r163",
                    "r164"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  6.0,
                        "parentTag":  "payx_CurrentAssetsBeforeFundsHeldForClients",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of asset related to consideration paid in advance for income and other taxes that provide economic benefits within a future period of one year or the normal operating cycle, if longer.",
                            "label":  "Prepaid Taxes",
                            "verboseLabel":  "Prepaid income taxes"
                            }
                        }
                    },
                "localname":  "PrepaidTaxes",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities":  {
                "auth_ref":  [
                    "r74",
                    "r75",
                    "r134"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of cash inflow from sale, maturity, prepayment and call of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
                            "label":  "Proceeds from Sale and Maturity of Available-for-sale Securities",
                            "verboseLabel":  "Proceeds from sales and maturities of available-for-sale securities"
                            }
                        }
                    },
                "localname":  "ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromShortTermDebt":  {
                "auth_ref":  [
                    "r80"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The cash inflow from a borrowing having initial term of repayment within one year or the normal operating cycle, if longer.",
                            "label":  "Proceeds from Short-term Debt",
                            "verboseLabel":  "Net proceeds from short-term borrowings"
                            }
                        }
                    },
                "localname":  "ProceedsFromShortTermDebt",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Property and Equipment, Net of Accumulated Depreciation [Abstract]"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentByTypeAxis":  {
                "auth_ref":  [
                    "r33",
                    "r192"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by type of long-lived, physical assets used to produce goods and services and not intended for resale.",
                            "label":  "Property, Plant and Equipment, Type [Axis]"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentByTypeAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciationComponentsOfPropertyAndEquipmentAtCostDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock":  {
                "auth_ref":  [
                    "r193"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The entire disclosure for long-lived, physical assets used in the normal conduct of business and not intended for resale.  Includes, but is not limited to, accounting policies and methodology, roll forwards, depreciation, depletion and amortization expense, including composite depreciation, accumulated depreciation, depletion and amortization expense, useful lives and method used, income statement disclosures, assets held for sale and public utility disclosures.",
                            "label":  "Property, Plant and Equipment Disclosure [Text Block]",
                            "verboseLabel":  "Property and Equipment, Net of Accumulated Depreciation"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciation"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentGross":  {
                "auth_ref":  [
                    "r32",
                    "r190"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciationComponentsOfPropertyAndEquipmentAtCostDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_PropertyPlantAndEquipmentNet",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount before accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business and not intended for resale.  Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
                            "label":  "Property, Plant and Equipment, Gross",
                            "verboseLabel":  "Total property and equipment, gross"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentGross",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciationComponentsOfPropertyAndEquipmentAtCostDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Property, Plant and Equipment [Line Items]"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciationComponentsOfPropertyAndEquipmentAtCostDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentNet":  {
                "auth_ref":  [
                    "r12",
                    "r13",
                    "r192",
                    "r344"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciationComponentsOfPropertyAndEquipmentAtCostDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale.  Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
                            "label":  "Property, Plant and Equipment, Net",
                            "totalLabel":  "Property and equipment, net of accumulated depreciation",
                            "verboseLabel":  "Property and equipment, net of accumulated depreciation"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentNet",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciationComponentsOfPropertyAndEquipmentAtCostDetails",
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentTextBlock":  {
                "auth_ref":  [
                    "r12",
                    "r192"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of physical assets used in the normal conduct of business and not intended for resale.  Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
                            "label":  "Property, Plant and Equipment [Table Text Block]",
                            "verboseLabel":  "Components of Property and Equipment, at Cost"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciationTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentTypeDomain":  {
                "auth_ref":  [
                    "r12",
                    "r190"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Listing of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale.  Examples include land, buildings, machinery and equipment, and other types of furniture and equipment including, but not limited to, office equipment, furniture and fixtures, and computer equipment and software.",
                            "label":  "Property Plant And Equipment Type [Domain]",
                            "terseLabel":  "Property, Plant and Equipment, Type [Domain]"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentTypeDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciationComponentsOfPropertyAndEquipmentAtCostDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ProvisionForDoubtfulAccounts":  {
                "auth_ref":  [
                    "r68",
                    "r152"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  7.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of expense (reversal of expense) for expected credit loss on accounts receivable.",
                            "label":  "Provision for Doubtful Accounts",
                            "verboseLabel":  "Provision for allowance for doubtful accounts"
                            }
                        }
                    },
                "localname":  "ProvisionForDoubtfulAccounts",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RealizedGainLossOnInvestmentsTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of realized gains and losses on investments reported in the statement of income.",
                            "label":  "Realized Gain (Loss) on Investments [Table Text Block]",
                            "terseLabel":  "Realized Gains and Losses from Sale of Available-for-sale Securities"
                            }
                        }
                    },
                "localname":  "RealizedGainLossOnInvestmentsTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ReceivableTypeDomain":  {
                "auth_ref":  [
                    "r47"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Financing arrangement representing a contractual right to receive money either on demand or on fixed and determinable dates.",
                            "label":  "Receivable Type [Domain]",
                            "terseLabel":  "Receivable [Domain]"
                            }
                        }
                    },
                "localname":  "ReceivableTypeDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ReceivablesPolicyTextBlock":  {
                "auth_ref":  [
                    "r90",
                    "r126",
                    "r129",
                    "r130",
                    "r131"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for receivable.  Includes, but is not limited to, accounts receivable and financing receivable.",
                            "label":  "Receivables, Policy [Policy Text Block]",
                            "terseLabel":  "Accounts Receivable, Net of Allowance for Doubtful Accounts"
                            }
                        }
                    },
                "localname":  "ReceivablesPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesPolicy"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_RestrictedCash":  {
                "auth_ref":  [
                    "r89",
                    "r318",
                    "r341"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of cash restricted as to withdrawal or usage.  Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.",
                            "label":  "Restricted Cash",
                            "terseLabel":  "Restricted cash"
                            }
                        }
                    },
                "localname":  "RestrictedCash",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsNarrativeDetails",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RestrictedCashCurrent":  {
                "auth_ref":  [
                    "r0",
                    "r11",
                    "r89"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "payx_CurrentAssetsBeforeFundsHeldForClients",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of cash restricted as to withdrawal or usage, classified as current.  Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.",
                            "label":  "Restricted Cash, Current",
                            "verboseLabel":  "Restricted cash"
                            }
                        }
                    },
                "localname":  "RestrictedCashCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RestrictedCashNoncurrent":  {
                "auth_ref":  [
                    "r7",
                    "r14",
                    "r89",
                    "r357"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  8.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of cash restricted as to withdrawal or usage, classified as noncurrent.  Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.",
                            "label":  "Restricted Cash, Noncurrent",
                            "terseLabel":  "Long-term restricted cash"
                            }
                        }
                    },
                "localname":  "RestrictedCashNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RetainedEarningsAccumulatedDeficit":  {
                "auth_ref":  [
                    "r24",
                    "r211",
                    "r342"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_StockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
                            "label":  "Retained Earnings (Accumulated Deficit)",
                            "verboseLabel":  "Retained earnings"
                            }
                        }
                    },
                "localname":  "RetainedEarningsAccumulatedDeficit",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RetainedEarningsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
                            "label":  "Retained Earnings [Member]",
                            "terseLabel":  "Retained Earnings [Member]"
                            }
                        }
                    },
                "localname":  "RetainedEarningsMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfStockholdersEquity"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_RevenueFromContractWithCustomerAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Service Revenue [Abstract]"
                            }
                        }
                    },
                "localname":  "RevenueFromContractWithCustomerAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax":  {
                "auth_ref":  [
                    "r222",
                    "r223"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_Revenues",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer.  Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise.",
                            "label":  "Revenue from Contract with Customer, Excluding Assessed Tax",
                            "verboseLabel":  "Total service revenue"
                            }
                        }
                    },
                "localname":  "RevenueFromContractWithCustomerExcludingAssessedTax",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueSummaryOfDisaggregatesRevenueByServicesDetails",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RevenueFromContractWithCustomerTextBlock":  {
                "auth_ref":  [
                    "r228"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The entire disclosure of revenue from contract with customer to transfer good or service and to transfer nonfinancial asset.  Includes, but is not limited to, disaggregation of revenue, credit loss recognized from contract with customer, judgment and change in judgment related to contract with customer, and asset recognized from cost incurred to obtain or fulfill contract with customer.  Excludes insurance and lease contracts.",
                            "label":  "Revenue from Contract with Customer [Text Block]",
                            "terseLabel":  "Service Revenue"
                            }
                        }
                    },
                "localname":  "RevenueFromContractWithCustomerTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenue"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_RevenuePerformanceObligationDescriptionOfTiming":  {
                "auth_ref":  [
                    "r219"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Description of timing for satisfying performance obligation in contract with customer.  Includes, but is not limited to, as services are rendered, and upon shipment, delivery or completion of service.",
                            "label":  "Revenue, Performance Obligation, Description of Timing",
                            "terseLabel":  "Revenue performance obligations timing"
                            }
                        }
                    },
                "localname":  "RevenuePerformanceObligationDescriptionOfTiming",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RevenueRemainingPerformanceObligation":  {
                "auth_ref":  [
                    "r220"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of transaction price allocated to performance obligation that has not been recognized as revenue.",
                            "label":  "Revenue, Remaining Performance Obligation, Amount",
                            "terseLabel":  "Deferred revenue, performance obligations"
                            }
                        }
                    },
                "localname":  "RevenueRemainingPerformanceObligation",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueNarrativePerformanceObligationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction [Line Items]"
                            }
                        }
                    },
                "localname":  "RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueNarrativePerformanceObligationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1":  {
                "auth_ref":  [
                    "r221"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Period in which remaining performance obligation is expected to be recognized as revenue, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
                            "label":  "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Period",
                            "terseLabel":  "Deferred revenue, timing of satisfaction"
                            }
                        }
                    },
                "localname":  "RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueNarrativePerformanceObligationDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis":  {
                "auth_ref":  [
                    "r221"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Start date of time band for expected timing of satisfaction of remaining performance obligation, in CCYY-MM-DD format.",
                            "label":  "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]"
                            }
                        }
                    },
                "localname":  "RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueNarrativePerformanceObligationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Disclosure of information about expected timing for satisfying remaining performance obligation.",
                            "label":  "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction [Table]"
                            }
                        }
                    },
                "localname":  "RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureServiceRevenueNarrativePerformanceObligationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_Revenues":  {
                "auth_ref":  [
                    "r65",
                    "r115",
                    "r116",
                    "r121"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_OperatingIncomeLoss",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process.  Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss).",
                            "label":  "Revenues",
                            "totalLabel":  "Total revenue"
                            }
                        }
                    },
                "localname":  "Revenues",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RevenuesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Revenues [Abstract]",
                            "verboseLabel":  "Revenue:"
                            }
                        }
                    },
                "localname":  "RevenuesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RevolvingCreditFacilityMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Arrangement in which loan proceeds can continuously be obtained following repayments, but the total amount borrowed cannot exceed a specified maximum amount.",
                            "label":  "Revolving Credit Facility [Member]",
                            "terseLabel":  "Revolving Credit Facility [Member]"
                            }
                        }
                    },
                "localname":  "RevolvingCreditFacilityMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingCreditFacilityAmountBorrowedDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureShortTermFinancingTables"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability":  {
                "auth_ref":  [
                    "r304",
                    "r309"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of increase in right-of-use asset obtained in exchange for operating lease liability.",
                            "label":  "Right-of-Use Asset Obtained in Exchange for Operating Lease Liability",
                            "terseLabel":  "ROU assets obtained in exchange for new operating lease liabilities"
                            }
                        }
                    },
                "localname":  "RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeasesSupplementalCashFlowInformationRelatedToLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_SalesRevenueNetMember":  {
                "auth_ref":  [
                    "r112"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Revenue from sale of product and rendering of service and other sources of income, when it serves as benchmark in concentration of risk calculation.",
                            "label":  "Sales Revenue Net [Member]",
                            "terseLabel":  "Revenue [Member]"
                            }
                        }
                    },
                "localname":  "SalesRevenueNetMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock":  {
                "auth_ref":  [
                    "r56"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the components of accumulated other comprehensive income (loss).",
                            "label":  "Schedule of Accumulated Other Comprehensive Income (Loss) [Table Text Block]",
                            "verboseLabel":  "Changes in Accumulated Other Comprehensive Income/(Loss)"
                            }
                        }
                    },
                "localname":  "ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Schedule of Available-for-sale Securities [Line Items]",
                            "terseLabel":  "Schedule of Available-for-sale Securities [Line Items]"
                            }
                        }
                    },
                "localname":  "ScheduleOfAvailableForSaleSecuritiesLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsSecuritiesInUnrealizedLossPositionDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfAvailableForSaleSecuritiesTable":  {
                "auth_ref":  [
                    "r140",
                    "r142",
                    "r145",
                    "r146",
                    "r147",
                    "r148",
                    "r330",
                    "r332"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Schedule of available-for-sale securities which includes, but is not limited to, changes in the cost basis and fair value, fair value and gross unrealized gain (loss), fair values by type of security, contractual maturity and classification, amortized cost basis, contracts to acquire securities to be accounted for as available-for-sale, debt maturities, transfers to trading, change in net unrealized holding gain (loss) net of tax, continuous unrealized loss position fair value, aggregate losses qualitative disclosures, other than temporary impairment (OTTI) losses or other disclosures related to available for sale securities.",
                            "label":  "Schedule of Available-for-sale Securities [Table]",
                            "terseLabel":  "Schedule of Available-for-sale Securities [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfAvailableForSaleSecuritiesTable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsSecuritiesInUnrealizedLossPositionDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable":  {
                "auth_ref":  [
                    "r256",
                    "r257"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Schedule reflecting each material business combination (or series of individually immaterial business combinations) completed during the period, including background, timing, and recognized assets and liabilities.",
                            "label":  "Schedule of Business Acquisitions, by Acquisition [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfBusinessAcquisitionsByAcquisitionTable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails",
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfDebtInstrumentsTextBlock":  {
                "auth_ref":  [
                    "r42",
                    "r92",
                    "r207",
                    "r208",
                    "r209",
                    "r210",
                    "r288",
                    "r289",
                    "r291",
                    "r334"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of long-debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation.  These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the entity, if longer.",
                            "label":  "Schedule of Long-term Debt Instruments [Table Text Block]",
                            "terseLabel":  "Schedule Of Long-Term Debt"
                            }
                        }
                    },
                "localname":  "ScheduleOfDebtInstrumentsTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLongTermFinancingTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock":  {
                "auth_ref":  [
                    "r107"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations.",
                            "label":  "Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]",
                            "verboseLabel":  "Basic and Diluted Earnings Per Share"
                            }
                        }
                    },
                "localname":  "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock":  {
                "auth_ref":  [
                    "r272",
                    "r273"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of assets and liabilities, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, that are measured at fair value on a recurring basis.  The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3).",
                            "label":  "Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block]",
                            "verboseLabel":  "Financial Assets and Liabilities Measured at Fair Value on Recurring Basis"
                            }
                        }
                    },
                "localname":  "ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable":  {
                "auth_ref":  [
                    "r178",
                    "r182"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Schedule of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
                            "label":  "Schedule of Finite-Lived Intangible Assets [Table]",
                            "terseLabel":  "Schedule of Intangible Assets [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfFiniteLivedIntangibleAssetsTable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationComponentsOfIntangibleAssetsAtCostDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock":  {
                "auth_ref":  [
                    "r178",
                    "r182"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of assets, excluding financial assets and goodwill, lacking physical substance with a finite life, by either major class or business segment.",
                            "label":  "Schedule of Finite-Lived Intangible Assets [Table Text Block]",
                            "verboseLabel":  "Components of Intangible Assets, at Cost"
                            }
                        }
                    },
                "localname":  "ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfGoodwillTextBlock":  {
                "auth_ref":  [
                    "r174",
                    "r175"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of goodwill by reportable segment and in total which includes a rollforward schedule.",
                            "label":  "Schedule of Goodwill [Table Text Block]",
                            "terseLabel":  "Change in Goodwill"
                            }
                        }
                    },
                "localname":  "ScheduleOfGoodwillTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfLineOfCreditFacilitiesTextBlock":  {
                "auth_ref":  [
                    "r36",
                    "r92"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of short-term or long-term contractual arrangements with lenders, including letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line.",
                            "label":  "Schedule of Line of Credit Facilities [Table Text Block]",
                            "terseLabel":  "Description of Credit Facilities"
                            }
                        }
                    },
                "localname":  "ScheduleOfLineOfCreditFacilitiesTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfOtherNonoperatingIncomeExpenseTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the components of non-operating income or non-operating expense that may include amounts earned from dividends, interest on securities, gains (losses) on securities sold, equity earnings of unconsolidated affiliates, net gain (loss) on sales of business, interest expense and other miscellaneous income or expense items.",
                            "label":  "Schedule of Other Nonoperating Income (Expense) [Table Text Block]",
                            "verboseLabel":  "Schedule of Interest (Expense)/Income, Net"
                            }
                        }
                    },
                "localname":  "ScheduleOfOtherNonoperatingIncomeExpenseTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureOtherExpenseIncomeNetTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfPropertyPlantAndEquipmentTable":  {
                "auth_ref":  [
                    "r33",
                    "r192"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Disclosure of information about physical assets used in the normal conduct of business and not intended for resale.  Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
                            "label":  "Property, Plant and Equipment [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfPropertyPlantAndEquipmentTable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciationComponentsOfPropertyAndEquipmentAtCostDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock":  {
                "auth_ref":  [
                    "r260"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the amounts recognized as of the acquisition date for each major class of assets acquired and liabilities assumed.  May include but not limited to the following: (a) acquired receivables; (b) contingencies recognized at the acquisition date; and (c) the fair value of noncontrolling interests in the acquiree.",
                            "label":  "Schedule of Recognized Identified Assets Acquired and Liabilities Assumed [Table Text Block]",
                            "terseLabel":  "Acquisition Date Fair Values to Acquired Net Assets"
                            }
                        }
                    },
                "localname":  "ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBusinessCombinationsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock":  {
                "auth_ref":  [
                    "r145"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "For all investments in an unrealized loss position, including those for which other-than-temporary impairments have not been recognized in earnings (including investments for which a portion of an other-than-temporary impairment has been recognized in other comprehensive income), a tabular disclosure of the aggregate related fair value of investments with unrealized losses and the aggregate amount of unrealized losses (that is, the amount by which amortized cost basis exceeds fair value).",
                            "label":  "Schedule of Unrealized Loss on Investments [Table Text Block]",
                            "verboseLabel":  "Securities in Unrealized Loss Position"
                            }
                        }
                    },
                "localname":  "ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock":  {
                "auth_ref":  [
                    "r182"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the amount of amortization expense expected to be recorded in succeeding fiscal years for finite-lived intangible assets.",
                            "label":  "Schedule of Finite-Lived Intangible Assets, Future Amortization Expense [Table Text Block]",
                            "verboseLabel":  "Estimated Amortization Expense"
                            }
                        }
                    },
                "localname":  "ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_SellingGeneralAndAdministrativeExpense":  {
                "auth_ref":  [
                    "r70",
                    "r162"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_OperatingExpenses",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The aggregate total costs related to selling a firm's product and services, as well as all other general and administrative expenses.  Direct selling expenses (for example, credit, warranty, and advertising) are expenses that can be directly linked to the sale of specific products.  Indirect selling expenses are expenses that cannot be directly linked to the sale of specific products, for example telephone expenses, Internet, and postal charges.  General and administrative expenses include salaries of non-sales personnel, rent, utilities, communication, etc.",
                            "label":  "Selling, General and Administrative Expense",
                            "verboseLabel":  "Selling, general and administrative expenses"
                            }
                        }
                    },
                "localname":  "SellingGeneralAndAdministrativeExpense",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_SeniorNotesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Bond that takes priority over other debt securities sold by the issuer.  In the event the issuer goes bankrupt, senior debt holders receive priority for (must receive) repayment prior to (relative to) junior and unsecured (general) creditors.",
                            "label":  "Senior Notes [Member]",
                            "terseLabel":  "Senior Notes [Member]"
                            }
                        }
                    },
                "localname":  "SeniorNotesMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialLiabilitiesMeasuredAtFairValueOnNonRecurringBasisDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingInformationRelatedToSeniorNotesDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureLongTermFinancingScheduleOfLongTermDebtDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ShareBasedCompensation":  {
                "auth_ref":  [
                    "r84"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of noncash expense for share-based payment arrangement.",
                            "label":  "Share-based Compensation",
                            "verboseLabel":  "Stock-based compensation costs"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensation",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy":  {
                "auth_ref":  [
                    "r90",
                    "r234",
                    "r235"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for award under share-based payment arrangement.  Includes, but is not limited to, methodology and assumption used in measuring cost.",
                            "label":  "Share-based Compensation, Option and Incentive Plans Policy [Policy Text Block]",
                            "terseLabel":  "Stock-Based Compensation Costs"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationOptionAndIncentivePlansPolicy",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesPolicy"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ShareRepurchaseProgramAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by share repurchase program.",
                            "label":  "Share Repurchase Program [Axis]"
                            }
                        }
                    },
                "localname":  "ShareRepurchaseProgramAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareRepurchaseProgramDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Name of the share repurchase program.",
                            "label":  "Share Repurchase Program [Domain]",
                            "terseLabel":  "Share Repurchase Program [Domain]"
                            }
                        }
                    },
                "localname":  "ShareRepurchaseProgramDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ShortTermBorrowings":  {
                "auth_ref":  [
                    "r15",
                    "r320",
                    "r339"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  4.0,
                        "parentTag":  "payx_CurrentLiabilitiesBeforeClientFundObligations",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Reflects the total carrying amount as of the balance sheet date of debt having initial terms less than one year or the normal operating cycle, if longer.",
                            "label":  "Short-term Debt",
                            "terseLabel":  "Short-term borrowings"
                            }
                        }
                    },
                "localname":  "ShortTermBorrowings",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ShortTermDebtTextBlock":  {
                "auth_ref":  [
                    "r205"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The entire disclosure for short-term debt.",
                            "label":  "Short-term Debt [Text Block]",
                            "terseLabel":  "Short-term Financing"
                            }
                        }
                    },
                "localname":  "ShortTermDebtTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancing"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ShortTermLeaseCost":  {
                "auth_ref":  [
                    "r301",
                    "r309"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of short-term lease cost, excluding expense for lease with term of one month or less.",
                            "label":  "Short-term Lease, Cost",
                            "terseLabel":  "Short-term lease expense"
                            }
                        }
                    },
                "localname":  "ShortTermLeaseCost",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeasesComponentsOfLeaseExpenseDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_SoftwareAndSoftwareDevelopmentCostsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Purchased software applications and internally developed software for sale, licensing or long-term internal use.",
                            "label":  "Software And Software Development Costs [Member]",
                            "terseLabel":  "Software [Member]"
                            }
                        }
                    },
                "localname":  "SoftwareAndSoftwareDevelopmentCostsMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciationComponentsOfPropertyAndEquipmentAtCostDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_StandbyLettersOfCreditMember":  {
                "auth_ref":  [
                    "r198",
                    "r199",
                    "r266",
                    "r355"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "An irrevocable undertaking (typically by a financial institution) to guarantee payment of a specified financial obligation.",
                            "label":  "Standby Letters Of Credit [Member]",
                            "terseLabel":  "Standby Letters of Credit [Member]"
                            }
                        }
                    },
                "localname":  "StandbyLettersOfCreditMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_StatementEquityComponentsAxis":  {
                "auth_ref":  [
                    "r45",
                    "r206"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by component of equity.",
                            "label":  "Equity Components [Axis]"
                            }
                        }
                    },
                "localname":  "StatementEquityComponentsAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareNarrativeDetails",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfStockholdersEquity"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Statement [Line Items]",
                            "terseLabel":  "Statement [Line Items]"
                            }
                        }
                    },
                "localname":  "StatementLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLongTermFinancingNarrativeDetails",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfStockholdersEquity"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementOfCashFlowsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Consolidated Statements of Cash Flows [Abstract]"
                            }
                        }
                    },
                "localname":  "StatementOfCashFlowsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementOfFinancialPositionAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Consolidated Balance Sheets [Abstract]"
                            }
                        }
                    },
                "localname":  "StatementOfFinancialPositionAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementOfStockholdersEquityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Consolidated Statements of Stockholders' Equity [Abstract]"
                            }
                        }
                    },
                "localname":  "StatementOfStockholdersEquityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementTable":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed.",
                            "label":  "Statement [Table]",
                            "terseLabel":  "Statement [Table]"
                            }
                        }
                    },
                "localname":  "StatementTable",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLongTermFinancingNarrativeDetails",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfStockholdersEquity"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensationGross":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Number, before forfeiture, of shares issued under share-based payment arrangement.  Excludes employee stock ownership plan (ESOP).",
                            "label":  "Stock Issued During Period, Shares, Share-based Compensation, Gross",
                            "terseLabel":  "Common stock issued in connection with exercise or vesting of stock-based awards",
                            "verboseLabel":  "Activity related to equity-based plans, Shares"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodSharesShareBasedCompensationGross",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareNarrativeDetails",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfStockholdersEquity"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_StockRepurchaseProgramAuthorizedAmount1":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of stock repurchase plan authorized.",
                            "label":  "Stock Repurchase Program, Authorized Amount",
                            "terseLabel":  "Approved repurchase amount"
                            }
                        }
                    },
                "localname":  "StockRepurchaseProgramAuthorizedAmount1",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareNarrativeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockRepurchaseProgramExpirationDate":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Expiration date for the purchase of an entity's own shares under a stock repurchase plan, in the CCYY-MM-DD format.",
                            "label":  "Stock Repurchase Program Expiration Date",
                            "terseLabel":  "Expiration date"
                            }
                        }
                    },
                "localname":  "StockRepurchaseProgramExpirationDate",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareNarrativeDetails"
                    ],
                "xbrltype":  "dateItemType"
                },
            "us-gaap_StockRepurchasedAndRetiredDuringPeriodShares":  {
                "auth_ref":  [
                    "r20",
                    "r21",
                    "r206",
                    "r211"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Number of shares that have been repurchased and retired during the period.",
                            "label":  "Stock Repurchased and Retired During Period, Shares",
                            "negatedTerseLabel":  "Repurchases of common shares, Shares",
                            "terseLabel":  "Common stock repurchased and retired, shares"
                            }
                        }
                    },
                "localname":  "StockRepurchasedAndRetiredDuringPeriodShares",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareNarrativeDetails",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfStockholdersEquity"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_StockRepurchasedAndRetiredDuringPeriodValue":  {
                "auth_ref":  [
                    "r20",
                    "r21",
                    "r206",
                    "r211"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Equity impact of the value of stock that has been repurchased and retired during the period.  The excess of the purchase price over par value can be charged against retained earnings (once the excess is fully allocated to additional paid in capital).",
                            "label":  "Stock Repurchased and Retired During Period, Value",
                            "negatedLabel":  "Repurchases of common shares",
                            "terseLabel":  "Common stock repurchased and retired, values"
                            }
                        }
                    },
                "localname":  "StockRepurchasedAndRetiredDuringPeriodValue",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareNarrativeDetails",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfStockholdersEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockholdersEquity":  {
                "auth_ref":  [
                    "r21",
                    "r25",
                    "r26",
                    "r128"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LiabilitiesAndStockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent.  The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest).  This excludes temporary equity and is sometimes called permanent equity.",
                            "label":  "Stockholders' Equity Attributable to Parent",
                            "periodEndLabel":  "Ending balance",
                            "periodStartLabel":  "Beginning balance",
                            "totalLabel":  "Total stockholders' equity"
                            }
                        }
                    },
                "localname":  "StockholdersEquity",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfStockholdersEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockholdersEquityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Stockholders' Equity Attributable to Parent [Abstract]",
                            "terseLabel":  "Stockholders' equity"
                            }
                        }
                    },
                "localname":  "StockholdersEquityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets",
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StockholdersEquityNoteAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "label":  "Accumulated Other Comprehensive Income/(Loss) [Abstract]"
                            }
                        }
                    },
                "localname":  "StockholdersEquityNoteAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_TechnologyEquipmentMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Equipment used in the creation, maintenance and utilization of information systems which include computers and peripherals.",
                            "label":  "Technology Equipment [Member]",
                            "terseLabel":  "Data Processing Equipment [Member]"
                            }
                        }
                    },
                "localname":  "TechnologyEquipmentMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciationComponentsOfPropertyAndEquipmentAtCostDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_TradeAccountsReceivableMember":  {
                "auth_ref":  [
                    "r46"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount due from customers or clients for goods or services that have been delivered or sold in the normal course of business.",
                            "label":  "Trade Accounts Receivable [Member]",
                            "terseLabel":  "Trade Receivables [Member]"
                            }
                        }
                    },
                "localname":  "TradeAccountsReceivableMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_TradeAndOtherAccountsReceivableUnbilledReceivablesPolicy":  {
                "auth_ref":  [
                    "r132"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for treatment of receivables that are billable but have not been billed as of the balance sheet date.",
                            "label":  "Trade and Other Accounts Receivable, Unbilled Receivables, Policy [Policy Text Block]",
                            "terseLabel":  "Professional Employer Organization (\"PEO\") Unbilled Receivables, Net of Advance Collections"
                            }
                        }
                    },
                "localname":  "TradeAndOtherAccountsReceivableUnbilledReceivablesPolicy",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesPolicy"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain":  {
                "auth_ref":  [
                    "r315"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Instrument or contract that imposes a contractual obligation to deliver cash or another financial instrument or to exchange other financial instruments on potentially unfavorable terms and conveys a contractual right to receive cash or another financial instrument or to exchange other financial instruments on potentially favorable terms.",
                            "label":  "Transfers And Servicing Of Financial Instruments Types Of Financial Instruments [Domain]",
                            "terseLabel":  "Major Types of Debt and Equity Securities [Domain]"
                            }
                        }
                    },
                "localname":  "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsSecuritiesInUnrealizedLossPositionDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_TypeOfAdoptionMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Adoption and early adoption of sources of change to generally accepted accounting principles (GAAP) in the United States.  The FASB released the FASB Accounting Standards Codification as the authoritative source of literature effective for interim and annual periods ending after September 15, 2009.  As part of the Codification process, the FASB issues Accounting Standards Updates to amend the Codification but otherwise the Accounting Standards Updates are not authoritative in their own right.  All previous accounting standards (such as FASB Statements of Financial Accounting Standards, FASB Interpretations, FASB Staff Positions, Emerging Issues Task Force Consensuses, other pronouncements of the FASB or other designated bodies, or other forms of GAAP are considered accounting pronouncements) were superseded upon the adoption of the Codification.  For an interim period, references to the superseded standards are included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.",
                            "label":  "Type Of Adoption [Member]",
                            "terseLabel":  "Type of Adoption [Domain]"
                            }
                        }
                    },
                "localname":  "TypeOfAdoptionMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_USStatesAndPoliticalSubdivisionsMember":  {
                "auth_ref":  [
                    "r229",
                    "r353"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Bonds or similar securities issued by state, city, or local US governments or the agencies operated by state, city, or local governments.  Debt securities issued by state governments may include bond issuances of US state authorities including, for example, but not limited to, housing authorities, dormitory authorities, and general obligations while debt securities issued by political subdivisions of US states would include, for example, debt issuances by county, borough, city, or municipal governments.",
                            "label":  "U S States And Political Subdivisions [Member]",
                            "terseLabel":  "General Obligation Municipal Bonds [Member]"
                            }
                        }
                    },
                "localname":  "USStatesAndPoliticalSubdivisionsMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsSecuritiesInUnrealizedLossPositionDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_USTreasuryAndGovernmentMember":  {
                "auth_ref":  [
                    "r229",
                    "r324",
                    "r353"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "This category includes investments in debt securities issued by the United States Department of the Treasury, US Government Agencies and US Government-sponsored Enterprises.  Such securities may include treasury bills (short-term maturities - one year or less), treasury notes (intermediate term maturities - two to ten years), and treasury bonds (long-term maturities - ten to thirty years), debt securities issued by the Government National Mortgage Association (Ginnie Mae) and debt securities issued by the Federal National Mortgage Association (Fannie Mae) or the Federal Home Loan Mortgage Corporation (Freddie Mac).",
                            "label":  "U S Treasury And Government [Member]",
                            "terseLabel":  "U.S.  Government Agency And Treasury Securities [Member]"
                            }
                        }
                    },
                "localname":  "USTreasuryAndGovernmentMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsNarrativeDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsSecuritiesInUnrealizedLossPositionDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_UnbilledReceivablesCurrent":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets":  {
                        "order":  8.0,
                        "parentTag":  "payx_CurrentAssetsBeforeFundsHeldForClients",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount received for services rendered and products shipped, but not yet billed, for non-contractual agreements due within one year or the normal operating cycle, if longer.",
                            "label":  "Unbilled Receivables, Current",
                            "terseLabel":  "PEO unbilled receivables, net of advance collections"
                            }
                        }
                    },
                "localname":  "UnbilledReceivablesCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/StatementConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_VariableLeaseCost":  {
                "auth_ref":  [
                    "r302",
                    "r309"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Amount of variable lease cost, excluded from lease liability, recognized when obligation for payment is incurred for finance and operating leases.",
                            "label":  "Variable Lease, Cost",
                            "terseLabel":  "Variable payment operating lease expense"
                            }
                        }
                    },
                "localname":  "VariableLeaseCost",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureLeasesComponentsOfLeaseExpenseDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_VariableRateAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Information by type of variable rate.",
                            "label":  "Variable Rate [Axis]"
                            }
                        }
                    },
                "localname":  "VariableRateAxis",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_VariableRateDemandObligationMember":  {
                "auth_ref":  [
                    "r315"
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Debt securities that permit the holder to require the trustee or tender agent to repurchase the security at specified dates before maturity.  This type of bond is also known as a multimaturity bond, an option tender bond, or a put bond.",
                            "label":  "Variable Rate Demand Obligation [Member]",
                            "terseLabel":  "Variable Rate Demand Notes [Member]"
                            }
                        }
                    },
                "localname":  "VariableRateDemandObligationMember",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails",
                    "http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_VariableRateDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Interest rate that fluctuates over time as a result of an underlying benchmark interest rate or index.",
                            "label":  "Variable Rate [Domain]",
                            "terseLabel":  "Variable Rate [Domain]"
                            }
                        }
                    },
                "localname":  "VariableRateDomain",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding":  {
                "auth_ref":  [
                    "r100",
                    "r105"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareBasicAndDilutedEarningsPerShareDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.",
                            "label":  "Weighted Average Number of Shares Outstanding, Diluted",
                            "totalLabel":  "Weighted-average common shares outstanding, assuming dilution",
                            "verboseLabel":  "Weighted-average common shares outstanding, assuming dilution"
                            }
                        }
                    },
                "localname":  "WeightedAverageNumberOfDilutedSharesOutstanding",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareBasicAndDilutedEarningsPerShareDetails",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic":  {
                "auth_ref":  [
                    "r98",
                    "r105"
                    ],
                "calculation":  {
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareBasicAndDilutedEarningsPerShareDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
                        "weight":  1.0
                        }
                    },
                "lang":  {
                    "en-US":  {
                        "role":  {
                            "documentation":  "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.",
                            "label":  "Weighted Average Number of Shares Outstanding, Basic",
                            "verboseLabel":  "Weighted-average common shares outstanding"
                            }
                        }
                    },
                "localname":  "WeightedAverageNumberOfSharesOutstandingBasic",
                "nsuri":  "http://fasb.org/us-gaap/2019-01-31",
                "presentation":  [
                    "http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareBasicAndDilutedEarningsPerShareDetails",
                    "http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome"
                    ],
                "xbrltype":  "sharesItemType"
                }
            },
        "unitCount":  7
        }
    },
"std_ref":  {
    "r0":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=118951113&loc=d3e6676-107765"
        },
    "r1":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=118951113&loc=d3e6676-107765"
        },
    "r10":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=118951113&loc=d3e6911-107765"
        },
    "r100":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "16",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=117326831&loc=d3e1505-109256"
        },
    "r101":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=117326831&loc=d3e1252-109256"
        },
    "r102":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=117326831&loc=d3e1500-109256"
        },
    "r103":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "60B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=117326831&loc=SL5780133-109256"
        },
    "r104":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=117326831&loc=d3e1337-109256"
        },
    "r105":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257"
        },
    "r106":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257"
        },
    "r107":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257"
        },
    "r108":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "52",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=117327953&loc=d3e4984-109258"
        },
    "r109":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/topic&trid=2144383"
        },
    "r11":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(1))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r110":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
        },
    "r111":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "18",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592"
        },
    "r112":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "18",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592"
        },
    "r113":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6404-108592"
        },
    "r114":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/topic&trid=2134479"
        },
    "r115":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599"
        },
    "r116":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599"
        },
    "r117":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599"
        },
    "r118":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599"
        },
    "r119":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599"
        },
    "r12":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(13))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r120":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599"
        },
    "r121":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8933-108599"
        },
    "r122":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "40",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e9031-108599"
        },
    "r123":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "41",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=115929826&loc=d3e9038-108599"
        },
    "r124":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=118952595&loc=d3e4428-111522"
        },
    "r125":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=118952595&loc=d3e4531-111522"
        },
    "r126":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=118936363&loc=d3e5033-111524"
        },
    "r127":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=118936363&loc=d3e5074-111524"
        },
    "r128":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 4.E)",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=27010918&loc=d3e74512-122707"
        },
    "r129":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=84159169&loc=d3e10133-111534"
        },
    "r13":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(14))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r130":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=84159169&loc=d3e10149-111534"
        },
    "r131":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=84159169&loc=d3e10178-111534"
        },
    "r132":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/topic&trid=2196771"
        },
    "r133":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=118954083&loc=d3e26610-111562"
        },
    "r134":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=118954083&loc=d3e26853-111562"
        },
    "r135":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27161-111563"
        },
    "r136":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(aa)",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27161-111563"
        },
    "r137":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27161-111563"
        },
    "r138":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27161-111563"
        },
    "r139":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27161-111563"
        },
    "r14":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(17))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r140":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27161-111563"
        },
    "r141":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27198-111563"
        },
    "r142":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27198-111563"
        },
    "r143":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27232-111563"
        },
    "r144":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)(3)",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27290-111563"
        },
    "r145":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27290-111563"
        },
    "r146":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27337-111563"
        },
    "r147":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27340-111563"
        },
    "r148":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)-(d)",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27357-111563"
        },
    "r149":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "320",
        "URI":  "http://asc.fasb.org/extlink&oid=118939692&loc=d3e27357-111563"
        },
    "r15":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(19)(a))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r150":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=118955202&loc=SL82895884-210446"
        },
    "r151":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919244-210447"
        },
    "r152":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919249-210447"
        },
    "r153":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919249-210447"
        },
    "r154":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919253-210447"
        },
    "r155":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "16",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919258-210447"
        },
    "r156":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919230-210447"
        },
    "r157":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=118942338&loc=SL82898722-210454"
        },
    "r158":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=118955579&loc=SL82922888-210455"
        },
    "r159":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=118955579&loc=SL82922895-210455"
        },
    "r16":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(19))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r160":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=118955579&loc=SL82922900-210455"
        },
    "r161":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "30",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=118942371&loc=SL82922954-210456"
        },
    "r162":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "30",
        "SubTopic":  "10",
        "Topic":  "330",
        "URI":  "http://asc.fasb.org/extlink&oid=68048583&loc=d3e3636-108311"
        },
    "r163":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "05",
        "SubTopic":  "10",
        "Topic":  "340",
        "URI":  "http://asc.fasb.org/extlink&oid=68074540&loc=d3e5865-108316"
        },
    "r164":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "05",
        "SubTopic":  "10",
        "Topic":  "340",
        "URI":  "http://asc.fasb.org/extlink&oid=68074540&loc=d3e5879-108316"
        },
    "r165":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "40",
        "Subparagraph":  "(b)",
        "Topic":  "340",
        "URI":  "http://asc.fasb.org/extlink&oid=68051541&loc=SL49131251-203054"
        },
    "r166":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "40",
        "Subparagraph":  "(a)",
        "Topic":  "340",
        "URI":  "http://asc.fasb.org/extlink&oid=68051541&loc=SL49131252-203054"
        },
    "r167":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "40",
        "Subparagraph":  "(b)",
        "Topic":  "340",
        "URI":  "http://asc.fasb.org/extlink&oid=68051541&loc=SL49131252-203054"
        },
    "r168":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "40",
        "Topic":  "340",
        "URI":  "http://asc.fasb.org/extlink&oid=68051541&loc=SL49131252-203054"
        },
    "r169":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=99380562&loc=d3e13770-109266"
        },
    "r17":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(20))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r170":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=77989000&loc=SL49117168-202975"
        },
    "r171":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=108376223&loc=d3e13816-109267"
        },
    "r172":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(f)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=108376223&loc=d3e13816-109267"
        },
    "r173":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(g)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=108376223&loc=d3e13816-109267"
        },
    "r174":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=108376223&loc=d3e13816-109267"
        },
    "r175":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=108376223&loc=d3e13854-109267"
        },
    "r176":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=6388964&loc=d3e16212-109274"
        },
    "r177":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=6388964&loc=d3e16225-109274"
        },
    "r178":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
        },
    "r179":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(b)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
        },
    "r18":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(22))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r180":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(d)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
        },
    "r181":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "((a)(1),(b))",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
        },
    "r182":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
        },
    "r183":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)(1)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
        },
    "r184":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)(2)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
        },
    "r185":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)(3)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
        },
    "r186":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(b)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
        },
    "r187":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(d)",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
        },
    "r188":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "350",
        "URI":  "http://asc.fasb.org/topic&trid=2144416"
        },
    "r189":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "360",
        "URI":  "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
        },
    "r19":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(24))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r190":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "360",
        "URI":  "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
        },
    "r191":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "360",
        "URI":  "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
        },
    "r192":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "360",
        "URI":  "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
        },
    "r193":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "360",
        "URI":  "http://asc.fasb.org/topic&trid=2155823"
        },
    "r194":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "440",
        "URI":  "http://asc.fasb.org/topic&trid=2144648"
        },
    "r195":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "450",
        "URI":  "http://asc.fasb.org/extlink&oid=118942415&loc=d3e14326-108349"
        },
    "r196":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "450",
        "URI":  "http://asc.fasb.org/extlink&oid=118942415&loc=d3e14615-108349"
        },
    "r197":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "450",
        "URI":  "http://asc.fasb.org/topic&trid=2127136"
        },
    "r198":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "460",
        "URI":  "http://asc.fasb.org/extlink&oid=118943654&loc=d3e12021-110248"
        },
    "r199":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "460",
        "URI":  "http://asc.fasb.org/extlink&oid=118956092&loc=d3e12803-110250"
        },
    "r2":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(f)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=118951113&loc=d3e6676-107765"
        },
    "r20":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(28))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r200":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=99376301&loc=SL5988623-112600"
        },
    "r201":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=6802200&loc=SL6230698-112601"
        },
    "r202":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(1)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=109500613&loc=SL6031897-161870"
        },
    "r203":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(3)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=109500613&loc=SL6031897-161870"
        },
    "r204":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=109500613&loc=SL6036836-161870"
        },
    "r205":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/topic&trid=2208564"
        },
    "r206":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644"
        },
    "r207":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21475-112644"
        },
    "r208":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21506-112644"
        },
    "r209":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21521-112644"
        },
    "r21":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(29))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r210":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21538-112644"
        },
    "r211":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.3-04)",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770"
        },
    "r212":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=6405813&loc=d3e23239-112655"
        },
    "r213":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=6405834&loc=d3e23285-112656"
        },
    "r214":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=6405834&loc=d3e23309-112656"
        },
    "r215":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=6405834&loc=d3e23315-112656"
        },
    "r216":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=118944033&loc=SL49130531-203044"
        },
    "r217":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=118944033&loc=SL49130532-203044"
        },
    "r218":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=118956577&loc=SL49130551-203045"
        },
    "r219":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=118956577&loc=SL49130554-203045"
        },
    "r22":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(3))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r220":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=118956577&loc=SL49130556-203045"
        },
    "r221":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)(1)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=118956577&loc=SL49130556-203045"
        },
    "r222":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=118956577&loc=SL49130543-203045"
        },
    "r223":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=118956577&loc=SL49130545-203045"
        },
    "r224":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=118956577&loc=SL49130549-203045"
        },
    "r225":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=118956577&loc=SL49130549-203045"
        },
    "r226":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "91",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=118944142&loc=SL49130690-203046-203046"
        },
    "r227":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "91",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=118944142&loc=SL49130690-203046-203046"
        },
    "r228":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/topic&trid=49130388"
        },
    "r229":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(ii)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r23":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(30)(a)(1))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r230":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(01)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r231":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118257860&loc=d3e4179-114921"
        },
    "r232":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "35",
        "SubTopic":  "10",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=116855982&loc=d3e4534-113899"
        },
    "r233":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5047-113901"
        },
    "r234":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5047-113901"
        },
    "r235":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b),(f)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
        },
    "r236":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)(1)(i)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
        },
    "r237":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 14.F)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=115993241&loc=d3e301413-122809"
        },
    "r238":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=118258462&loc=d3e11149-113907"
        },
    "r239":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=118258462&loc=d3e11178-113907"
        },
    "r24":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(30)(a)(3))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r240":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=116821951&loc=d3e31917-109318"
        },
    "r241":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=116821951&loc=d3e31931-109318"
        },
    "r242":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32687-109319"
        },
    "r243":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32698-109319"
        },
    "r244":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32537-109319"
        },
    "r245":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32639-109319"
        },
    "r246":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 6.I.7)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=116825942&loc=d3e330036-122817"
        },
    "r247":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=109238882&loc=d3e38679-109324"
        },
    "r248":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/topic&trid=2144680"
        },
    "r249":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "16",
        "Publisher":  "FASB",
        "Section":  "25",
        "SubTopic":  "10",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=116868678&loc=d3e961-128460"
        },
    "r25":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(30))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r250":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "23",
        "Publisher":  "FASB",
        "Section":  "25",
        "SubTopic":  "10",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=116868678&loc=d3e1043-128460"
        },
    "r251":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "25",
        "SubTopic":  "10",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=116868678&loc=d3e845-128460"
        },
    "r252":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "25",
        "SubTopic":  "10",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=116868678&loc=d3e848-128460"
        },
    "r253":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
        },
    "r254":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)(2)",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
        },
    "r255":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)(3)",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
        },
    "r256":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
        },
    "r257":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1486-128463"
        },
    "r258":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "37",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=116868840&loc=d3e2207-128464"
        },
    "r259":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=116869197&loc=d3e4845-128472"
        },
    "r26":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(31))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r260":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=116869197&loc=d3e4845-128472"
        },
    "r261":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=77890550&loc=d3e5333-128473"
        },
    "r262":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "30",
        "SubTopic":  "30",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=116859721&loc=d3e6578-128477"
        },
    "r263":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "30",
        "SubTopic":  "30",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=116859721&loc=d3e6613-128477"
        },
    "r264":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(b)",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479"
        },
    "r265":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/topic&trid=2303972"
        },
    "r266":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "15",
        "SubTopic":  "10",
        "Subparagraph":  "(f)(2)",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=116873149&loc=d3e923-111674"
        },
    "r267":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "19",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=108774443&loc=SL4569616-111683"
        },
    "r268":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=108774443&loc=SL4569643-111683"
        },
    "r269":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(3)",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
        },
    "r27":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(32))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r270":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c),(3)",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
        },
    "r271":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/topic&trid=2197479"
        },
    "r272":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r273":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r274":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(bb)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r275":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(bbb)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r276":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(bbb)(1)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r277":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(bbb)(2)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r278":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r279":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r28":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(4)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r280":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r281":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19279-110258"
        },
    "r282":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=SL6742756-110258"
        },
    "r283":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "825",
        "URI":  "http://asc.fasb.org/extlink&oid=118260190&loc=d3e13531-108611"
        },
    "r284":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "21",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "825",
        "URI":  "http://asc.fasb.org/extlink&oid=118260190&loc=d3e13537-108611"
        },
    "r285":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "230",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=98513438&loc=d3e33268-110906"
        },
    "r286":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Subparagraph":  "(b,c)",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
        },
    "r287":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "835",
        "URI":  "http://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391"
        },
    "r288":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "http://asc.fasb.org/extlink&oid=114775744&loc=d3e28541-108399"
        },
    "r289":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "http://asc.fasb.org/extlink&oid=114775744&loc=d3e28551-108399"
        },
    "r29":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(7))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r290":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "http://asc.fasb.org/extlink&oid=114775744&loc=d3e28555-108399"
        },
    "r291":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400"
        },
    "r292":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=119364159&loc=SL77916155-209984"
        },
    "r293":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "25",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888369&loc=SL77918431-209957"
        },
    "r294":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888419&loc=SL77918627-209977"
        },
    "r295":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888419&loc=SL77918627-209977"
        },
    "r296":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888419&loc=SL77918643-209977"
        },
    "r297":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918666-209980"
        },
    "r298":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)(3)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918673-209980"
        },
    "r299":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918673-209980"
        },
    "r3":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(g)(4)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=118951113&loc=d3e6676-107765"
        },
    "r30":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(8))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r300":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980"
        },
    "r301":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980"
        },
    "r302":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980"
        },
    "r303":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(g)(1)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980"
        },
    "r304":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(g)(2)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980"
        },
    "r305":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(g)(3)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980"
        },
    "r306":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(g)(4)",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980"
        },
    "r307":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980"
        },
    "r308":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918701-209980"
        },
    "r309":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "53",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/extlink&oid=77888399&loc=SL77918982-209971"
        },
    "r31":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.1)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r310":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "SubTopic":  "20",
        "Topic":  "842",
        "URI":  "http://asc.fasb.org/subtopic&trid=77888251"
        },
    "r311":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "855",
        "URI":  "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314020-165662"
        },
    "r312":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(bb)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=118948506&loc=d3e107207-111719"
        },
    "r313":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(bb)(1)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=118948506&loc=d3e107207-111719"
        },
    "r314":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(bb)(2)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=118948506&loc=d3e107207-111719"
        },
    "r315":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122625-111746"
        },
    "r316":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "340",
        "Topic":  "928",
        "URI":  "http://asc.fasb.org/extlink&oid=6473545&loc=d3e61844-108004"
        },
    "r317":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "25",
        "SubTopic":  "20",
        "Topic":  "940",
        "URI":  "http://asc.fasb.org/extlink&oid=68072869&loc=d3e41242-110953"
        },
    "r318":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(1)(a))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
        },
    "r319":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(11))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
        },
    "r32":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.13)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r320":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(13))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
        },
    "r321":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(15)(1))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
        },
    "r322":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(16))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
        },
    "r323":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(23))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
        },
    "r324":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(6)(a)(1))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
        },
    "r325":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03.17)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
        },
    "r326":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04(15))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
        },
    "r327":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04(23))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
        },
    "r328":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04.9)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
        },
    "r329":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "230",
        "Subparagraph":  "b.",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=6477933&loc=d3e60009-112784"
        },
    "r33":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.14)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r330":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "320",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=75019621&loc=d3e62557-112803"
        },
    "r331":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "320",
        "Subparagraph":  "(a)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=75019621&loc=d3e62586-112803"
        },
    "r332":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "320",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=75019621&loc=d3e62586-112803"
        },
    "r333":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "470",
        "Subparagraph":  "(c)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=75038535&loc=d3e64711-112823"
        },
    "r334":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "470",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=75038535&loc=d3e64711-112823"
        },
    "r335":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(16))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
        },
    "r336":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(5))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
        },
    "r337":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(12))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
        },
    "r338":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(15)(b)(1))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
        },
    "r339":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(16)(a)(1))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
        },
    "r34":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.17)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r340":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(16))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
        },
    "r341":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(2))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
        },
    "r342":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(23)(a)(4))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
        },
    "r343":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(25))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
        },
    "r344":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(8))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
        },
    "r345":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03.(a),19)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
        },
    "r346":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03.13(b))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
        },
    "r347":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(19))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=116637232&loc=SL114874131-224263"
        },
    "r348":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(8))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=116637232&loc=SL114874131-224263"
        },
    "r349":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4H",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "40",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=116884468&loc=SL65671331-158438"
        },
    "r35":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.19(a))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r350":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13H",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "40",
        "Subparagraph":  "(a)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=117419784&loc=SL117783719-158441"
        },
    "r351":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13H",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "40",
        "Subparagraph":  "(b)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=117419784&loc=SL117783719-158441"
        },
    "r352":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "SubTopic":  "40",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/subtopic&trid=2560295"
        },
    "r353":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "80",
        "Subparagraph":  "(e)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=117420044&loc=d3e19393-158473"
        },
    "r354":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "825",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=99380617&loc=SL75241803-196195"
        },
    "r355":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "946",
        "URI":  "http://asc.fasb.org/extlink&oid=66023616&loc=SL35737432-115832"
        },
    "r356":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "310",
        "Subparagraph":  "(SX 210.12-29(Footnote 4))",
        "Topic":  "948",
        "URI":  "http://asc.fasb.org/extlink&oid=6589523&loc=d3e617274-123014"
        },
    "r357":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "210",
        "Topic":  "954",
        "URI":  "http://asc.fasb.org/extlink&oid=116631420&loc=SL116631458-115580"
        },
    "r358":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "360",
        "Subparagraph":  "(SX 210.12-28(Footnote 2))",
        "Topic":  "970",
        "URI":  "http://asc.fasb.org/extlink&oid=6590653&loc=d3e638233-123024"
        },
    "r359":  {
        "Name":  "Exchange Act",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "12",
        "Subsection":  "b"
        },
    "r36":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.19(b),22(b))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r360":  {
        "Name":  "Exchange Act",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "12",
        "Subsection":  "d1-1"
        },
    "r361":  {
        "Name":  "Form 10-Q",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "13",
        "Subsection":  "a-13"
        },
    "r362":  {
        "Name":  "Forms 10-K, 10-Q, 20-F",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "13",
        "Subsection":  "a-1-"
        },
    "r363":  {
        "Name":  "Regulation 12B",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "12",
        "Subsection":  "b-2"
        },
    "r364":  {
        "Name":  "Regulation S-T",
        "Number":  "232",
        "Publisher":  "SEC",
        "Section":  "405"
        },
    "r37":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.19-26)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r38":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.2)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r39":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.20)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r4":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=118951113&loc=d3e6676-107765"
        },
    "r40":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.21)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r41":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.22(a)(1))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r42":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.22)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r43":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.24)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r44":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.25)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r45":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.29-31)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r46":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.3(a)(1),(4))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r47":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.3,4)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r48":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.8)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r49":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.9)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
        },
    "r5":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=118951113&loc=d3e6787-107765"
        },
    "r50":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669646-108580"
        },
    "r51":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669646-108580"
        },
    "r52":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(f)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669646-108580"
        },
    "r53":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669646-108580"
        },
    "r54":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=d3e637-108580"
        },
    "r55":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=d3e681-108580"
        },
    "r56":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669686-108580"
        },
    "r57":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=d3e689-108580"
        },
    "r58":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=SL34724391-108580"
        },
    "r59":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=SL34724394-108580"
        },
    "r6":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=118951113&loc=d3e6801-107765"
        },
    "r60":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669619-108580"
        },
    "r61":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669619-108580"
        },
    "r62":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669625-108580"
        },
    "r63":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=118930883&loc=d3e557-108580"
        },
    "r64":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(210.5-03(11))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
        },
    "r65":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(1))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
        },
    "r66":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(10))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
        },
    "r67":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(21))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
        },
    "r68":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(5))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
        },
    "r69":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03.1(e))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
        },
    "r7":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=118951113&loc=d3e6812-107765"
        },
    "r70":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03.4)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
        },
    "r71":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03.7)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
        },
    "r72":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03.9)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
        },
    "r73":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/topic&trid=2134417"
        },
    "r74":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3151-108585"
        },
    "r75":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3179-108585"
        },
    "r76":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3179-108585"
        },
    "r77":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a),(b)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3213-108585"
        },
    "r78":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3213-108585"
        },
    "r79":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3213-108585"
        },
    "r8":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=118951113&loc=d3e6812-107765"
        },
    "r80":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3255-108585"
        },
    "r81":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3291-108585"
        },
    "r82":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "24",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3521-108585"
        },
    "r83":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3536-108585"
        },
    "r84":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3602-108585"
        },
    "r85":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3602-108585"
        },
    "r86":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3602-108585"
        },
    "r87":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3044-108585"
        },
    "r88":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=98513485&loc=d3e4273-108586"
        },
    "r89":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=98513485&loc=SL98516268-108586"
        },
    "r9":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=118951113&loc=d3e6904-107765"
        },
    "r90":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=84158767&loc=d3e18780-107790"
        },
    "r91":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(h))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
        },
    "r92":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08.(e),(f))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
        },
    "r93":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08.(h)(2))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
        },
    "r94":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/topic&trid=2122369"
        },
    "r95":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22499-107794"
        },
    "r96":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22694-107794"
        },
    "r97":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/topic&trid=2122394"
        },
    "r98":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=117326831&loc=d3e1448-109256"
        },
    "r99":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=117326831&loc=d3e1377-109256"
        }
    },
"version":  "2.1"
}

Top
Filing Submission 0000723531-20-000017   –   Alternative Formats (Word / Rich Text, HTML, Plain Text, et al.)

Copyright © 2024 Fran Finnegan & Company LLC – All Rights Reserved.
AboutPrivacyRedactionsHelp — Tue., Apr. 30, 5:19:46.4am ET