<?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/ownership" xmlns:com="http://www.sec.gov/edgar/common">
  <headerData>
    <submissionType>144</submissionType>
    <filerInfo>
      <filer>
        <filerCredentials>
          <cik>0001737944</cik>
          <ccc>XXXXXXXX</ccc>
        </filerCredentials>
      </filer>
      <liveTestFlag>LIVE</liveTestFlag>


    </filerInfo>
  </headerData>
  <formData>
    <issuerInfo>
      <issuerCik>0000923120</issuerCik>
      <issuerName>GREENBRIER COMPANIES INC</issuerName>
      <secFileNumber>001-13146</secFileNumber>
      <issuerAddress>
        <com:street1>ONE CENTERPOINTE DR</com:street1>
        <com:street2>STE 200</com:street2>
        <com:city>LAKE OSWEGO</com:city>
        <com:stateOrCountry>OR</com:stateOrCountry>
        <com:zipCode>97035</com:zipCode>
      </issuerAddress>
      <issuerContactPhone>5036847000</issuerContactPhone>
      <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>Comstock Brian J</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
      <relationshipsToIssuer>
        <relationshipToIssuer>Officer</relationshipToIssuer>
      </relationshipsToIssuer>
    </issuerInfo>
    <securitiesInformation>
      <securitiesClassTitle>COMMON</securitiesClassTitle>
      <brokerOrMarketmakerDetails>
        <name>THE CHARLES SCHWAB CORPORATION</name>
        <address>
          <com:street1>3000 Schwab Way</com:street1>
          <com:city>Westlake</com:city>
          <com:stateOrCountry>TX</com:stateOrCountry>
          <com:zipCode>76262</com:zipCode>
        </address>
      </brokerOrMarketmakerDetails>
      <noOfUnitsSold>10000</noOfUnitsSold>
      <aggregateMarketValue>524800.00</aggregateMarketValue>
      <noOfUnitsOutstanding>31130943</noOfUnitsOutstanding>
      <approxSaleDate>04/29/2024</approxSaleDate>
      <securitiesExchangeName>NYSE</securitiesExchangeName>
    </securitiesInformation>
    <securitiesToBeSold>
      <securitiesClassTitle>COMMON</securitiesClassTitle>
      <acquiredDate>03/27/2017</acquiredDate>
      <natureOfAcquisitionTransaction>VESTED RSU</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>10000</amountOfSecuritiesAcquired>
      <paymentDate>03/27/2017</paymentDate>
      <natureOfPayment>NA</natureOfPayment>
    </securitiesToBeSold>
    <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
    <remarks>FULL ACCOUNT TITLE: B COMSTOCK &amp; K COMSTOCK TTEE KAREN &amp; BRIAN COMSTOCK REV TR. SHARES ACQUIRED VIA FOLLOWING DATE RANGE: 3.27.17 TO 10.23.18</remarks>
    <noticeSignature>
      <noticeDate>04/29/2024</noticeDate>
      <planAdoptionDates>
        <planAdoptionDate>01/22/2024</planAdoptionDate>
      </planAdoptionDates>
      <signature>BRIAN COMSTOCK</signature>
    </noticeSignature>
  </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 3020}]
144
0001737944
XXXXXXXX
LIVE
0000923120
GREENBRIER COMPANIES INC
001-13146
ONE CENTERPOINTE DR
STE 200
LAKE OSWEGO
OR
97035
5036847000
Comstock Brian J
Officer
COMMON
THE CHARLES SCHWAB CORPORATION
3000 Schwab Way
Westlake
TX
76262
10000
524800.00
31130943
04/29/2024
NYSE
COMMON
03/27/2017
VESTED RSU
ISSUER
N
10000
03/27/2017
NA
Y
FULL ACCOUNT TITLE: B COMSTOCK & K COMSTOCK TTEE KAREN & BRIAN COMSTOCK REV TR. SHARES ACQUIRED VIA FOLLOWING DATE RANGE: 3.27.17 TO 10.23.18
04/29/2024
01/22/2024
BRIAN COMSTOCK