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



    </filerInfo>
  </headerData>
  <formData>
    <issuerInfo>
      <issuerCik>0001403475</issuerCik>
      <issuerName>Bank of Marin Bancorp</issuerName>
      <secFileNumber>001-33572</secFileNumber>
      <issuerAddress>
        <com:street1>504 REDWOOD BOULEVARD, SUITE 100</com:street1>
        <com:city>NOVATO</com:city>
        <com:stateOrCountry>CA</com:stateOrCountry>
        <com:zipCode>94947</com:zipCode>
      </issuerAddress>
      <issuerContactPhone>415-763-4520</issuerContactPhone>
      <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>McDevitt Jr William H</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
      <relationshipsToIssuer>
        <relationshipToIssuer>Director</relationshipToIssuer>
      </relationshipsToIssuer>
    </issuerInfo>
    <securitiesInformation>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <brokerOrMarketmakerDetails>
        <name>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>6000</noOfUnitsSold>
      <aggregateMarketValue>117840.00</aggregateMarketValue>
      <noOfUnitsOutstanding>16139321</noOfUnitsOutstanding>
      <approxSaleDate>11/29/2023</approxSaleDate>
      <securitiesExchangeName>Nasdaq</securitiesExchangeName>
    </securitiesInformation>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>05/04/2023</acquiredDate>
      <natureOfAcquisitionTransaction>Open Market</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Open Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>6000</amountOfSecuritiesAcquired>
      <paymentDate>05/04/2023</paymentDate>
      <natureOfPayment>Cash</natureOfPayment>
    </securitiesToBeSold>
    <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
    <remarks>Being sold out of account: M MCDEVITT &amp; W MCDEVITT TTEE WILLIAM H MCDEVITT &amp; MICHAEL
U/A DTD 01/01/0001</remarks>
    <noticeSignature>
      <noticeDate>11/29/2023</noticeDate>
      <signature>William H McDevitt Jr</signature>
    </noticeSignature>
  </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 2855}]
144
0001403443
XXXXXXXX
LIVE
0001403475
Bank of Marin Bancorp
001-33572
504 REDWOOD BOULEVARD, SUITE 100
NOVATO
CA
94947
415-763-4520
McDevitt Jr William H
Director
Common
Charles Schwab Corporation
3000 Schwab Way
Westlake
TX
76262
6000
117840.00
16139321
11/29/2023
Nasdaq
Common
05/04/2023
Open Market
Open Market
N
6000
05/04/2023
Cash
Y
Being sold out of account: M MCDEVITT & W MCDEVITT TTEE WILLIAM H MCDEVITT & MICHAEL
U/A DTD 01/01/0001
11/29/2023
William H McDevitt Jr