<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.5.0.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>82</ContextCount>
  <ElementCount>160</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>23</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>3</UnitCount>
  <MyReports>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>101 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/DocumentandEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>103 - Statement - Consolidated statement of income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/StatementOfIncomeAlternative</Role>
      <ShortName>Consolidated statement of income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>104 - Statement - Consolidated statement of income (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/StatementOfIncomeAlternativeParenthetical</Role>
      <ShortName>Consolidated statement of income (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>105 - Statement - Consolidated statement of comprehensive income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/StatementOfOtherComprehensiveIncome</Role>
      <ShortName>Consolidated statement of comprehensive income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>106 - Statement - Consolidated balance sheet</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/StatementOfFinancialPositionClassified</Role>
      <ShortName>Consolidated balance sheet</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>107 - Statement - Consolidated balance sheet (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/StatementOfFinancialPositionClassifiedParenthetical</Role>
      <ShortName>Consolidated balance sheet (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>108 - Statement - Consolidated statement of cash flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/StatementOfCashFlowsIndirect</Role>
      <ShortName>Consolidated statement of cash flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>109 - Statement - Consolidated statement of cash flows (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/StatementOfCashFlowsIndirectParenthetical</Role>
      <ShortName>Consolidated statement of cash flows (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>110 - Disclosure - Basis of financial statement preparation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsBasisOfPresentationAndSignificantAccountingPoliciesTextBlock</Role>
      <ShortName>Basis of financial statement preparation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>111 - Disclosure - Business segments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsSegmentReportingDisclosureTextBlock</Role>
      <ShortName>Business segments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>112 - Disclosure - Investment and other income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsInterestAndOtherIncomeTextBlock</Role>
      <ShortName>Investment and other income</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>113 - Disclosure - Employee retirement benefits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsPensionAndOtherPostretirementBenefitsDisclosureTextBlock</Role>
      <ShortName>Employee retirement benefits</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>114 - Disclosure - Financing costs and additional notes and loans payable information</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsFinancingCostsAndAdditionalNotesAndLoansPayableInformationTextBlock</Role>
      <ShortName>Financing costs and additional notes and loans payable information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>115 - Disclosure - Long-term debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsLongTermDebtTextBlock</Role>
      <ShortName>Long-term debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>116 - Disclosure - Other long-term obligations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsOtherLiabilitiesDisclosureTextBlock</Role>
      <ShortName>Other long-term obligations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>117 - Disclosure - Net income (loss) per-share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsEarningsPerShareTextBlock</Role>
      <ShortName>Net income (loss) per-share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>118 - Disclosure - Other comprehensive income (loss) information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsComprehensiveIncomeNoteTextBlock</Role>
      <ShortName>Other comprehensive income (loss) information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>119 - Disclosure - Assets held for sale</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsDisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock</Role>
      <ShortName>Assets held for sale</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>120 - Disclosure - Accounting for suspended exploratory well costs</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsSuspendedWellCostsDisclosureTextBlock</Role>
      <ShortName>Accounting for suspended exploratory well costs</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>121 - Disclosure - Recently issued accounting standards</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsDescriptionOfNewAccountingPronouncementsNotYetAdopted</Role>
      <ShortName>Recently issued accounting standards</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>122 - Disclosure - Business segments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsSegmentReportingDisclosureTextBlockTables</Role>
      <ShortName>Business segments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsSegmentReportingDisclosureTextBlock</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>123 - Disclosure - Investment and other income (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsInterestAndOtherIncomeTextBlockTables</Role>
      <ShortName>Investment and other income (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsInterestAndOtherIncomeTextBlock</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>124 - Disclosure - Employee retirement benefits (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsPensionAndOtherPostretirementBenefitsDisclosureTextBlockTables</Role>
      <ShortName>Employee retirement benefits (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsPensionAndOtherPostretirementBenefitsDisclosureTextBlock</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>125 - Disclosure - Financing costs and additional notes and loans payable information (Tables)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsFinancingCostsAndAdditionalNotesAndLoansPayableInformationTextBlockTables</Role>
      <ShortName>Financing costs and additional notes and loans payable information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsFinancingCostsAndAdditionalNotesAndLoansPayableInformationTextBlock</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>126 - Disclosure - Long-term debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsLongTermDebtTextBlockTables</Role>
      <ShortName>Long-term debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsLongTermDebtTextBlock</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>127 - Disclosure - Other long-term obligations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsOtherLiabilitiesDisclosureTextBlockTables</Role>
      <ShortName>Other long-term obligations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsOtherLiabilitiesDisclosureTextBlock</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>128 - Disclosure - Net income (loss) per-share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsEarningsPerShareTextBlockTables</Role>
      <ShortName>Net income (loss) per-share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsEarningsPerShareTextBlock</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>129 - Disclosure - Other comprehensive income (loss) information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsComprehensiveIncomeNoteTextBlockTables</Role>
      <ShortName>Other comprehensive income (loss) information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsComprehensiveIncomeNoteTextBlock</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>130 - Disclosure - Assets held for sale (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsDisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlockTables</Role>
      <ShortName>Assets held for sale (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsDisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>131 - Disclosure - Recently issued accounting standards (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsDescriptionOfNewAccountingPronouncementsNotYetAdoptedTables</Role>
      <ShortName>Recently issued accounting standards (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.imperialoil.ca/taxonomy/role/NotesToFinancialStatementsDescriptionOfNewAccountingPronouncementsNotYetAdopted</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>132 - Disclosure - Business Segments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/DisclosureBusinessSegments</Role>
      <ShortName>Business Segments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>133 - Disclosure - Business Segments (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/DisclosureBusinessSegmentsParenthetical</Role>
      <ShortName>Business Segments (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>134 - Disclosure - Gains and Losses on Asset Sales (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/DisclosureGainsAndLossesOnAssetSales</Role>
      <ShortName>Gains and Losses on Asset Sales (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>135 - Disclosure - Gains and Losses on Asset Sales (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/DisclosureGainsAndLossesOnAssetSalesParenthetical</Role>
      <ShortName>Gains and Losses on Asset Sales (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>136 - Disclosure - Investment and Other Income - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/DisclosureInvestmentAndOtherIncomeAdditionalInformation</Role>
      <ShortName>Investment and Other Income - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>137 - Disclosure - Components of Net Periodic Benefit Cost (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/DisclosureComponentsOfNetPeriodicBenefitCost</Role>
      <ShortName>Components of Net Periodic Benefit Cost (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>138 - Disclosure - Financing Costs and Additional Notes and Loans Payable Information (Detail)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/DisclosureFinancingCostsAndAdditionalNotesAndLoansPayableInformation</Role>
      <ShortName>Financing Costs and Additional Notes and Loans Payable Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>139 - Disclosure - Financing Costs and Additional Notes and Loans Payable Information - Additional Information (Detail)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/DisclosureFinancingCostsAndAdditionalNotesAndLoansPayableInformationAdditionalInformation</Role>
      <ShortName>Financing Costs and Additional Notes and Loans Payable Information - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>140 - Disclosure - Long-Term Debt (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/DisclosureLongTermDebt</Role>
      <ShortName>Long-Term Debt (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>141 - Disclosure - Long-Term Debt - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/DisclosureLongTermDebtAdditionalInformation</Role>
      <ShortName>Long-Term Debt - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>142 - Disclosure - Other Long-Term Obligations (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/DisclosureOtherLongTermObligations</Role>
      <ShortName>Other Long-Term Obligations (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>143 - Disclosure - Other Long-Term Obligations (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/DisclosureOtherLongTermObligationsParenthetical</Role>
      <ShortName>Other Long-Term Obligations (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>144 - Disclosure - Net Income (Loss) Per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/DisclosureNetIncomeLossPerShare</Role>
      <ShortName>Net Income (Loss) Per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>145 - Disclosure - Changes in Accumulated Other Comprehensive Income (Loss) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/DisclosureChangesInAccumulatedOtherComprehensiveIncomeLoss</Role>
      <ShortName>Changes in Accumulated Other Comprehensive Income (Loss) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>146 - Disclosure - Amounts Reclassified Out of Accumulated Other Comprehensive Income (Loss) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/DisclosureAmountsReclassifiedOutOfAccumulatedOtherComprehensiveIncomeLoss</Role>
      <ShortName>Amounts Reclassified Out of Accumulated Other Comprehensive Income (Loss) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>147 - Disclosure - Income Tax Expense (Credit) for Components of Other Comprehensive Income (Loss) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/DisclosureIncomeTaxExpenseCreditForComponentsOfOtherComprehensiveIncomeLoss</Role>
      <ShortName>Income Tax Expense (Credit) for Components of Other Comprehensive Income (Loss) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>148 - Disclosure - Assets Held for Sale - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/DisclosureAssetsHeldForSaleAdditionalInformation</Role>
      <ShortName>Assets Held for Sale - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>149 - Disclosure - Classes of Assets Classified As Held for Sale within Downstream Segment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/DisclosureClassesOfAssetsClassifiedAsHeldForSaleWithinDownstreamSegment</Role>
      <ShortName>Classes of Assets Classified As Held for Sale within Downstream Segment (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>150 - Disclosure - Accounting for Suspended Exploratory Well Costs - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/DisclosureAccountingForSuspendedExploratoryWellCostsAdditionalInformation</Role>
      <ShortName>Accounting for Suspended Exploratory Well Costs - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="imo-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>151 - Disclosure - Balance Sheet Classification of Deferred Income Tax Asset / (Liability) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.imperialoil.ca/taxonomy/role/DisclosureBalanceSheetClassificationOfDeferredIncomeTaxAssetLiability</Role>
      <ShortName>Balance Sheet Classification of Deferred Income Tax Asset / (Liability) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>imo-20160930.xml</File>
    <File>imo-20160930.xsd</File>
    <File>imo-20160930_cal.xml</File>
    <File>imo-20160930_def.xml</File>
    <File>imo-20160930_lab.xml</File>
    <File>imo-20160930_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies/>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
