<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.6.0.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>640</ContextCount>
  <ElementCount>619</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>143</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>25</UnitCount>
  <MyReports>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001000 - Statement - Consolidated Statements of Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/ConsolidatedStatementsOfIncome</Role>
      <ShortName>Consolidated Statements of Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1002000 - Statement - Consolidated Statements of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/ConsolidatedStatementsOfComprehensiveIncome</Role>
      <ShortName>Consolidated Statements of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1002501 - Statement - Consolidated Statements of Comprehensive Income (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/ConsolidatedStatementsOfComprehensiveIncomeParenthetical</Role>
      <ShortName>Consolidated Statements of Comprehensive Income (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1003000 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1003501 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1004000 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/ConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>1005000 - Statement - Consolidated Statements of Changes in Shareholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/ConsolidatedStatementsOfChangesInShareholdersEquity</Role>
      <ShortName>Consolidated Statements of Changes in Shareholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>1005501 - Statement - Consolidated Statements of Changes in Shareholders' Equity (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/ConsolidatedStatementsOfChangesInShareholdersEquityParenthetical</Role>
      <ShortName>Consolidated Statements of Changes in Shareholders' Equity (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2108100 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/BasisOfPresentationAndSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2109100 - Disclosure - Acquisitions and Divestitures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/AcquisitionsAndDivestitures</Role>
      <ShortName>Acquisitions and Divestitures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2110100 - Disclosure - Sale of Non-United States Accounts Receivable</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/SaleOfNonUnitedStatesAccountsReceivable</Role>
      <ShortName>Sale of Non-United States Accounts Receivable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2111100 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/Inventories</Role>
      <ShortName>Inventories</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2112100 - Disclosure - Assets and Liabilities Held for Sale and Disposals of Property, Plant and Equipment, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/AssetsAndLiabilitiesHeldForSaleAndDisposalsOfPropertyPlantAndEquipmentNet</Role>
      <ShortName>Assets and Liabilities Held for Sale and Disposals of Property, Plant and Equipment, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2113100 - Disclosure - Goodwill and Other Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/GoodwillAndOtherIntangibleAssets</Role>
      <ShortName>Goodwill and Other Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2114100 - Disclosure - Restructuring Charges</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/RestructuringCharges</Role>
      <ShortName>Restructuring Charges</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2115100 - Disclosure - Consolidation of Variable Interest Entities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/ConsolidationOfVariableInterestEntities</Role>
      <ShortName>Consolidation of Variable Interest Entities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2116100 - Disclosure - Long-Term Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/LongTermDebt</Role>
      <ShortName>Long-Term Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2117100 - Disclosure - Financial Instruments and Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/FinancialInstrumentsAndFairValueMeasurements</Role>
      <ShortName>Financial Instruments and Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2118100 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/StockBasedCompensation</Role>
      <ShortName>Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2119100 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2120100 - Disclosure - Post Retirement Benefit Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/PostRetirementBenefitPlans</Role>
      <ShortName>Post Retirement Benefit Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2121100 - Disclosure - Contingent Liabilities and Environmental Reserves</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/ContingentLiabilitiesAndEnvironmentalReserves</Role>
      <ShortName>Contingent Liabilities and Environmental Reserves</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2122100 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/EarningsPerShare</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2123100 - Disclosure - Equity Earnings of Unconsolidated Affiliates, Net of Tax and Net Income (Loss) Attributable to Noncontrolling Interests</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/EquityEarningsOfUnconsolidatedAffiliatesNetOfTaxAndNetIncomeLossAttributableToNoncontrollingInterests</Role>
      <ShortName>Equity Earnings of Unconsolidated Affiliates, Net of Tax and Net Income (Loss) Attributable to Noncontrolling Interests</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2124100 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2125100 - Disclosure - Business Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/BusinessSegmentInformation</Role>
      <ShortName>Business Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2126100 - Disclosure - Comprehensive (Loss) Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/ComprehensiveLossIncome</Role>
      <ShortName>Comprehensive (Loss) Income</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2127100 - Disclosure - Quarterly Financial Data (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/QuarterlyFinancialDataUnaudited</Role>
      <ShortName>Quarterly Financial Data (Unaudited)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2130100 - Disclosure - Redeemable Noncontrolling Interests</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/RedeemableNoncontrollingInterests</Role>
      <ShortName>Redeemable Noncontrolling Interests</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2131100 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2132100 - Disclosure - Schedule II - Consolidated Valuation and Qualifying Accounts and Reserves</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/ScheduleIiConsolidatedValuationAndQualifyingAccountsAndReserves</Role>
      <ShortName>Schedule II - Consolidated Valuation and Qualifying Accounts and Reserves</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2208201 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/BasisOfPresentationAndSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.greif.com/role/BasisOfPresentationAndSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2308302 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/BasisOfPresentationAndSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.greif.com/role/BasisOfPresentationAndSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2309301 - Disclosure - Acquisitions and Divestitures (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/AcquisitionsAndDivestituresTables</Role>
      <ShortName>Acquisitions and Divestitures (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.greif.com/role/AcquisitionsAndDivestitures</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2310301 - Disclosure - Sale of Non-United States Accounts Receivable (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/SaleOfNonUnitedStatesAccountsReceivableTables</Role>
      <ShortName>Sale of Non-United States Accounts Receivable (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.greif.com/role/SaleOfNonUnitedStatesAccountsReceivable</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2311301 - Disclosure - Inventories (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/InventoriesTables</Role>
      <ShortName>Inventories (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.greif.com/role/Inventories</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2312301 - Disclosure - Assets and Liabilities Held for Sale and Disposals of Property, Plant and Equipment, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/AssetsAndLiabilitiesHeldForSaleAndDisposalsOfPropertyPlantAndEquipmentNetTables</Role>
      <ShortName>Assets and Liabilities Held for Sale and Disposals of Property, Plant and Equipment, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.greif.com/role/AssetsAndLiabilitiesHeldForSaleAndDisposalsOfPropertyPlantAndEquipmentNet</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2313301 - Disclosure - Goodwill and Other Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/GoodwillAndOtherIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Other Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.greif.com/role/GoodwillAndOtherIntangibleAssets</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2314301 - Disclosure - Restructuring Charges (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/RestructuringChargesTables</Role>
      <ShortName>Restructuring Charges (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.greif.com/role/RestructuringCharges</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2315301 - Disclosure - Consolidation of Variable Interest Entities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/ConsolidationOfVariableInterestEntitiesTables</Role>
      <ShortName>Consolidation of Variable Interest Entities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.greif.com/role/ConsolidationOfVariableInterestEntities</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2316301 - Disclosure - Long-Term Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/LongTermDebtTables</Role>
      <ShortName>Long-Term Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.greif.com/role/LongTermDebt</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2317301 - Disclosure - Financial Instruments and Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/FinancialInstrumentsAndFairValueMeasurementsTables</Role>
      <ShortName>Financial Instruments and Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.greif.com/role/FinancialInstrumentsAndFairValueMeasurements</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2318301 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/StockBasedCompensationTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.greif.com/role/StockBasedCompensation</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2319301 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.greif.com/role/IncomeTaxes</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2320301 - Disclosure - Post Retirement Benefit Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/PostRetirementBenefitPlansTables</Role>
      <ShortName>Post Retirement Benefit Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.greif.com/role/PostRetirementBenefitPlans</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2322301 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/EarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.greif.com/role/EarningsPerShare</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2324301 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.greif.com/role/Leases</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2325301 - Disclosure - Business Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/BusinessSegmentInformationTables</Role>
      <ShortName>Business Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.greif.com/role/BusinessSegmentInformation</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2326301 - Disclosure - Comprehensive (Loss) Income (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/ComprehensiveLossIncomeTables</Role>
      <ShortName>Comprehensive (Loss) Income (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.greif.com/role/ComprehensiveLossIncome</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2327301 - Disclosure - Quarterly Financial Data (Unaudited) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/QuarterlyFinancialDataUnauditedTables</Role>
      <ShortName>Quarterly Financial Data (Unaudited) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.greif.com/role/QuarterlyFinancialDataUnaudited</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2330301 - Disclosure - Redeemable Noncontrolling Interests (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/RedeemableNoncontrollingInterestsTables</Role>
      <ShortName>Redeemable Noncontrolling Interests (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.greif.com/role/RedeemableNoncontrollingInterests</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2408403 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/BasisOfPresentationAndSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2408404 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies - Schedule of Amortization Expense on Other Intangible Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/BasisOfPresentationAndSummaryOfSignificantAccountingPoliciesScheduleOfAmortizationExpenseOnOtherIntangibleAssetsDetail</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies - Schedule of Amortization Expense on Other Intangible Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2408405 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies - Depreciation on Properties, Plants and Equipment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/BasisOfPresentationAndSummaryOfSignificantAccountingPoliciesDepreciationOnPropertiesPlantsAndEquipmentDetail</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies - Depreciation on Properties, Plants and Equipment (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2409402 - Disclosure - Acquisitions and Divestitures - Acquisitions (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/AcquisitionsAndDivestituresAcquisitionsDetail</Role>
      <ShortName>Acquisitions and Divestitures - Acquisitions (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2409403 - Disclosure - Acquisitions and Divestitures - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/AcquisitionsAndDivestituresAdditionalInformationDetail</Role>
      <ShortName>Acquisitions and Divestitures - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2410402 - Disclosure - Sale of Non-United States Accounts Receivable - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/SaleOfNonUnitedStatesAccountsReceivableAdditionalInformationDetail</Role>
      <ShortName>Sale of Non-United States Accounts Receivable - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2410403 - Disclosure - Sale of Non-United States Accounts Receivable - Company's Accounts Receivables Programs (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/SaleOfNonUnitedStatesAccountsReceivableCompanysAccountsReceivablesProgramsDetail</Role>
      <ShortName>Sale of Non-United States Accounts Receivable - Company's Accounts Receivables Programs (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2411402 - Disclosure - Inventories - Summarization of Inventories (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/InventoriesSummarizationOfInventoriesDetail</Role>
      <ShortName>Inventories - Summarization of Inventories (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2412402 - Disclosure - Assets and Liabilities Held for Sale and Disposals of Property, Plant and Equipment, Net - Assets and Liabilities Classified as Held for Sale (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/AssetsAndLiabilitiesHeldForSaleAndDisposalsOfPropertyPlantAndEquipmentNetAssetsAndLiabilitiesClassifiedAsHeldForSaleDetails</Role>
      <ShortName>Assets and Liabilities Held for Sale and Disposals of Property, Plant and Equipment, Net - Assets and Liabilities Classified as Held for Sale (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2412403 - Disclosure - Assets and Liabilities Held for Sale and Disposals of Property, Plant and Equipment, Net - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/AssetsAndLiabilitiesHeldForSaleAndDisposalsOfPropertyPlantAndEquipmentNetAdditionalInformationDetail</Role>
      <ShortName>Assets and Liabilities Held for Sale and Disposals of Property, Plant and Equipment, Net - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2413402 - Disclosure - Goodwill and Other Intangible Assets - Summary of Changes in Carrying Amount of Goodwill by Segment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/GoodwillAndOtherIntangibleAssetsSummaryOfChangesInCarryingAmountOfGoodwillBySegmentDetail</Role>
      <ShortName>Goodwill and Other Intangible Assets - Summary of Changes in Carrying Amount of Goodwill by Segment (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2413403 - Disclosure - Goodwill and Other Intangible Assets - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/GoodwillAndOtherIntangibleAssetsAdditionalInformationDetail</Role>
      <ShortName>Goodwill and Other Intangible Assets - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2413404 - Disclosure - Goodwill and Other Intangible Assets - Summary of Carrying Amount of Net Intangible Assets by Class (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/GoodwillAndOtherIntangibleAssetsSummaryOfCarryingAmountOfNetIntangibleAssetsByClassDetail</Role>
      <ShortName>Goodwill and Other Intangible Assets - Summary of Carrying Amount of Net Intangible Assets by Class (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2414402 - Disclosure - Restructuring Charges - Reconciliation of Beginning and Ended Restructuring Reserve Balances (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/RestructuringChargesReconciliationOfBeginningAndEndedRestructuringReserveBalancesDetail</Role>
      <ShortName>Restructuring Charges - Reconciliation of Beginning and Ended Restructuring Reserve Balances (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>2414403 - Disclosure - Restructuring Charges - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/RestructuringChargesAdditionalInformationDetail</Role>
      <ShortName>Restructuring Charges - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>2414404 - Disclosure - Restructuring Charges - Reconciliation of Total Amounts Expected to be Incurred from Open Restructuring Plans Anticipated to be Realized (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/RestructuringChargesReconciliationOfTotalAmountsExpectedToBeIncurredFromOpenRestructuringPlansAnticipatedToBeRealizedDetail</Role>
      <ShortName>Restructuring Charges - Reconciliation of Total Amounts Expected to be Incurred from Open Restructuring Plans Anticipated to be Realized (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>2415402 - Disclosure - Consolidation of Variable Interest Entities - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/ConsolidationOfVariableInterestEntitiesAdditionalInformationDetail</Role>
      <ShortName>Consolidation of Variable Interest Entities - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>2415403 - Disclosure - Consolidation of Variable Interest Entities - Total Net Assets of Flexible Packaging JV (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/ConsolidationOfVariableInterestEntitiesTotalNetAssetsOfFlexiblePackagingJvDetail</Role>
      <ShortName>Consolidation of Variable Interest Entities - Total Net Assets of Flexible Packaging JV (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>2416402 - Disclosure - Long-Term Debt - Summary of Long-Term Debt (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/LongTermDebtSummaryOfLongTermDebtDetail</Role>
      <ShortName>Long-Term Debt - Summary of Long-Term Debt (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>2416403 - Disclosure - Long-Term Debt (Credit Agreement) - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/LongTermDebtCreditAgreementAdditionalInformationDetail</Role>
      <ShortName>Long-Term Debt (Credit Agreement) - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.greif.com/role/LongTermDebtTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>2416404 - Disclosure - Long-Term Debt (Senior Notes) - Additional Information (Detail)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.greif.com/role/LongTermDebtSeniorNotesAdditionalInformationDetail</Role>
      <ShortName>Long-Term Debt (Senior Notes) - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.greif.com/role/LongTermDebtTables</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>2416405 - Disclosure - Long-Term Debt (United States Trade Accounts Receivable Credit Facility) - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/LongTermDebtUnitedStatesTradeAccountsReceivableCreditFacilityAdditionalInformationDetail</Role>
      <ShortName>Long-Term Debt (United States Trade Accounts Receivable Credit Facility) - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.greif.com/role/LongTermDebtTables</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>2416406 - Disclosure - Long-Term Debt (Other) - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/LongTermDebtOtherAdditionalInformationDetail</Role>
      <ShortName>Long-Term Debt (Other) - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.greif.com/role/LongTermDebtTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>2417402 - Disclosure - Financial Instruments and Fair Value Measurements - Recurring Fair Value Measurements (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/FinancialInstrumentsAndFairValueMeasurementsRecurringFairValueMeasurementsDetail</Role>
      <ShortName>Financial Instruments and Fair Value Measurements - Recurring Fair Value Measurements (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>2417403 - Disclosure - Financial Instruments and Fair Value Measurements - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/FinancialInstrumentsAndFairValueMeasurementsAdditionalInformationDetail</Role>
      <ShortName>Financial Instruments and Fair Value Measurements - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>2417404 - Disclosure - Financial Instruments And Fair Value Measurements - Estimated Fair Values for the Company's Senior Notes and Assets Held by Special Purpose Entities (Detail)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.greif.com/role/FinancialInstrumentsAndFairValueMeasurementsEstimatedFairValuesForCompanysSeniorNotesAndAssetsHeldBySpecialPurposeEntitiesDetail</Role>
      <ShortName>Financial Instruments And Fair Value Measurements - Estimated Fair Values for the Company's Senior Notes and Assets Held by Special Purpose Entities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>2417405 - Disclosure - Financial Instruments and Fair Value Measurements - Summary of Quantitative about Significant Unobservable Inputs Used to Determine Fair Value of Impairment of Long-Lived Assets Held and Used (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/FinancialInstrumentsAndFairValueMeasurementsSummaryOfQuantitativeAboutSignificantUnobservableInputsUsedToDetermineFairValueOfImpairmentOfLongLivedAssetsHeldAndUsedDetail</Role>
      <ShortName>Financial Instruments and Fair Value Measurements - Summary of Quantitative about Significant Unobservable Inputs Used to Determine Fair Value of Impairment of Long-Lived Assets Held and Used (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>2418402 - Disclosure - Stock-Based Compensation - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/StockBasedCompensationAdditionalInformationDetail</Role>
      <ShortName>Stock-Based Compensation - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>2418403 - Disclosure - Stock-Based Compensation - Stock Option Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/StockBasedCompensationStockOptionActivityDetail</Role>
      <ShortName>Stock-Based Compensation - Stock Option Activity (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>2419402 - Disclosure - Income Taxes - Provision for Income Taxes (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/IncomeTaxesProvisionForIncomeTaxesDetail</Role>
      <ShortName>Income Taxes - Provision for Income Taxes (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>2419403 - Disclosure - Income Taxes - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/IncomeTaxesAdditionalInformationDetail</Role>
      <ShortName>Income Taxes - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>2419404 - Disclosure - Income Taxes - Reconciliation of Effective Income Tax Rate (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/IncomeTaxesReconciliationOfEffectiveIncomeTaxRateDetail</Role>
      <ShortName>Income Taxes - Reconciliation of Effective Income Tax Rate (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>2419405 - Disclosure - Income Taxes - Significant Components of Company's Deferred Tax Assets and Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/IncomeTaxesSignificantComponentsOfCompanysDeferredTaxAssetsAndLiabilitiesDetail</Role>
      <ShortName>Income Taxes - Significant Components of Company's Deferred Tax Assets and Liabilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>2419406 - Disclosure - Income Taxes - Reconciliation of Unrecognized Tax Benefits (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/IncomeTaxesReconciliationOfUnrecognizedTaxBenefitsDetail</Role>
      <ShortName>Income Taxes - Reconciliation of Unrecognized Tax Benefits (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>2420402 - Disclosure - Post Retirement Benefit Plans - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/PostRetirementBenefitPlansAdditionalInformationDetail</Role>
      <ShortName>Post Retirement Benefit Plans - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>2420403 - Disclosure - Post Retirement Benefit Plans - Number of Participants in Defined Benefit Plans (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/PostRetirementBenefitPlansNumberOfParticipantsInDefinedBenefitPlansDetail</Role>
      <ShortName>Post Retirement Benefit Plans - Number of Participants in Defined Benefit Plans (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>2420404 - Disclosure - Post Retirement Benefit Plans - Actuarial Assumptions Used to Measure Benefit Obligations and Pension Costs (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/PostRetirementBenefitPlansActuarialAssumptionsUsedToMeasureBenefitObligationsAndPensionCostsDetail</Role>
      <ShortName>Post Retirement Benefit Plans - Actuarial Assumptions Used to Measure Benefit Obligations and Pension Costs (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>2420405 - Disclosure - Post Retirement Benefit Plans - Components of Net Periodic Pension Cost (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/PostRetirementBenefitPlansComponentsOfNetPeriodicPensionCostDetail</Role>
      <ShortName>Post Retirement Benefit Plans - Components of Net Periodic Pension Cost (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>2420406 - Disclosure - Post Retirement Benefit Plans - Change in Projected Benefit Obligation (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/PostRetirementBenefitPlansChangeInProjectedBenefitObligationDetail</Role>
      <ShortName>Post Retirement Benefit Plans - Change in Projected Benefit Obligation (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>2420407 - Disclosure - Post Retirement Benefit Plans - Benefit Obligations in Excess of Plan Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/PostRetirementBenefitPlansBenefitObligationsInExcessOfPlanAssetsDetail</Role>
      <ShortName>Post Retirement Benefit Plans - Benefit Obligations in Excess of Plan Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>2420408 - Disclosure - Post Retirement Benefit Plans - Future Benefit Payments Next Five Years and Thereafter (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/PostRetirementBenefitPlansFutureBenefitPaymentsNextFiveYearsAndThereafterDetail</Role>
      <ShortName>Post Retirement Benefit Plans - Future Benefit Payments Next Five Years and Thereafter (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>2420409 - Disclosure - Post Retirement Benefit Plans - Weighted Average Asset Allocations at Measurement Date and Target Asset Allocations (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/PostRetirementBenefitPlansWeightedAverageAssetAllocationsAtMeasurementDateAndTargetAssetAllocationsDetail</Role>
      <ShortName>Post Retirement Benefit Plans - Weighted Average Asset Allocations at Measurement Date and Target Asset Allocations (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>2420410 - Disclosure - Post Retirement Benefit Plans - Fair Value of the Pension Plans Investments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/PostRetirementBenefitPlansFairValueOfPensionPlansInvestmentsDetail</Role>
      <ShortName>Post Retirement Benefit Plans - Fair Value of the Pension Plans Investments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>2420411 - Disclosure - Post Retirement Benefit Plans - Fair Value Measurements for Pension Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/PostRetirementBenefitPlansFairValueMeasurementsForPensionAssetsDetail</Role>
      <ShortName>Post Retirement Benefit Plans - Fair Value Measurements for Pension Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>2420412 - Disclosure - Post Retirement Benefit Plans - Reconciliation of Beginning and Ending Balances of Fair Value Measurements Using Significant Unobservable Inputs (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/PostRetirementBenefitPlansReconciliationOfBeginningAndEndingBalancesOfFairValueMeasurementsUsingSignificantUnobservableInputsDetail</Role>
      <ShortName>Post Retirement Benefit Plans - Reconciliation of Beginning and Ending Balances of Fair Value Measurements Using Significant Unobservable Inputs (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>2420413 - Disclosure - Post Retirement Benefit Plans - Amounts Recognized in Consolidated Balance Sheets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/PostRetirementBenefitPlansAmountsRecognizedInConsolidatedBalanceSheetsDetail</Role>
      <ShortName>Post Retirement Benefit Plans - Amounts Recognized in Consolidated Balance Sheets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>2420414 - Disclosure - Post Retirement Benefit Plans - Changes in Accumulated Other Comprehensive (Income) or Loss (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/PostRetirementBenefitPlansChangesInAccumulatedOtherComprehensiveIncomeOrLossDetails</Role>
      <ShortName>Post Retirement Benefit Plans - Changes in Accumulated Other Comprehensive (Income) or Loss (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>2420415 - Disclosure - Post Retirement Benefit Plans - Actuarial Assumptions Used for the Measurement of Benefit Obligations and Pension Costs (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/PostRetirementBenefitPlansActuarialAssumptionsUsedForMeasurementOfBenefitObligationsAndPensionCostsDetail</Role>
      <ShortName>Post Retirement Benefit Plans - Actuarial Assumptions Used for the Measurement of Benefit Obligations and Pension Costs (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>2420416 - Disclosure - Post Retirement Benefit Plans - Components of Net Periodic Cost for Postretirement Benefits (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/PostRetirementBenefitPlansComponentsOfNetPeriodicCostForPostretirementBenefitsDetail</Role>
      <ShortName>Post Retirement Benefit Plans - Components of Net Periodic Cost for Postretirement Benefits (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>2420417 - Disclosure - Post Retirement Benefit Plans - Schedule of Plan's Change in Benefit Obligation (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/PostRetirementBenefitPlansScheduleOfPlansChangeInBenefitObligationDetail</Role>
      <ShortName>Post Retirement Benefit Plans - Schedule of Plan's Change in Benefit Obligation (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>2420418 - Disclosure - Post Retirement Benefit Plans - Schedule of Other Comprehensive Income Included in Financial Statement (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/PostRetirementBenefitPlansScheduleOfOtherComprehensiveIncomeIncludedInFinancialStatementDetail</Role>
      <ShortName>Post Retirement Benefit Plans - Schedule of Other Comprehensive Income Included in Financial Statement (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>2420419 - Disclosure - Post Retirement Benefit Plans - Summary of Healthcare Cost Trend Rates on Gross Eligible Charges (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/PostRetirementBenefitPlansSummaryOfHealthcareCostTrendRatesOnGrossEligibleChargesDetail</Role>
      <ShortName>Post Retirement Benefit Plans - Summary of Healthcare Cost Trend Rates on Gross Eligible Charges (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>104</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>2420420 - Disclosure - Post Retirement Benefit Plans - Effect of One-Percentage Point Change In Assumed Health Care Cost Trend Rates (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/PostRetirementBenefitPlansEffectOfOnePercentagePointChangeInAssumedHealthCareCostTrendRatesDetail</Role>
      <ShortName>Post Retirement Benefit Plans - Effect of One-Percentage Point Change In Assumed Health Care Cost Trend Rates (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>105</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>2421401 - Disclosure - Contingent Liabilities and Environmental Reserves - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/ContingentLiabilitiesAndEnvironmentalReservesAdditionalInformationDetail</Role>
      <ShortName>Contingent Liabilities and Environmental Reserves - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>106</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>2422402 - Disclosure - Earnings Per Share - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/EarningsPerShareAdditionalInformationDetail</Role>
      <ShortName>Earnings Per Share - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>107</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>2422403 - Disclosure - Earnings Per Share - Computation of Class Based Basic and Diluted Earnings Per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/EarningsPerShareComputationOfClassBasedBasicAndDilutedEarningsPerShareDetail</Role>
      <ShortName>Earnings Per Share - Computation of Class Based Basic and Diluted Earnings Per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>108</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R109.htm</HtmlFileName>
      <LongName>2422404 - Disclosure - Earnings Per Share - Computation of Earnings Per Share Basic and Diluted (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/EarningsPerShareComputationOfEarningsPerShareBasicAndDilutedDetail</Role>
      <ShortName>Earnings Per Share - Computation of Earnings Per Share Basic and Diluted (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>109</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R110.htm</HtmlFileName>
      <LongName>2422405 - Disclosure - Earnings Per Share - Summarization of Company's Class A and Class B Common and Treasury Shares (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/EarningsPerShareSummarizationOfCompanysClassAndClassBCommonAndTreasurySharesDetail</Role>
      <ShortName>Earnings Per Share - Summarization of Company's Class A and Class B Common and Treasury Shares (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>110</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R111.htm</HtmlFileName>
      <LongName>2422406 - Disclosure - Earnings Per Share - Reconciliation of Shares Used to Calculate Basic and Diluted Earnings Per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/EarningsPerShareReconciliationOfSharesUsedToCalculateBasicAndDilutedEarningsPerShareDetail</Role>
      <ShortName>Earnings Per Share - Reconciliation of Shares Used to Calculate Basic and Diluted Earnings Per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>111</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R112.htm</HtmlFileName>
      <LongName>2423401 - Disclosure - Equity Earnings of Unconsolidated Affiliates, Net of Tax and Net Income (Loss) Attributable to Noncontrolling Interests - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/EquityEarningsOfUnconsolidatedAffiliatesNetOfTaxAndNetIncomeLossAttributableToNoncontrollingInterestsAdditionalInformationDetail</Role>
      <ShortName>Equity Earnings of Unconsolidated Affiliates, Net of Tax and Net Income (Loss) Attributable to Noncontrolling Interests - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.greif.com/role/EquityEarningsOfUnconsolidatedAffiliatesNetOfTaxAndNetIncomeLossAttributableToNoncontrollingInterests</ParentRole>
      <Position>112</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R113.htm</HtmlFileName>
      <LongName>2424402 - Disclosure - Leases - Information Related to Company's Rent Expense (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/LeasesInformationRelatedToCompanysRentExpenseDetail</Role>
      <ShortName>Leases - Information Related to Company's Rent Expense (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>113</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R114.htm</HtmlFileName>
      <LongName>2424403 - Disclosure - Leases - Company's Minimum Rent Commitments Under Operating and Capital Leases (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/LeasesCompanysMinimumRentCommitmentsUnderOperatingAndCapitalLeasesDetail</Role>
      <ShortName>Leases - Company's Minimum Rent Commitments Under Operating and Capital Leases (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>114</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R115.htm</HtmlFileName>
      <LongName>2425402 - Disclosure - Business Segment Information - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/BusinessSegmentInformationAdditionalInformationDetail</Role>
      <ShortName>Business Segment Information - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>115</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R116.htm</HtmlFileName>
      <LongName>2425403 - Disclosure - Business Segment Information - Segment Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/BusinessSegmentInformationSegmentInformationDetail</Role>
      <ShortName>Business Segment Information - Segment Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>116</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R117.htm</HtmlFileName>
      <LongName>2425404 - Disclosure - Business Segment Information - Net Sales to External Customers by Geographical Area (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/BusinessSegmentInformationNetSalesToExternalCustomersByGeographicalAreaDetail</Role>
      <ShortName>Business Segment Information - Net Sales to External Customers by Geographical Area (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>117</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R118.htm</HtmlFileName>
      <LongName>2425405 - Disclosure - Business Segment Information - Properties, Plants and Equipment, Net by Geographical Area (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/BusinessSegmentInformationPropertiesPlantsAndEquipmentNetByGeographicalAreaDetail</Role>
      <ShortName>Business Segment Information - Properties, Plants and Equipment, Net by Geographical Area (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>118</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R119.htm</HtmlFileName>
      <LongName>2426402 - Disclosure - Comprehensive (Loss) Income - Schedule of Accumulated Other Comprehensive Income Loss (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/ComprehensiveLossIncomeScheduleOfAccumulatedOtherComprehensiveIncomeLossDetail</Role>
      <ShortName>Comprehensive (Loss) Income - Schedule of Accumulated Other Comprehensive Income Loss (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.greif.com/role/ComprehensiveLossIncomeTables</ParentRole>
      <Position>119</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R120.htm</HtmlFileName>
      <LongName>2427402 - Disclosure - Quarterly Financial Data (Unaudited) - Quarterly Results of Operations (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/QuarterlyFinancialDataUnauditedQuarterlyResultsOfOperationsDetail</Role>
      <ShortName>Quarterly Financial Data (Unaudited) - Quarterly Results of Operations (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.greif.com/role/QuarterlyFinancialDataUnauditedTables</ParentRole>
      <Position>120</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R121.htm</HtmlFileName>
      <LongName>2427403 - Disclosure - Quarterly Financial Data (Unaudited) - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/QuarterlyFinancialDataUnauditedAdditionalInformationDetail</Role>
      <ShortName>Quarterly Financial Data (Unaudited) - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.greif.com/role/QuarterlyFinancialDataUnauditedTables</ParentRole>
      <Position>121</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R122.htm</HtmlFileName>
      <LongName>2430402 - Disclosure - Redeemable Noncontrolling Interests (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/RedeemableNoncontrollingInterestsDetails</Role>
      <ShortName>Redeemable Noncontrolling Interests (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.greif.com/role/RedeemableNoncontrollingInterestsTables</ParentRole>
      <Position>122</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R123.htm</HtmlFileName>
      <LongName>2430403 - Disclosure - Redeemable Noncontrolling Interests - Mandatorily Redeemable Noncontrolling Interest (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/RedeemableNoncontrollingInterestsMandatorilyRedeemableNoncontrollingInterestDetails</Role>
      <ShortName>Redeemable Noncontrolling Interests - Mandatorily Redeemable Noncontrolling Interest (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>123</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R124.htm</HtmlFileName>
      <LongName>2430404 - Disclosure - Redeemable Noncontrolling Interests - Redeemable Noncontrolling Interest (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/RedeemableNoncontrollingInterestsRedeemableNoncontrollingInterestDetails</Role>
      <ShortName>Redeemable Noncontrolling Interests - Redeemable Noncontrolling Interest (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>124</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R125.htm</HtmlFileName>
      <LongName>2431401 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/SubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.greif.com/role/SubsequentEvents</ParentRole>
      <Position>125</Position>
    </Report>
    <Report instance="gef-20161031.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R126.htm</HtmlFileName>
      <LongName>2432401 - Disclosure - Schedule II - Consolidated Valuation and Qualifying Accounts and Reserves (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/ScheduleIiConsolidatedValuationAndQualifyingAccountsAndReservesDetail</Role>
      <ShortName>Schedule II - Consolidated Valuation and Qualifying Accounts and Reserves (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.greif.com/role/ScheduleIiConsolidatedValuationAndQualifyingAccountsAndReserves</ParentRole>
      <Position>126</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>gef-20161031.xml</File>
    <File>gef-20161031.xsd</File>
    <File>gef-20161031_cal.xml</File>
    <File>gef-20161031_def.xml</File>
    <File>gef-20161031_lab.xml</File>
    <File>gef-20161031_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies/>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
