2.2.0.7 false Acquisition of XTO Energy, Inc. (Description of the Transaction) (Parenthetical) (Details) (USD $) 40902 - Disclosure - Acquisition of XTO Energy, Inc. (Description of the Transaction) (Parenthetical) (Details) true false Share data in Millions false false 1 USD false false Unit1 Standard http://www.xbrl.org/2003/instance shares xbrli 0 Unit12 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 Unit13 Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares xbrli 0 Unit14 Standard http://www.xbrl.org/2003/instance pure xbrli 0 $ 5 3 xom_CommonStockFairMarketValuePriceAtXtoAcquisitionDate xom false credit instant Common Stock Fair Market Price At XTO Acquisition Date false false false false false false false false false false false terselabel false 1 true true false false 59.10 59.10 false false false xbrli:monetaryItemType monetary Common Stock Fair Market Price At XTO Acquisition Date No authoritative reference available. false 6 3 xom_CostOfTreasurySharesIssuedForXtoAcquisition xom false credit instant Cost of treasury shares issued in XTO acquisition. false false false false false false false false false false false terselabel false 1 false true false false 21139000000 21139000000 false false false xbrli:monetaryItemType monetary Cost of treasury shares issued in XTO acquisition. No authoritative reference available. false 7 3 xom_SharesOfTreasuryStockIssuedForXtoAcquisition xom false na instant Shares Of Treasury Stock Issued For Xto Acquisition false false false false false false false false false false false terselabel false 1 false true false false 416000000 416 false false false xbrli:sharesItemType shares Shares Of Treasury Stock Issued For Xto Acquisition No authoritative reference available. false 8 3 xom_ExcessFairValueOverCostOfTreasuryStockIssuedUsedInXtoAcquisition xom false credit instant Excess Fair Value Over Cost Of Treasury Stock Issued Used In XTO Acquisition false false false false false false false false false false false label false 1 true true false false 3520000000 3520000000 false false false xbrli:monetaryItemType monetary Excess Fair Value Over Cost Of Treasury Stock Issued Used In XTO Acquisition No authoritative reference available. false 1 4 false NoRounding Millions UnKnown false true