2.2.0.7trueGoodwill and other intangible assets (Details) (USD $)0605 - Disclosure - Goodwill and other intangible assets (Details)truefalseIn Millions, unless otherwise specifiedfalsefalse1USDfalsefalseUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170PureStandardhttp://www.xbrl.org/2003/instancepurexbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0$false2USDfalsefalseUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0PureStandardhttp://www.xbrl.org/2003/instancepurexbrli0$false3USDfalsefalseUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170PureStandardhttp://www.xbrl.org/2003/instancepurexbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0$false4USDfalsefalseUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0PureStandardhttp://www.xbrl.org/2003/instancepurexbrli0$false5USDfalsefalseUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0$22esrx_SummaryOfGoodwillAbstractesrxfalsenadurationSummary of goodwill and other intangible assets.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringSummary of goodwill and other intangible assets.false32esrx_GrossCarryingAmountOfGoodwillesrxfalsedebitinstantGross Carrying Amount.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1truetruefalsefalse55976000005597.6falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3truetruefalsefalse55976000005597.6falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5truetruefalsefalse56044000005604.4falsefalsefalsexbrli:monetaryItemTypemonetaryGross Carrying Amount.No authoritative reference available.false42esrx_AccumulatedAmortizationesrxfalsecreditinstantAccumulated Amortization.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse-107300000-107.3falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse-107300000-107.3falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse-107300000-107.3falsefalsefalsexbrli:monetaryItemTypemonetaryAccumulated Amortization.No authoritative reference available.false52us-gaap_Goodwillus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse54903000005490.3falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse54903000005490.3falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying amount as of the balance sheet date, which is the cumulative amount paid, adjusted for any amortization recognized prior to adoption of FAS 142 and for any impairment charges, in excess of the fair value of net assets acquired in one or more business combination transactions.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 43
false62us-gaap_IntangibleAssetsNetExcludingGoodwillus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse18007000001800.7falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse18007000001800.7falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse18808000001880.8falsefalsefalsexbrli:monetaryItemTypemonetarySum of the carrying amounts of all intangible assets, excluding goodwill, as of the balance sheet date, net of accumulated amortization and impairment charges.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 42, 45
false72us-gaap_GoodwillRollForwardus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringA roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.false82us-gaap_Goodwillus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsetruefalsefalseperiodstartlabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse54971000005497.1falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying amount as of the balance sheet date, which is the cumulative amount paid, adjusted for any amortization recognized prior to adoption of FAS 142 and for any impairment charges, in excess of the fair value of net assets acquired in one or more business combination transactions.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 43
false92us-gaap_GoodwillAllocationAdjustmentus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse-6800000-6.8[1]falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryPurchase price allocation adjustment for allocation not yet complete at the prior year end.No authoritative reference available.true102us-gaap_Goodwillus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsetruefalseperiodendlabelfalse1falsetruefalsefalse54903000005490.3falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse54903000005490.3falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying amount as of the balance sheet date, which is the cumulative amount paid, adjusted for any amortization recognized prior to adoption of FAS 142 and for any impairment charges, in excess of the fair value of net assets acquired in one or more business combination transactions.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 43
false112us-gaap_FiniteLivedIntangibleAssetsAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false122us-gaap_IntangibleAssetsNetExcludingGoodwillus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse18007000001800.7falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse18007000001800.7falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse18808000001880.8falsefalsefalsexbrli:monetaryItemTypemonetarySum of the carrying amounts of all intangible assets, excluding goodwill, as of the balance sheet date, net of accumulated amortization and impairment charges.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 42, 45
false132esrx_IntangibleAssetsGrossesrxfalsedebitinstantIntangible assets gross.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse21153000002115.3falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse21153000002115.3falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse21153000002115.3falsefalsefalsexbrli:monetaryItemTypemonetaryIntangible assets gross.No authoritative reference available.false142us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortizationus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse-314600000-314.6falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse-314600000-314.6falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse-234500000-234.5falsefalsefalsexbrli:monetaryItemTypemonetaryThe accumulated amount of amortization of a major finite-lived intangible asset class. A major class is composed of intangible assets that can be grouped together because they are similar, either by their nature or by their use in the operations of a company.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(1)
false152esrx_GoodwillAndOtherIntangibleAssetsTextualsAbstractesrxfalsenadurationGoodwill and Other Intangible Assets Textuals.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringGoodwill and Other Intangible Assets Textuals.false162us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse4000000040.0falsefalsefalse2falsetruefalsefalse99000009.9falsefalsefalse3falsetruefalsefalse8000000080.0falsefalsefalse4falsetruefalsefalse1830000018.3falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate amount of amortization expense recognized for intangible asset during the period. A recognized intangible asset shall be amortized over its estimated useful life to the reporting entity unless that life is determined to be indefinite. If an intangible asset has a finite useful life, but the precise length of that life is not known, that intangible asset shall be amortized over the best estimate of its useful life.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(2)
false172esrx_AmortizationForCustomerContractsRelatedToPmbRevenueesrxfalsedebitdurationAmortization for customer contracts related to the PMB revenue.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse2850000028.5falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse5700000057.0falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmortization for customer contracts related to the PMB revenue.No authoritative reference available.false182us-gaap_FutureAmortizationExpenseYearOneus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse159700000159.7falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of amortization expense expected to be recognized during the twelve-month period following the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(3)
false192us-gaap_FutureAmortizationExpenseYearTwous-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse157900000157.9falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of amortization expense expected to be recognized during the second twelve-month period following the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(3)
false202us-gaap_FutureAmortizationExpenseYearThreeus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse157100000157.1falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of amortization expense expected to be recognized during the third twelve-month period following the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(3)
false212us-gaap_FutureAmortizationExpenseYearFourus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse156500000156.5falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of amortization expense expected to be recognized during the fourth twelve-month period following the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(3)
false222us-gaap_FutureAmortizationExpenseYearFiveus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse152100000152.1falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of amortization expense expected to be recognized during the fifth twelve-month period following the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(3)
false232us-gaap_FiniteLivedIntangibleAssetsWeightedAverageUsefulLifeus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse1515falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:integerItemTypeintegerThe calculated weighted-average useful life of all finite-lived intangible assets.No authoritative reference available.false242us-gaap_FiniteLivedIntangibleAssetsUsefulLifeMinimumus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse33falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:decimalItemTypedecimalThe minimum useful life of a major finite-lived intangible asset class. A major class is composed of intangible assets that can be grouped together because they are similar either by their nature or by their use in the operations of a company.No authoritative reference available.false252us-gaap_FiniteLivedIntangibleAssetsUsefulLifeMaximumus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse1010falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:decimalItemTypedecimalThe maximum useful life of a major finite-lived intangible asset class. A major class is composed of intangible assets that can be grouped together because they are similar either by their nature or by their use in the operations of a company.No authoritative reference available.false262esrx_ImpairmentChargeOnClassificationDiscontinuedOperationMajorityIncludingGoodwillAndOtherIntangibleAssetsesrxfalsedebitdurationImpairment charge on classification discontinued operation majority including goodwill and other intangible assets.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse2820000028.2falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryImpairment charge on classification discontinued operation majority including goodwill and other intangible assets.No authoritative reference available.false272us-gaap_FiniteLivedIntangibleAssetsAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false282us-gaap_IntangibleAssetsNetExcludingGoodwillus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse18007000001800.7falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse18007000001800.7falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse18808000001880.8falsefalsefalsexbrli:monetaryItemTypemonetarySum of the carrying amounts of all intangible assets, excluding goodwill, as of the balance sheet date, net of accumulated amortization and impairment charges.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 42, 45
false292esrx_IntangibleAssetsGrossesrxfalsedebitinstantIntangible assets gross.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse21153000002115.3falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse21153000002115.3falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse21153000002115.3falsefalsefalsexbrli:monetaryItemTypemonetaryIntangible assets gross.No authoritative reference available.false302us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortizationus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse-314600000-314.6falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse-314600000-314.6falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse-234500000-234.5falsefalsefalsexbrli:monetaryItemTypemonetaryThe accumulated amount of amortization of a major finite-lived intangible asset class. A major class is composed of intangible assets that can be grouped together because they are similar, either by their nature or by their use in the operations of a company.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(1)
false312esrx_GoodwillAndOtherIntangibleAssetsTextualsAbstractesrxfalsenadurationGoodwill and Other Intangible Assets Textuals.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringGoodwill and Other Intangible Assets Textuals.false322us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse4000000040.0falsefalsefalse2falsetruefalsefalse99000009.9falsefalsefalse3falsetruefalsefalse8000000080.0falsefalsefalse4falsetruefalsefalse1830000018.3falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate amount of amortization expense recognized for intangible asset during the period. A recognized intangible asset shall be amortized over its estimated useful life to the reporting entity unless that life is determined to be indefinite. If an intangible asset has a finite useful life, but the precise length of that life is not known, that intangible asset shall be amortized over the best estimate of its useful life.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(2)
false332esrx_AmortizationForCustomerContractsRelatedToPmbRevenueesrxfalsedebitdurationAmortization for customer contracts related to the PMB revenue.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse2850000028.5falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse5700000057.0falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmortization for customer contracts related to the PMB revenue.No authoritative reference available.false342us-gaap_FutureAmortizationExpenseYearOneus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse159700000159.7falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of amortization expense expected to be recognized during the twelve-month period following the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(3)
false352us-gaap_FutureAmortizationExpenseYearTwous-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse157900000157.9falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of amortization expense expected to be recognized during the second twelve-month period following the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(3)
false362us-gaap_FutureAmortizationExpenseYearThreeus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse157100000157.1falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of amortization expense expected to be recognized during the third twelve-month period following the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(3)
false372us-gaap_FutureAmortizationExpenseYearFourus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse156500000156.5falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of amortization expense expected to be recognized during the fourth twelve-month period following the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(3)
false382us-gaap_FutureAmortizationExpenseYearFiveus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse152100000152.1falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of amortization expense expected to be recognized during the fifth twelve-month period following the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 45
-Subparagraph a(3)
false392us-gaap_FiniteLivedIntangibleAssetsWeightedAverageUsefulLifeus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse1515falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:integerItemTypeintegerThe calculated weighted-average useful life of all finite-lived intangible assets.No authoritative reference available.false402us-gaap_FiniteLivedIntangibleAssetsUsefulLifeMinimumus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse33falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:decimalItemTypedecimalThe minimum useful life of a major finite-lived intangible asset class. A major class is composed of intangible assets that can be grouped together because they are similar either by their nature or by their use in the operations of a company.No authoritative reference available.false412us-gaap_FiniteLivedIntangibleAssetsUsefulLifeMaximumus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse1010falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:decimalItemTypedecimalThe maximum useful life of a major finite-lived intangible asset class. A major class is composed of intangible assets that can be grouped together because they are similar either by their nature or by their use in the operations of a company.No authoritative reference available.false422esrx_ImpairmentChargeOnClassificationDiscontinuedOperationMajorityIncludingGoodwillAndOtherIntangibleAssetsesrxfalsedebitdurationImpairment charge on classification discontinued operation majority including goodwill and other intangible assets.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse2820000028.2falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryImpairment charge on classification discontinued operation majority including goodwill and other intangible assets.No authoritative reference available.false430natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://express-scripts.com/role/goodwillandotherintangibleassetsdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsefalse6USDtruefalsefalsefalsePBM [Member]us-gaap_GoodwillBySegmentAxisxbrldihttp://xbrl.org/2006/xbrldiesrx_PbmMemberus-gaap_GoodwillBySegmentAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false7USDtruefalsefalsefalsePBM [Member]us-gaap_GoodwillBySegmentAxisxbrldihttp://xbrl.org/2006/xbrldiesrx_PbmMemberus-gaap_GoodwillBySegmentAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false442esrx_SummaryOfGoodwillAbstractesrxfalsenadurationSummary of goodwill and other intangible assets.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringSummary of goodwill and other intangible assets.false452esrx_GrossCarryingAmountOfGoodwillesrxfalsedebitinstantGross Carrying Amount.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse54653000005465.3falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse54721000005472.1falsefalsefalsexbrli:monetaryItemTypemonetaryGross Carrying Amount.No authoritative reference available.false462esrx_AccumulatedAmortizationesrxfalsecreditinstantAccumulated Amortization.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse-107300000-107.3falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse-107300000-107.3falsefalsefalsexbrli:monetaryItemTypemonetaryAccumulated Amortization.No authoritative reference available.false472us-gaap_Goodwillus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse53580000005358.0falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying amount as of the balance sheet date, which is the cumulative amount paid, adjusted for any amortization recognized prior to adoption of FAS 142 and for any impairment charges, in excess of the fair value of net assets acquired in one or more business combination transactions.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 43
false492us-gaap_GoodwillRollForwardus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringA roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.false502us-gaap_Goodwillus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsetruefalsefalseperiodstartlabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse53648000005364.8falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying amount as of the balance sheet date, which is the cumulative amount paid, adjusted for any amortization recognized prior to adoption of FAS 142 and for any impairment charges, in excess of the fair value of net assets acquired in one or more business combination transactions.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 43
false512us-gaap_GoodwillAllocationAdjustmentus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse-6800000-6.8[1]falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryPurchase price allocation adjustment for allocation not yet complete at the prior year end.No authoritative reference available.true522us-gaap_Goodwillus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsetruefalseperiodendlabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse53580000005358.0falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying amount as of the balance sheet date, which is the cumulative amount paid, adjusted for any amortization recognized prior to adoption of FAS 142 and for any impairment charges, in excess of the fair value of net assets acquired in one or more business combination transactions.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 43
false850natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://express-scripts.com/role/goodwillandotherintangibleassetsdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsefalse8USDtruefalsefalsefalseEM [Member]us-gaap_GoodwillBySegmentAxisxbrldihttp://xbrl.org/2006/xbrldiesrx_EmMemberus-gaap_GoodwillBySegmentAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false9USDtruefalsefalsefalseEM [Member]us-gaap_GoodwillBySegmentAxisxbrldihttp://xbrl.org/2006/xbrldiesrx_EmMemberus-gaap_GoodwillBySegmentAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false862esrx_SummaryOfGoodwillAbstractesrxfalsenadurationSummary of goodwill and other intangible assets.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringSummary of goodwill and other intangible assets.false872esrx_GrossCarryingAmountOfGoodwillesrxfalsedebitinstantGross Carrying Amount.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse132300000132.3falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse132300000132.3falsefalsefalsexbrli:monetaryItemTypemonetaryGross Carrying Amount.No authoritative reference available.false882esrx_AccumulatedAmortizationesrxfalsecreditinstantAccumulated Amortization.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAccumulated Amortization.No authoritative reference available.false892us-gaap_Goodwillus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse132300000132.3[2]falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse132300000132.3[2]falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying amount as of the balance sheet date, which is the cumulative amount paid, adjusted for any amortization recognized prior to adoption of FAS 142 and for any impairment charges, in excess of the fair value of net assets acquired in one or more business combination transactions.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 43
false912us-gaap_GoodwillRollForwardus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringA roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.false922us-gaap_Goodwillus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsetruefalsefalseperiodstartlabelfalse1falsetruefalsefalse132300000132.3[2]falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse132300000132.3[2]falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying amount as of the balance sheet date, which is the cumulative amount paid, adjusted for any amortization recognized prior to adoption of FAS 142 and for any impairment charges, in excess of the fair value of net assets acquired in one or more business combination transactions.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 43
false942us-gaap_Goodwillus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsetruefalseperiodendlabelfalse1truetruefalsefalse132300000132.3[2]falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5truetruefalsefalse132300000132.3[2]falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying amount as of the balance sheet date, which is the cumulative amount paid, adjusted for any amortization recognized prior to adoption of FAS 142 and for any impairment charges, in excess of the fair value of net assets acquired in one or more business combination transactions.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 142
-Paragraph 43
false1Represents adjustments to preliminary purchase price upon settlement of working capital adjustment.2Excludes discontinued operations of PMG.558falseHundredThousandsUnKnownUnKnowntruetrue