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 $ 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 $ 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 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 531700000 531.7 [1],[2] false false false 2 false true false false 549000000 549.0 [1] false false false 3 false true false false 541900000 541.9 [1],[3] false false false 4 false true false false 519400000 519.4 [1] 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 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 5300000 5.3 [1],[2] false false false 2 false true false false 5400000 5.4 [1] false false false 3 false true false false 5600000 5.6 [1],[3] false false false 4 false true false false 4800000 4.8 [1] 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 537000000 537.0 [1],[2] false false false 2 false true false false 554400000 554.4 [1] false false false 3 false true false false 547500000 547.5 [1],[3] false false false 4 false true false false 524200000 524.2 [1] 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 xbrli:stringItemType string Earnings per share. false 9 2 us-gaap_StockIssuedDuringPeriodSharesNewIssues us-gaap true na 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 false false false 0 0 false false false 4 false true false false 52900000 52.9 false false false xbrli:sharesItemType shares Number 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 false 10 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 false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false 26900000 26.9 false false false 4 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 11 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 2600000 2.6 false false false 2 false true false false 1000000 1.0 false false false 3 false true false false 3000000 3.0 false false false 4 false true false false 4200000 4.2 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.6 million and 1.0 million for the three months ended September 30, 2010 and 2009, respectively and 3.0 million and 4.2 million for the nine months ended September 30, 2010 and 2009, respectively. These were excluded because their effect was anti-dilutive. 2 The decrease in weighted average number of common shares outstanding for the three months ended September 30, 2010 for Basic and Diluted EPS resulted from the repurchase of 26.9 million treasury shares in the nine months ended September 30, 2010. 3 The increase in weighted average number of common shares outstanding for the nine months ended September 30, 2010 for Basic and Diluted EPS resulted from the 52.9 million shares issued in the common stock offering on June 10, 2009 (see Note 8). The increase was partially offset by the 26.9 million treasury shares repurchased in the nine months ended September 30, 2010. 4 9 false UnKnown HundredThousands UnKnown false true