2.2.0.7falseLong-term debt (Details) (CAD $)40602 - Disclosure - Long-term debt (Details)truefalsefalsefalse1CADfalsefalseUnit12Standardhttp://www.xbrl.org/2003/iso4217CADiso42170Unit13Dividehttp://www.xbrl.org/2003/iso4217CADiso4217http://www.xbrl.org/2003/instancesharesxbrli0Unit14Standardhttp://www.xbrl.org/2003/instancepurexbrli0Unit1Standardhttp://www.xbrl.org/2003/instancesharesxbrli0$false2CADfalsefalseUnit12Standardhttp://www.xbrl.org/2003/iso4217CADiso42170Unit1Standardhttp://www.xbrl.org/2003/instancesharesxbrli0$20us-gaap_LongTermDebtAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false31us-gaap_LongTermDebtNoncurrentus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1truetruefalsefalse200000000200000000[1]falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetarySum of the carrying values as of the balance sheet date of all long-term debt, which is debt initially having maturities due after one year from the balance sheet date or beyond the operating cycle, if longer, but excluding the portions thereof scheduled to be repaid within one year (current maturities) or the normal operating cycle, if longer, and after deducting unamortized discount or premiums, if any.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-Article 5
false41us-gaap_CapitalLeaseObligationsNoncurrentus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse2800000028000000falsefalsefalse2falsetruefalsefalse3100000031000000falsefalsefalsexbrli:monetaryItemTypemonetaryAmount equal to the present value (the principal) at the beginning of the lease term of minimum lease payments during the lease term (excluding that portion of the payments representing executory costs such as insurance, maintenance, and taxes to be paid by the lessor, together with any profit thereon) net of payments or other amounts applied to the principal, through the balance sheet date and due to be paid more than one year (or one operating cycle, if longer) after the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 13
-Paragraph 7, 10, 13
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-Article 5
false51imo_LongTermDebtAndCapitalLeaseObligationimofalsecreditinstantIncluding noncurrent portions, aggregate carrying amount of long-term borrowings and capital lease obligations as of the...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse228000000228000000[2]falsefalsefalse2falsetruefalsefalse3100000031000000[2]falsefalsefalsexbrli:monetaryItemTypemonetaryIncluding noncurrent portions, aggregate carrying amount of long-term borrowings and capital lease obligations as of the balance sheet date.No authoritative reference available.true61us-gaap_RelatedPartyTransactionDueFromToRelatedPartyNoncurrentus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse200000000200000000falsefalsefalse2falsefalsefalsefalse00 falsefalsefalsexbrli:monetaryItemTypemonetaryReceivables to be collected from (obligations owed to) related parties, net as of the balance sheet date where one party can exercise control or significant influence over another party; including affiliates, owners or officers and their immediate families, pension trusts, and so forth.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 08
-Paragraph k
-Subparagraph 1
-Article 4
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 57
-Paragraph 2
-Subparagraph d
false71imo_MaximumLongTermBorrowingFromAffiliateimofalsecreditinstantMaximum long-term borrowing from affiliatefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalselabelfalse1truetruefalsefalse50000000005000000000falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryMaximum long-term borrowing from affiliateNo authoritative reference available.false81us-gaap_RelatedPartyTransactionTermsAndMannerOfSettlementus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00<font class="_mt">370</font>370falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringDescription of the terms and manner of settlement of the related party transaction.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 57
-Paragraph 2
-Subparagraph d
false1In the third quarter of 2010, the company borrowed $200 million under an existing agreement with an affiliated company of Exxon Mobil Corporation (ExxonMobil) that provides for a long-term, variable-rate loan from ExxonMobil to the company of up to $5 billion (Canadian) at interest equivalent to Canadian market rates. The agreement is effective until July 31, 2019, cancelable if ExxonMobil provides at least 370 days advance written notice. 2Long-term debt included amounts to related parties of $200 million (2009 - nil).27falseNoRoundingUnKnownUnKnownfalsetrue