2.2.0.7 false Earnings per share (reflecting the two-for-one stock split effective June 8, 2010) (Details) 0606 - Disclosure - Earnings per share (reflecting the two-for-one stock split effective June 8, 2010) (Details) true false In Millions false false 1 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 USDEPS Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares xbrli 0 $ false 2 USD false false USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 Shares Standard http://www.xbrl.org/2003/instance shares xbrli 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 USDEPS Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares xbrli 0 $ false 4 USD false false USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 Shares Standard http://www.xbrl.org/2003/instance shares xbrli 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 5 USD false false Shares Standard http://www.xbrl.org/2003/instance shares xbrli 0 USDEPS Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares xbrli 0 $ 3 1 esrx_NumberOfWeightedAverageSharesUsedInBasicAndDilutedEpsCalculationsAbstract esrx false na duration Number of weighted average shares used in the basic and diluted EPS calculations. 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 4 false false false false 0 0 false false false 5 false false false false 0 0 false false false xbrli:stringItemType string Number of weighted average shares used in the basic and diluted EPS calculations. false 4 2 us-gaap_WeightedAverageNumberOfSharesOutstandingBasic us-gaap true na duration No definition available. false false false false false false false false false false false terselabel false 1 false true false false 544500000 544.5 [1],[2] false false false 2 false true false false 513200000 513.2 [1] false false false 3 false true false false 547100000 547.1 [1],[2] false false false 4 false true false false 504200000 504.2 [1] false false false 5 false false false false 0 0 false false false xbrli:sharesItemType shares Number of [basic] shares, after adjustment for contingently issuable shares and other shares not deemed outstanding, determined by relating the portion of time within a reporting period that common shares have been outstanding to the total time in that period. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 128 -Paragraph 171 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 128 -Paragraph 40 -Subparagraph a Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 128 -Paragraph 8 false 5 2 us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract 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 4 false false false false 0 0 false false false 5 false false false false 0 0 false false false xbrli:stringItemType string No definition available. false 6 3 us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements us-gaap true na duration No definition available. false false false false false false false false false false false totallabel false 1 false true false false 5600000 5.6 [1],[2] false false false 2 false true false false 4400000 4.4 [1] false false false 3 false true false false 5800000 5.8 [1],[2] false false false 4 false true false false 4400000 4.4 [1] false false false 5 false false false false 0 0 false false false xbrli:sharesItemType shares Aggregate awards of share options and nonvested shares to be issued to an employee under a share-based compensation arrangement are considered options for purposes of computing diluted earnings per share. Such share-based awards shall be considered to be outstanding as of the grant date for purposes of computing diluted earnings per share even though their exercise may be contingent upon vesting. Those share-based awards are included in the diluted Earnings Per Share (EPS) computation even if the employee may not receive (or be able to sell) the stock until some future date. Accordingly, all shares to be issued shall be included in computing diluted EPS if the effect is dilutive. The dilutive effect of share-based compensation arrangements shall be computed using the treasury stock method. If the equity share options or other equity instruments are outstanding for only part of a period, the shares issuable shall be weighted to reflect the portion of the period during which the equity instruments were outstanding. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 128 -Paragraph 20 true 7 2 us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding us-gaap true na duration No definition available. false false false false false false false false false false false totallabel false 1 false true false false 550100000 550.1 [1],[2] false false false 2 false true false false 517600000 517.6 [1] false false false 3 false true false false 552900000 552.9 [1],[2] false false false 4 false true false false 508600000 508.6 [1] false false false 5 false false false false 0 0 false false false xbrli:sharesItemType shares The average number of shares issued and outstanding that are used in calculating diluted EPS, determined based on the timing of issuance of shares in the period. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 128 -Paragraph 40 -Subparagraph a Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 128 -Paragraph 8 true 8 1 esrx_EarningsPerShareTextualsAbstract esrx false na duration Earnings per share. 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 4 false false false false 0 0 false false false 5 false false false false 0 0 false false false xbrli:stringItemType string Earnings per share. false 9 2 esrx_SharesIssuedInCommonStockOffering esrx false na instant Shares issued in the common stock offering. 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 false false false 0 0 false false false 4 false false false false 0 0 false false false 5 false true false false 52900000 52.9 false false false xbrli:sharesItemType shares Shares issued in the common stock offering. No authoritative reference available. false 10 2 esrx_SharesIssuedInCommonStockOfferingUnadjustedForTwoForOneStockSplit esrx false na instant Shares Issued In Common Stock Offering Unadjusted For Two For One Stock Split. 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 false false false 0 0 false false false 4 false false false false 0 0 false false false 5 false true false false 26450000 26.45 false false false xbrli:sharesItemType shares Shares Issued In Common Stock Offering Unadjusted For Two For One Stock Split. No authoritative reference available. false 11 2 us-gaap_TreasuryStockSharesAcquired us-gaap true na duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 6100000 6.1 false false false 2 false false false false 0 0 false false false 3 false true false false 10500000 10.5 false false false 4 false false false false 0 0 false false false 5 false false false false 0 0 false false false xbrli:sharesItemType shares Number of shares that have been repurchased during the period and are being held in treasury. 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 false 12 2 us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount us-gaap true na duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 2500000 2.5 false false false 2 false true false false 2000000 2.0 false false false 3 false true false false 2800000 2.8 false false false 4 false true false false 2100000 2.1 false false false 5 false false false false 0 0 false false false xbrli:sharesItemType shares Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 128 -Paragraph 13, 14 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 128 -Paragraph 171 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 128 -Paragraph 40 -Subparagraph c false 1 Excludes awards of 2.5 million and 2.0 million for the three months ended June 30, 2010 and 2009, respectively and 2.8 million and 2.1 million for the six months ended June 30, 2010 and 2009, respectively. These were excluded because their effect was antidilutive. 2 The increase in weighted average number of common shares outstanding for the three months and six months ended June 30, 2010 for Basic and Diluted EPS resulted from the 52.9 million shares (26.45 million shares unadjusted for the two-for-one stock split effective June 8, 2010) issued in the common stock offering on June 10, 2009 (see Note 8). The increase was partially offset by the 6.1 million and 10.5 million treasury shares repurchased in the three and six months ended June 30, 2010, respectively. 5 10 false UnKnown TenThousands UnKnown false true