2.2.0.7falseCommon Stock (Details) (USD $)0608 - Disclosure - Common Stock (Details)truefalseIn Millions, except Per Share datafalsefalse1USDfalsefalseUSDStandardhttp://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$false3USDfalsefalseSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0$31esrx_CommonStockTextualsAbstractesrxfalsenadurationCommon stock.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringCommon stock.false42us-gaap_StockIssuedDuringPeriodSharesNewIssuesus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse5290000052.9falsefalsefalse3falsefalsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesNumber of new stock issued during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Principles Board Opinion (APB)
-Number 12
-Paragraph 10
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30
-Article 5
false52us-gaap_StockholdersEquityNoteStockSplitus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00two-for-one stock splittwo-for-one stock splitfalsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringDescription of the stock split arrangement. Also provide the retroactive effect given by a stock split that occurs after the balance date but before the release of financial statements.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 4
-Section C
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 43
-Chapter 7
-Section B
-Paragraph 2, 15, 16
false62esrx_CommonStockSharesSoldAsResultOfUnderwritersExerciseOfOverallotmentOptionesrxfalsenainstantCommon stock Shares sold as a result of the underwriters exercise of overallotment option.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse69000006.9falsefalsefalsexbrli:sharesItemTypesharesCommon stock Shares sold as a result of the underwriters exercise of overallotment option.No authoritative reference available.false72esrx_UnderwritersExerciseOfCommonStockOverallotmentOptionInFullAtClosingesrxfalsenainstantunderwriter's exercise of common stock overallotment option in full at closing, per share.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabeltrue1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3truetruefalsefalse30.530.5falsefalsefalseus-types:perShareItemTypedecimalunderwriter's exercise of common stock overallotment option in full at closing, per share.No authoritative reference available.false82us-gaap_ProceedsFromIssuanceOfCommonStockus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00falsefalsefalse2truetruefalsefalse15691000001569.1falsefalsefalse3falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash inflow from the additional capital contribution to the entity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 18
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 19
-Subparagraph a
false92us-gaap_PaymentsOfStockIssuanceCostsus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2truetruefalsefalse4440000044.4falsefalsefalse3falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash outflow for cost incurred directly with the issuance of an equity security.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 18, 19, 20
false37falseHundredThousandsHundredThousandsNoRoundingfalsetrue