| | | | | | | | | | | | | | | | | | | | | |
<?xml version="1.0" encoding="windows-1252"?> |
<FilingSummary> |
| <Version> 3.20.1 </Version> |
| <ProcessingTime/> |
| <ReportFormat> html </ReportFormat> |
| <ContextCount> 262 </ContextCount> |
| <ElementCount> 414 </ElementCount> |
| <EntityCount> 1 </EntityCount> |
| <FootnotesReported> true </FootnotesReported> |
| <SegmentCount> 74 </SegmentCount> |
| <ScenarioCount> 0 </ScenarioCount> |
| <TuplesReported> false </TuplesReported> |
| <UnitCount> 7 </UnitCount> |
| <MyReports> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R1.htm </HtmlFileName> |
| | | <LongName> 00090 - Document - Document and Entity Information </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DocumentDocumentAndEntityInformation </Role> |
| | | <ShortName> Document and Entity Information </ShortName> |
| | | <MenuCategory> Cover </MenuCategory> |
| | | <Position> 1 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R2.htm </HtmlFileName> |
| | | <LongName> 00100 - Statement - Consolidated Statements of Income and Comprehensive Income </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome </Role> |
| | | <ShortName> Consolidated Statements of Income and Comprehensive Income </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 2 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R3.htm </HtmlFileName> |
| | | <LongName> 00200 - Statement - Consolidated Balance Sheets </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/StatementConsolidatedBalanceSheets </Role> |
| | | <ShortName> Consolidated Balance Sheets </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 3 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R4.htm </HtmlFileName> |
| | | <LongName> 00205 - Statement - Consolidated Balance Sheets (Parenthetical) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/StatementConsolidatedBalanceSheetsParenthetical </Role> |
| | | <ShortName> Consolidated Balance Sheets (Parenthetical) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 4 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R5.htm </HtmlFileName> |
| | | <LongName> 00300 - Statement - Consolidated Statements of Stockholders' Equity </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/StatementConsolidatedStatementsOfStockholdersEquity </Role> |
| | | <ShortName> Consolidated Statements of Stockholders' Equity </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 5 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R6.htm </HtmlFileName> |
| | | <LongName> 00305 - Statement - Consolidated Statements of Stockholders' Equity (Parenthetical) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/StatementConsolidatedStatementsOfStockholdersEquityParenthetical </Role> |
| | | <ShortName> Consolidated Statements of Stockholders' Equity (Parenthetical) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 6 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R7.htm </HtmlFileName> |
| | | <LongName> 00400 - Statement - Consolidated Statements of Cash Flows </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/StatementConsolidatedStatementsOfCashFlows </Role> |
| | | <ShortName> Consolidated Statements of Cash Flows </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 7 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R8.htm </HtmlFileName> |
| | | <LongName> 10101 - Disclosure - Description of Business, Basis of Presentation, and Significant Accounting Policies </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPolicies </Role> |
| | | <ShortName> Description of Business, Basis of Presentation, and Significant Accounting Policies </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 8 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R9.htm </HtmlFileName> |
| | | <LongName> 10201 - Disclosure - Service Revenue </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureServiceRevenue </Role> |
| | | <ShortName> Service Revenue </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 9 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R10.htm </HtmlFileName> |
| | | <LongName> 10301 - Disclosure - Basic and Diluted Earnings Per Share </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShare </Role> |
| | | <ShortName> Basic and Diluted Earnings Per Share </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 10 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R11.htm </HtmlFileName> |
| | | <LongName> 10401 - Disclosure - Business Combinations </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureBusinessCombinations </Role> |
| | | <ShortName> Business Combinations </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 11 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R12.htm </HtmlFileName> |
| | | <LongName> 10501 - Disclosure - Other (Expense)/Income, Net </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureOtherExpenseIncomeNet </Role> |
| | | <ShortName> Other (Expense)/Income, Net </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 12 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R13.htm </HtmlFileName> |
| | | <LongName> 10601 - Disclosure - Funds Held for Clients and Corporate Investments </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestments </Role> |
| | | <ShortName> Funds Held for Clients and Corporate Investments </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 13 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R14.htm </HtmlFileName> |
| | | <LongName> 10701 - Disclosure - Fair Value Measurements </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureFairValueMeasurements </Role> |
| | | <ShortName> Fair Value Measurements </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 14 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R15.htm </HtmlFileName> |
| | | <LongName> 10801 - Disclosure - Leases </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureLeases </Role> |
| | | <ShortName> Leases </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 15 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R16.htm </HtmlFileName> |
| | | <LongName> 10901 - Disclosure - Property and Equipment, Net of Accumulated Depreciation </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciation </Role> |
| | | <ShortName> Property and Equipment, Net of Accumulated Depreciation </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 16 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R17.htm </HtmlFileName> |
| | | <LongName> 11001 - Disclosure - Goodwill and Intangible Assets, Net of Accumulated Amortization </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortization </Role> |
| | | <ShortName> Goodwill and Intangible Assets, Net of Accumulated Amortization </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 17 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R18.htm </HtmlFileName> |
| | | <LongName> 11101 - Disclosure - Accumulated Other Comprehensive Income/(Loss) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLoss </Role> |
| | | <ShortName> Accumulated Other Comprehensive Income/(Loss) </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 18 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R19.htm </HtmlFileName> |
| | | <LongName> 11201 - Disclosure - Short-term Financing </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureShortTermFinancing </Role> |
| | | <ShortName> Short-term Financing </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 19 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R20.htm </HtmlFileName> |
| | | <LongName> 11301 - Disclosure - Long-Term Financing </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureLongTermFinancing </Role> |
| | | <ShortName> Long-Term Financing </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 20 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R21.htm </HtmlFileName> |
| | | <LongName> 11401 - Disclosure - Commitments and Contingencies </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureCommitmentsAndContingencies </Role> |
| | | <ShortName> Commitments and Contingencies </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 21 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R22.htm </HtmlFileName> |
| | | <LongName> 11501 - Disclosure - Income Taxes </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureIncomeTaxes </Role> |
| | | <ShortName> Income Taxes </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 22 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R23.htm </HtmlFileName> |
| | | <LongName> 20102 - Disclosure - Description of Business, Basis of Presentation, and Significant Accounting Policies (Policy) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesPolicy </Role> |
| | | <ShortName> Description of Business, Basis of Presentation, and Significant Accounting Policies (Policy) </ShortName> |
| | | <MenuCategory> Policies </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPolicies </ParentRole> |
| | | <Position> 23 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R24.htm </HtmlFileName> |
| | | <LongName> 30203 - Disclosure - Service Revenue (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureServiceRevenueTables </Role> |
| | | <ShortName> Service Revenue (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureServiceRevenue </ParentRole> |
| | | <Position> 24 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R25.htm </HtmlFileName> |
| | | <LongName> 30303 - Disclosure - Basic and Diluted Earnings Per Share (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareTables </Role> |
| | | <ShortName> Basic and Diluted Earnings Per Share (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShare </ParentRole> |
| | | <Position> 25 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R26.htm </HtmlFileName> |
| | | <LongName> 30403 - Disclosure - Business Combinations (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureBusinessCombinationsTables </Role> |
| | | <ShortName> Business Combinations (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureBusinessCombinations </ParentRole> |
| | | <Position> 26 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R27.htm </HtmlFileName> |
| | | <LongName> 30503 - Disclosure - Other (Expense)/Income, Net (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureOtherExpenseIncomeNetTables </Role> |
| | | <ShortName> Other (Expense)/Income, Net (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureOtherExpenseIncomeNet </ParentRole> |
| | | <Position> 27 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R28.htm </HtmlFileName> |
| | | <LongName> 30603 - Disclosure - Funds Held for Clients and Corporate Investments (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsTables </Role> |
| | | <ShortName> Funds Held for Clients and Corporate Investments (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestments </ParentRole> |
| | | <Position> 28 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R29.htm </HtmlFileName> |
| | | <LongName> 30703 - Disclosure - Fair Value Measurements (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureFairValueMeasurementsTables </Role> |
| | | <ShortName> Fair Value Measurements (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureFairValueMeasurements </ParentRole> |
| | | <Position> 29 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R30.htm </HtmlFileName> |
| | | <LongName> 30803 - Disclosure - Leases (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureLeasesTables </Role> |
| | | <ShortName> Leases (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureLeases </ParentRole> |
| | | <Position> 30 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R31.htm </HtmlFileName> |
| | | <LongName> 30903 - Disclosure - Property and Equipment, Net of Accumulated Depreciation (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciationTables </Role> |
| | | <ShortName> Property and Equipment, Net of Accumulated Depreciation (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciation </ParentRole> |
| | | <Position> 31 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R32.htm </HtmlFileName> |
| | | <LongName> 31003 - Disclosure - Goodwill and Intangible Assets, Net of Accumulated Amortization (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationTables </Role> |
| | | <ShortName> Goodwill and Intangible Assets, Net of Accumulated Amortization (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortization </ParentRole> |
| | | <Position> 32 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R33.htm </HtmlFileName> |
| | | <LongName> 31103 - Disclosure - Accumulated Other Comprehensive Income/(Loss) (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossTables </Role> |
| | | <ShortName> Accumulated Other Comprehensive Income/(Loss) (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLoss </ParentRole> |
| | | <Position> 33 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R34.htm </HtmlFileName> |
| | | <LongName> 31203 - Disclosure - Short-term Financing (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureShortTermFinancingTables </Role> |
| | | <ShortName> Short-term Financing (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureShortTermFinancing </ParentRole> |
| | | <Position> 34 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R35.htm </HtmlFileName> |
| | | <LongName> 31303 - Disclosure - Long-Term Financing (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureLongTermFinancingTables </Role> |
| | | <ShortName> Long-Term Financing (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureLongTermFinancing </ParentRole> |
| | | <Position> 35 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R36.htm </HtmlFileName> |
| | | <LongName> 40101 - Disclosure - Description of Business, Basis of Presentation, and Significant Accounting Policies (Narrative) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesNarrativeDetails </Role> |
| | | <ShortName> Description of Business, Basis of Presentation, and Significant Accounting Policies (Narrative) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSignificantAccountingPoliciesPolicy </ParentRole> |
| | | <Position> 36 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R37.htm </HtmlFileName> |
| | | <LongName> 40201 - Disclosure - Service Revenue (Narrative) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureServiceRevenueNarrativeDetails </Role> |
| | | <ShortName> Service Revenue (Narrative) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureServiceRevenueTables </ParentRole> |
| | | <Position> 37 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R38.htm </HtmlFileName> |
| | | <LongName> 40202 - Disclosure - Service Revenue (Narrative) (Performance Obligation) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureServiceRevenueNarrativePerformanceObligationDetails </Role> |
| | | <ShortName> Service Revenue (Narrative) (Performance Obligation) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureServiceRevenueTables </ParentRole> |
| | | <Position> 38 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R39.htm </HtmlFileName> |
| | | <LongName> 40203 - Disclosure - Service Revenue (Summary of Disaggregates Revenue by Services) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureServiceRevenueSummaryOfDisaggregatesRevenueByServicesDetails </Role> |
| | | <ShortName> Service Revenue (Summary of Disaggregates Revenue by Services) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureServiceRevenueTables </ParentRole> |
| | | <Position> 39 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R40.htm </HtmlFileName> |
| | | <LongName> 40204 - Disclosure - Service Revenue (Summary of Changes in Deferred Revenue Related to Material Right Performance Obligations) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureServiceRevenueSummaryOfChangesInDeferredRevenueRelatedToMaterialRightPerformanceObligationsDetails </Role> |
| | | <ShortName> Service Revenue (Summary of Changes in Deferred Revenue Related to Material Right Performance Obligations) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureServiceRevenueTables </ParentRole> |
| | | <Position> 40 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R41.htm </HtmlFileName> |
| | | <LongName> 40205 - Disclosure - Service Revenue (Summary of Changes in Deferred Costs to Obtain and Fulfill Contracts) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureServiceRevenueSummaryOfChangesInDeferredCostsToObtainAndFulfillContractsDetails </Role> |
| | | <ShortName> Service Revenue (Summary of Changes in Deferred Costs to Obtain and Fulfill Contracts) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureServiceRevenueTables </ParentRole> |
| | | <Position> 41 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R42.htm </HtmlFileName> |
| | | <LongName> 40301 - Disclosure - Basic and Diluted Earnings Per Share (Narrative) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareNarrativeDetails </Role> |
| | | <ShortName> Basic and Diluted Earnings Per Share (Narrative) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareTables </ParentRole> |
| | | <Position> 42 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R43.htm </HtmlFileName> |
| | | <LongName> 40302 - Disclosure - Basic and Diluted Earnings Per Share (Basic and Diluted Earnings Per Share) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareBasicAndDilutedEarningsPerShareDetails </Role> |
| | | <ShortName> Basic and Diluted Earnings Per Share (Basic and Diluted Earnings Per Share) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureBasicAndDilutedEarningsPerShareTables </ParentRole> |
| | | <Position> 43 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R44.htm </HtmlFileName> |
| | | <LongName> 40401 - Disclosure - Business Combinations (Narrative) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureBusinessCombinationsNarrativeDetails </Role> |
| | | <ShortName> Business Combinations (Narrative) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureBusinessCombinationsTables </ParentRole> |
| | | <Position> 44 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R45.htm </HtmlFileName> |
| | | <LongName> 40402 - Disclosure - Business Combinations (Acquisition Date Fair Values To Acquired Net Assets) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureBusinessCombinationsAcquisitionDateFairValuesToAcquiredNetAssetsDetails </Role> |
| | | <ShortName> Business Combinations (Acquisition Date Fair Values To Acquired Net Assets) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureBusinessCombinationsTables </ParentRole> |
| | | <Position> 45 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R46.htm </HtmlFileName> |
| | | <LongName> 40403 - Disclosure - Business Combinations (Summary Of Pro Forma Information) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureBusinessCombinationsSummaryOfProFormaInformationDetails </Role> |
| | | <ShortName> Business Combinations (Summary Of Pro Forma Information) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureBusinessCombinationsTables </ParentRole> |
| | | <Position> 46 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R47.htm </HtmlFileName> |
| | | <LongName> 40501 - Disclosure - Other (Expense)/Income, Net (Schedule of Interest (Expense)/Income, Net) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureOtherExpenseIncomeNetScheduleOfInterestExpenseIncomeNetDetails </Role> |
| | | <ShortName> Other (Expense)/Income, Net (Schedule of Interest (Expense)/Income, Net) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureOtherExpenseIncomeNetTables </ParentRole> |
| | | <Position> 47 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R48.htm </HtmlFileName> |
| | | <LongName> 40601 - Disclosure - Funds Held for Clients and Corporate Investments (Narrative) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsNarrativeDetails </Role> |
| | | <ShortName> Funds Held for Clients and Corporate Investments (Narrative) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsTables </ParentRole> |
| | | <Position> 48 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R49.htm </HtmlFileName> |
| | | <LongName> 40602 - Disclosure - Funds Held for Clients and Corporate Investments (Funds Held for Clients and Corporate Investments) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsFundsHeldForClientsAndCorporateInvestmentsDetails </Role> |
| | | <ShortName> Funds Held for Clients and Corporate Investments (Funds Held for Clients and Corporate Investments) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsTables </ParentRole> |
| | | <Position> 49 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R50.htm </HtmlFileName> |
| | | <LongName> 40603 - Disclosure - Funds Held for Clients and Corporate Investments (Classification of Investments on Consolidated Balance Sheets) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsClassificationOfInvestmentsOnConsolidatedBalanceSheetsDetails </Role> |
| | | <ShortName> Funds Held for Clients and Corporate Investments (Classification of Investments on Consolidated Balance Sheets) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsTables </ParentRole> |
| | | <Position> 50 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R51.htm </HtmlFileName> |
| | | <LongName> 40604 - Disclosure - Funds Held for Clients and Corporate Investments (Securities in Unrealized Loss Position) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsSecuritiesInUnrealizedLossPositionDetails </Role> |
| | | <ShortName> Funds Held for Clients and Corporate Investments (Securities in Unrealized Loss Position) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsTables </ParentRole> |
| | | <Position> 51 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R52.htm </HtmlFileName> |
| | | <LongName> 40605 - Disclosure - Funds Held for Clients and Corporate Investments (Realized Gains and Losses from Sale of Available-for-sale Securities) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsRealizedGainsAndLossesFromSaleOfAvailableForSaleSecuritiesDetails </Role> |
| | | <ShortName> Funds Held for Clients and Corporate Investments (Realized Gains and Losses from Sale of Available-for-sale Securities) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsTables </ParentRole> |
| | | <Position> 52 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R53.htm </HtmlFileName> |
| | | <LongName> 40606 - Disclosure - Funds Held for Clients and Corporate Investments (Amortized Cost and Fair Value of Available-for-Sale Securities by Contractual Maturity) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsAmortizedCostAndFairValueOfAvailableForSaleSecuritiesByContractualMaturityDetails </Role> |
| | | <ShortName> Funds Held for Clients and Corporate Investments (Amortized Cost and Fair Value of Available-for-Sale Securities by Contractual Maturity) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureFundsHeldForClientsAndCorporateInvestmentsTables </ParentRole> |
| | | <Position> 53 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R54.htm </HtmlFileName> |
| | | <LongName> 40701 - Disclosure - Fair Value Measurements (Narrative) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureFairValueMeasurementsNarrativeDetails </Role> |
| | | <ShortName> Fair Value Measurements (Narrative) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureFairValueMeasurementsTables </ParentRole> |
| | | <Position> 54 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R55.htm </HtmlFileName> |
| | | <LongName> 40702 - Disclosure - Fair Value Measurements (Financial Assets and Liabilities Measured at Fair Value on Recurring Basis) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails </Role> |
| | | <ShortName> Fair Value Measurements (Financial Assets and Liabilities Measured at Fair Value on Recurring Basis) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureFairValueMeasurementsTables </ParentRole> |
| | | <Position> 55 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R56.htm </HtmlFileName> |
| | | <LongName> 40703 - Disclosure - Fair Value Measurements (Financial Liabilities Measured at Fair Value on Non-Recurring Basis) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureFairValueMeasurementsFinancialLiabilitiesMeasuredAtFairValueOnNonRecurringBasisDetails </Role> |
| | | <ShortName> Fair Value Measurements (Financial Liabilities Measured at Fair Value on Non-Recurring Basis) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureFairValueMeasurementsTables </ParentRole> |
| | | <Position> 56 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R57.htm </HtmlFileName> |
| | | <LongName> 40801 - Disclosure - Leases (Narrative) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureLeasesNarrativeDetails </Role> |
| | | <ShortName> Leases (Narrative) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureLeasesTables </ParentRole> |
| | | <Position> 57 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R58.htm </HtmlFileName> |
| | | <LongName> 40802 - Disclosure - Leases (Supplemental Balance Sheet Information Related to Leases) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureLeasesSupplementalBalanceSheetInformationRelatedToLeasesDetails </Role> |
| | | <ShortName> Leases (Supplemental Balance Sheet Information Related to Leases) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureLeasesTables </ParentRole> |
| | | <Position> 58 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R59.htm </HtmlFileName> |
| | | <LongName> 40803 - Disclosure - Leases (Components of Lease Expense) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureLeasesComponentsOfLeaseExpenseDetails </Role> |
| | | <ShortName> Leases (Components of Lease Expense) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureLeasesTables </ParentRole> |
| | | <Position> 59 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R60.htm </HtmlFileName> |
| | | <LongName> 40804 - Disclosure - Leases (Supplemental Cash Flow Information Related to Leases) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureLeasesSupplementalCashFlowInformationRelatedToLeasesDetails </Role> |
| | | <ShortName> Leases (Supplemental Cash Flow Information Related to Leases) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureLeasesTables </ParentRole> |
| | | <Position> 60 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R61.htm </HtmlFileName> |
| | | <LongName> 40805 - Disclosure - Leases (Future Lease Payments) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureLeasesFutureLeasePaymentsDetails </Role> |
| | | <ShortName> Leases (Future Lease Payments) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureLeasesTables </ParentRole> |
| | | <Position> 61 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R62.htm </HtmlFileName> |
| | | <LongName> 40901 - Disclosure - Property and Equipment, Net of Accumulated Depreciation (Narrative) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciationNarrativeDetails </Role> |
| | | <ShortName> Property and Equipment, Net of Accumulated Depreciation (Narrative) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciationTables </ParentRole> |
| | | <Position> 62 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R63.htm </HtmlFileName> |
| | | <LongName> 40902 - Disclosure - Property and Equipment, Net of Accumulated Depreciation (Components of Property and Equipment, at Cost) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciationComponentsOfPropertyAndEquipmentAtCostDetails </Role> |
| | | <ShortName> Property and Equipment, Net of Accumulated Depreciation (Components of Property and Equipment, at Cost) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosurePropertyAndEquipmentNetOfAccumulatedDepreciationTables </ParentRole> |
| | | <Position> 63 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R64.htm </HtmlFileName> |
| | | <LongName> 41001 - Disclosure - Goodwill and Intangible Assets, Net of Accumulated Amortization (Narrative) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationNarrativeDetails </Role> |
| | | <ShortName> Goodwill and Intangible Assets, Net of Accumulated Amortization (Narrative) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationTables </ParentRole> |
| | | <Position> 64 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R65.htm </HtmlFileName> |
| | | <LongName> 41002 - Disclosure - Goodwill and Intangible Assets, Net of Accumulated Amortization (Change in Goodwill) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationChangeInGoodwillDetails </Role> |
| | | <ShortName> Goodwill and Intangible Assets, Net of Accumulated Amortization (Change in Goodwill) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationTables </ParentRole> |
| | | <Position> 65 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R66.htm </HtmlFileName> |
| | | <LongName> 41003 - Disclosure - Goodwill and Intangible Assets, Net of Accumulated Amortization (Components of Intangible Assets, at Cost) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationComponentsOfIntangibleAssetsAtCostDetails </Role> |
| | | <ShortName> Goodwill and Intangible Assets, Net of Accumulated Amortization (Components of Intangible Assets, at Cost) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationTables </ParentRole> |
| | | <Position> 66 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R67.htm </HtmlFileName> |
| | | <LongName> 41004 - Disclosure - Goodwill and Intangible Assets, Net of Accumulated Amortization (Estimated Amortization Expense) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationEstimatedAmortizationExpenseDetails </Role> |
| | | <ShortName> Goodwill and Intangible Assets, Net of Accumulated Amortization (Estimated Amortization Expense) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureGoodwillAndIntangibleAssetsNetOfAccumulatedAmortizationTables </ParentRole> |
| | | <Position> 67 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R68.htm </HtmlFileName> |
| | | <LongName> 41102 - Disclosure - Accumulated Other Comprehensive Income/(Loss) (Changes in Accumulated Other Comprehensive Income/(Loss)) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossChangesInAccumulatedOtherComprehensiveIncomeLossDetails </Role> |
| | | <ShortName> Accumulated Other Comprehensive Income/(Loss) (Changes in Accumulated Other Comprehensive Income/(Loss)) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossTables </ParentRole> |
| | | <Position> 68 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R69.htm </HtmlFileName> |
| | | <LongName> 41201 - Disclosure - Short-term Financing (Narrative) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureShortTermFinancingNarrativeDetails </Role> |
| | | <ShortName> Short-term Financing (Narrative) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureShortTermFinancingTables </ParentRole> |
| | | <Position> 69 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R70.htm </HtmlFileName> |
| | | <LongName> 41202 - Disclosure - Short-term Financing (Description of Credit Facilities) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureShortTermFinancingDescriptionOfCreditFacilitiesDetails </Role> |
| | | <ShortName> Short-term Financing (Description of Credit Facilities) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureShortTermFinancingTables </ParentRole> |
| | | <Position> 70 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R71.htm </HtmlFileName> |
| | | <LongName> 41203 - Disclosure - Short-term Financing (Credit Facility Amount Borrowed) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureShortTermFinancingCreditFacilityAmountBorrowedDetails </Role> |
| | | <ShortName> Short-term Financing (Credit Facility Amount Borrowed) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureShortTermFinancingTables </ParentRole> |
| | | <Position> 71 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R72.htm </HtmlFileName> |
| | | <LongName> 41301 - Disclosure - Long-Term Financing (Narrative) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureLongTermFinancingNarrativeDetails </Role> |
| | | <ShortName> Long-Term Financing (Narrative) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureLongTermFinancingTables </ParentRole> |
| | | <Position> 72 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R73.htm </HtmlFileName> |
| | | <LongName> 41302 - Disclosure - Long-Term Financing (Schedule Of Long-Term Debt) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureLongTermFinancingScheduleOfLongTermDebtDetails </Role> |
| | | <ShortName> Long-Term Financing (Schedule Of Long-Term Debt) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureLongTermFinancingTables </ParentRole> |
| | | <Position> 73 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R74.htm </HtmlFileName> |
| | | <LongName> 41303 - Disclosure - Long-Term Financing (Information Related To Senior Notes) (Details) </LongName> |
| | | <ReportType> Notes </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureLongTermFinancingInformationRelatedToSeniorNotesDetails </Role> |
| | | <ShortName> Long-Term Financing (Information Related To Senior Notes) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureLongTermFinancingTables </ParentRole> |
| | | <Position> 74 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R75.htm </HtmlFileName> |
| | | <LongName> 41401 - Disclosure - Commitments and Contingencies (Narrative) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureCommitmentsAndContingenciesNarrativeDetails </Role> |
| | | <ShortName> Commitments and Contingencies (Narrative) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureCommitmentsAndContingencies </ParentRole> |
| | | <Position> 75 </Position> |
| | | </Report> |
| | <Report instance="payx-20200229x10q.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R76.htm </HtmlFileName> |
| | | <LongName> 41501 - Disclosure - Income Taxes (Narrative) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.paychex.com/role/DisclosureIncomeTaxesNarrativeDetails </Role> |
| | | <ShortName> Income Taxes (Narrative) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.paychex.com/role/DisclosureIncomeTaxes </ParentRole> |
| | | <Position> 76 </Position> |
| | | </Report> |
| | <Report> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <LongName> All Reports </LongName> |
| | | <ReportType> Book </ReportType> |
| | | <ShortName> All Reports </ShortName> |
| | | </Report> |
| | </MyReports> |
| <InputFiles> |
| | <File doctype="10-Q" original="payx-20200229x10q.htm"> payx-20200229x10q.htm </File> |
| | <File> payx-20200229.xsd </File> |
| | <File> payx-20200229_cal.xml </File> |
| | <File> payx-20200229_def.xml </File> |
| | <File> payx-20200229_lab.xml </File> |
| | <File> payx-20200229_pre.xml </File> |
| | <File> payx-20200229xex31_1.htm </File> |
| | <File> payx-20200229xex31_2.htm </File> |
| | <File> payx-20200229xex32_1.htm </File> |
| | <File> payx-20200229xex32_2.htm </File> |
| | </InputFiles> |
| <SupplementalFiles/> |
| <BaseTaxonomies> |
| | <BaseTaxonomy> http://fasb.org/us-gaap/2019-01-31 </BaseTaxonomy> |
| | <BaseTaxonomy> http://xbrl.sec.gov/dei/2019-01-31 </BaseTaxonomy> |
| | <BaseTaxonomy> http://fasb.org/srt/2019-01-31 </BaseTaxonomy> |
| | </BaseTaxonomies> |
| <HasPresentationLinkbase> true </HasPresentationLinkbase> |
| <HasCalculationLinkbase> true </HasCalculationLinkbase> |
| </FilingSummary> |