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>0001337598</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>Swindells Charles J</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
        <relationshipsToIssuer>
          <relationshipToIssuer>Director</relationshipToIssuer>
        </relationshipsToIssuer>
      </issuerInfo>
      <securitiesInformation>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <brokerOrMarketmakerDetails>
          <name>Piper Sandler &amp; Co.</name>
          <address>
            <com:street1>800 Nicollet Mall, Suite 1000</com:street1>
            <com:city>Minneapolis</com:city>
            <com:stateOrCountry>MN</com:stateOrCountry>
            <com:zipCode>54402</com:zipCode>
          </address>
        </brokerOrMarketmakerDetails>
        <noOfUnitsSold>3017</noOfUnitsSold>
        <aggregateMarketValue>92803.00</aggregateMarketValue>
        <noOfUnitsOutstanding>31922937</noOfUnitsOutstanding>
        <approxSaleDate>04/17/2023</approxSaleDate>
        <securitiesExchangeName>NYSE</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <acquiredDate>01/08/2015</acquiredDate>
        <natureOfAcquisitionTransaction>Vesting of Restricted Stock Award</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>509</amountOfSecuritiesAcquired>
        <paymentDate>01/08/2015</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <acquiredDate>01/09/2014</acquiredDate>
        <natureOfAcquisitionTransaction>Vesting of Restricted Stock Award</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>1508</amountOfSecuritiesAcquired>
        <paymentDate>01/09/2014</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <acquiredDate>05/28/2013</acquiredDate>
        <natureOfAcquisitionTransaction>Open Market Purchase</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Open Market Purchase</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>1000</amountOfSecuritiesAcquired>
        <paymentDate>05/28/2013</paymentDate>
        <natureOfPayment>Cash</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>04/17/2023</noticeDate>
        <signature>Charles J. Swindells</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 3898}]
text: 144
  0001337598
  XXXXXXXX
  LIVE
  0000923120
  GREENBRIER COMPANIES INC
  001-13146
  ONE CENTERPOINTE DR
  STE 200
  LAKE OSWEGO
  OR
  97035
  5036847000
  Swindells Charles J
  Director
  Common Stock
  Piper Sandler & Co.
  800 Nicollet Mall, Suite 1000
  Minneapolis
  MN
  54402
  3017
  92803.00
  31922937
  04/17/2023
  NYSE
  Common Stock
  01/08/2015
  Vesting of Restricted Stock Award
  Issuer
  N
  509
  01/08/2015
  Compensation
  Common Stock
  01/09/2014
  Vesting of Restricted Stock Award
  Issuer
  N
  1508
  01/09/2014
  Compensation
  Common Stock
  05/28/2013
  Open Market Purchase
  Open Market Purchase
  N
  1000
  05/28/2013
  Cash
  Y
  04/17/2023
  Charles J. Swindells