<?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/20190930" xmlns:bmrc="http://www.bankofmarin.com/20190930" 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-types/2019-01-31" schemaLocation="http://xbrl.fasb.org/srt/2019/elts/srt-types-2019-01-31.xsd" />
  <xsd:import namespace="http://fasb.org/srt/2019-01-31" schemaLocation="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd" />
  <xsd:import namespace="http://fasb.org/us-gaap/2019-01-31" schemaLocation="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd" />
  <xsd:import namespace="http://fasb.org/us-roles/2019-01-31" schemaLocation="http://xbrl.fasb.org/us-gaap/2019/elts/us-roles-2019-01-31.xsd" />
  <xsd:import namespace="http://fasb.org/us-types/2019-01-31" schemaLocation="http://xbrl.fasb.org/us-gaap/2019/elts/us-types-2019-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="https://xbrl.sec.gov/country/2017/country-2017-01-31.xsd" />
  <xsd:import namespace="http://xbrl.sec.gov/currency/2019-01-31" schemaLocation="https://xbrl.sec.gov/currency/2019/currency-2019-01-31.xsd" />
  <xsd:import namespace="http://xbrl.sec.gov/dei/2019-01-31" schemaLocation="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd" />
  <xsd:import namespace="http://xbrl.sec.gov/exch/2019-01-31" schemaLocation="https://xbrl.sec.gov/exch/2019/exch-2019-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-20190930_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-20190930_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-20190930_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-20190930_pre.xml" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef" xlink:type="simple" />
      <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="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="BorrowingsAndOtherObligations" roleURI="http://www.bankofmarin.com/role/BorrowingsAndOtherObligations">
        <link:definition>2109100 - Disclosure - Borrowings and Other Obligations</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="BorrowingsAndOtherObligationsLinesOfCreditDetails" roleURI="http://www.bankofmarin.com/role/BorrowingsAndOtherObligationsLinesOfCreditDetails">
        <link:definition>2409401 - Disclosure - Borrowings and Other Obligations - 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="BorrowingsAndOtherObligationsSubordinatedDebtDetails" roleURI="http://www.bankofmarin.com/role/BorrowingsAndOtherObligationsSubordinatedDebtDetails">
        <link:definition>2409402 - Disclosure - Borrowings and Other Obligations - 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="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="CommitmentsAndContingenciesLeaseAssetsAndLiabilitiesDetails" roleURI="http://www.bankofmarin.com/role/CommitmentsAndContingenciesLeaseAssetsAndLiabilitiesDetails">
        <link:definition>2411404 - Disclosure - Commitments and Contingencies - Lease Assets and 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="CommitmentsAndContingenciesLeaseCostDetails" roleURI="http://www.bankofmarin.com/role/CommitmentsAndContingenciesLeaseCostDetails">
        <link:definition>2411406 - Disclosure - Commitments and Contingencies - Lease Cost (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="CommitmentsAndContingenciesLeaseLiabilityMaturityScheduleDetails" roleURI="http://www.bankofmarin.com/role/CommitmentsAndContingenciesLeaseLiabilityMaturityScheduleDetails">
        <link:definition>2411407 - Disclosure - Commitments and Contingencies - Lease Liability Maturity Schedule (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="CommitmentsAndContingenciesLeaseLiabilityMaturityScheduleDetailsCalc2" roleURI="http://www.bankofmarin.com/role/CommitmentsAndContingenciesLeaseLiabilityMaturityScheduleDetailsCalc2">
        <link:definition>2411407 - Disclosure - Commitments and Contingencies - Lease Liability Maturity Schedule (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="CommitmentsAndContingenciesNarrativeDetails" roleURI="http://www.bankofmarin.com/role/CommitmentsAndContingenciesNarrativeDetails">
        <link:definition>2411403 - Disclosure - Commitments and Contingencies - 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="CommitmentsAndContingenciesNoncashInvestingAndFinancingActivitiesDetails" roleURI="http://www.bankofmarin.com/role/CommitmentsAndContingenciesNoncashInvestingAndFinancingActivitiesDetails">
        <link:definition>2411405 - Disclosure - Commitments and Contingencies - Noncash Investing and Financing Activities (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="CommitmentsAndContingenciesOffBalanceSheetArrangementsDetails" roleURI="http://www.bankofmarin.com/role/CommitmentsAndContingenciesOffBalanceSheetArrangementsDetails">
        <link:definition>2411402 - Disclosure - Commitments and Contingencies - Off Balance Sheet Arrangements (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="Cover" roleURI="http://www.bankofmarin.com/role/Cover">
        <link:definition>0001000 - Document - Cover</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>2412403 - 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="DerivativeFinancialInstrumentsAndHedgingActivitiesNarrativeDetails" roleURI="http://www.bankofmarin.com/role/DerivativeFinancialInstrumentsAndHedgingActivitiesNarrativeDetails">
        <link:definition>2412402 - Disclosure - Derivative Financial Instruments and Hedging Activities - 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="DerivativeFinancialInstrumentsAndHedgingActivitiesOffsettingOfAssetsDetails" roleURI="http://www.bankofmarin.com/role/DerivativeFinancialInstrumentsAndHedgingActivitiesOffsettingOfAssetsDetails">
        <link:definition>2412404 - 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>2412405 - 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="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="RecentlyAdoptedAndIssuedAccountingStandardsNarrativeDetails" roleURI="http://www.bankofmarin.com/role/RecentlyAdoptedAndIssuedAccountingStandardsNarrativeDetails">
        <link:definition>2402401 - Disclosure - Recently Adopted and Issued Accounting Standards - 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="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="StockholdersEquityNarrativeDetails" roleURI="http://www.bankofmarin.com/role/StockholdersEquityNarrativeDetails">
        <link:definition>2410401 - Disclosure - Stockholders' Equity - Narrative (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_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_AssetsAndLiabilitiesLesseeTableTextBlock" name="AssetsAndLiabilitiesLesseeTableTextBlock" nillable="true" substitutionGroup="xbrli:item" type="nonnum:textBlockItemType" 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_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 id="bmrc_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesOutstandingBalanceAccrualStatus" name="CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesOutstandingBalanceAccrualStatus" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="instant" />
  <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 abstract="true" id="bmrc_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionFairValueAbstract" name="DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionFairValueAbstract" nillable="true" substitutionGroup="xbrli:item" type="xbrli:stringItemType" 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_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 id="bmrc_FederalHomeLoanBankAdvancesShortTermFairValueDisclosure" name="FederalHomeLoanBankAdvancesShortTermFairValueDisclosure" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="credit" xbrli:periodType="instant" />
  <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_FinanceLeaseCost" name="FinanceLeaseCost" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element abstract="true" id="bmrc_FinanceLeaseCost1Abstract" name="FinanceLeaseCost1Abstract" nillable="true" substitutionGroup="xbrli:item" type="xbrli:stringItemType" xbrli:periodType="duration" />
  <xsd:element id="bmrc_FinanceLeaseRightOfUseAssetAccumulatedDepreciation" name="FinanceLeaseRightOfUseAssetAccumulatedDepreciation" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element id="bmrc_FinanceLeaseRightOfUseAssetGross" name="FinanceLeaseRightOfUseAssetGross" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element abstract="true" id="bmrc_FinanceLeasesAbstract" name="FinanceLeasesAbstract" nillable="true" substitutionGroup="xbrli:item" type="xbrli:stringItemType" 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_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_ImpairedFinancingReceivableInterestIncomeCashBasisMethodNumberOfLoans" name="ImpairedFinancingReceivableInterestIncomeCashBasisMethodNumberOfLoans" nillable="true" substitutionGroup="xbrli:item" type="xbrli:integerItemType" 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 id="bmrc_LesseeOperatingLeaseRemainingLeaseTerm" name="LesseeOperatingLeaseRemainingLeaseTerm" nillable="true" substitutionGroup="xbrli:item" type="xbrli:durationItemType" xbrli:periodType="duration" />
  <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_LossContingencyDamagesSoughtAmendedValue" name="LossContingencyDamagesSoughtAmendedValue" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="duration" />
  <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 abstract="true" id="bmrc_MerchantInterchangeFeesNetMember" name="MerchantInterchangeFeesNetMember" nillable="true" substitutionGroup="xbrli:item" type="nonnum:domainItemType" 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 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_OperatingLeaseAndFinanceLeaseLiability" name="OperatingLeaseAndFinanceLeaseLiability" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element id="bmrc_OperatingLeaseAndFinanceLeaseRightOfUseAsset" name="OperatingLeaseAndFinanceLeaseRightOfUseAsset" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element abstract="true" id="bmrc_OperatingLeasesAbstract" name="OperatingLeasesAbstract" nillable="true" substitutionGroup="xbrli:item" type="xbrli:stringItemType" xbrli:periodType="duration" />
  <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 abstract="true" id="bmrc_PledgedToStateOfCaliforniaMember" name="PledgedToStateOfCaliforniaMember" nillable="true" substitutionGroup="xbrli:item" type="nonnum:domainItemType" xbrli:periodType="duration" />
  <xsd:element abstract="true" id="bmrc_PrivatelyIssuedCertificatesAndObligationsMember" name="PrivatelyIssuedCertificatesAndObligationsMember" 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_RightOfUseOperatingLeaseAssetsReclassifiedFromOtherLiabilities" name="RightOfUseOperatingLeaseAssetsReclassifiedFromOtherLiabilities" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" 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_TroubledDebtRestructuringLoansAcquired" name="TroubledDebtRestructuringLoansAcquired" nillable="true" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType" xbrli:balance="debit" xbrli:periodType="instant" />
  <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>
