<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>401</ContextCount>
  <ElementCount>300</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>74</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>9</UnitCount>
  <MyReports>
    <Report instance="gef-20260331.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-20260331.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-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>9952152 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) (UNAUDITED)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) (UNAUDITED)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="gef-20260331.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-20260331.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-20260331.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-20260331.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-20260331.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-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>9952158 - Disclosure - DIVESTITURES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/DIVESTITURES</Role>
      <ShortName>DIVESTITURES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="gef-20260331.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-20260331.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-20260331.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-20260331.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-20260331.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-20260331.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-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>9952165 - 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>16</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>9952166 - 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>17</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>9952167 - 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>18</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>9952168 - 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>19</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.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>20</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.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>21</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>9955512 - Disclosure - DIVESTITURES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/DIVESTITURESTables</Role>
      <ShortName>DIVESTITURES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.greif.com/role/DIVESTITURES</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.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>23</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.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>24</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.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>25</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.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>26</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>9955517 - 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>27</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>9955518 - 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>28</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>9955519 - 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>29</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>9955520 - Disclosure - DIVESTITURES - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/DIVESTITURESAdditionalInformationDetails</Role>
      <ShortName>DIVESTITURES - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9955521 - Disclosure - DIVESTITURES - Results from Operations from Discontinued Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/DIVESTITURESResultsfromOperationsfromDiscontinuedOperationsDetails</Role>
      <ShortName>DIVESTITURES - Results from Operations from Discontinued Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9955522 - Disclosure - DIVESTITURES - Depreciation, Amortization, and Capital Expenditures from Discontinued Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/DIVESTITURESDepreciationAmortizationandCapitalExpendituresfromDiscontinuedOperationsDetails</Role>
      <ShortName>DIVESTITURES - Depreciation, Amortization, and Capital Expenditures from Discontinued Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9955523 - Disclosure - GOODWILL (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.greif.com/role/GOODWILLDetails</Role>
      <ShortName>GOODWILL (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.greif.com/role/GOODWILLTables</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9955524 - 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>34</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9955525 - 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>35</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9955526 - 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>36</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9955527 - 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>37</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9955528 - 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>38</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9955529 - 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>39</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9955530 - 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>40</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9955531 - 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>41</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9955532 - Disclosure - FINANCIAL INSTRUMENTS AND FAIR VALUE MEASUREMENTS - 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/FINANCIALINSTRUMENTSANDFAIRVALUEMEASUREMENTSSignificantUnobservableInputsUsedtoDetermineFairValueLongLivedAssetsHeldandUsedDetails</Role>
      <ShortName>FINANCIAL INSTRUMENTS AND FAIR VALUE MEASUREMENTS - Significant Unobservable Inputs Used to Determine Fair Value Long-Lived Assets Held and Used (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9955533 - 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>43</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9955534 - 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>44</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9955535 - 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>45</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9955536 - 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>46</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9955537 - 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>47</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9955538 - 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>48</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9955539 - 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>49</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9955540 - 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>50</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9955541 - 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>51</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9955542 - 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>52</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9955543 - 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>53</Position>
    </Report>
    <Report instance="gef-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9955544 - 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>54</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-20260331.htm">gef-20260331.htm</File>
    <File>gef-20260331.xsd</File>
    <File>gef-20260331_cal.xml</File>
    <File>gef-20260331_def.xml</File>
    <File>gef-20260331_lab.xml</File>
    <File>gef-20260331_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>gef-20260331_g1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="4">http://fasb.org/srt/2025</BaseTaxonomy>
    <BaseTaxonomy items="1353">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="33">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="11">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
