2.2.0.7trueRelated Party Transactions (Details) (USD $)0609 - Disclosure - Related Party Transactions (Details)truefalseIn Millionsfalsefalse1USDtruefalsefalsefalseEMC Corporation [Member]us-gaap_RelatedPartyTransactionsByRelatedPartyAxisxbrldihttp://xbrl.org/2006/xbrldipayx_RelatedPartyOneMemberus-gaap_RelatedPartyTransactionsByRelatedPartyAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false2USDtruefalsefalsefalseEMC Corporation [Member]us-gaap_RelatedPartyTransactionsByRelatedPartyAxisxbrldihttp://xbrl.org/2006/xbrldipayx_RelatedPartyOneMemberus-gaap_RelatedPartyTransactionsByRelatedPartyAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$10natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://paychex.com/role/relatedpartytransactionsdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse1USDtruefalsefalsefalseEMC Corporation [Member]us-gaap_RelatedPartyTransactionsByRelatedPartyAxisxbrldihttp://xbrl.org/2006/xbrldipayx_RelatedPartyOneMemberus-gaap_RelatedPartyTransactionsByRelatedPartyAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false2USDtruefalsefalsefalseEMC Corporation [Member]us-gaap_RelatedPartyTransactionsByRelatedPartyAxisxbrldihttp://xbrl.org/2006/xbrldipayx_RelatedPartyOneMemberus-gaap_RelatedPartyTransactionsByRelatedPartyAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false22payx_RelatedPartyTransactionsTextualsAbstractpayxfalsenadurationRelated Party Transactions Textuals.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringRelated Party Transactions Textuals.false32us-gaap_RelatedPartyTransactionAmountsOfTransactionus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1truetruefalsefalse8000000.8falsefalsefalse2truetruefalsefalse15000001.5falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of transactions with related party during the financial reporting period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 57
-Paragraph 2
-Subparagraph c
false40natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://paychex.com/role/relatedpartytransactionsdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse3USDtruefalsefalsefalseDun & Bradstreet Corporation [Member]us-gaap_RelatedPartyTransactionsByRelatedPartyAxisxbrldihttp://xbrl.org/2006/xbrldipayx_RelatedPartyTwoMemberus-gaap_RelatedPartyTransactionsByRelatedPartyAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false4USDtruefalsefalsefalseDun & Bradstreet Corporation [Member]us-gaap_RelatedPartyTransactionsByRelatedPartyAxisxbrldihttp://xbrl.org/2006/xbrldipayx_RelatedPartyTwoMemberus-gaap_RelatedPartyTransactionsByRelatedPartyAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false52payx_RelatedPartyTransactionsTextualsAbstractpayxfalsenadurationRelated Party Transactions Textuals.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringRelated Party Transactions Textuals.false62us-gaap_RelatedPartyTransactionAmountsOfTransactionus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1truetruefalsefalse4000000.4falsefalsefalse2truetruefalsefalse4000000.4falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of transactions with related party during the financial reporting period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 57
-Paragraph 2
-Subparagraph c
false26falseHundredThousandsUnKnownUnKnownfalsetrue