<?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>0001213051</cik>
          <ccc>XXXXXXXX</ccc>
        </filerCredentials>
      </filer>
      <liveTestFlag>LIVE</liveTestFlag>



    </filerInfo>
  </headerData>
  <formData>
    <issuerInfo>
      <issuerCik>0001476150</issuerCik>
      <issuerName>Terreno Realty Corp</issuerName>
      <secFileNumber>001-34603</secFileNumber>
      <issuerAddress>
        <com:street1>101 MONTGOMERY STREET</com:street1>
        <com:street2>SUITE 200</com:street2>
        <com:city>SAN FRANCISCO</com:city>
        <com:stateOrCountry>CA</com:stateOrCountry>
        <com:zipCode>94104</com:zipCode>
      </issuerAddress>
      <issuerContactPhone>(415) 655-4580</issuerContactPhone>
      <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>COKE MICHAEL A</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
      <relationshipsToIssuer>
        <relationshipToIssuer>Officer</relationshipToIssuer>
        <relationshipToIssuer>Director</relationshipToIssuer>
      </relationshipsToIssuer>
    </issuerInfo>
    <securitiesInformation>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <brokerOrMarketmakerDetails>
        <name>Wells Fargo Clearing Services</name>
        <address>
          <com:street1>1 N. Jefferson Ave</com:street1>
          <com:city>St. Louis</com:city>
          <com:stateOrCountry>MO</com:stateOrCountry>
          <com:zipCode>63103</com:zipCode>
        </address>
      </brokerOrMarketmakerDetails>
      <noOfUnitsSold>10000</noOfUnitsSold>
      <aggregateMarketValue>590913.90</aggregateMarketValue>
      <noOfUnitsOutstanding>83910716</noOfUnitsOutstanding>
      <approxSaleDate>08/04/2023</approxSaleDate>
      <securitiesExchangeName>NYSE</securitiesExchangeName>
    </securitiesInformation>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>08/04/2020</acquiredDate>
      <natureOfAcquisitionTransaction>Compensation</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>10000</amountOfSecuritiesAcquired>
      <paymentDate>08/04/2020</paymentDate>
      <natureOfPayment>N/A</natureOfPayment>
    </securitiesToBeSold>
    <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
    <remarks>Shares sold in the account of Coke Family Trust, Michael A. Coke is trustee.</remarks>
    <noticeSignature>
      <noticeDate>08/04/2023</noticeDate>
      <signature>Michael A. Coke</signature>
    </noticeSignature>
  </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 2911}]
144
0001213051
XXXXXXXX
LIVE
0001476150
Terreno Realty Corp
001-34603
101 MONTGOMERY STREET
SUITE 200
SAN FRANCISCO
CA
94104
(415) 655-4580
COKE MICHAEL A
Officer
Director
Common
Wells Fargo Clearing Services
1 N. Jefferson Ave
St. Louis
MO
63103
10000
590913.90
83910716
08/04/2023
NYSE
Common
08/04/2020
Compensation
Issuer
N
10000
08/04/2020
N/A
Y
Shares sold in the account of Coke Family Trust, Michael A. Coke is trustee.
08/04/2023
Michael A. Coke