<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<xsd:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.bankofmarin.com/20180930" xmlns:bmrc="http://www.bankofmarin.com/20180930" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:nonnum="http://www.xbrl.org/dtr/type/non-numeric" xmlns:num="http://www.xbrl.org/dtr/type/numeric" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <xsd:import namespace="http://fasb.org/srt/2018-01-31" schemaLocation="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd" />
  <xsd:import namespace="http://fasb.org/us-gaap/2018-01-31" schemaLocation="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd" />
  <xsd:import namespace="http://fasb.org/us-roles/2018-01-31" schemaLocation="http://xbrl.fasb.org/us-gaap/2018/elts/us-roles-2018-01-31.xsd" />
  <xsd:import namespace="http://fasb.org/us-types/2018-01-31" schemaLocation="http://xbrl.fasb.org/us-gaap/2018/elts/us-types-2018-01-31.xsd" />
  <xsd:import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd" />
  <xsd:import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" />
  <xsd:import namespace="http://www.xbrl.org/2009/arcrole/fact-explanatoryFact" schemaLocation="http://www.xbrl.org/lrr/arcrole/factExplanatory-2009-12-16.xsd" />
  <xsd:import namespace="http://www.xbrl.org/2009/role/negated" schemaLocation="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd" />
  <xsd:import namespace="http://www.xbrl.org/2009/role/net" schemaLocation="http://www.xbrl.org/lrr/role/net-2009-12-16.xsd" />
  <xsd:import namespace="http://www.xbrl.org/dtr/type/non-numeric" schemaLocation="http://www.xbrl.org/dtr/type/nonNumeric-2009-12-16.xsd" />
  <xsd:import namespace="http://www.xbrl.org/dtr/type/numeric" schemaLocation="http://www.xbrl.org/dtr/type/numeric-2009-12-16.xsd" />
  <xsd:import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd" />
  <xsd:import namespace="http://xbrl.sec.gov/country/2017-01-31" schemaLocation="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd" />
  <xsd:import namespace="http://xbrl.sec.gov/currency/2017-01-31" schemaLocation="http://xbrl.sec.gov/currency/2017/currency-2017-01-31.xsd" />
  <xsd:import namespace="http://xbrl.sec.gov/dei/2018-01-31" schemaLocation="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd" />
  <xsd:import namespace="http://xbrl.sec.gov/exch/2018-01-31" schemaLocation="https://xbrl.sec.gov/exch/2018/exch-2018-01-31.xsd" />
  <xsd:import namespace="http://xbrl.sec.gov/invest/2013-01-31" schemaLocation="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd" />
  <xsd:import namespace="http://xbrl.sec.gov/naics/2017-01-31" schemaLocation="http://xbrl.sec.gov/naics/2017/naics-2017-01-31.xsd" />
  <xsd:import namespace="http://xbrl.sec.gov/sic/2011-01-31" schemaLocation="http://xbrl.sec.gov/sic/2011/sic-2011-01-31.xsd" />
  <xsd:import namespace="http://xbrl.sec.gov/stpr/2018-01-31" schemaLocation="https://xbrl.sec.gov/stpr/2018/stpr-2018-01-31.xsd" />
  <xsd:annotation>
    <xsd:appinfo>
      <link:linkbaseRef xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="bmrc-20180930_cal.xml" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef" xlink:type="simple" />
      <link:linkbaseRef xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="bmrc-20180930_def.xml" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef" xlink:type="simple" />
      <link:linkbaseRef xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="bmrc-20180930_lab.xml" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:type="simple" />
      <link:linkbaseRef xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="bmrc-20180930_pre.xml" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef" xlink:type="simple" />
      <link:roleType id="Acquisition" roleURI="http://www.bankofmarin.com/role/Acquisition">
        <link:definition>2114100 - Disclosure - Acquisition</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="AcquisitionNarrativeDetails" roleURI="http://www.bankofmarin.com/role/AcquisitionNarrativeDetails">
        <link:definition>2414402 - Disclosure - Acquisition - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="AcquisitionSummaryOfAcquisitionRelatedCostsDetails" roleURI="http://www.bankofmarin.com/role/AcquisitionSummaryOfAcquisitionRelatedCostsDetails">
        <link:definition>2414403 - Disclosure - Acquisition - Summary of Acquisition Related Costs (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="AcquisitionTables" roleURI="http://www.bankofmarin.com/role/AcquisitionTables">
        <link:definition>2314301 - Disclosure - Acquisition (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BasisOfPresentation" roleURI="http://www.bankofmarin.com/role/BasisOfPresentation">
        <link:definition>2101100 - Disclosure - Basis of Presentation</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BasisOfPresentationPolicies" roleURI="http://www.bankofmarin.com/role/BasisOfPresentationPolicies">
        <link:definition>2201201 - Disclosure - Basis of Presentation (Policies)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BasisOfPresentationReconciliationOfEarningsPerShareDetails" roleURI="http://www.bankofmarin.com/role/BasisOfPresentationReconciliationOfEarningsPerShareDetails">
        <link:definition>2401403 - Disclosure - Basis of Presentation - Reconciliation of Earnings Per Share (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BasisOfPresentationSummaryOfProformaEpsDetails" roleURI="http://www.bankofmarin.com/role/BasisOfPresentationSummaryOfProformaEpsDetails">
        <link:definition>2401404 - Disclosure - Basis of Presentation - Summary of Proforma EPS (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BasisOfPresentationTables" roleURI="http://www.bankofmarin.com/role/BasisOfPresentationTables">
        <link:definition>2301302 - Disclosure - Basis of Presentation (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Borrowings" roleURI="http://www.bankofmarin.com/role/Borrowings">
        <link:definition>2109100 - Disclosure - Borrowings</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BorrowingsLinesOfCreditDetails" roleURI="http://www.bankofmarin.com/role/BorrowingsLinesOfCreditDetails">
        <link:definition>2409402 - Disclosure - Borrowings - Lines of Credit (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BorrowingsSubordinatedDebtDetails" roleURI="http://www.bankofmarin.com/role/BorrowingsSubordinatedDebtDetails">
        <link:definition>2409403 - Disclosure - Borrowings - Subordinated Debt (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BorrowingsTables" roleURI="http://www.bankofmarin.com/role/BorrowingsTables">
        <link:definition>2309301 - Disclosure - Borrowings (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsAndContingencies" roleURI="http://www.bankofmarin.com/role/CommitmentsAndContingencies">
        <link:definition>2111100 - Disclosure - Commitments and Contingencies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsAndContingenciesDetails" roleURI="http://www.bankofmarin.com/role/CommitmentsAndContingenciesDetails">
        <link:definition>2411402 - Disclosure - Commitments and Contingencies (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsAndContingenciesTables" roleURI="http://www.bankofmarin.com/role/CommitmentsAndContingenciesTables">
        <link:definition>2311301 - Disclosure - Commitments and Contingencies (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ConsolidatedStatementsOfCashFlows" roleURI="http://www.bankofmarin.com/role/ConsolidatedStatementsOfCashFlows">
        <link:definition>1004000 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ConsolidatedStatementsOfChangesInStockholdersEquity" roleURI="http://www.bankofmarin.com/role/ConsolidatedStatementsOfChangesInStockholdersEquity">
        <link:definition>1003000 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ConsolidatedStatementsOfChangesInStockholdersEquityParenthetical" roleURI="http://www.bankofmarin.com/role/ConsolidatedStatementsOfChangesInStockholdersEquityParenthetical">
        <link:definition>1003001 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ConsolidatedStatementsOfComprehensiveIncome" roleURI="http://www.bankofmarin.com/role/ConsolidatedStatementsOfComprehensiveIncome">
        <link:definition>1002000 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ConsolidatedStatementsOfCondition" roleURI="http://www.bankofmarin.com/role/ConsolidatedStatementsOfCondition">
        <link:definition>1001000 - Statement - CONSOLIDATED STATEMENTS OF CONDITION</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ConsolidatedStatementsOfConditionParenthetical" roleURI="http://www.bankofmarin.com/role/ConsolidatedStatementsOfConditionParenthetical">
        <link:definition>1001501 - Statement - CONSOLIDATED STATEMENTS OF CONDITION (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DerivativeFinancialInstrumentsAndHedgingActivities" roleURI="http://www.bankofmarin.com/role/DerivativeFinancialInstrumentsAndHedgingActivities">
        <link:definition>2112100 - Disclosure - Derivative Financial Instruments and Hedging Activities</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DerivativeFinancialInstrumentsAndHedgingActivitiesInformationOnDerivativesDetails" roleURI="http://www.bankofmarin.com/role/DerivativeFinancialInstrumentsAndHedgingActivitiesInformationOnDerivativesDetails">
        <link:definition>2412402 - Disclosure - Derivative Financial Instruments and Hedging Activities - Information on Derivatives (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DerivativeFinancialInstrumentsAndHedgingActivitiesOffsettingOfAssetsDetails" roleURI="http://www.bankofmarin.com/role/DerivativeFinancialInstrumentsAndHedgingActivitiesOffsettingOfAssetsDetails">
        <link:definition>2412403 - Disclosure - Derivative Financial Instruments and Hedging Activities - Offsetting of Assets (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DerivativeFinancialInstrumentsAndHedgingActivitiesOffsettingOfLiabilitiesDetails" roleURI="http://www.bankofmarin.com/role/DerivativeFinancialInstrumentsAndHedgingActivitiesOffsettingOfLiabilitiesDetails">
        <link:definition>2412404 - Disclosure - Derivative Financial Instruments and Hedging Activities - Offsetting of Liabilities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DerivativeFinancialInstrumentsAndHedgingActivitiesTables" roleURI="http://www.bankofmarin.com/role/DerivativeFinancialInstrumentsAndHedgingActivitiesTables">
        <link:definition>2312301 - Disclosure - Derivative Financial Instruments and Hedging Activities (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DocumentAndEntityInformation" roleURI="http://www.bankofmarin.com/role/DocumentAndEntityInformation">
        <link:definition>0001000 - Document - Document And Entity Information</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueOfAssetsAndLiabilities" roleURI="http://www.bankofmarin.com/role/FairValueOfAssetsAndLiabilities">
        <link:definition>2105100 - Disclosure - Fair Value of Assets and Liabilities</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueOfAssetsAndLiabilitiesFairValueOfFinancialInstrumentsDetails" roleURI="http://www.bankofmarin.com/role/FairValueOfAssetsAndLiabilitiesFairValueOfFinancialInstrumentsDetails">
        <link:definition>2405404 - Disclosure - Fair Value of Assets and Liabilities - Fair Value of Financial Instruments (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueOfAssetsAndLiabilitiesNarrativeDetails" roleURI="http://www.bankofmarin.com/role/FairValueOfAssetsAndLiabilitiesNarrativeDetails">
        <link:definition>2405403 - Disclosure - Fair Value of Assets and Liabilities - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueOfAssetsAndLiabilitiesRecordedOnRecurringBasisDetails" roleURI="http://www.bankofmarin.com/role/FairValueOfAssetsAndLiabilitiesRecordedOnRecurringBasisDetails">
        <link:definition>2405402 - Disclosure - Fair Value of Assets and Liabilities - Recorded on a Recurring Basis (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueOfAssetsAndLiabilitiesTables" roleURI="http://www.bankofmarin.com/role/FairValueOfAssetsAndLiabilitiesTables">
        <link:definition>2305301 - Disclosure - Fair Value of Assets and Liabilities (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentSecurities" roleURI="http://www.bankofmarin.com/role/InvestmentSecurities">
        <link:definition>2106100 - Disclosure - Investment Securities</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentSecuritiesAmortizedCostAndFairValueDetails" roleURI="http://www.bankofmarin.com/role/InvestmentSecuritiesAmortizedCostAndFairValueDetails">
        <link:definition>2406402 - Disclosure - Investment Securities - Amortized Cost and Fair Value (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentSecuritiesMaturitiesDetails" roleURI="http://www.bankofmarin.com/role/InvestmentSecuritiesMaturitiesDetails">
        <link:definition>2406403 - Disclosure - Investment Securities - Maturities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentSecuritiesNarrativeDetails" roleURI="http://www.bankofmarin.com/role/InvestmentSecuritiesNarrativeDetails">
        <link:definition>2406406 - Disclosure - Investment Securities - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentSecuritiesNonMarketableSecuritiesDetails" roleURI="http://www.bankofmarin.com/role/InvestmentSecuritiesNonMarketableSecuritiesDetails">
        <link:definition>2406408 - Disclosure - Investment Securities - Non-Marketable Securities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentSecuritiesPledgedAndTransferredSecuritiesDetails" roleURI="http://www.bankofmarin.com/role/InvestmentSecuritiesPledgedAndTransferredSecuritiesDetails">
        <link:definition>2406405 - Disclosure - Investment Securities - Pledged and Transferred Securities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentSecuritiesSalesOfInvestmentSecuritiesAndGrossGainsAndLossesDetails" roleURI="http://www.bankofmarin.com/role/InvestmentSecuritiesSalesOfInvestmentSecuritiesAndGrossGainsAndLossesDetails">
        <link:definition>2406404 - Disclosure - Investment Securities - Sales of investment securities and gross gains and losses (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentSecuritiesTables" roleURI="http://www.bankofmarin.com/role/InvestmentSecuritiesTables">
        <link:definition>2306301 - Disclosure - Investment Securities (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentSecuritiesUnrealizedLossPositionsDetails" roleURI="http://www.bankofmarin.com/role/InvestmentSecuritiesUnrealizedLossPositionsDetails">
        <link:definition>2406407 - Disclosure - Investment Securities - Unrealized Loss Positions (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LoansAndAllowanceForLoanLosses" roleURI="http://www.bankofmarin.com/role/LoansAndAllowanceForLoanLosses">
        <link:definition>2108100 - Disclosure - Loans and Allowance for Loan Losses</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LoansAndAllowanceForLoanLossesAllowanceForLoanLossesDetails" roleURI="http://www.bankofmarin.com/role/LoansAndAllowanceForLoanLossesAllowanceForLoanLossesDetails">
        <link:definition>2408407 - Disclosure - Loans and Allowance for Loan Losses - Allowance for Loan Losses (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LoansAndAllowanceForLoanLossesCreditQualityDetails" roleURI="http://www.bankofmarin.com/role/LoansAndAllowanceForLoanLossesCreditQualityDetails">
        <link:definition>2408403 - Disclosure - Loans and Allowance for Loan Losses - Credit Quality (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LoansAndAllowanceForLoanLossesImpairedAndRelatedAllowanceDetails" roleURI="http://www.bankofmarin.com/role/LoansAndAllowanceForLoanLossesImpairedAndRelatedAllowanceDetails">
        <link:definition>2408406 - Disclosure - Loans and Allowance for Loan Losses - Impaired and Related Allowance (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LoansAndAllowanceForLoanLossesOutstandingAndAgingAnalysisDetails" roleURI="http://www.bankofmarin.com/role/LoansAndAllowanceForLoanLossesOutstandingAndAgingAnalysisDetails">
        <link:definition>2408402 - Disclosure - Loans and Allowance for Loan Losses - Outstanding and Aging Analysis (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LoansAndAllowanceForLoanLossesPledgedLoansDetails" roleURI="http://www.bankofmarin.com/role/LoansAndAllowanceForLoanLossesPledgedLoansDetails">
        <link:definition>2408409 - Disclosure - Loans and Allowance for Loan Losses - Pledged Loans (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LoansAndAllowanceForLoanLossesPurchasedCreditImpairedDetails" roleURI="http://www.bankofmarin.com/role/LoansAndAllowanceForLoanLossesPurchasedCreditImpairedDetails">
        <link:definition>2408408 - Disclosure - Loans and Allowance for Loan Losses - Purchased Credit-Impaired (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LoansAndAllowanceForLoanLossesRelatedPartyDetails" roleURI="http://www.bankofmarin.com/role/LoansAndAllowanceForLoanLossesRelatedPartyDetails">
        <link:definition>2408410 - Disclosure - Loans and Allowance for Loan Losses - Related Party (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LoansAndAllowanceForLoanLossesTables" roleURI="http://www.bankofmarin.com/role/LoansAndAllowanceForLoanLossesTables">
        <link:definition>2308301 - Disclosure - Loans and Allowance for Loan Losses (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LoansAndAllowanceForLoanLossesTroubledDebtRestructuringByClassDetails" roleURI="http://www.bankofmarin.com/role/LoansAndAllowanceForLoanLossesTroubledDebtRestructuringByClassDetails">
        <link:definition>2408404 - Disclosure - Loans and Allowance for Loan Losses - Troubled Debt Restructuring by Class (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LoansAndAllowanceForLoanLossesTroubledDebtRestructuringModificationsDetails" roleURI="http://www.bankofmarin.com/role/LoansAndAllowanceForLoanLossesTroubledDebtRestructuringModificationsDetails">
        <link:definition>2408405 - Disclosure - Loans and Allowance for Loan Losses - Troubled Debt Restructuring Modifications (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RecentlyAdoptedAndIssuedAccountingStandards" roleURI="http://www.bankofmarin.com/role/RecentlyAdoptedAndIssuedAccountingStandards">
        <link:definition>2102100 - Disclosure - Recently Adopted and Issued Accounting Standards</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RecentlyAdoptedAndIssuedAccountingStandardsDetails" roleURI="http://www.bankofmarin.com/role/RecentlyAdoptedAndIssuedAccountingStandardsDetails">
        <link:definition>2402401 - Disclosure - Recently Adopted and Issued Accounting Standards (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockholdersEquity" roleURI="http://www.bankofmarin.com/role/StockholdersEquity">
        <link:definition>2110100 - Disclosure - Stockholders' Equity</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockholdersEquityDetails" roleURI="http://www.bankofmarin.com/role/StockholdersEquityDetails">
        <link:definition>2410401 - Disclosure - Stockholders' Equity (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
    </xsd:appinfo>
  </xsd:annotation>
  <xsd:element id="bmrc_AccretableYieldActivityTableTextBlock" name="AccretableYieldActivityTableTextBlock" nillable="true" substitutionGroup="xbrli:item" type="nonnum:textBlockItemType" xbrli:periodType="duration" />
  <xsd:element id="bmrc_AccretionOfDiscountOnAcquiredLoans" name="AccretionOfDiscountOnAcquiredLoans" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element id="bmrc_AcquiredLoansonTDRStatus" name="AcquiredLoansonTDRStatus" nillable="true" substitutionGroup="xbrli:item" type="xbrli:integerItemType" xbrli:periodType="instant" />
  <xsd:element id="bmrc_AdjustmentsRelatedToTaxWithholdingAndExerciseOfOptionsForShareBasedCompensation" name="AdjustmentsRelatedToTaxWithholdingAndExerciseOfOptionsForShareBasedCompensation" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element id="bmrc_AffordableHousingProgramUnfundedCommitments" name="AffordableHousingProgramUnfundedCommitments" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element id="bmrc_AllowanceForOffBalanceSheetCommitments" name="AllowanceForOffBalanceSheetCommitments" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element id="bmrc_AmortizationMethodQualifiedAffordableHousingProjectInvestmentsTaxCredits" name="AmortizationMethodQualifiedAffordableHousingProjectInvestmentsTaxCredits" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element id="bmrc_AmortizationOfNetUnrealizedLossOnAvailableForSaleSecuritiesTransferredToHeldToMaturity" name="AmortizationOfNetUnrealizedLossOnAvailableForSaleSecuritiesTransferredToHeldToMaturity" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element id="bmrc_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAmortizedCostBasis" name="AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAmortizedCostBasis" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element id="bmrc_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValueTotal" name="AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValueTotal" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element id="bmrc_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" name="AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element id="bmrc_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" name="AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element id="bmrc_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesFairValue" name="AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesFairValue" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element id="bmrc_AvailableforsaleSecuritiesTransferredtoHeldtomaturitySecurities" name="AvailableforsaleSecuritiesTransferredtoHeldtomaturitySecurities" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element id="bmrc_AvailableforsaleSecuritiesTransferredtoHeldtomaturitySecuritiesUnrealizedGainLoss" name="AvailableforsaleSecuritiesTransferredtoHeldtomaturitySecuritiesUnrealizedGainLoss" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element id="bmrc_AvailableforsaleSecuritiesandHeldtomaturitySecuritiesAccumulatedGrossUnrealizedGain" name="AvailableforsaleSecuritiesandHeldtomaturitySecuritiesAccumulatedGrossUnrealizedGain" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element id="bmrc_AvailableforsaleSecuritiesandHeldtomaturitySecuritiesAccumulatedGrossUnrealizedLoss" name="AvailableforsaleSecuritiesandHeldtomaturitySecuritiesAccumulatedGrossUnrealizedLoss" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element id="bmrc_AvailableforsaleSecuritiesandHeldtomaturitySecuritiesContinuousUnrealizedLossPosition12MonthsorLongerAccumulatedLoss" name="AvailableforsaleSecuritiesandHeldtomaturitySecuritiesContinuousUnrealizedLossPosition12MonthsorLongerAccumulatedLoss" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element id="bmrc_AvailableforsaleSecuritiesandHeldtomaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss" name="AvailableforsaleSecuritiesandHeldtomaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element id="bmrc_AvailableforsaleSecuritiesandHeldtomaturitySecuritiesContinuousUnrealizedLossPositionLessthan12MonthsAccumulatedLoss" name="AvailableforsaleSecuritiesandHeldtomaturitySecuritiesContinuousUnrealizedLossPositionLessthan12MonthsAccumulatedLoss" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element abstract="true" id="bmrc_BankofNapaN.A.NapaMember" name="BankofNapaN.A.NapaMember" nillable="true" substitutionGroup="xbrli:item" type="nonnum:domainItemType" xbrli:periodType="duration" />
  <xsd:element id="bmrc_BusinessCombinationConsiderationTransferredEquityInterestsIssuedandIssuableEntitySharesIssuedPerAcquireeShareRatio" name="BusinessCombinationConsiderationTransferredEquityInterestsIssuedandIssuableEntitySharesIssuedPerAcquireeShareRatio" nillable="true" substitutionGroup="xbrli:item" type="xbrli:pureItemType" xbrli:periodType="instant" />
  <xsd:element id="bmrc_BusinessCombinationsNumberofDebtInstrumentsAcquired" name="BusinessCombinationsNumberofDebtInstrumentsAcquired" nillable="true" substitutionGroup="xbrli:item" type="xbrli:integerItemType" xbrli:periodType="instant" />
  <xsd:element id="bmrc_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesOutstandingBalanceAccrualStatus" name="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesOutstandingBalanceAccrualStatus" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element id="bmrc_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesOutstandingBalanceNonaccrualStatus" name="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesOutstandingBalanceNonaccrualStatus" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element id="bmrc_CertainLoansAcquiredinTransferNotAccountedforasDebtSecuritiesNumberOfLoansWithUnpaidBalances" name="CertainLoansAcquiredinTransferNotAccountedforasDebtSecuritiesNumberOfLoansWithUnpaidBalances" nillable="true" substitutionGroup="xbrli:item" type="xbrli:integerItemType" xbrli:periodType="duration" />
  <xsd:element id="bmrc_CertainLoansAcquiredinTransferWithoutEvidenceofDeterioratedCreditUnaccretedPurchaseDiscounts" name="CertainLoansAcquiredinTransferWithoutEvidenceofDeterioratedCreditUnaccretedPurchaseDiscounts" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element abstract="true" id="bmrc_CheckingAccountWealthManagementAndTrustServicesMember" name="CheckingAccountWealthManagementAndTrustServicesMember" nillable="true" substitutionGroup="xbrli:item" type="nonnum:domainItemType" xbrli:periodType="duration" />
  <xsd:element abstract="true" id="bmrc_CommercialAndIndustrialMember" name="CommercialAndIndustrialMember" nillable="true" substitutionGroup="xbrli:item" type="nonnum:domainItemType" xbrli:periodType="duration" />
  <xsd:element abstract="true" id="bmrc_CommercialLinesOfCreditMember" name="CommercialLinesOfCreditMember" nillable="true" substitutionGroup="xbrli:item" type="nonnum:domainItemType" xbrli:periodType="duration" />
  <xsd:element abstract="true" id="bmrc_CommercialRealEstateLoanInvestorMember" name="CommercialRealEstateLoanInvestorMember" nillable="true" substitutionGroup="xbrli:item" type="nonnum:domainItemType" xbrli:periodType="duration" />
  <xsd:element abstract="true" id="bmrc_CommercialRealEstateLoanOwnerOccupiedMember" name="CommercialRealEstateLoanOwnerOccupiedMember" nillable="true" substitutionGroup="xbrli:item" type="nonnum:domainItemType" xbrli:periodType="duration" />
  <xsd:element id="bmrc_CompensationExpenseCommonStockForDirectorFees" name="CompensationExpenseCommonStockForDirectorFees" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element abstract="true" id="bmrc_ConsumerAndOtherLinesOfCreditMember" name="ConsumerAndOtherLinesOfCreditMember" nillable="true" substitutionGroup="xbrli:item" type="nonnum:domainItemType" xbrli:periodType="duration" />
  <xsd:element abstract="true" id="bmrc_CounterpartyMember" name="CounterpartyMember" nillable="true" substitutionGroup="xbrli:item" type="nonnum:domainItemType" xbrli:periodType="duration" />
  <xsd:element id="bmrc_DataProcessing" name="DataProcessing" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element id="bmrc_DebtInstrumentDistributionDeferralPeriod" name="DebtInstrumentDistributionDeferralPeriod" nillable="true" substitutionGroup="xbrli:item" type="xbrli:durationItemType" xbrli:periodType="duration" />
  <xsd:element id="bmrc_DerivativeAccruedInterestInterestRateSwaps" name="DerivativeAccruedInterestInterestRateSwaps" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element id="bmrc_DerivativeAssetAccruedInterestInterestRateSwaps" name="DerivativeAssetAccruedInterestInterestRateSwaps" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element id="bmrc_DerivativeIncreaseDecreaseInValueOfYieldMaintenanceAgreement" name="DerivativeIncreaseDecreaseInValueOfYieldMaintenanceAgreement" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element id="bmrc_DerivativeLiabilityAccruedInterestInterestRateSwaps" name="DerivativeLiabilityAccruedInterestInterestRateSwaps" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element id="bmrc_DerivativePaymentOnInterestRateDerivative" name="DerivativePaymentOnInterestRateDerivative" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element abstract="true" id="bmrc_DirectorsOfficersPrincipalShareholdersAndAssociatesMember" name="DirectorsOfficersPrincipalShareholdersAndAssociatesMember" nillable="true" substitutionGroup="xbrli:item" type="nonnum:domainItemType" xbrli:periodType="duration" />
  <xsd:element id="bmrc_DividendIncomeFederalHomeLoanBank" name="DividendIncomeFederalHomeLoanBank" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element abstract="true" id="bmrc_DocumentAndEntityInformationAbstract" name="DocumentAndEntityInformationAbstract" nillable="true" substitutionGroup="xbrli:item" type="xbrli:stringItemType" xbrli:periodType="duration" />
  <xsd:element id="bmrc_EquitySecuritiesFVNINumberOfSharesSold" name="EquitySecuritiesFVNINumberOfSharesSold" nillable="true" substitutionGroup="xbrli:item" type="xbrli:sharesItemType" xbrli:periodType="duration" />
  <xsd:element id="bmrc_FederalHomeLoanBankDividendRatePercentage" name="FederalHomeLoanBankDividendRatePercentage" nillable="true" substitutionGroup="xbrli:item" type="num:percentItemType" xbrli:periodType="instant" />
  <xsd:element abstract="true" id="bmrc_FederalHomeLoanBankOvernightBorrowingsMember" name="FederalHomeLoanBankOvernightBorrowingsMember" nillable="true" substitutionGroup="xbrli:item" type="nonnum:domainItemType" xbrli:periodType="duration" />
  <xsd:element id="bmrc_FederalHomeLoanBankStockParValue" name="FederalHomeLoanBankStockParValue" nillable="true" substitutionGroup="xbrli:item" type="num:perShareItemType" xbrli:periodType="instant" />
  <xsd:element id="bmrc_FinancingReceivableModificationsContractsModifiedDuringPeriodRecordedInvestment" name="FinancingReceivableModificationsContractsModifiedDuringPeriodRecordedInvestment" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element id="bmrc_FinancingReceivableModificationsRecordedInvestmentNonaccrualStatus" name="FinancingReceivableModificationsRecordedInvestmentNonaccrualStatus" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element id="bmrc_FinancingReceivableModificationsRecordedInvestmentNonaccrualStatusQuantity" name="FinancingReceivableModificationsRecordedInvestmentNonaccrualStatusQuantity" nillable="true" substitutionGroup="xbrli:item" type="xbrli:integerItemType" xbrli:periodType="instant" />
  <xsd:element id="bmrc_FinancingReceivableModificationsRemovalFromTroubledDebtRestructuringNumberOfContracts" name="FinancingReceivableModificationsRemovalFromTroubledDebtRestructuringNumberOfContracts" nillable="true" substitutionGroup="xbrli:item" type="xbrli:integerItemType" xbrli:periodType="duration" />
  <xsd:element id="bmrc_FinancingReceivableModificationsRemovalFromTroubledDebtRestructuringRecordedInvestment" name="FinancingReceivableModificationsRemovalFromTroubledDebtRestructuringRecordedInvestment" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element id="bmrc_IncreaseDecreaseInDeferredRentAndOtherRentRelatedExpenses" name="IncreaseDecreaseInDeferredRentAndOtherRentRelatedExpenses" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element id="bmrc_InformationTechnology" name="InformationTechnology" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element abstract="true" id="bmrc_InstallmentAndOtherConsumerMember" name="InstallmentAndOtherConsumerMember" nillable="true" substitutionGroup="xbrli:item" type="nonnum:domainItemType" xbrli:periodType="duration" />
  <xsd:element id="bmrc_InterestDueFromBanksAndOther" name="InterestDueFromBanksAndOther" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element abstract="true" id="bmrc_InterestPayableAndOtherLiabilitiesMember" name="InterestPayableAndOtherLiabilitiesMember" nillable="true" substitutionGroup="xbrli:item" type="nonnum:domainItemType" xbrli:periodType="duration" />
  <xsd:element id="bmrc_InterestPayableFairValueDisclosure" name="InterestPayableFairValueDisclosure" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element id="bmrc_InterestReceivableFairValueDisclosure" name="InterestReceivableFairValueDisclosure" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element abstract="true" id="bmrc_LinesOfCreditAndLettersOfCreditUnusedCommitmentsMember" name="LinesOfCreditAndLettersOfCreditUnusedCommitmentsMember" nillable="true" substitutionGroup="xbrli:item" type="nonnum:domainItemType" xbrli:periodType="duration" />
  <xsd:element id="bmrc_LoansAndLeasesReceivableImpairedChargeoffs" name="LoansAndLeasesReceivableImpairedChargeoffs" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element id="bmrc_LoansAndLeasesReceivableNetOfDeferredIncomeExcludingPurchasedCreditImpairedLoans" name="LoansAndLeasesReceivableNetOfDeferredIncomeExcludingPurchasedCreditImpairedLoans" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element id="bmrc_LoansAndLeasesReceivableRatioOfAllowanceForLoanLossesToNonAccrualLoans" name="LoansAndLeasesReceivableRatioOfAllowanceForLoanLossesToNonAccrualLoans" nillable="true" substitutionGroup="xbrli:item" type="num:percentItemType" xbrli:periodType="instant" />
  <xsd:element id="bmrc_LoansAndLeasesReceivableRatioOfAllowanceForLoanLossesToTotalLoans" name="LoansAndLeasesReceivableRatioOfAllowanceForLoanLossesToTotalLoans" nillable="true" substitutionGroup="xbrli:item" type="num:percentItemType" xbrli:periodType="instant" />
  <xsd:element id="bmrc_LossContingencySalesVolumeOfOptOutMerchantsWithSettledAgreementsPercentage" name="LossContingencySalesVolumeOfOptOutMerchantsWithSettledAgreementsPercentage" nillable="true" substitutionGroup="xbrli:item" type="num:percentItemType" xbrli:periodType="instant" />
  <xsd:element abstract="true" id="bmrc_LowIncomeHousingTaxCreditInvestmentMember" name="LowIncomeHousingTaxCreditInvestmentMember" nillable="true" substitutionGroup="xbrli:item" type="nonnum:domainItemType" xbrli:periodType="duration" />
  <xsd:element abstract="true" id="bmrc_MarketableSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract" name="MarketableSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract" nillable="true" substitutionGroup="xbrli:item" type="xbrli:stringItemType" xbrli:periodType="duration" />
  <xsd:element abstract="true" id="bmrc_MarketableSecuritiesContinuousUnrealizedLossPositionFairValueAbstract" name="MarketableSecuritiesContinuousUnrealizedLossPositionFairValueAbstract" nillable="true" substitutionGroup="xbrli:item" type="xbrli:stringItemType" xbrli:periodType="duration" />
  <xsd:element id="bmrc_MarketableSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions" name="MarketableSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions" nillable="true" substitutionGroup="xbrli:item" type="xbrli:integerItemType" xbrli:periodType="instant" />
  <xsd:element id="bmrc_MarketableSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsLessThan12Months" name="MarketableSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsLessThan12Months" nillable="true" substitutionGroup="xbrli:item" type="xbrli:integerItemType" xbrli:periodType="instant" />
  <xsd:element id="bmrc_MarketableSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsLongerThan12Months" name="MarketableSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsLongerThan12Months" nillable="true" substitutionGroup="xbrli:item" type="xbrli:integerItemType" xbrli:periodType="instant" />
  <xsd:element id="bmrc_MarketableSecuritiesNumberOfSecurities" name="MarketableSecuritiesNumberOfSecurities" nillable="true" substitutionGroup="xbrli:item" type="xbrli:integerItemType" xbrli:periodType="instant" />
  <xsd:element id="bmrc_MerchantInterchangeFees" name="MerchantInterchangeFees" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element abstract="true" id="bmrc_NorCalCommunityBancorpTrustIIMember" name="NorCalCommunityBancorpTrustIIMember" nillable="true" substitutionGroup="xbrli:item" type="nonnum:domainItemType" xbrli:periodType="duration" />
  <xsd:element abstract="true" id="bmrc_NorCalCommunityBancorpTrustIMember" name="NorCalCommunityBancorpTrustIMember" nillable="true" substitutionGroup="xbrli:item" type="nonnum:domainItemType" xbrli:periodType="duration" />
  <xsd:element id="bmrc_NumberofOperatingLocations" name="NumberofOperatingLocations" nillable="true" substitutionGroup="xbrli:item" type="xbrli:integerItemType" xbrli:periodType="instant" />
  <xsd:element id="bmrc_OccupancyAndEquipment" name="OccupancyAndEquipment" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element id="bmrc_OffBalanceSheetArrangementsLiabilitiesCurrentExposure" name="OffBalanceSheetArrangementsLiabilitiesCurrentExposure" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element id="bmrc_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForInvestmentTransferredFromAvailableForSaleToHeldToMaturityBeforeTax" name="OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForInvestmentTransferredFromAvailableForSaleToHeldToMaturityBeforeTax" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element abstract="true" id="bmrc_OtherResidentialLoanMember" name="OtherResidentialLoanMember" nillable="true" substitutionGroup="xbrli:item" type="nonnum:domainItemType" xbrli:periodType="duration" />
  <xsd:element id="bmrc_PersonnelSeverance" name="PersonnelSeverance" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element abstract="true" id="bmrc_PledgedToStateOfCaliforniaMember" name="PledgedToStateOfCaliforniaMember" nillable="true" substitutionGroup="xbrli:item" type="nonnum:domainItemType" xbrli:periodType="duration" />
  <xsd:element id="bmrc_ProvisionForReversalOfLossesOnOffBalanceSheetCommitments" name="ProvisionForReversalOfLossesOnOffBalanceSheetCommitments" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element abstract="true" id="bmrc_PublicDepositsMember" name="PublicDepositsMember" nillable="true" substitutionGroup="xbrli:item" type="nonnum:domainItemType" xbrli:periodType="duration" />
  <xsd:element id="bmrc_RepurchaseOfStockNotYetSettled" name="RepurchaseOfStockNotYetSettled" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element id="bmrc_ScheduleOfAcquisitionRelatedExpensesTableTextBlock" name="ScheduleOfAcquisitionRelatedExpensesTableTextBlock" nillable="true" substitutionGroup="xbrli:item" type="nonnum:textBlockItemType" xbrli:periodType="duration" />
  <xsd:element abstract="true" id="bmrc_ScheduleOfAvailableForSaleSecuritiesAndHeldToMaturitySecuritiesLineItems" name="ScheduleOfAvailableForSaleSecuritiesAndHeldToMaturitySecuritiesLineItems" nillable="true" substitutionGroup="xbrli:item" type="xbrli:stringItemType" xbrli:periodType="duration" />
  <xsd:element abstract="true" id="bmrc_ScheduleOfAvailableForSaleSecuritiesAndHeldToMaturitySecuritiesTable" name="ScheduleOfAvailableForSaleSecuritiesAndHeldToMaturitySecuritiesTable" nillable="true" substitutionGroup="xbrldt:hypercubeItem" type="xbrli:stringItemType" xbrli:periodType="duration" />
  <xsd:element id="bmrc_ScheduleOfContractualAmountOffBalanceSheetRisksTableTextBlock" name="ScheduleOfContractualAmountOffBalanceSheetRisksTableTextBlock" nillable="true" substitutionGroup="xbrli:item" type="nonnum:textBlockItemType" xbrli:periodType="duration" />
  <xsd:element id="bmrc_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsExercisesinPeriodNetOfSharesSurrenderedForCashlessExercisesAndTaxWithholdings" name="SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsExercisesinPeriodNetOfSharesSurrenderedForCashlessExercisesAndTaxWithholdings" nillable="true" substitutionGroup="xbrli:item" type="xbrli:sharesItemType" xbrli:periodType="duration" />
  <xsd:element id="bmrc_SharebasedCompensationArrangementsbySharebasedPaymentAwardOptionsTaxWithholdingAndExercisesinPeriodWeightedAverageExercisePrice" name="SharebasedCompensationArrangementsbySharebasedPaymentAwardOptionsTaxWithholdingAndExercisesinPeriodWeightedAverageExercisePrice" nillable="true" substitutionGroup="xbrli:item" type="num:perShareItemType" xbrli:periodType="duration" />
  <xsd:element id="bmrc_SharesPaidForTaxWithholdingAndExercisingOptionsForShareBasedCompensation" name="SharesPaidForTaxWithholdingAndExercisingOptionsForShareBasedCompensation" nillable="true" substitutionGroup="xbrli:item" type="xbrli:sharesItemType" xbrli:periodType="duration" />
  <xsd:element abstract="true" id="bmrc_SmallBusinessAdministrationSBABackedSecuritiesMember" name="SmallBusinessAdministrationSBABackedSecuritiesMember" nillable="true" substitutionGroup="xbrli:item" type="nonnum:domainItemType" xbrli:periodType="duration" />
  <xsd:element id="bmrc_StockIssuedDuringPeriodSharesNonemployeeDirectorStockPurchasePlans" name="StockIssuedDuringPeriodSharesNonemployeeDirectorStockPurchasePlans" nillable="true" substitutionGroup="xbrli:item" type="xbrli:sharesItemType" xbrli:periodType="duration" />
  <xsd:element id="bmrc_StockIssuedDuringPeriodValueEmployeeStockOwnershipPlanNoncash" name="StockIssuedDuringPeriodValueEmployeeStockOwnershipPlanNoncash" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element id="bmrc_StockIssuedDuringPeriodValueNonemployeeDirectorStockPurchasePlans" name="StockIssuedDuringPeriodValueNonemployeeDirectorStockPurchasePlans" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element id="bmrc_StockIssuedDuringPeriodValueStockOptionsExercisedNetOfSharesSurrenderedForCashlessExercisesAndTaxWithholdings" name="StockIssuedDuringPeriodValueStockOptionsExercisedNetOfSharesSurrenderedForCashlessExercisesAndTaxWithholdings" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element id="bmrc_StockIssuedInPaymentOfDirectorFees" name="StockIssuedInPaymentOfDirectorFees" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element id="bmrc_StockIssuedInPaymentOfDirectorFeesShares" name="StockIssuedInPaymentOfDirectorFeesShares" nillable="true" substitutionGroup="xbrli:item" type="xbrli:sharesItemType" xbrli:periodType="duration" />
  <xsd:element id="bmrc_SubscriptionInLowIncomeHousingTaxCreditInvestment" name="SubscriptionInLowIncomeHousingTaxCreditInvestment" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element id="bmrc_TaxCutsAndJobsActOf2017ReclassificationFromAociToRetainedEarningsTaxEffect" name="TaxCutsAndJobsActOf2017ReclassificationFromAociToRetainedEarningsTaxEffect" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element abstract="true" id="bmrc_TrustDepositsMember" name="TrustDepositsMember" nillable="true" substitutionGroup="xbrli:item" type="nonnum:domainItemType" xbrli:periodType="duration" />
  <xsd:element abstract="true" id="bmrc_UndisbursedConstructionLoansMember" name="UndisbursedConstructionLoansMember" nillable="true" substitutionGroup="xbrli:item" type="nonnum:domainItemType" xbrli:periodType="duration" />
  <xsd:element abstract="true" id="bmrc_VisaInc.ClassBCommonStockMember" name="VisaInc.ClassBCommonStockMember" nillable="true" substitutionGroup="xbrli:item" type="nonnum:domainItemType" xbrli:periodType="duration" />
  <xsd:element abstract="true" id="bmrc_VisaIncMember" name="VisaIncMember" nillable="true" substitutionGroup="xbrli:item" type="nonnum:domainItemType" xbrli:periodType="duration" />
</xsd:schema>
