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>0001357113</cik>
            <ccc>XXXXXXXX</ccc>
          </filerCredentials>
        </filer>
        <liveTestFlag>LIVE</liveTestFlag>
  
  
      </filerInfo>
    </headerData>
    <formData>
      <issuerInfo>
        <issuerCik>0000752714</issuerCik>
        <issuerName>MCGRATH RENTCORP</issuerName>
        <secFileNumber>000-13292</secFileNumber>
        <issuerAddress>
          <com:street1>5700 LAS POSITAS RD</com:street1>
          <com:city>LIVERMORE</com:city>
          <com:stateOrCountry>CA</com:stateOrCountry>
          <com:zipCode>94551</com:zipCode>
        </issuerAddress>
        <issuerContactPhone>925-606-9200</issuerContactPhone>
        <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>Whitney David M</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
        <relationshipsToIssuer>
          <relationshipToIssuer>Officer</relationshipToIssuer>
        </relationshipsToIssuer>
      </issuerInfo>
      <securitiesInformation>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <brokerOrMarketmakerDetails>
          <name>Fidelity Brokerage Services LLC</name>
          <address>
            <com:street1>245 Summer Street</com:street1>
            <com:city>Boston</com:city>
            <com:stateOrCountry>MA</com:stateOrCountry>
            <com:zipCode>02110</com:zipCode>
          </address>
        </brokerOrMarketmakerDetails>
        <noOfUnitsSold>6275</noOfUnitsSold>
        <aggregateMarketValue>638732.25</aggregateMarketValue>
        <noOfUnitsOutstanding>24489445</noOfUnitsOutstanding>
        <approxSaleDate>10/30/2023</approxSaleDate>
        <securitiesExchangeName>NASDAQ</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <acquiredDate>02/27/2023</acquiredDate>
        <natureOfAcquisitionTransaction>Stock Option Exercise</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>McGrath RentCorp</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>2428</amountOfSecuritiesAcquired>
        <paymentDate>02/27/2023</paymentDate>
        <natureOfPayment>Not Applicable</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <acquiredDate>03/01/2023</acquiredDate>
        <natureOfAcquisitionTransaction>Stock Option Exercise</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>McGrath RentCorp</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>276</amountOfSecuritiesAcquired>
        <paymentDate>03/01/2023</paymentDate>
        <natureOfPayment>Not Applicable</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <acquiredDate>06/08/2023</acquiredDate>
        <natureOfAcquisitionTransaction>Stock Option Exercise</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>McGrath RentCorp</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>2671</amountOfSecuritiesAcquired>
        <paymentDate>06/08/2023</paymentDate>
        <natureOfPayment>Not Applicable</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <acquiredDate>02/27/2022</acquiredDate>
        <natureOfAcquisitionTransaction>Stock Option Exercise</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>McGrath RentCorp</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>492</amountOfSecuritiesAcquired>
        <paymentDate>02/27/2022</paymentDate>
        <natureOfPayment>Not Applicable</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <acquiredDate>02/25/2022</acquiredDate>
        <natureOfAcquisitionTransaction>Stock Option Exercise</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>McGrath RentCorp</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>408</amountOfSecuritiesAcquired>
        <paymentDate>02/25/2022</paymentDate>
        <natureOfPayment>Not Applicable</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <remarks>Shares are sold from Vantrease-Whitney Family Trust - David Whitney and Kristina Van Trease, Trustees.</remarks>
      <noticeSignature>
        <noticeDate>10/30/2023</noticeDate>
        <signature>/s/ Myra King, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for David Whitney</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 5177}]
text: 144
  0001357113
  XXXXXXXX
  LIVE
  0000752714
  MCGRATH RENTCORP
  000-13292
  5700 LAS POSITAS RD
  LIVERMORE
  CA
  94551
  925-606-9200
  Whitney David M
  Officer
  Common Stock
  Fidelity Brokerage Services LLC
  245 Summer Street
  Boston
  MA
  02110
  6275
  638732.25
  24489445
  10/30/2023
  NASDAQ
  Common Stock
  02/27/2023
  Stock Option Exercise
  McGrath RentCorp
  N
  2428
  02/27/2023
  Not Applicable
  Common Stock
  03/01/2023
  Stock Option Exercise
  McGrath RentCorp
  N
  276
  03/01/2023
  Not Applicable
  Common Stock
  06/08/2023
  Stock Option Exercise
  McGrath RentCorp
  N
  2671
  06/08/2023
  Not Applicable
  Common Stock
  02/27/2022
  Stock Option Exercise
  McGrath RentCorp
  N
  492
  02/27/2022
  Not Applicable
  Common Stock
  02/25/2022
  Stock Option Exercise
  McGrath RentCorp
  N
  408
  02/25/2022
  Not Applicable
  Y
  Shares are sold from Vantrease-Whitney Family Trust - David Whitney and Kristina Van Trease, Trustees.
  10/30/2023
  /s/ Myra King, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for David Whitney