<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.25.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>406</ContextCount>
  <ElementCount>369</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>87</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>8</UnitCount>
  <MyReports>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>9952151 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF INCOME (UNAUDITED)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFINCOMEUNAUDITED</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF INCOME (UNAUDITED)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>9952152 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (UNAUDITED)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUNAUDITED</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (UNAUDITED)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>9952153 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS (UNAUDITED)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUNAUDITED</Role>
      <ShortName>CONDENSED CONSOLIDATED BALANCE SHEETS (UNAUDITED)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>9952154 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>9952155 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS??? EQUITY (UNAUDITED)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITYUNAUDITED</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS??? EQUITY (UNAUDITED)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>9952156 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS??? EQUITY (UNAUDITED) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITYUNAUDITEDParenthetical</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS??? EQUITY (UNAUDITED) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>9952157 - 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>8</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>9952158 - 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>9</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>9952159 - Disclosure - GOODWILL</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/GOODWILL</Role>
      <ShortName>GOODWILL</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>9952160 - Disclosure - RESTRUCTURING CHARGES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/RESTRUCTURINGCHARGES</Role>
      <ShortName>RESTRUCTURING CHARGES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>9952161 - Disclosure - DEBT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/DEBT</Role>
      <ShortName>DEBT</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>9952162 - 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>13</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>9952163 - 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>14</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>9952164 - Disclosure - INCOME TAXES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/INCOMETAXES</Role>
      <ShortName>INCOME TAXES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>9952165 - 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>16</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>9952166 - 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>17</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>9952167 - 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>18</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>9952168 - Disclosure - COMPREHENSIVE INCOME (LOSS)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/COMPREHENSIVEINCOMELOSS</Role>
      <ShortName>COMPREHENSIVE INCOME (LOSS)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>9952169 - 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>20</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>9952170 - 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>21</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>9952171 - Disclosure - SUBSEQUENT EVENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/SUBSEQUENTEVENTS</Role>
      <ShortName>SUBSEQUENT EVENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>9955511 - 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>
      <Position>24</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>9955512 - 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>25</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>9955513 - Disclosure - GOODWILL (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/GOODWILLTables</Role>
      <ShortName>GOODWILL (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.greif.com/role/GOODWILL</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>9955514 - 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>27</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>9955515 - Disclosure - DEBT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/DEBTTables</Role>
      <ShortName>DEBT (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.greif.com/role/DEBT</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>9955516 - 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>29</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>9955517 - 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>30</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9955518 - 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>31</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9955519 - Disclosure - COMPREHENSIVE INCOME (LOSS) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/COMPREHENSIVEINCOMELOSSTables</Role>
      <ShortName>COMPREHENSIVE INCOME (LOSS) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.greif.com/role/COMPREHENSIVEINCOMELOSS</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9955520 - 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>33</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9955521 - 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>34</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9955522 - Disclosure - ACQUISITIONS AND DIVESTITURES - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/ACQUISITIONSANDDIVESTITURESAdditionalInformationDetails</Role>
      <ShortName>ACQUISITIONS AND DIVESTITURES - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9955523 - Disclosure - ACQUISITIONS AND DIVESTITURES - Results from Operations from Discontinued Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/ACQUISITIONSANDDIVESTITURESResultsfromOperationsfromDiscontinuedOperationsDetails</Role>
      <ShortName>ACQUISITIONS AND DIVESTITURES - Results from Operations from Discontinued Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9955524 - Disclosure - ACQUISITIONS AND DIVESTITURES - Assets and Liabilities from Discontinued Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/ACQUISITIONSANDDIVESTITURESAssetsandLiabilitiesfromDiscontinuedOperationsDetails</Role>
      <ShortName>ACQUISITIONS AND DIVESTITURES - Assets and Liabilities from Discontinued Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9955525 - Disclosure - ACQUISITIONS AND DIVESTITURES - Depreciation, Amortization, and Capital Expenditures from Discontinued Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/ACQUISITIONSANDDIVESTITURESDepreciationAmortizationandCapitalExpendituresfromDiscontinuedOperationsDetails</Role>
      <ShortName>ACQUISITIONS AND DIVESTITURES - Depreciation, Amortization, and Capital Expenditures from Discontinued Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9955526 - Disclosure - ACQUISITIONS AND DIVESTITURES - Identifiable Assets Acquired and Liabilities Assumed (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/ACQUISITIONSANDDIVESTITURESIdentifiableAssetsAcquiredandLiabilitiesAssumedDetails</Role>
      <ShortName>ACQUISITIONS AND DIVESTITURES - Identifiable Assets Acquired and Liabilities Assumed (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9955527 - Disclosure - ACQUISITIONS AND DIVESTITURES - Intangible Assets Assumed (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/ACQUISITIONSANDDIVESTITURESIntangibleAssetsAssumedDetails</Role>
      <ShortName>ACQUISITIONS AND DIVESTITURES - Intangible Assets Assumed (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9955528 - Disclosure - ACQUISITIONS AND DIVESTITURES - Pro Forma Results (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/ACQUISITIONSANDDIVESTITURESProFormaResultsDetails</Role>
      <ShortName>ACQUISITIONS AND DIVESTITURES - Pro Forma Results (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9955529 - Disclosure - GOODWILL - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/GOODWILLAdditionalInformationDetails</Role>
      <ShortName>GOODWILL - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9955530 - Disclosure - GOODWILL - Changes in Carrying Amount of Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/GOODWILLChangesinCarryingAmountofGoodwillDetails</Role>
      <ShortName>GOODWILL - Changes in Carrying Amount of Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9955531 - Disclosure - RESTRUCTURING CHARGES - Reconciliation of Beginning and Ending Restructuring Reserve Balances (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/RESTRUCTURINGCHARGESReconciliationofBeginningandEndingRestructuringReserveBalancesDetails</Role>
      <ShortName>RESTRUCTURING CHARGES - Reconciliation of Beginning and Ending Restructuring Reserve Balances (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9955532 - Disclosure - RESTRUCTURING CHARGES - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/RESTRUCTURINGCHARGESAdditionalInformationDetails</Role>
      <ShortName>RESTRUCTURING CHARGES - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9955533 - Disclosure - RESTRUCTURING CHARGES - Amounts Expected to be Incurred, Amounts Incurred, and Amounts Remaining to Be Incurred (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/RESTRUCTURINGCHARGESAmountsExpectedtobeIncurredAmountsIncurredandAmountsRemainingtoBeIncurredDetails</Role>
      <ShortName>RESTRUCTURING CHARGES - Amounts Expected to be Incurred, Amounts Incurred, and Amounts Remaining to Be Incurred (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9955534 - Disclosure - DEBT - Long-Term Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/DEBTLongTermDebtDetails</Role>
      <ShortName>DEBT - Long-Term Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9955535 - Disclosure - DEBT - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/DEBTAdditionalInformationDetails</Role>
      <ShortName>DEBT - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9955536 - Disclosure - DEBT - Short-Term Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/DEBTShortTermDebtDetails</Role>
      <ShortName>DEBT - Short-Term Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9955537 - Disclosure - FINANCIAL INSTRUMENTS AND FAIR VALUE MEASUREMENTS - Recurring Fair Value Measurements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/FINANCIALINSTRUMENTSANDFAIRVALUEMEASUREMENTSRecurringFairValueMeasurementsDetails</Role>
      <ShortName>FINANCIAL INSTRUMENTS AND FAIR VALUE MEASUREMENTS - Recurring Fair Value Measurements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9955538 - Disclosure - FINANCIAL INSTRUMENTS AND FAIR VALUE MEASUREMENTS - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/FINANCIALINSTRUMENTSANDFAIRVALUEMEASUREMENTSAdditionalInformationDetails</Role>
      <ShortName>FINANCIAL INSTRUMENTS AND FAIR VALUE MEASUREMENTS - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9955539 - Disclosure - FINANCIAL INSTRUMENTS AND FAIR VALUE MEASUREMENTS - Summary of Significant Unobservable Inputs Used to Determine Fair Value Long-Lived Assets Held and Used (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/FINANCIALINSTRUMENTSANDFAIRVALUEMEASUREMENTSSummaryofSignificantUnobservableInputsUsedtoDetermineFairValueLongLivedAssetsHeldandUsedDetails</Role>
      <ShortName>FINANCIAL INSTRUMENTS AND FAIR VALUE MEASUREMENTS - Summary of Significant Unobservable Inputs Used to Determine Fair Value Long-Lived Assets Held and Used (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9955540 - Disclosure - STOCK-BASED COMPENSATION (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/STOCKBASEDCOMPENSATIONDetails</Role>
      <ShortName>STOCK-BASED COMPENSATION (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.greif.com/role/STOCKBASEDCOMPENSATION</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9955541 - Disclosure - INCOME TAXES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/INCOMETAXESDetails</Role>
      <ShortName>INCOME TAXES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.greif.com/role/INCOMETAXES</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9955542 - Disclosure - POST RETIREMENT BENEFIT PLANS - Components of Net Periodic Pension Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/POSTRETIREMENTBENEFITPLANSComponentsofNetPeriodicPensionCostDetails</Role>
      <ShortName>POST RETIREMENT BENEFIT PLANS - Components of Net Periodic Pension Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9955543 - Disclosure - POST RETIREMENT BENEFIT PLANS - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/POSTRETIREMENTBENEFITPLANSAdditionalInformationDetails</Role>
      <ShortName>POST RETIREMENT BENEFIT PLANS - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9955544 - Disclosure - CONTINGENT LIABILITIES AND ENVIRONMENTAL RESERVES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/CONTINGENTLIABILITIESANDENVIRONMENTALRESERVESDetails</Role>
      <ShortName>CONTINGENT LIABILITIES AND ENVIRONMENTAL RESERVES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.greif.com/role/CONTINGENTLIABILITIESANDENVIRONMENTALRESERVES</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9955545 - Disclosure - EARNINGS PER SHARE - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/EARNINGSPERSHAREAdditionalInformationDetails</Role>
      <ShortName>EARNINGS PER SHARE - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9955546 - Disclosure - EARNINGS PER SHARE - Computation of Earnings Per Share Basic and Diluted (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/EARNINGSPERSHAREComputationofEarningsPerShareBasicandDilutedDetails</Role>
      <ShortName>EARNINGS PER SHARE - Computation of Earnings Per Share Basic and Diluted (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9955547 - Disclosure - EARNINGS PER SHARE - Company's Class A and Class B Common and Treasury Shares (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/EARNINGSPERSHARECompanysClassAandClassBCommonandTreasurySharesDetails</Role>
      <ShortName>EARNINGS PER SHARE - Company's Class A and Class B Common and Treasury Shares (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9955548 - Disclosure - EARNINGS PER SHARE - Reconciliation of Shares Used to Calculate Basic and Diluted Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/EARNINGSPERSHAREReconciliationofSharesUsedtoCalculateBasicandDilutedEarningsPerShareDetails</Role>
      <ShortName>EARNINGS PER SHARE - Reconciliation of Shares Used to Calculate Basic and Diluted Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>9955549 - Disclosure - COMPREHENSIVE INCOME (LOSS) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/COMPREHENSIVEINCOMELOSSDetails</Role>
      <ShortName>COMPREHENSIVE INCOME (LOSS) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.greif.com/role/COMPREHENSIVEINCOMELOSSTables</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>9955550 - Disclosure - BUSINESS SEGMENT INFORMATION - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/BUSINESSSEGMENTINFORMATIONAdditionalInformationDetails</Role>
      <ShortName>BUSINESS SEGMENT INFORMATION - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>9955551 - Disclosure - BUSINESS SEGMENT INFORMATION - Geographic Area (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/BUSINESSSEGMENTINFORMATIONGeographicAreaDetails</Role>
      <ShortName>BUSINESS SEGMENT INFORMATION - Geographic Area (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>9955552 - Disclosure - BUSINESS SEGMENT INFORMATION - Segment Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/BUSINESSSEGMENTINFORMATIONSegmentInformationDetails</Role>
      <ShortName>BUSINESS SEGMENT INFORMATION - Segment Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>9955553 - Disclosure - BUSINESS SEGMENT INFORMATION - Properties, Plants and Equipment, Net by Geographical Area (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/BUSINESSSEGMENTINFORMATIONPropertiesPlantsandEquipmentNetbyGeographicalAreaDetails</Role>
      <ShortName>BUSINESS SEGMENT INFORMATION - Properties, Plants and Equipment, Net by Geographical Area (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>9955554 - Disclosure - REDEEMABLE NONCONTROLLING INTERESTS - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/REDEEMABLENONCONTROLLINGINTERESTSAdditionalInformationDetails</Role>
      <ShortName>REDEEMABLE NONCONTROLLING INTERESTS - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="gef-20250731.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>9955555 - Disclosure - REDEEMABLE NONCONTROLLING INTERESTS - Change in Redeemable Noncontrolling Interest (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/REDEEMABLENONCONTROLLINGINTERESTSChangeinRedeemableNoncontrollingInterestDetails</Role>
      <ShortName>REDEEMABLE NONCONTROLLING INTERESTS - Change in Redeemable Noncontrolling Interest (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" isDefinitelyFs="true" isUsgaap="true" original="gef-20250731.htm">gef-20250731.htm</File>
    <File>gef-20250731.xsd</File>
    <File>gef-20250731_cal.xml</File>
    <File>gef-20250731_def.xml</File>
    <File>gef-20250731_lab.xml</File>
    <File>gef-20250731_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>gef-20250731_g1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1338">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="33">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
