2.2.0.7 true Funds Held for Clients and Corporate Investments (Details) (USD $) 0603 - Disclosure - Funds Held for Clients and Corporate Investments (Details) true false In Millions false false 1 USD false false Shares Standard http://www.xbrl.org/2003/instance shares xbrli 0 USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 Pure Standard http://www.xbrl.org/2003/instance pure xbrli 0 USDEPS Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares xbrli 0 $ false 2 USD false false Shares Standard http://www.xbrl.org/2003/instance shares xbrli 0 USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 USDEPS Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares xbrli 0 Pure Standard http://www.xbrl.org/2003/instance pure xbrli 0 $ false 3 USD false false USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 Pure Standard http://www.xbrl.org/2003/instance pure xbrli 0 Shares Standard http://www.xbrl.org/2003/instance shares xbrli 0 $ 2 2 payx_TypeOfIssueAbstract payx false na duration Type of issue: false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:stringItemType string Type of issue: false 3 2 payx_MoneyMarketSecuritiesAndOtherCashEquivalentsAmortizedCost payx false debit instant Money market securities and other cash equivalents, Amortized cost. false false false false false false false false false false false verboselabel false 1 true true false false 1156300000 1156.3 false false false 2 false false false false 0 0 false false false 3 true true false false 1754500000 1754.5 false false false xbrli:monetaryItemType monetary Money market securities and other cash equivalents, Amortized cost. No authoritative reference available. false 4 2 payx_MoneyMarketSecuritiesAndOtherCashEquivalentsGrossUnrealizedGains payx false credit duration Money market securities and other cash equivalents, Gross unrealized Gains. false false false false false false false false false false false verboselabel false 1 false true false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false 0 0 false false false xbrli:monetaryItemType monetary Money market securities and other cash equivalents, Gross unrealized Gains. No authoritative reference available. false 5 2 payx_MoneyMarketSecuritiesAndOtherCashEquivalentsGrossUnrealizedLosses payx false debit duration Money market securities and other cash equivalents Gross unrealized losses. false false false false false false false false false false false verboselabel false 1 false true false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false 0 0 false false false xbrli:monetaryItemType monetary Money market securities and other cash equivalents Gross unrealized losses. No authoritative reference available. false 6 2 payx_MoneyMarketSecuritiesAndOtherCashEquivalentsFairValue payx false debit instant Money market securities and other cash equivalents, Fair value. false false false false false false false false false false false verboselabel false 1 false true false false 1156300000 1156.3 false false false 2 false false false false 0 0 false false false 3 false true false false 1754500000 1754.5 false false false xbrli:monetaryItemType monetary Money market securities and other cash equivalents, Fair value. No authoritative reference available. false 7 2 us-gaap_AvailableForSaleSecuritiesAbstract us-gaap true na duration No definition available. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:stringItemType string No definition available. false 12 2 payx_OtherSecuritiesAmortizedCost payx false debit instant Other Securities Amortized Cost. false false false false false false false false false false false totallabel false 1 false true false false 7900000 7.9 false false false 2 false false false false 0 0 false false false 3 false true false false 7500000 7.5 false false false xbrli:monetaryItemType monetary Other Securities Amortized Cost. No authoritative reference available. true 13 2 payx_OtherSecuritiesGrossUnrealizedGains payx false credit duration Other Securities Gross Unrealized Gains. false false false false false false false false false false false totallabel false 1 false true false false 100000 0.1 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:monetaryItemType monetary Other Securities Gross Unrealized Gains. No authoritative reference available. true 14 2 payx_OtherSecuritiesGrossUnrealizedLosses payx false debit duration Other Securities Gross Unrealized Losses. false false false false false false false false false false false totallabel false 1 false true false false -400000 -0.4 false false false 2 false false false false 0 0 false false false 3 false true false false -200000 -0.2 false false false xbrli:monetaryItemType monetary Other Securities Gross Unrealized Losses. No authoritative reference available. true 15 2 payx_OtherSecuritiesFairValue payx false debit instant Other securities fair value. false false false false false false false false false false false totallabel false 1 false true false false 7600000 7.6 false false false 2 false false false false 0 0 false false false 3 false true false false 7300000 7.3 false false false xbrli:monetaryItemType monetary Other securities fair value. No authoritative reference available. true 16 2 payx_TotalFundsHeldForClientsAndCorporateInvestmentsAmortizedCost payx false debit instant Total funds held for clients and corporate investments, Amortized cost. false false false false false false false false false false false totallabel false 1 false true false false 3648800000 3648.8 false false false 2 false false false false 0 0 false false false 3 false true false false 3847200000 3847.2 false false false xbrli:monetaryItemType monetary Total funds held for clients and corporate investments, Amortized cost. No authoritative reference available. true 17 2 payx_TotalFundsHeldForClientsAndCorporateInvestmentsGrossUnrealizedGains payx false credit duration Total funds held for clients and corporate investments, Gross unrealized gains. false false false false false false false false false false false totallabel false 1 false true false false 85200000 85.2 false false false 2 false false false false 0 0 false false false 3 false true false false 67000000 67.0 false false false xbrli:monetaryItemType monetary Total funds held for clients and corporate investments, Gross unrealized gains. No authoritative reference available. true 18 2 payx_TotalFundsHeldForClientsAndCorporateInvestmentsGrossUnrealizedLosses payx false debit duration Total funds held for clients and corporate investments Amortized cost. false false false false false false false false false false false totallabel false 1 false true false false -400000 -0.4 false false false 2 false false false false 0 0 false false false 3 false true false false -600000 -0.6 false false false xbrli:monetaryItemType monetary Total funds held for clients and corporate investments Amortized cost. No authoritative reference available. true 19 2 payx_TotalFundsHeldForClientsAndCorporateInvestmentsFairValue payx false debit instant Total funds held for clients and corporate investments, Fair value. false false false false false false false false false false false totallabel false 1 false true false false 3733600000 3733.6 false false false 2 false false false false 0 0 false false false 3 false true false false 3913600000 3913.6 false false false xbrli:monetaryItemType monetary Total funds held for clients and corporate investments, Fair value. No authoritative reference available. true 20 2 payx_ClassificationOfInvestmentsOnConsolidatedBalanceSheetsAbstract payx false na duration Classification of investments on the Consolidated Balance Sheets. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:stringItemType string Classification of investments on the Consolidated Balance Sheets. false 21 2 us-gaap_FundsHeldForClients us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 3290100000 3290.1 false false false 2 false false false false 0 0 false false false 3 false true false false 3541000000 3541.0 false false false xbrli:monetaryItemType monetary 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. No authoritative reference available. false 22 2 us-gaap_MarketableSecuritiesCurrent us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 177200000 177.2 false false false 2 false false false false 0 0 false false false 3 false true false false 82500000 82.5 false false false xbrli:monetaryItemType monetary Total debt and equity financial instruments including: (1) securities held-to-maturity, (2) trading securities, and (3) securities available-for-sale which are intended to be held for less than one year or the normal operating cycle, whichever is longer. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 2 -Article 5 false 23 2 us-gaap_MarketableSecuritiesNoncurrent us-gaap true debit instant No definition available. false false false false false false false false false false false totallabel false 1 false true false false 266300000 266.3 false false false 2 false false false false 0 0 false false false 3 false true false false 290100000 290.1 false false false xbrli:monetaryItemType monetary Total debt and equity financial instruments including: (1) securities held-to-maturity and (2) securities available-for-sale that will be held for the long-term. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 17 true 24 2 payx_TotalFundsHeldForClientsAndCorporateInvestmentsFairValue payx false debit instant Total funds held for clients and corporate investments, Fair value. false false false false false false false false false false false totallabel false 1 false true false false 3733600000 3733.6 false false false 2 false false false false 0 0 false false false 3 false true false false 3913600000 3913.6 false false false xbrli:monetaryItemType monetary Total funds held for clients and corporate investments, Fair value. No authoritative reference available. true 25 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAbstract us-gaap true na duration No definition available. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:stringItemType string No definition available. false 26 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false -400000 -0.4 false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities that have been in a loss position for less than twelve months for those securities which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 27 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false 73600000 73.6 false false false xbrli:monetaryItemType monetary This item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for less than twelve months. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 28 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities that have been in a loss position for twelve months or longer for those securities which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 29 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for twelve months or longer. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 30 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false -400000 -0.4 false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities in a loss position and which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 31 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false 73600000 73.6 false false false xbrli:monetaryItemType monetary This item represents the fair value of securities in an unrealized loss position which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 32 2 us-gaap_AvailableForSaleSecuritiesGrossRealizedGainLossNetAbstract us-gaap true na duration No definition available. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:stringItemType string No definition available. false 33 2 us-gaap_AvailableForSaleSecuritiesGrossRealizedGains us-gaap true credit duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 100000 0.1 false false false 2 false true false false 300000 0.3 false false false 3 false false false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the gross profit realized on the sale of debt or equity securities categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 21 -Subparagraph a false 34 2 us-gaap_AvailableForSaleSecuritiesGrossRealizedLosses us-gaap true debit duration No definition available. false false false false false false false false false false true negatedtotal false 1 false true false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the gross loss realized on the sale of debt or equity securities categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 21 -Subparagraph a true 35 2 us-gaap_AvailableForSaleSecuritiesGrossRealizedGainLossNet us-gaap true credit duration No definition available. false false false false false false false false false false false totallabel false 1 false true false false 100000 0.1 false false false 2 false true false false 300000 0.3 false false false 3 false false false false 0 0 false false false xbrli:monetaryItemType monetary 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 of the subject investments in debt and equity securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 16 true 36 2 payx_MaturityDateAbstract payx false na duration Maturity Date. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:stringItemType string Maturity Date. false 37 2 us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 391200000 391.2 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:monetaryItemType monetary This item represents debt securities, at cost, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any, which are expected to mature within one year of the balance sheet date and which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 7 -Footnote 2 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 20 -Subparagraph a false 38 2 us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 395900000 395.9 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the fair value of debt securities which are expected to mature within one year of the balance sheet date and which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 20 -Subparagraph a false 39 2 payx_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughThreeYearsAmortizedCost payx false debit instant Available for sale securities debt maturities after one through three years amortized cost. false false false false false false false false false false false verboselabel false 1 false true false false 750200000 750.2 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:monetaryItemType monetary Available for sale securities debt maturities after one through three years amortized cost. No authoritative reference available. false 40 2 payx_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughThreeYearsFairValue payx false debit instant Available for sale securities debt maturities after one through three years fair value. false false false false false false false false false false false verboselabel false 1 false true false false 785100000 785.1 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:monetaryItemType monetary Available for sale securities debt maturities after one through three years fair value. No authoritative reference available. false 41 2 payx_AvailableForSaleSecuritiesDebtMaturitiesAfterThreeThroughFiveYearsAmortizedCost payx false debit instant Available for sale securities debt maturities after three through five years amortized cost. false false false false false false false false false false false verboselabel false 1 false true false false 456600000 456.6 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:monetaryItemType monetary Available for sale securities debt maturities after three through five years amortized cost. No authoritative reference available. false 42 2 payx_AvailableForSaleSecuritiesDebtMaturitiesAfterThreeThroughFiveYearsFairValue payx false debit instant Available for sale securities debt maturities after three through five years fair value. false false false false false false false false false false false verboselabel false 1 false true false false 484100000 484.1 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:monetaryItemType monetary Available for sale securities debt maturities after three through five years fair value. No authoritative reference available. false 43 2 payx_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveYearsAmortizedCost payx false debit instant Available for sale securities debt maturities after five years amortized cost. false false false false false false false false false false false totallabel false 1 false true false false 886600000 886.6 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:monetaryItemType monetary Available for sale securities debt maturities after five years amortized cost. No authoritative reference available. true 44 2 payx_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveYearsFairValue payx false debit instant Available for sale securities debt maturities after five years fair value. false false false false false false false false false false false totallabel false 1 false true false false 904600000 904.6 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:monetaryItemType monetary Available for sale securities debt maturities after five years fair value. No authoritative reference available. true 45 2 us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 2484600000 2484.6 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the total of all debt securities grouped by maturity dates, at cost, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any, which are classified neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 7 -Footnote 2 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 20 false 46 2 us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValue us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 2569700000 2569.7 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the total of all debt securities grouped by maturity dates, at fair value, which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 20 false 47 2 payx_FundsHeldForClientsAndCorporateInvestmentsTextualsAbstract payx false na duration Funds Held for Clients and Corporate Investments Textuals. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:stringItemType string Funds Held for Clients and Corporate Investments Textuals. false 48 2 us-gaap_UnrealizedGainLossOnInvestments us-gaap true credit duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 85100000 85.1 false false false 2 false false false false 0 0 false false false 3 false true false false 66600000 66.6 false false false xbrli:monetaryItemType monetary The aggregate increase (decrease) in the market value of unsold investments whose gains (losses) are included in earnings. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 28 false 49 2 payx_NumberOfAvailableForSaleSecuritiesUsedInGrossUnrealizedLosses payx false na instant Number of available-for-sale securities used in gross unrealized losses. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false 23 23 false false false xbrli:integerItemType integer Number of available-for-sale securities used in gross unrealized losses. No authoritative reference available. false 50 2 payx_MinimumMaturityPeriodForVariableRateDemandNotePrimarilyCategorizedAsDueAfterFiveYears payx false na duration Minimum maturity period for Variable rate demand note, primarily categorized as due after five years. false false false false false false false false false false false verboselabel false 1 false true false false 20 20 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:integerItemType integer Minimum maturity period for Variable rate demand note, primarily categorized as due after five years. No authoritative reference available. false 51 2 payx_MaximumMaturityPeriodForVariableRateDemandNotePrimarilyCategorizedAsDueAfterFiveYears payx false na duration Maximum maturity period for Variable rate demand note, primarily categorized as due after five years. false false false false false false false false false false false verboselabel false 1 false true false false 30 30 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:integerItemType integer Maximum maturity period for Variable rate demand note, primarily categorized as due after five years. No authoritative reference available. false 52 0 na true na na No definition available. false true false false false false false false false false false http://paychex.com/role/fundsheldforclientsandcorporateinvestmentsdetails false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false false 4 USD true false false false Variable rate demand notes [Member] us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsMajorTypesOfTradingSecuritiesAndAssetsAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_VariableRateDemandObligationMember us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsMajorTypesOfTradingSecuritiesAndAssetsAxis explicitMember USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 5 USD true false false false Variable rate demand notes [Member] us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsMajorTypesOfTradingSecuritiesAndAssetsAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_VariableRateDemandObligationMember us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsMajorTypesOfTradingSecuritiesAndAssetsAxis explicitMember USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 58 2 us-gaap_AvailableForSaleSecuritiesAbstract us-gaap true na duration No definition available. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:stringItemType string No definition available. false 59 2 us-gaap_AvailableForSaleSecuritiesAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 605600000 605.6 false false false 2 false false false false 0 0 false false false 3 false true false false 226300000 226.3 false false false xbrli:monetaryItemType monetary This item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 7 -Footnote 2 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 19 false 62 2 us-gaap_AvailableForSaleSecuritiesFairValueDisclosure us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 605600000 605.6 false false false 2 false false false false 0 0 false false false 3 false true false false 226300000 226.3 false false false xbrli:monetaryItemType monetary This element represents the portion of the balance sheet assertion valued at fair value by the entity 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. This item represents Available-for-sale Securities which consist of all investments in certain debt and equity securities neither classified as trading or held-to-maturity securities. A debt security represents a creditor relationship with an enterprise. Debt securities include, among other items, US Treasury securities, US government securities, municipal securities, corporate bonds, convertible debt, commercial paper, and all securitized debt instruments. An equity security represents an ownership interest in an enterprise or the right to acquire or dispose of an ownership interest in an enterprise at fixed or determinable prices. Equity securities include, among other things, common stock, certain preferred stock, warrant rights, call options, and put options, but do not include convertible debt. An entity may opt to provide the reader with additional narrative text to better understand the nature of investments in debt and equity securities which are categorized as Available-for-sale. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 12 -Subparagraph b false 103 0 na true na na No definition available. false true false false false false false false false false false http://paychex.com/role/fundsheldforclientsandcorporateinvestmentsdetails false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false false 6 USD true false false false Total available-for-sale securities [Member] us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsMajorTypesOfTradingSecuritiesAndAssetsAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_AvailableforsaleSecuritiesMember us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsMajorTypesOfTradingSecuritiesAndAssetsAxis explicitMember USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 7 USD true false false false Total available-for-sale securities [Member] us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsMajorTypesOfTradingSecuritiesAndAssetsAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_AvailableforsaleSecuritiesMember us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsMajorTypesOfTradingSecuritiesAndAssetsAxis explicitMember USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 109 2 us-gaap_AvailableForSaleSecuritiesAbstract us-gaap true na duration No definition available. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:stringItemType string No definition available. false 110 2 us-gaap_AvailableForSaleSecuritiesAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 2484600000 2484.6 false false false 2 false false false false 0 0 false false false 3 false true false false 2085200000 2085.2 false false false xbrli:monetaryItemType monetary This item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 7 -Footnote 2 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 19 false 111 2 us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGains us-gaap true credit duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 85100000 85.1 false false false 2 false false false false 0 0 false false false 3 false true false false 67000000 67.0 false false false xbrli:monetaryItemType monetary This item represents the gross unrealized gains for securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized gains are the excess of the fair value of the Available-for-sale Securities over their carrying value as of the reporting date. Such gross unrealized gains are included in other comprehensive income in the statement of shareholders' equity, unless the Available-for-sale Security is designated as a hedge. All or a portion of the unrealized holding gain of an available-for-sale security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 22 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 13, 19 false 112 2 us-gaap_AvailableForSaleSecuritiesGrossUnrealizedLoss us-gaap true debit duration No definition available. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false -400000 -0.4 false false false xbrli:monetaryItemType monetary This item represents the gross unrealized losses for securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized losses are the excess of the carrying value of the Available-for-sale Securities over their fair value as of the reporting date. Such gross unrealized losses are included in other comprehensive income in the statement of shareholders' equity, 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 loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 16 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 22 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 13, 19 false 113 2 us-gaap_AvailableForSaleSecuritiesFairValueDisclosure us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 2569700000 2569.7 false false false 2 false false false false 0 0 false false false 3 false true false false 2151800000 2151.8 false false false xbrli:monetaryItemType monetary This element represents the portion of the balance sheet assertion valued at fair value by the entity 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. This item represents Available-for-sale Securities which consist of all investments in certain debt and equity securities neither classified as trading or held-to-maturity securities. A debt security represents a creditor relationship with an enterprise. Debt securities include, among other items, US Treasury securities, US government securities, municipal securities, corporate bonds, convertible debt, commercial paper, and all securitized debt instruments. An equity security represents an ownership interest in an enterprise or the right to acquire or dispose of an ownership interest in an enterprise at fixed or determinable prices. Equity securities include, among other things, common stock, certain preferred stock, warrant rights, call options, and put options, but do not include convertible debt. An entity may opt to provide the reader with additional narrative text to better understand the nature of investments in debt and equity securities which are categorized as Available-for-sale. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 12 -Subparagraph b false 154 0 na true na na No definition available. false true false false false false false false false false false http://paychex.com/role/fundsheldforclientsandcorporateinvestmentsdetails false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false false 8 USD true false false false General obligation municipal bonds [Member] us-gaap_InvestmentTypeAxis xbrldi http://xbrl.org/2006/xbrldi payx_GeneralObligationMunicipalBondsMember us-gaap_InvestmentTypeAxis explicitMember USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 9 USD true false false false General obligation municipal bonds [Member] us-gaap_InvestmentTypeAxis xbrldi http://xbrl.org/2006/xbrldi payx_GeneralObligationMunicipalBondsMember us-gaap_InvestmentTypeAxis explicitMember USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 160 2 us-gaap_AvailableForSaleSecuritiesAbstract us-gaap true na duration No definition available. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:stringItemType string No definition available. false 161 2 us-gaap_AvailableForSaleSecuritiesAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 1021200000 1021.2 false false false 2 false false false false 0 0 false false false 3 false true false false 951100000 951.1 false false false xbrli:monetaryItemType monetary This item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 7 -Footnote 2 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 19 false 162 2 us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGains us-gaap true credit duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 46200000 46.2 false false false 2 false false false false 0 0 false false false 3 false true false false 33700000 33.7 false false false xbrli:monetaryItemType monetary This item represents the gross unrealized gains for securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized gains are the excess of the fair value of the Available-for-sale Securities over their carrying value as of the reporting date. Such gross unrealized gains are included in other comprehensive income in the statement of shareholders' equity, unless the Available-for-sale Security is designated as a hedge. All or a portion of the unrealized holding gain of an available-for-sale security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 22 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 13, 19 false 163 2 us-gaap_AvailableForSaleSecuritiesGrossUnrealizedLoss us-gaap true debit duration No definition available. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false -300000 -0.3 false false false xbrli:monetaryItemType monetary This item represents the gross unrealized losses for securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized losses are the excess of the carrying value of the Available-for-sale Securities over their fair value as of the reporting date. Such gross unrealized losses are included in other comprehensive income in the statement of shareholders' equity, 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 loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 16 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 22 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 13, 19 false 164 2 us-gaap_AvailableForSaleSecuritiesFairValueDisclosure us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 1067400000 1067.4 false false false 2 false false false false 0 0 false false false 3 false true false false 984500000 984.5 false false false xbrli:monetaryItemType monetary This element represents the portion of the balance sheet assertion valued at fair value by the entity 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. This item represents Available-for-sale Securities which consist of all investments in certain debt and equity securities neither classified as trading or held-to-maturity securities. A debt security represents a creditor relationship with an enterprise. Debt securities include, among other items, US Treasury securities, US government securities, municipal securities, corporate bonds, convertible debt, commercial paper, and all securitized debt instruments. An equity security represents an ownership interest in an enterprise or the right to acquire or dispose of an ownership interest in an enterprise at fixed or determinable prices. Equity securities include, among other things, common stock, certain preferred stock, warrant rights, call options, and put options, but do not include convertible debt. An entity may opt to provide the reader with additional narrative text to better understand the nature of investments in debt and equity securities which are categorized as Available-for-sale. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 12 -Subparagraph b false 178 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAbstract us-gaap true na duration No definition available. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:stringItemType string No definition available. false 179 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false -300000 -0.3 false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities that have been in a loss position for less than twelve months for those securities which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 180 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false 44000000 44.0 false false false xbrli:monetaryItemType monetary This item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for less than twelve months. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 181 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities that have been in a loss position for twelve months or longer for those securities which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 182 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for twelve months or longer. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 183 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false -300000 -0.3 false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities in a loss position and which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 184 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false 44000000 44.0 false false false xbrli:monetaryItemType monetary This item represents the fair value of securities in an unrealized loss position which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 205 0 na true na na No definition available. false true false false false false false false false false false http://paychex.com/role/fundsheldforclientsandcorporateinvestmentsdetails false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false false 10 USD true false false false Pre-refunded municipal bonds [Member] us-gaap_InvestmentTypeAxis xbrldi http://xbrl.org/2006/xbrldi payx_PreRefundedMunicipalBondsMember us-gaap_InvestmentTypeAxis explicitMember USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 11 USD true false false false Pre-refunded municipal bonds [Member] us-gaap_InvestmentTypeAxis xbrldi http://xbrl.org/2006/xbrldi payx_PreRefundedMunicipalBondsMember us-gaap_InvestmentTypeAxis explicitMember USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 211 2 us-gaap_AvailableForSaleSecuritiesAbstract us-gaap true na duration No definition available. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:stringItemType string No definition available. false 212 2 us-gaap_AvailableForSaleSecuritiesAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 503800000 503.8 [1] false false false 2 false false false false 0 0 false false false 3 false true false false 539800000 539.8 [1] false false false xbrli:monetaryItemType monetary This item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 7 -Footnote 2 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 19 false 213 2 us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGains us-gaap true credit duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 21500000 21.5 [1] false false false 2 false false false false 0 0 false false false 3 false true false false 19500000 19.5 [1] false false false xbrli:monetaryItemType monetary This item represents the gross unrealized gains for securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized gains are the excess of the fair value of the Available-for-sale Securities over their carrying value as of the reporting date. Such gross unrealized gains are included in other comprehensive income in the statement of shareholders' equity, unless the Available-for-sale Security is designated as a hedge. All or a portion of the unrealized holding gain of an available-for-sale security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 22 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 13, 19 false 215 2 us-gaap_AvailableForSaleSecuritiesFairValueDisclosure us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 525300000 525.3 [1] false false false 2 false false false false 0 0 false false false 3 false true false false 559300000 559.3 [1] false false false xbrli:monetaryItemType monetary This element represents the portion of the balance sheet assertion valued at fair value by the entity 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. This item represents Available-for-sale Securities which consist of all investments in certain debt and equity securities neither classified as trading or held-to-maturity securities. A debt security represents a creditor relationship with an enterprise. Debt securities include, among other items, US Treasury securities, US government securities, municipal securities, corporate bonds, convertible debt, commercial paper, and all securitized debt instruments. An equity security represents an ownership interest in an enterprise or the right to acquire or dispose of an ownership interest in an enterprise at fixed or determinable prices. Equity securities include, among other things, common stock, certain preferred stock, warrant rights, call options, and put options, but do not include convertible debt. An entity may opt to provide the reader with additional narrative text to better understand the nature of investments in debt and equity securities which are categorized as Available-for-sale. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 12 -Subparagraph b false 229 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAbstract us-gaap true na duration No definition available. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:stringItemType string No definition available. false 230 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities that have been in a loss position for less than twelve months for those securities which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 231 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false 4100000 4.1 false false false xbrli:monetaryItemType monetary This item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for less than twelve months. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 232 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities that have been in a loss position for twelve months or longer for those securities which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 233 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for twelve months or longer. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 234 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities in a loss position and which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 235 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false 4100000 4.1 false false false xbrli:monetaryItemType monetary This item represents the fair value of securities in an unrealized loss position which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 256 0 na true na na No definition available. false true false false false false false false false false false http://paychex.com/role/fundsheldforclientsandcorporateinvestmentsdetails false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false false 12 USD true false false false Revenue municipal bonds [Member] us-gaap_InvestmentTypeAxis xbrldi http://xbrl.org/2006/xbrldi payx_RevenueMunicipalBondsMember us-gaap_InvestmentTypeAxis explicitMember USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 13 USD true false false false Revenue municipal bonds [Member] us-gaap_InvestmentTypeAxis xbrldi http://xbrl.org/2006/xbrldi payx_RevenueMunicipalBondsMember us-gaap_InvestmentTypeAxis explicitMember USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 262 2 us-gaap_AvailableForSaleSecuritiesAbstract us-gaap true na duration No definition available. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:stringItemType string No definition available. false 263 2 us-gaap_AvailableForSaleSecuritiesAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 354000000 354.0 false false false 2 false false false false 0 0 false false false 3 false true false false 368000000 368.0 false false false xbrli:monetaryItemType monetary This item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 7 -Footnote 2 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 19 false 264 2 us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGains us-gaap true credit duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 17400000 17.4 false false false 2 false false false false 0 0 false false false 3 false true false false 13800000 13.8 false false false xbrli:monetaryItemType monetary This item represents the gross unrealized gains for securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized gains are the excess of the fair value of the Available-for-sale Securities over their carrying value as of the reporting date. Such gross unrealized gains are included in other comprehensive income in the statement of shareholders' equity, unless the Available-for-sale Security is designated as a hedge. All or a portion of the unrealized holding gain of an available-for-sale security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 22 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 13, 19 false 265 2 us-gaap_AvailableForSaleSecuritiesGrossUnrealizedLoss us-gaap true debit duration No definition available. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false -100000 -0.1 false false false xbrli:monetaryItemType monetary This item represents the gross unrealized losses for securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized losses are the excess of the carrying value of the Available-for-sale Securities over their fair value as of the reporting date. Such gross unrealized losses are included in other comprehensive income in the statement of shareholders' equity, 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 loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 16 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 22 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 13, 19 false 266 2 us-gaap_AvailableForSaleSecuritiesFairValueDisclosure us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 371400000 371.4 false false false 2 false false false false 0 0 false false false 3 false true false false 381700000 381.7 false false false xbrli:monetaryItemType monetary This element represents the portion of the balance sheet assertion valued at fair value by the entity 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. This item represents Available-for-sale Securities which consist of all investments in certain debt and equity securities neither classified as trading or held-to-maturity securities. A debt security represents a creditor relationship with an enterprise. Debt securities include, among other items, US Treasury securities, US government securities, municipal securities, corporate bonds, convertible debt, commercial paper, and all securitized debt instruments. An equity security represents an ownership interest in an enterprise or the right to acquire or dispose of an ownership interest in an enterprise at fixed or determinable prices. Equity securities include, among other things, common stock, certain preferred stock, warrant rights, call options, and put options, but do not include convertible debt. An entity may opt to provide the reader with additional narrative text to better understand the nature of investments in debt and equity securities which are categorized as Available-for-sale. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 12 -Subparagraph b false 280 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAbstract us-gaap true na duration No definition available. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:stringItemType string No definition available. false 281 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false -100000 -0.1 false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities that have been in a loss position for less than twelve months for those securities which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 282 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false 25500000 25.5 false false false xbrli:monetaryItemType monetary This item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for less than twelve months. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 283 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities that have been in a loss position for twelve months or longer for those securities which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 284 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for twelve months or longer. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 285 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false -100000 -0.1 false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities in a loss position and which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 286 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 true true false false 25500000 25.5 false false false xbrli:monetaryItemType monetary This item represents the fair value of securities in an unrealized loss position which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 1 Pre-refunded municipal bonds are secured by an escrow fund of U.S. government obligations. 3 94 false HundredThousands UnKnown UnKnown false true