2.2.0.7trueCommitments and Contingencies (Details) (USD $)0608 - Disclosure - Commitments and Contingencies (Details)truefalseIn Millionsfalsefalse1USDfalsefalseSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false2USDfalsefalseUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170PureStandardhttp://www.xbrl.org/2003/instancepurexbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0$52payx_CommitmentsAndContingenciesTextualsAbstractpayxfalsenadurationCommitments and Contingencies.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringCommitments and Contingencies.false62payx_IrrevocableStandByLettersOfCreditpayxfalsecreditinstantIrrevocable stand by letters of credit.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1truetruefalsefalse4750000047.5falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryIrrevocable stand by letters of credit.No authoritative reference available.false72payx_OutstandingCommitmentsToPurchaseCapitalAssetspayxfalsedebitinstantOutstanding commitments to purchase capital assets.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse96000009.6falsefalsefalse2falsetruefalsefalse89000008.9falsefalsefalsexbrli:monetaryItemTypemonetaryOutstanding commitments to purchase capital assets.No authoritative reference available.false80natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://paychex.com/role/commitmentsandcontingenciesdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse3USDtruefalsefalsefalseJP Morgan Chase Bank, N.A. [Member]us-gaap_LineOfCreditFacilityAxisxbrldihttp://xbrl.org/2006/xbrldipayx_FinancialInstitutionOneMemberus-gaap_LineOfCreditFacilityAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false92us-gaap_LineOfCreditFacilityAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false102us-gaap_LineOfCreditFacilityRemainingBorrowingCapacityus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse350000000350falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 19, 22
-Article 5
false112us-gaap_LineOfCreditFacilityExpirationDateus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00February 2011falsefalsefalse2falsefalsefalsefalse00falsefalsefalseus-types:dateStringItemTypenormalizedstringReflects when the credit facility terminates, which may be presented in a variety of ways (year, month and year, day, month and year, quarter).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 129
-Paragraph 2, 4
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 19, 22
-Article 5
false150natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://paychex.com/role/commitmentsandcontingenciesdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse4USDtruefalsefalsefalseBank of America, N.A. [Member]us-gaap_LineOfCreditFacilityAxisxbrldihttp://xbrl.org/2006/xbrldipayx_FinancialInstitutionTwoMemberus-gaap_LineOfCreditFacilityAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false162us-gaap_LineOfCreditFacilityAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false172us-gaap_LineOfCreditFacilityRemainingBorrowingCapacityus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse250000000250falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 19, 22
-Article 5
false182us-gaap_LineOfCreditFacilityExpirationDateus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00February 2011falsefalsefalse2falsefalsefalsefalse00falsefalsefalseus-types:dateStringItemTypenormalizedstringReflects when the credit facility terminates, which may be presented in a variety of ways (year, month and year, day, month and year, quarter).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 129
-Paragraph 2, 4
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 19, 22
-Article 5
false220natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://paychex.com/role/commitmentsandcontingenciesdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse5USDtruefalsefalsefalsePNC Bank, National Association [Member]us-gaap_LineOfCreditFacilityAxisxbrldihttp://xbrl.org/2006/xbrldipayx_FinancialInstitutionThreeMemberus-gaap_LineOfCreditFacilityAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false232us-gaap_LineOfCreditFacilityAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false242us-gaap_LineOfCreditFacilityRemainingBorrowingCapacityus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse150000000150falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 19, 22
-Article 5
false252us-gaap_LineOfCreditFacilityExpirationDateus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00February 2011falsefalsefalse2falsefalsefalsefalse00falsefalsefalseus-types:dateStringItemTypenormalizedstringReflects when the credit facility terminates, which may be presented in a variety of ways (year, month and year, day, month and year, quarter).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 129
-Paragraph 2, 4
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 19, 22
-Article 5
false290natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://paychex.com/role/commitmentsandcontingenciesdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse6USDtruefalsefalsefalseWells Fargo Bank, National Association [Member]us-gaap_LineOfCreditFacilityAxisxbrldihttp://xbrl.org/2006/xbrldipayx_FinancialInstitutionFourMemberus-gaap_LineOfCreditFacilityAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false302us-gaap_LineOfCreditFacilityAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false312us-gaap_LineOfCreditFacilityRemainingBorrowingCapacityus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1truetruefalsefalse150000000150falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 19, 22
-Article 5
false322us-gaap_LineOfCreditFacilityExpirationDateus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00February 2011falsefalsefalse2falsefalsefalsefalse00falsefalsefalseus-types:dateStringItemTypenormalizedstringReflects when the credit facility terminates, which may be presented in a variety of ways (year, month and year, day, month and year, quarter).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 129
-Paragraph 2, 4
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 19, 22
-Article 5
false219falseHundredThousandsUnKnownUnKnownfalsetrue