content: <?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>0001406328</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>Glenn William</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
        <relationshipsToIssuer>
          <relationshipToIssuer>Officer</relationshipToIssuer>
        </relationshipsToIssuer>
      </issuerInfo>
      <securitiesInformation>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <brokerOrMarketmakerDetails>
          <name>Robert W Baird &amp; Co</name>
          <address>
            <com:street1>777 E Wisconsin Ave</com:street1>
            <com:city>Milwaukee</com:city>
            <com:stateOrCountry>WI</com:stateOrCountry>
            <com:zipCode>53202</com:zipCode>
          </address>
        </brokerOrMarketmakerDetails>
        <noOfUnitsSold>5800</noOfUnitsSold>
        <aggregateMarketValue>297308.00</aggregateMarketValue>
        <noOfUnitsOutstanding>31130943</noOfUnitsOutstanding>
        <approxSaleDate>04/19/2024</approxSaleDate>
        <securitiesExchangeName>NYSE</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>10/20/2021</acquiredDate>
        <natureOfAcquisitionTransaction>Vesting of RSUs</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>1054</amountOfSecuritiesAcquired>
        <paymentDate>10/20/2021</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>10/23/2021</acquiredDate>
        <natureOfAcquisitionTransaction>Vesting of RSUs</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>1920</amountOfSecuritiesAcquired>
        <paymentDate>10/23/2021</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>10/18/2023</acquiredDate>
        <natureOfAcquisitionTransaction>Vesting of RSUs</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>2826</amountOfSecuritiesAcquired>
        <paymentDate>10/18/2023</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>04/19/2024</noticeDate>
        <signature>/s/ Kim Moore, as attorney-in-fact for William Glenn</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 3843}]
text: 144
  0001406328
  XXXXXXXX
  LIVE
  0000923120
  GREENBRIER COMPANIES INC
  001-13146
  ONE CENTERPOINTE DR
  STE 200
  LAKE OSWEGO
  OR
  97035
  5036847000
  Glenn William
  Officer
  Common
  Robert W Baird & Co
  777 E Wisconsin Ave
  Milwaukee
  WI
  53202
  5800
  297308.00
  31130943
  04/19/2024
  NYSE
  Common
  10/20/2021
  Vesting of RSUs
  Issuer
  N
  1054
  10/20/2021
  Compensation
  Common
  10/23/2021
  Vesting of RSUs
  Issuer
  N
  1920
  10/23/2021
  Compensation
  Common
  10/18/2023
  Vesting of RSUs
  Issuer
  N
  2826
  10/18/2023
  Compensation
  Y
  04/19/2024
  /s/ Kim Moore, as attorney-in-fact for William Glenn