<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <link:roleRef roleURI="http://capitalbankmd.com/role/CashAndCashEquivalents" xlink:href="cbnk-20200930.xsd#CashAndCashEquivalents" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedBalanceSheets" xlink:href="cbnk-20200930.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="cbnk-20200930.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsOfCashFlowsUnaudited" xlink:href="cbnk-20200930.xsd#ConsolidatedStatementsOfCashFlowsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsOfChangesInShareholdersEquityUnaudited" xlink:href="cbnk-20200930.xsd#ConsolidatedStatementsOfChangesInShareholdersEquityUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsOfComprehensiveIncomeUnaudited" xlink:href="cbnk-20200930.xsd#ConsolidatedStatementsOfComprehensiveIncomeUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsOfIncomeUnaudited" xlink:href="cbnk-20200930.xsd#ConsolidatedStatementsOfIncomeUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsOfIncomeUnauditedParenthetical" xlink:href="cbnk-20200930.xsd#ConsolidatedStatementsOfIncomeUnauditedParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/CoverPage" xlink:href="cbnk-20200930.xsd#CoverPage" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/DerivativeFinancialInstruments" xlink:href="cbnk-20200930.xsd#DerivativeFinancialInstruments" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/DerivativeFinancialInstrumentsDetails" xlink:href="cbnk-20200930.xsd#DerivativeFinancialInstrumentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/DerivativeFinancialInstrumentsTables" xlink:href="cbnk-20200930.xsd#DerivativeFinancialInstrumentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValue" xlink:href="cbnk-20200930.xsd#FairValue" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValueFinancialInstrumentsCarryingAmountFvAndPlacementDetails" xlink:href="cbnk-20200930.xsd#FairValueFinancialInstrumentsCarryingAmountFvAndPlacementDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValueFinancialInstrumentsMeasuredAtFvOnRecurringBasisDetails" xlink:href="cbnk-20200930.xsd#FairValueFinancialInstrumentsMeasuredAtFvOnRecurringBasisDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValueImpairedLoansAndForeclosedRealEstateDetails" xlink:href="cbnk-20200930.xsd#FairValueImpairedLoansAndForeclosedRealEstateDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValueLoansHeldForSaleDetails" xlink:href="cbnk-20200930.xsd#FairValueLoansHeldForSaleDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValueTables" xlink:href="cbnk-20200930.xsd#FairValueTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecurities" xlink:href="cbnk-20200930.xsd#InvestmentSecurities" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesAmortizedCostToEstimatedFairValueDetails" xlink:href="cbnk-20200930.xsd#InvestmentSecuritiesAmortizedCostToEstimatedFairValueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesByMaturityDatesDetails" xlink:href="cbnk-20200930.xsd#InvestmentSecuritiesByMaturityDatesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesPledgedSecuritiesDetails" xlink:href="cbnk-20200930.xsd#InvestmentSecuritiesPledgedSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesTables" xlink:href="cbnk-20200930.xsd#InvestmentSecuritiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesUnrealizedLossesDetails" xlink:href="cbnk-20200930.xsd#InvestmentSecuritiesUnrealizedLossesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/Leases" xlink:href="cbnk-20200930.xsd#Leases" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LeasesAdditionalInformationDetails" xlink:href="cbnk-20200930.xsd#LeasesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LeasesAssetsAndLiabilitiesAndLeasePaymentObligationsDetails" xlink:href="cbnk-20200930.xsd#LeasesAssetsAndLiabilitiesAndLeasePaymentObligationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LeasesTables" xlink:href="cbnk-20200930.xsd#LeasesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentation" xlink:href="cbnk-20200930.xsd#NatureOfBusinessAndBasisOfPresentation" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationBasisOfPresentationDetails" xlink:href="cbnk-20200930.xsd#NatureOfBusinessAndBasisOfPresentationBasisOfPresentationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationComprehensiveIncomeDetails" xlink:href="cbnk-20200930.xsd#NatureOfBusinessAndBasisOfPresentationComprehensiveIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationEarningsPerShareDetails" xlink:href="cbnk-20200930.xsd#NatureOfBusinessAndBasisOfPresentationEarningsPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationLeasesDetails" xlink:href="cbnk-20200930.xsd#NatureOfBusinessAndBasisOfPresentationLeasesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationPolicies" xlink:href="cbnk-20200930.xsd#NatureOfBusinessAndBasisOfPresentationPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationPremisesAndEquipmentDetails" xlink:href="cbnk-20200930.xsd#NatureOfBusinessAndBasisOfPresentationPremisesAndEquipmentDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationSbaPaycheckProtectionProgramDetails" xlink:href="cbnk-20200930.xsd#NatureOfBusinessAndBasisOfPresentationSbaPaycheckProtectionProgramDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationTables" xlink:href="cbnk-20200930.xsd#NatureOfBusinessAndBasisOfPresentationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivable" xlink:href="cbnk-20200930.xsd#PortfolioLoansReceivable" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivableAccretableDiscountDetails" xlink:href="cbnk-20200930.xsd#PortfolioLoansReceivableAccretableDiscountDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivableActivityInAllowanceForLoanLossesDetails" xlink:href="cbnk-20200930.xsd#PortfolioLoansReceivableActivityInAllowanceForLoanLossesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivableAllowanceForLoanLossesDetails" xlink:href="cbnk-20200930.xsd#PortfolioLoansReceivableAllowanceForLoanLossesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivableClassificationOfLoansDetails" xlink:href="cbnk-20200930.xsd#PortfolioLoansReceivableClassificationOfLoansDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivableCreditQualityIndicatorsDetails" xlink:href="cbnk-20200930.xsd#PortfolioLoansReceivableCreditQualityIndicatorsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivableImpairedLoansDetails" xlink:href="cbnk-20200930.xsd#PortfolioLoansReceivableImpairedLoansDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivableOutstandingLoanCommitmentsDetails" xlink:href="cbnk-20200930.xsd#PortfolioLoansReceivableOutstandingLoanCommitmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivablePastDueFinancingReceivableDetails" xlink:href="cbnk-20200930.xsd#PortfolioLoansReceivablePastDueFinancingReceivableDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivableTables" xlink:href="cbnk-20200930.xsd#PortfolioLoansReceivableTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/PortfolioLoansReceivableTroubleDebtRestructuringDetails" xlink:href="cbnk-20200930.xsd#PortfolioLoansReceivableTroubleDebtRestructuringDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/SbaPppLoansReceivable" xlink:href="cbnk-20200930.xsd#SbaPppLoansReceivable" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/SbaPppLoansReceivableDetails" xlink:href="cbnk-20200930.xsd#SbaPppLoansReceivableDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/Segments" xlink:href="cbnk-20200930.xsd#Segments" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/SegmentsDetails" xlink:href="cbnk-20200930.xsd#SegmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/SegmentsTables" xlink:href="cbnk-20200930.xsd#SegmentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/SubsequentEvents" xlink:href="cbnk-20200930.xsd#SubsequentEvents" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" xlink:type="simple" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/CashAndCashEquivalents" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/ConsolidatedBalanceSheets" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsOfCashFlowsUnaudited" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsOfChangesInShareholdersEquityUnaudited" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_86987B673B3DC1B44B858F3E8CFC6C83" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_F0FCFC71F7D2532476CC8F3E8CF930F7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_86987B673B3DC1B44B858F3E8CFC6C83" xlink:to="loc_us-gaap_StatementTable_F0FCFC71F7D2532476CC8F3E8CF930F7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_CumulativeEffectPeriodOfAdoptionAxis" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_56FA78528AD67BF1C3378F3E8CFA9480" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_F0FCFC71F7D2532476CC8F3E8CF930F7" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_56FA78528AD67BF1C3378F3E8CFA9480" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_F9D8032E56D55F69392F8F3E8CFACCB7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_56FA78528AD67BF1C3378F3E8CFA9480" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_F9D8032E56D55F69392F8F3E8CFACCB7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_F9D8032E56D55F69392F8F3E8CFACCB7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_56FA78528AD67BF1C3378F3E8CFA9480" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_F9D8032E56D55F69392F8F3E8CFACCB7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember_5C907B9877F17E0E2A638F3E8CFA78CD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_F9D8032E56D55F69392F8F3E8CFACCB7" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember_5C907B9877F17E0E2A638F3E8CFA78CD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_2C87C77D78B0AC8FE5528F3E8CFAD36D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_F0FCFC71F7D2532476CC8F3E8CF930F7" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_2C87C77D78B0AC8FE5528F3E8CFAD36D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_3565A32C658D596C76FF8F3E8CFBC5B5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_2C87C77D78B0AC8FE5528F3E8CFAD36D" xlink:to="loc_us-gaap_EquityComponentDomain_3565A32C658D596C76FF8F3E8CFBC5B5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_3565A32C658D596C76FF8F3E8CFBC5B5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_2C87C77D78B0AC8FE5528F3E8CFAD36D" xlink:to="loc_us-gaap_EquityComponentDomain_3565A32C658D596C76FF8F3E8CFBC5B5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_C8F9C20375D44A5B5ADA8F3E8CFB9BA2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_3565A32C658D596C76FF8F3E8CFBC5B5" xlink:to="loc_us-gaap_CommonStockMember_C8F9C20375D44A5B5ADA8F3E8CFB9BA2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_5B7F5E2C8D695B9AE57D8F3E8CFB3CC1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_3565A32C658D596C76FF8F3E8CFBC5B5" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_5B7F5E2C8D695B9AE57D8F3E8CFB3CC1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_C68FB145B9917F6BEE338F3E8CFBC3F6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_3565A32C658D596C76FF8F3E8CFBC5B5" xlink:to="loc_us-gaap_RetainedEarningsMember_C68FB145B9917F6BEE338F3E8CFBC3F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_96C908704C6933B54FB38F3E8CFB33A2" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_3565A32C658D596C76FF8F3E8CFBC5B5" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_96C908704C6933B54FB38F3E8CFB33A2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_2A72D8AA2424FBAEFD818F3E8CFC40C2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_86987B673B3DC1B44B858F3E8CFC6C83" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_2A72D8AA2424FBAEFD818F3E8CFC40C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_5604E7C31194AB29DDC08F3E8CFCD12B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_2A72D8AA2424FBAEFD818F3E8CFC40C2" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_5604E7C31194AB29DDC08F3E8CFCD12B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_62106AF8F3502A4C1D148F3E8CFC4B13" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_2A72D8AA2424FBAEFD818F3E8CFC40C2" xlink:to="loc_us-gaap_StockholdersEquity_62106AF8F3502A4C1D148F3E8CFC4B13" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountingStandardsUpdateExtensibleList" xlink:label="loc_us-gaap_AccountingStandardsUpdateExtensibleList_0DFE6EEE435874F9FB9D8F3E8CFDE4AD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_2A72D8AA2424FBAEFD818F3E8CFC40C2" xlink:to="loc_us-gaap_AccountingStandardsUpdateExtensibleList_0DFE6EEE435874F9FB9D8F3E8CFDE4AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_80B5CA4172FD60A6AF918F3E8CFD813C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_2A72D8AA2424FBAEFD818F3E8CFC40C2" xlink:to="loc_us-gaap_NetIncomeLoss_80B5CA4172FD60A6AF918F3E8CFD813C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_FFEE503D8F6273EED5288F3E8CFD3D42" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_2A72D8AA2424FBAEFD818F3E8CFC40C2" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_FFEE503D8F6273EED5288F3E8CFD3D42" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_E75E09EC75C2200D13608F3E8CFDAD8F" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_2A72D8AA2424FBAEFD818F3E8CFC40C2" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_E75E09EC75C2200D13608F3E8CFDAD8F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_938081C99A6B391492B78F3E8CFDF625" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_2A72D8AA2424FBAEFD818F3E8CFC40C2" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_938081C99A6B391492B78F3E8CFDF625" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_5B336ABB0657C04124E98F3E8CFDECA5" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_2A72D8AA2424FBAEFD818F3E8CFC40C2" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_5B336ABB0657C04124E98F3E8CFDECA5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_52F952BB6C43ECB3A06A8F3E8CFEEAA7" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_2A72D8AA2424FBAEFD818F3E8CFC40C2" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_52F952BB6C43ECB3A06A8F3E8CFEEAA7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_75F7B7F91909FB801B908F3E8CFE0099" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_2A72D8AA2424FBAEFD818F3E8CFC40C2" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_75F7B7F91909FB801B908F3E8CFE0099" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_33D36579E8152778993A8F3E8CFE3D6C" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_2A72D8AA2424FBAEFD818F3E8CFC40C2" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_33D36579E8152778993A8F3E8CFE3D6C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodShares" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_BCA466DE5DBC4CF492818F3E8CFEB84E" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_2A72D8AA2424FBAEFD818F3E8CFC40C2" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_BCA466DE5DBC4CF492818F3E8CFEB84E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodValue" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_E16E85B8E8350B9A5E938F3E8CFEEEA1" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_2A72D8AA2424FBAEFD818F3E8CFC40C2" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_E16E85B8E8350B9A5E938F3E8CFEEEA1" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsOfComprehensiveIncomeUnaudited" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsOfIncomeUnaudited" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_701289036139E9CC77FA8F2F1466D666" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_253E1DC28B1810D459F38F2F1465CFDB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_701289036139E9CC77FA8F2F1466D666" xlink:to="loc_us-gaap_StatementTable_253E1DC28B1810D459F38F2F1465CFDB" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis_BCF2B6FF6439EE140F378F2F14656F29" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_253E1DC28B1810D459F38F2F1465CFDB" xlink:to="loc_srt_ProductOrServiceAxis_BCF2B6FF6439EE140F378F2F14656F29" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_6728A244CCFF673EBC798F2F1465FFF5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_BCF2B6FF6439EE140F378F2F14656F29" xlink:to="loc_srt_ProductsAndServicesDomain_6728A244CCFF673EBC798F2F1465FFF5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_6728A244CCFF673EBC798F2F1465FFF5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_BCF2B6FF6439EE140F378F2F14656F29" xlink:to="loc_srt_ProductsAndServicesDomain_6728A244CCFF673EBC798F2F1465FFF5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BankServicingMember" xlink:label="loc_us-gaap_BankServicingMember_94F8208FC2733825D4F28F2F14669052" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_6728A244CCFF673EBC798F2F1465FFF5" xlink:to="loc_us-gaap_BankServicingMember_94F8208FC2733825D4F28F2F14669052" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CreditCardMember" xlink:label="loc_us-gaap_CreditCardMember_3DF405A4CFAE3208D9E78F2F1466E574" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_6728A244CCFF673EBC798F2F1465FFF5" xlink:to="loc_us-gaap_CreditCardMember_3DF405A4CFAE3208D9E78F2F1466E574" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MortgageBankingMember" xlink:label="loc_us-gaap_MortgageBankingMember_4B7382B8FD995A7FDC3D8F2F14660B87" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_6728A244CCFF673EBC798F2F1465FFF5" xlink:to="loc_us-gaap_MortgageBankingMember_4B7382B8FD995A7FDC3D8F2F14660B87" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestAndDividendIncomeOperatingAbstract" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_367C0EC292ED1A8FC44D8F2F14664A36" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_701289036139E9CC77FA8F2F1466D666" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_367C0EC292ED1A8FC44D8F2F14664A36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeases" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_C423FFE65F0DB771311B8F2F146798F5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_367C0EC292ED1A8FC44D8F2F14664A36" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_C423FFE65F0DB771311B8F2F146798F5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestIncomeDebtSecuritiesAvailableForSaleOperating" xlink:label="loc_us-gaap_InterestIncomeDebtSecuritiesAvailableForSaleOperating_3D840F854CA22813253C8F2F14672931" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_367C0EC292ED1A8FC44D8F2F14664A36" xlink:to="loc_us-gaap_InterestIncomeDebtSecuritiesAvailableForSaleOperating_3D840F854CA22813253C8F2F14672931" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestIncomeFederalFundsSold" xlink:label="loc_us-gaap_InterestIncomeFederalFundsSold_19DC4E53A55CC8F9FE148F2F146716B6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_367C0EC292ED1A8FC44D8F2F14664A36" xlink:to="loc_us-gaap_InterestIncomeFederalFundsSold_19DC4E53A55CC8F9FE148F2F146716B6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_3D33DF0B23DA5C5C18D28F2F146862F0" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_367C0EC292ED1A8FC44D8F2F14664A36" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_3D33DF0B23DA5C5C18D28F2F146862F0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestExpenseAbstract" xlink:label="loc_us-gaap_InterestExpenseAbstract_AB164F741E64B3DE42CA8F2F14687134" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_701289036139E9CC77FA8F2F1466D666" xlink:to="loc_us-gaap_InterestExpenseAbstract_AB164F741E64B3DE42CA8F2F14687134" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestExpenseDeposits" xlink:label="loc_us-gaap_InterestExpenseDeposits_11DDB21F7606EC1400038F2F1468EF5D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestExpenseAbstract_AB164F741E64B3DE42CA8F2F14687134" xlink:to="loc_us-gaap_InterestExpenseDeposits_11DDB21F7606EC1400038F2F1468EF5D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestExpenseBorrowings" xlink:label="loc_us-gaap_InterestExpenseBorrowings_F9039FFD6A8DF98C1FC68F2F146896C3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestExpenseAbstract_AB164F741E64B3DE42CA8F2F14687134" xlink:to="loc_us-gaap_InterestExpenseBorrowings_F9039FFD6A8DF98C1FC68F2F146896C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_3C67EBEE43CB2380CD958F2F14685F87" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestExpenseAbstract_AB164F741E64B3DE42CA8F2F14687134" xlink:to="loc_us-gaap_InterestExpense_3C67EBEE43CB2380CD958F2F14685F87" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestIncomeExpenseNet" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_CEDE70415F1B2A16669D8F2F146994AE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_701289036139E9CC77FA8F2F1466D666" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_CEDE70415F1B2A16669D8F2F146994AE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProvisionForLoanLossesExpensed" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_6E716719EC9AED25BCFD8F2F14695CBF" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_701289036139E9CC77FA8F2F1466D666" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_6E716719EC9AED25BCFD8F2F14695CBF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_11A30FBDD759F0493C518F2F146989E7" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_701289036139E9CC77FA8F2F1466D666" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_11A30FBDD759F0493C518F2F146989E7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NoninterestIncomeAbstract" xlink:label="loc_us-gaap_NoninterestIncomeAbstract_0A6CD0A74DB509AA5C728F2F14697D22" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_701289036139E9CC77FA8F2F1466D666" xlink:to="loc_us-gaap_NoninterestIncomeAbstract_0A6CD0A74DB509AA5C728F2F14697D22" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_97E638A5804783840D148F2F14692E6E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_0A6CD0A74DB509AA5C728F2F14697D22" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_97E638A5804783840D148F2F14692E6E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_C2B275187816760968FA8F2F14690AF1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_0A6CD0A74DB509AA5C728F2F14697D22" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_C2B275187816760968FA8F2F14690AF1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_D49120C6A2BB9C6CC78D8F2F146A70BC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_0A6CD0A74DB509AA5C728F2F14697D22" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_D49120C6A2BB9C6CC78D8F2F146A70BC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NoninterestIncome" xlink:label="loc_us-gaap_NoninterestIncome_4C8602CBDB080C3306B08F2F146A4E93" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_0A6CD0A74DB509AA5C728F2F14697D22" xlink:to="loc_us-gaap_NoninterestIncome_4C8602CBDB080C3306B08F2F146A4E93" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NoninterestExpenseAbstract" xlink:label="loc_us-gaap_NoninterestExpenseAbstract_709212BC9DF25593AFBD8F2F146A684A" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_701289036139E9CC77FA8F2F1466D666" xlink:to="loc_us-gaap_NoninterestExpenseAbstract_709212BC9DF25593AFBD8F2F146A684A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LaborAndRelatedExpense" xlink:label="loc_us-gaap_LaborAndRelatedExpense_BFBD643E17BB403EF4E88F2F146A20E1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_709212BC9DF25593AFBD8F2F146A684A" xlink:to="loc_us-gaap_LaborAndRelatedExpense_BFBD643E17BB403EF4E88F2F146A20E1" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_OccupancyAndEquipmentExpense" xlink:label="loc_cbnk_OccupancyAndEquipmentExpense_5A9784C457E117702DCA8F2F146A9780" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_709212BC9DF25593AFBD8F2F146A684A" xlink:to="loc_cbnk_OccupancyAndEquipmentExpense_5A9784C457E117702DCA8F2F146A9780" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProfessionalFees" xlink:label="loc_us-gaap_ProfessionalFees_7C8115178F9F711127D18F2F146B1BD3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_709212BC9DF25593AFBD8F2F146A684A" xlink:to="loc_us-gaap_ProfessionalFees_7C8115178F9F711127D18F2F146B1BD3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InformationTechnologyAndDataProcessing" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing_DB066B53D9F4408D08498F2F146BF394" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_709212BC9DF25593AFBD8F2F146A684A" xlink:to="loc_us-gaap_InformationTechnologyAndDataProcessing_DB066B53D9F4408D08498F2F146BF394" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdvertisingExpense" xlink:label="loc_us-gaap_AdvertisingExpense_341C0DC316A3B6C794368F2F146B0977" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_709212BC9DF25593AFBD8F2F146A684A" xlink:to="loc_us-gaap_AdvertisingExpense_341C0DC316A3B6C794368F2F146B0977" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoanProcessingFee" xlink:label="loc_us-gaap_LoanProcessingFee_5DCB737DF7E2B8F944698F2F146BE058" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_709212BC9DF25593AFBD8F2F146A684A" xlink:to="loc_us-gaap_LoanProcessingFee_5DCB737DF7E2B8F944698F2F146BE058" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_OtherRealEstateExpensesNet" xlink:label="loc_cbnk_OtherRealEstateExpensesNet_F1D14B9DD4D22609A3818F2F146BFAB3" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_709212BC9DF25593AFBD8F2F146A684A" xlink:to="loc_cbnk_OtherRealEstateExpensesNet_F1D14B9DD4D22609A3818F2F146BFAB3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherNoninterestExpense" xlink:label="loc_us-gaap_OtherNoninterestExpense_0D9E47A0D649001BE68E8F2F146B26F6" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_709212BC9DF25593AFBD8F2F146A684A" xlink:to="loc_us-gaap_OtherNoninterestExpense_0D9E47A0D649001BE68E8F2F146B26F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NoninterestExpense" xlink:label="loc_us-gaap_NoninterestExpense_8E5F8B979829DF28E3EA8F2F146C8B23" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_709212BC9DF25593AFBD8F2F146A684A" xlink:to="loc_us-gaap_NoninterestExpense_8E5F8B979829DF28E3EA8F2F146C8B23" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_36EE247D2650040D38AD8F2F146CA3F2" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_701289036139E9CC77FA8F2F1466D666" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_36EE247D2650040D38AD8F2F146CA3F2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_DA9461620C15D0F95B4C8F2F146C8D1A" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_701289036139E9CC77FA8F2F1466D666" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_DA9461620C15D0F95B4C8F2F146C8D1A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_DE0872F32EA34D95EAC88F2F146C40C3" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_701289036139E9CC77FA8F2F1466D666" xlink:to="loc_us-gaap_NetIncomeLoss_DE0872F32EA34D95EAC88F2F146C40C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EarningsPerShareBasic" xlink:label="loc_us-gaap_EarningsPerShareBasic_EEFF9B0EDA03D20D8D628F2F146CBC14" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_701289036139E9CC77FA8F2F1466D666" xlink:to="loc_us-gaap_EarningsPerShareBasic_EEFF9B0EDA03D20D8D628F2F146CBC14" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="loc_us-gaap_EarningsPerShareDiluted_B7B7CA04010EFF81F6758F2F146C42DB" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_701289036139E9CC77FA8F2F1466D666" xlink:to="loc_us-gaap_EarningsPerShareDiluted_B7B7CA04010EFF81F6758F2F146C42DB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_8A270F9D00547D901D9D8F2F146C12DE" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_701289036139E9CC77FA8F2F1466D666" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_8A270F9D00547D901D9D8F2F146C12DE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_25F417217E02638301948F2F146DDC17" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_8A270F9D00547D901D9D8F2F146C12DE" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_25F417217E02638301948F2F146DDC17" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_578ABE9EB3492ECAF2288F2F146D2CDC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_8A270F9D00547D901D9D8F2F146C12DE" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_578ABE9EB3492ECAF2288F2F146D2CDC" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/ConsolidatedStatementsOfIncomeUnauditedParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/CoverPage" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/DerivativeFinancialInstruments" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/DerivativeFinancialInstrumentsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DerivativesFairValueLineItems" xlink:label="loc_us-gaap_DerivativesFairValueLineItems_C0EE6418814F2A38916FBF58C4B5CE12" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable" xlink:label="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_C7DE0FA052CBB9DA506DBF58C4B2FD7A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_C0EE6418814F2A38916FBF58C4B5CE12" xlink:to="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_C7DE0FA052CBB9DA506DBF58C4B2FD7A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_HedgingDesignationAxis" xlink:label="loc_us-gaap_HedgingDesignationAxis_FC26409A1A1B4F2E86E8BF58C4B377B9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_C7DE0FA052CBB9DA506DBF58C4B2FD7A" xlink:to="loc_us-gaap_HedgingDesignationAxis_FC26409A1A1B4F2E86E8BF58C4B377B9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_C145B367C73BE15741ABBF58C4B3D954_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_FC26409A1A1B4F2E86E8BF58C4B377B9" xlink:to="loc_us-gaap_HedgingDesignationDomain_C145B367C73BE15741ABBF58C4B3D954_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_C145B367C73BE15741ABBF58C4B3D954" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_FC26409A1A1B4F2E86E8BF58C4B377B9" xlink:to="loc_us-gaap_HedgingDesignationDomain_C145B367C73BE15741ABBF58C4B3D954" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DesignatedAsHedgingInstrumentMember" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_9B0DDE0D6A0CF60E88DEBF58C4B34AD9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_C145B367C73BE15741ABBF58C4B3D954" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_9B0DDE0D6A0CF60E88DEBF58C4B34AD9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_9B4E88040EA007EC48DEBF58C4B47277" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_C7DE0FA052CBB9DA506DBF58C4B2FD7A" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_9B4E88040EA007EC48DEBF58C4B47277" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_12A94CA4D5103775BB60BF58C4B401C7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_9B4E88040EA007EC48DEBF58C4B47277" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_12A94CA4D5103775BB60BF58C4B401C7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_12A94CA4D5103775BB60BF58C4B401C7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_9B4E88040EA007EC48DEBF58C4B47277" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_12A94CA4D5103775BB60BF58C4B401C7" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_OpenForwardDeliverySalesAgreementMember" xlink:label="loc_cbnk_OpenForwardDeliverySalesAgreementMember_8E6832043BA92BA255DFBF58C4B4A70D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_12A94CA4D5103775BB60BF58C4B401C7" xlink:to="loc_cbnk_OpenForwardDeliverySalesAgreementMember_8E6832043BA92BA255DFBF58C4B4A70D" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_OpenMandatoryDeliveryCommitmentsMember" xlink:label="loc_cbnk_OpenMandatoryDeliveryCommitmentsMember_F8913862F5DE54126BAEBF58C4B4B610" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_12A94CA4D5103775BB60BF58C4B401C7" xlink:to="loc_cbnk_OpenMandatoryDeliveryCommitmentsMember_F8913862F5DE54126BAEBF58C4B4B610" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestRateLockCommitmentsMember" xlink:label="loc_us-gaap_InterestRateLockCommitmentsMember_BDCBB4D8C84AB26F307DBF58C4B460EC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_12A94CA4D5103775BB60BF58C4B401C7" xlink:to="loc_us-gaap_InterestRateLockCommitmentsMember_BDCBB4D8C84AB26F307DBF58C4B460EC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DerivativeNotionalAmount" xlink:label="loc_us-gaap_DerivativeNotionalAmount_A67FB5584C74B53F15FFBF58C4B55F74" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_C0EE6418814F2A38916FBF58C4B5CE12" xlink:to="loc_us-gaap_DerivativeNotionalAmount_A67FB5584C74B53F15FFBF58C4B55F74" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DerivativeLiabilities" xlink:label="loc_us-gaap_DerivativeLiabilities_CE33EC811C72E3205CDDBF58C4B58314" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_C0EE6418814F2A38916FBF58C4B5CE12" xlink:to="loc_us-gaap_DerivativeLiabilities_CE33EC811C72E3205CDDBF58C4B58314" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_3B3624CCCA328156A9B7BF58C4B5070E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_C0EE6418814F2A38916FBF58C4B5CE12" xlink:to="loc_us-gaap_DerivativeAssets_3B3624CCCA328156A9B7BF58C4B5070E" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/DerivativeFinancialInstrumentsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/FairValue" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/FairValueFinancialInstrumentsCarryingAmountFvAndPlacementDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_87DD14A756E906B822A6C9F68FCC8C3F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_2ACA22186D00B225B326C9F68FC401F2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_87DD14A756E906B822A6C9F68FCC8C3F" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_2ACA22186D00B225B326C9F68FC401F2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_F7DC2ED79B6ADF685BACC9F68FC4D664" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_2ACA22186D00B225B326C9F68FC401F2" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_F7DC2ED79B6ADF685BACC9F68FC4D664" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_AC13FFC8164FC4E38255C9F68FC59BA8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_F7DC2ED79B6ADF685BACC9F68FC4D664" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_AC13FFC8164FC4E38255C9F68FC59BA8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_DC509E3C565DD3D85984C9F68FC5D82D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_F7DC2ED79B6ADF685BACC9F68FC4D664" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_DC509E3C565DD3D85984C9F68FC5D82D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_AC13FFC8164FC4E38255C9F68FC59BA8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_DC509E3C565DD3D85984C9F68FC5D82D" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_AC13FFC8164FC4E38255C9F68FC59BA8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember" xlink:label="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_D04327D61AFD4C76F611C9F68FC51135" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_DC509E3C565DD3D85984C9F68FC5D82D" xlink:to="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_D04327D61AFD4C76F611C9F68FC51135" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_8A17E25706FFCF41A146C9F68FC5B281" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_DC509E3C565DD3D85984C9F68FC5D82D" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_8A17E25706FFCF41A146C9F68FC5B281" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_1C7DD39F889455AEFA00C9F68FC6BA1C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_2ACA22186D00B225B326C9F68FC401F2" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_1C7DD39F889455AEFA00C9F68FC6BA1C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_ADC383C658B08CEADB4CC9F68FC65E7B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_1C7DD39F889455AEFA00C9F68FC6BA1C" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_ADC383C658B08CEADB4CC9F68FC65E7B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_ADC383C658B08CEADB4CC9F68FC65E7B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_1C7DD39F889455AEFA00C9F68FC6BA1C" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_ADC383C658B08CEADB4CC9F68FC65E7B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_7FA7AAFE4E76B6BBE6EEC9F68FC62143" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_ADC383C658B08CEADB4CC9F68FC65E7B" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_7FA7AAFE4E76B6BBE6EEC9F68FC62143" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_AC675FDC9FB6ED2A535FC9F68FC6144B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_ADC383C658B08CEADB4CC9F68FC65E7B" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_AC675FDC9FB6ED2A535FC9F68FC6144B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:label="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_538E79BEE26458CFF594C9F68FCC9AF0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_87DD14A756E906B822A6C9F68FCC8C3F" xlink:to="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_538E79BEE26458CFF594C9F68FCC9AF0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CashAndDueFromBanks" xlink:label="loc_us-gaap_CashAndDueFromBanks_56CC970CC70B01DA3C48C9F68FCC38B0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_538E79BEE26458CFF594C9F68FCC9AF0" xlink:to="loc_us-gaap_CashAndDueFromBanks_56CC970CC70B01DA3C48C9F68FCC38B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestBearingDepositsInBanks" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_B00D54038241E49089A4C9F68FCDFADF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_538E79BEE26458CFF594C9F68FCC9AF0" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_B00D54038241E49089A4C9F68FCDFADF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FederalFundsSold" xlink:label="loc_us-gaap_FederalFundsSold_F388B6BC8F5E9AAC42ACC9F68FCD0FB9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_538E79BEE26458CFF594C9F68FCC9AF0" xlink:to="loc_us-gaap_FederalFundsSold_F388B6BC8F5E9AAC42ACC9F68FCD0FB9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansReceivableFairValueDisclosure" xlink:label="loc_us-gaap_LoansReceivableFairValueDisclosure_3022FA78E3B093A5AD32C9F68FCDE9A9" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_538E79BEE26458CFF594C9F68FCC9AF0" xlink:to="loc_us-gaap_LoansReceivableFairValueDisclosure_3022FA78E3B093A5AD32C9F68FCDE9A9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestrictedInvestmentsAtFairValue" xlink:label="loc_us-gaap_RestrictedInvestmentsAtFairValue_8D180DF9E7FA5AA64022C9F68FCD0E05" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_538E79BEE26458CFF594C9F68FCC9AF0" xlink:to="loc_us-gaap_RestrictedInvestmentsAtFairValue_8D180DF9E7FA5AA64022C9F68FCD0E05" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" xlink:label="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_1A2DDDBD706A738B2DFCC9F68FCD42E5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_87DD14A756E906B822A6C9F68FCC8C3F" xlink:to="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_1A2DDDBD706A738B2DFCC9F68FCD42E5" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_NoninterestBearingDepositLiabilitiesFairValueDisclosure" xlink:label="loc_cbnk_NoninterestBearingDepositLiabilitiesFairValueDisclosure_C78C61737A578C3E401CC9F68FCE6396" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_1A2DDDBD706A738B2DFCC9F68FCD42E5" xlink:to="loc_cbnk_NoninterestBearingDepositLiabilitiesFairValueDisclosure_C78C61737A578C3E401CC9F68FCE6396" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_InterestBearingDepositLiabilitiesFairValueDisclosure" xlink:label="loc_cbnk_InterestBearingDepositLiabilitiesFairValueDisclosure_B8D9AC2C745DA09CB441C9F68FCEB83E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_1A2DDDBD706A738B2DFCC9F68FCD42E5" xlink:to="loc_cbnk_InterestBearingDepositLiabilitiesFairValueDisclosure_B8D9AC2C745DA09CB441C9F68FCEB83E" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_LongTermFederalHomeLoanBankAdvancesAndOtherBorrowingsFairValueDisclosure" xlink:label="loc_cbnk_LongTermFederalHomeLoanBankAdvancesAndOtherBorrowingsFairValueDisclosure_E5A28B3BFE0434F147C9C9F68FCE7371" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_1A2DDDBD706A738B2DFCC9F68FCD42E5" xlink:to="loc_cbnk_LongTermFederalHomeLoanBankAdvancesAndOtherBorrowingsFairValueDisclosure_E5A28B3BFE0434F147C9C9F68FCE7371" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/FairValueFinancialInstrumentsMeasuredAtFvOnRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_F9B77B26293EC1F2411FBF58C479D199" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_FCACAB742BA723B3E2F0BF58C475A4B5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_F9B77B26293EC1F2411FBF58C479D199" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_FCACAB742BA723B3E2F0BF58C475A4B5" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_FE0CDA491803848215C5BF58C47622C4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_FCACAB742BA723B3E2F0BF58C475A4B5" xlink:to="loc_us-gaap_FinancialInstrumentAxis_FE0CDA491803848215C5BF58C47622C4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_D4881CCF8954B178CCB1BF58C4769FC9_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_FE0CDA491803848215C5BF58C47622C4" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_D4881CCF8954B178CCB1BF58C4769FC9_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_D4881CCF8954B178CCB1BF58C4769FC9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_FE0CDA491803848215C5BF58C47622C4" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_D4881CCF8954B178CCB1BF58C4769FC9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_2CEFAF307E88B0D1C887BF58C476CEE5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_D4881CCF8954B178CCB1BF58C4769FC9" xlink:to="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_2CEFAF307E88B0D1C887BF58C476CEE5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MunicipalBondsMember" xlink:label="loc_us-gaap_MunicipalBondsMember_C3EEE7447D1730756430BF58C4770C18" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_D4881CCF8954B178CCB1BF58C4769FC9" xlink:to="loc_us-gaap_MunicipalBondsMember_C3EEE7447D1730756430BF58C4770C18" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_87B30974F6F230965AAEBF58C477B90C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_D4881CCF8954B178CCB1BF58C4769FC9" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_87B30974F6F230965AAEBF58C477B90C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_MortgageBackedSecuritiesMember_C615A8068D0C0AB3CBDEBF58C4778C5F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_D4881CCF8954B178CCB1BF58C4769FC9" xlink:to="loc_us-gaap_MortgageBackedSecuritiesMember_C615A8068D0C0AB3CBDEBF58C4778C5F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_DD7E968DE61EE78E765BBF58C47710AA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_FCACAB742BA723B3E2F0BF58C475A4B5" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_DD7E968DE61EE78E765BBF58C47710AA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_B1A7A45B0970943A13B3BF58C477E981_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_DD7E968DE61EE78E765BBF58C47710AA" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_B1A7A45B0970943A13B3BF58C477E981_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_B1A7A45B0970943A13B3BF58C477E981" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_DD7E968DE61EE78E765BBF58C47710AA" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_B1A7A45B0970943A13B3BF58C477E981" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_29BF506B76ADF5766260BF58C477CEDA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_B1A7A45B0970943A13B3BF58C477E981" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_29BF506B76ADF5766260BF58C477CEDA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7DFB6382098271081073BF58C4784E48" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_FCACAB742BA723B3E2F0BF58C475A4B5" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7DFB6382098271081073BF58C4784E48" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_237715134220D0C7C83DBF58C478EFFF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7DFB6382098271081073BF58C4784E48" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_237715134220D0C7C83DBF58C478EFFF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_237715134220D0C7C83DBF58C478EFFF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7DFB6382098271081073BF58C4784E48" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_237715134220D0C7C83DBF58C478EFFF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_C2A410637540985BC1C2BF58C4786B3E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_237715134220D0C7C83DBF58C478EFFF" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_C2A410637540985BC1C2BF58C4786B3E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_6D167445557AA08A7ACCBF58C478DF2D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_237715134220D0C7C83DBF58C478EFFF" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_6D167445557AA08A7ACCBF58C478DF2D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_5B84905CDC57119BF404BF58C47895E4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_237715134220D0C7C83DBF58C478EFFF" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_5B84905CDC57119BF404BF58C47895E4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_93947A7333CCEA167A89BF58C479E989" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_F9B77B26293EC1F2411FBF58C479D199" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_93947A7333CCEA167A89BF58C479E989" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansHeldForSaleFairValueDisclosure" xlink:label="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_18CE6BE45BEF7C100C2CBF58C4796A2F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_F9B77B26293EC1F2411FBF58C479D199" xlink:to="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_18CE6BE45BEF7C100C2CBF58C4796A2F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_C9EF27A78FBBCB3CAB67BF58C4791545" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_F9B77B26293EC1F2411FBF58C479D199" xlink:to="loc_us-gaap_DerivativeAssets_C9EF27A78FBBCB3CAB67BF58C4791545" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DerivativeLiabilities" xlink:label="loc_us-gaap_DerivativeLiabilities_D87B1B2D935E775B9A79BF58C479A293" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_F9B77B26293EC1F2411FBF58C479D199" xlink:to="loc_us-gaap_DerivativeLiabilities_D87B1B2D935E775B9A79BF58C479A293" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/FairValueImpairedLoansAndForeclosedRealEstateDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_197EA97ECCC5608B3ADBBF58C45F679E" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1C9FBDB475A972564534BF58C45AFAAA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_197EA97ECCC5608B3ADBBF58C45F679E" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1C9FBDB475A972564534BF58C45AFAAA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_4B2F07D8CC1DB3A6037BBF58C45A4044" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1C9FBDB475A972564534BF58C45AFAAA" xlink:to="loc_srt_RangeAxis_4B2F07D8CC1DB3A6037BBF58C45A4044" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_C0A870D083EB3216BE31BF58C45BF4AF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_4B2F07D8CC1DB3A6037BBF58C45A4044" xlink:to="loc_srt_RangeMember_C0A870D083EB3216BE31BF58C45BF4AF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_C0A870D083EB3216BE31BF58C45BF4AF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_4B2F07D8CC1DB3A6037BBF58C45A4044" xlink:to="loc_srt_RangeMember_C0A870D083EB3216BE31BF58C45BF4AF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_BF018A996BA7C8C27472BF58C45BF7DA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_C0A870D083EB3216BE31BF58C45BF4AF" xlink:to="loc_srt_MinimumMember_BF018A996BA7C8C27472BF58C45BF7DA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_CB14B8B1EA7E7CCD5C44BF58C45B157F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_C0A870D083EB3216BE31BF58C45BF4AF" xlink:to="loc_srt_MaximumMember_CB14B8B1EA7E7CCD5C44BF58C45B157F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_2803C5B2F3EB82792371BF58C45B7E5C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1C9FBDB475A972564534BF58C45AFAAA" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_2803C5B2F3EB82792371BF58C45B7E5C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_96DBA7312C5AA26E6C0EBF58C45C0525_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_2803C5B2F3EB82792371BF58C45B7E5C" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_96DBA7312C5AA26E6C0EBF58C45C0525_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_96DBA7312C5AA26E6C0EBF58C45C0525" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_2803C5B2F3EB82792371BF58C45B7E5C" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_96DBA7312C5AA26E6C0EBF58C45C0525" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementsNonrecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsNonrecurringMember_4310CD4F16CC396F6243BF58C45CFD36" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_96DBA7312C5AA26E6C0EBF58C45C0525" xlink:to="loc_us-gaap_FairValueMeasurementsNonrecurringMember_4310CD4F16CC396F6243BF58C45CFD36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_20DED696AE4BEDAC9E4CBF58C45C8BAC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1C9FBDB475A972564534BF58C45AFAAA" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_20DED696AE4BEDAC9E4CBF58C45C8BAC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_960107125BEE6C53C509BF58C45C9DB2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_20DED696AE4BEDAC9E4CBF58C45C8BAC" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_960107125BEE6C53C509BF58C45C9DB2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_960107125BEE6C53C509BF58C45C9DB2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_20DED696AE4BEDAC9E4CBF58C45C8BAC" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_960107125BEE6C53C509BF58C45C9DB2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_5E80E80DF02CC5AA097DBF58C45C50D4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_960107125BEE6C53C509BF58C45C9DB2" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_5E80E80DF02CC5AA097DBF58C45C50D4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_B8B9086B5AE9643E7E1FBF58C45D2E90" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_960107125BEE6C53C509BF58C45C9DB2" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_B8B9086B5AE9643E7E1FBF58C45D2E90" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_D43DC6379DD8E0111B69BF58C45D1FB6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_960107125BEE6C53C509BF58C45C9DB2" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_D43DC6379DD8E0111B69BF58C45D1FB6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MeasurementInputTypeAxis" xlink:label="loc_us-gaap_MeasurementInputTypeAxis_8377F6A37423D41D9419BF58C45D11EA" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1C9FBDB475A972564534BF58C45AFAAA" xlink:to="loc_us-gaap_MeasurementInputTypeAxis_8377F6A37423D41D9419BF58C45D11EA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MeasurementInputTypeDomain" xlink:label="loc_us-gaap_MeasurementInputTypeDomain_23FBFE5E953C129BB0C1BF58C45D2DED_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MeasurementInputTypeAxis_8377F6A37423D41D9419BF58C45D11EA" xlink:to="loc_us-gaap_MeasurementInputTypeDomain_23FBFE5E953C129BB0C1BF58C45D2DED_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MeasurementInputTypeDomain" xlink:label="loc_us-gaap_MeasurementInputTypeDomain_23FBFE5E953C129BB0C1BF58C45D2DED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MeasurementInputTypeAxis_8377F6A37423D41D9419BF58C45D11EA" xlink:to="loc_us-gaap_MeasurementInputTypeDomain_23FBFE5E953C129BB0C1BF58C45D2DED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MeasurementInputCostToSellMember" xlink:label="loc_us-gaap_MeasurementInputCostToSellMember_6B2EE0D9D1178437FA47BF58C45E44D2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_23FBFE5E953C129BB0C1BF58C45D2DED" xlink:to="loc_us-gaap_MeasurementInputCostToSellMember_6B2EE0D9D1178437FA47BF58C45E44D2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ValuationTechniqueAxis" xlink:label="loc_us-gaap_ValuationTechniqueAxis_90E2BD9621EEDEE194FBBF58C45EB357" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1C9FBDB475A972564534BF58C45AFAAA" xlink:to="loc_us-gaap_ValuationTechniqueAxis_90E2BD9621EEDEE194FBBF58C45EB357" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ValuationTechniqueDomain" xlink:label="loc_us-gaap_ValuationTechniqueDomain_5B7F90D8E91440942EB3BF58C45E50ED_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ValuationTechniqueAxis_90E2BD9621EEDEE194FBBF58C45EB357" xlink:to="loc_us-gaap_ValuationTechniqueDomain_5B7F90D8E91440942EB3BF58C45E50ED_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ValuationTechniqueDomain" xlink:label="loc_us-gaap_ValuationTechniqueDomain_5B7F90D8E91440942EB3BF58C45E50ED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ValuationTechniqueAxis_90E2BD9621EEDEE194FBBF58C45EB357" xlink:to="loc_us-gaap_ValuationTechniqueDomain_5B7F90D8E91440942EB3BF58C45E50ED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ValuationTechniqueDiscountedCashFlowMember" xlink:label="loc_us-gaap_ValuationTechniqueDiscountedCashFlowMember_6DCE440EEF57EFF001DCBF58C45E9C08" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_5B7F90D8E91440942EB3BF58C45E50ED" xlink:to="loc_us-gaap_ValuationTechniqueDiscountedCashFlowMember_6DCE440EEF57EFF001DCBF58C45E9C08" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ValuationTechniqueConsensusPricingModelMember" xlink:label="loc_us-gaap_ValuationTechniqueConsensusPricingModelMember_62A431392088EB408DAFBF58C45EA877" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_5B7F90D8E91440942EB3BF58C45E50ED" xlink:to="loc_us-gaap_ValuationTechniqueConsensusPricingModelMember_62A431392088EB408DAFBF58C45EA877" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment_DE4829EDDBC4BADD4B34BF58C45F9643" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_197EA97ECCC5608B3ADBBF58C45F679E" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment_DE4829EDDBC4BADD4B34BF58C45F9643" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ImpairedFinancingReceivableRelatedAllowance" xlink:label="loc_us-gaap_ImpairedFinancingReceivableRelatedAllowance_849FD630348B96C7C866BF58C45FE8C8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_197EA97ECCC5608B3ADBBF58C45F679E" xlink:to="loc_us-gaap_ImpairedFinancingReceivableRelatedAllowance_849FD630348B96C7C866BF58C45FE8C8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ImpairedFinancingReceivableRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_56411D311DFAF266B731BF58C45F3A39" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_197EA97ECCC5608B3ADBBF58C45F679E" xlink:to="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_56411D311DFAF266B731BF58C45F3A39" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RealEstateAcquiredThroughForeclosure" xlink:label="loc_us-gaap_RealEstateAcquiredThroughForeclosure_868D42451204A7DAD9CBBF58C45FC736" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_197EA97ECCC5608B3ADBBF58C45F679E" xlink:to="loc_us-gaap_RealEstateAcquiredThroughForeclosure_868D42451204A7DAD9CBBF58C45FC736" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_ImpairedFinancingReceivableMeasurementInput" xlink:label="loc_cbnk_ImpairedFinancingReceivableMeasurementInput_6ACE7097D9C8CE3DABC7BF58C460CE62" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_197EA97ECCC5608B3ADBBF58C45F679E" xlink:to="loc_cbnk_ImpairedFinancingReceivableMeasurementInput_6ACE7097D9C8CE3DABC7BF58C460CE62" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_RealEstateAcquiredThroughForeclosureMeasurementInput" xlink:label="loc_cbnk_RealEstateAcquiredThroughForeclosureMeasurementInput_774E15FC535BBA75D33CBF58C4602130" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_197EA97ECCC5608B3ADBBF58C45F679E" xlink:to="loc_cbnk_RealEstateAcquiredThroughForeclosureMeasurementInput_774E15FC535BBA75D33CBF58C4602130" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/FairValueLoansHeldForSaleDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_2BA4414826347EA1C4ACBF58C46B5029" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueByBalanceSheetGroupingTable" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_F71A3846AEEF05211249BF58C46AE40A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_2BA4414826347EA1C4ACBF58C46B5029" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_F71A3846AEEF05211249BF58C46AE40A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_61C37F7D77596F63DF71BF58C46AA857" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_F71A3846AEEF05211249BF58C46AE40A" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_61C37F7D77596F63DF71BF58C46AA857" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_DF5D4C29C434AA8DD661BF58C46AB6A7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_61C37F7D77596F63DF71BF58C46AA857" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_DF5D4C29C434AA8DD661BF58C46AB6A7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_463B107D3D8015D6D2F1BF58C46A0DD6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_61C37F7D77596F63DF71BF58C46AA857" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_463B107D3D8015D6D2F1BF58C46A0DD6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_DF5D4C29C434AA8DD661BF58C46AB6A7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_463B107D3D8015D6D2F1BF58C46A0DD6" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_DF5D4C29C434AA8DD661BF58C46AB6A7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_27B22C008AF92648EE2BBF58C46B53A1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_463B107D3D8015D6D2F1BF58C46A0DD6" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_27B22C008AF92648EE2BBF58C46B53A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember" xlink:label="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_55F468C5038EF5E78153BF58C46B6A76" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_463B107D3D8015D6D2F1BF58C46A0DD6" xlink:to="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_55F468C5038EF5E78153BF58C46B6A76" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ChangeDuringPeriodFairValueDisclosureMember" xlink:label="loc_us-gaap_ChangeDuringPeriodFairValueDisclosureMember_2812EA851FA48BA18E56BF58C46BCA08" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_463B107D3D8015D6D2F1BF58C46A0DD6" xlink:to="loc_us-gaap_ChangeDuringPeriodFairValueDisclosureMember_2812EA851FA48BA18E56BF58C46BCA08" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansHeldForSaleFairValueDisclosure" xlink:label="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_8C35BE7F06D44A18981EBF58C46C1DDE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_2BA4414826347EA1C4ACBF58C46B5029" xlink:to="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_8C35BE7F06D44A18981EBF58C46C1DDE" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/FairValueTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/InvestmentSecurities" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/InvestmentSecuritiesAmortizedCostToEstimatedFairValueDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_221CC4098455208B0B31BF58C59D9B28" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleTable" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_BBA6756F9196FB4C9C71BF58C59C0E81" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_221CC4098455208B0B31BF58C59D9B28" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_BBA6756F9196FB4C9C71BF58C59C0E81" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_EB83B10B6F1A59381FABBF58C59C1F45" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_BBA6756F9196FB4C9C71BF58C59C0E81" xlink:to="loc_us-gaap_FinancialInstrumentAxis_EB83B10B6F1A59381FABBF58C59C1F45" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1D2F4BB199846FA3E336BF58C59C3B2A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_EB83B10B6F1A59381FABBF58C59C1F45" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1D2F4BB199846FA3E336BF58C59C3B2A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1D2F4BB199846FA3E336BF58C59C3B2A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_EB83B10B6F1A59381FABBF58C59C1F45" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1D2F4BB199846FA3E336BF58C59C3B2A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_5AFE495645A15F0F81CCBF58C59CF742" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1D2F4BB199846FA3E336BF58C59C3B2A" xlink:to="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_5AFE495645A15F0F81CCBF58C59CF742" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MunicipalBondsMember" xlink:label="loc_us-gaap_MunicipalBondsMember_3EDD3A8DCFF4952C42C1BF58C59D19CB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1D2F4BB199846FA3E336BF58C59C3B2A" xlink:to="loc_us-gaap_MunicipalBondsMember_3EDD3A8DCFF4952C42C1BF58C59D19CB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_2800EF8B6F59C74177DCBF58C59D04FC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1D2F4BB199846FA3E336BF58C59C3B2A" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_2800EF8B6F59C74177DCBF58C59D04FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_MortgageBackedSecuritiesMember_EB9E7AF864271B1244B1BF58C59DA3C1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1D2F4BB199846FA3E336BF58C59C3B2A" xlink:to="loc_us-gaap_MortgageBackedSecuritiesMember_EB9E7AF864271B1244B1BF58C59DA3C1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_86BE176E833C1FB8E001BF58C59D550D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_221CC4098455208B0B31BF58C59D9B28" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_86BE176E833C1FB8E001BF58C59D550D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_FE40BED27F3172F1C47BBF58C59EA091" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_221CC4098455208B0B31BF58C59D9B28" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_FE40BED27F3172F1C47BBF58C59EA091" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_0208168243E53586D959BF58C59E1A9A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_221CC4098455208B0B31BF58C59D9B28" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_0208168243E53586D959BF58C59E1A9A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_74615B13C2D55A4DC39EBF58C59E59B9" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_221CC4098455208B0B31BF58C59D9B28" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_74615B13C2D55A4DC39EBF58C59E59B9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_478A59EFF14244FE148DBF58C59E0FE6" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_221CC4098455208B0B31BF58C59D9B28" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_478A59EFF14244FE148DBF58C59E0FE6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_F0E3F1E77BEF5BD068D6BF58C59E28D7" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_221CC4098455208B0B31BF58C59D9B28" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_F0E3F1E77BEF5BD068D6BF58C59E28D7" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/InvestmentSecuritiesByMaturityDatesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_E35D083F7B4AE105FB8FBF58C57055AF" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleTable" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_FF84D7F11EF6CD787C8FBF58C56F45F8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_E35D083F7B4AE105FB8FBF58C57055AF" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_FF84D7F11EF6CD787C8FBF58C56F45F8" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_2499F29D1BAB6A9FB4E8BF58C56F7475" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_FF84D7F11EF6CD787C8FBF58C56F45F8" xlink:to="loc_us-gaap_FinancialInstrumentAxis_2499F29D1BAB6A9FB4E8BF58C56F7475" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_435B295175B3DAB6B7E7BF58C56F12A4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_2499F29D1BAB6A9FB4E8BF58C56F7475" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_435B295175B3DAB6B7E7BF58C56F12A4_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_435B295175B3DAB6B7E7BF58C56F12A4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_2499F29D1BAB6A9FB4E8BF58C56F7475" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_435B295175B3DAB6B7E7BF58C56F12A4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_MortgageBackedSecuritiesMember_A5317FF4EC673087BA1FBF58C56F124E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_435B295175B3DAB6B7E7BF58C56F12A4" xlink:to="loc_us-gaap_MortgageBackedSecuritiesMember_A5317FF4EC673087BA1FBF58C56F124E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_14A8451FC5EC4485F77BBF58C570B815" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_E35D083F7B4AE105FB8FBF58C57055AF" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_14A8451FC5EC4485F77BBF58C570B815" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_65ADF6092D5D311B3A2BBF58C5707F05" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_14A8451FC5EC4485F77BBF58C570B815" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_65ADF6092D5D311B3A2BBF58C5707F05" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_A2C178092577061D3E67BF58C570A8AD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_14A8451FC5EC4485F77BBF58C570B815" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_A2C178092577061D3E67BF58C570A8AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_8EC2B0252D16EBE07BC0BF58C571F9F1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_14A8451FC5EC4485F77BBF58C570B815" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_8EC2B0252D16EBE07BC0BF58C571F9F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_36A832F93F7715631923BF58C5711E0D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_14A8451FC5EC4485F77BBF58C570B815" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_36A832F93F7715631923BF58C5711E0D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_9C5E5543C19EE71510B0BF58C57133BD" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_14A8451FC5EC4485F77BBF58C570B815" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_9C5E5543C19EE71510B0BF58C57133BD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_2A377C0B15D51E11ADB8BF58C5710F4D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_E35D083F7B4AE105FB8FBF58C57055AF" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_2A377C0B15D51E11ADB8BF58C5710F4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_8F32E602DC9C828FB661BF58C5718834" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_2A377C0B15D51E11ADB8BF58C5710F4D" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_8F32E602DC9C828FB661BF58C5718834" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_71D8898AECEA25247EABBF58C5725F32" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_2A377C0B15D51E11ADB8BF58C5710F4D" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_71D8898AECEA25247EABBF58C5725F32" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_16058AC105EEE4455760BF58C5720C47" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_2A377C0B15D51E11ADB8BF58C5710F4D" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_16058AC105EEE4455760BF58C5720C47" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_56A93F5A0E5FB1ED0D74BF58C572419E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_2A377C0B15D51E11ADB8BF58C5710F4D" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_56A93F5A0E5FB1ED0D74BF58C572419E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_8788E4E4243A22120189BF58C5720A70" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_2A377C0B15D51E11ADB8BF58C5710F4D" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_8788E4E4243A22120189BF58C5720A70" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/InvestmentSecuritiesPledgedSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetsSoldUnderAgreementsToRepurchaseLineItems" xlink:label="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseLineItems_598393095F5630415F92BF58C57E8321" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfAssetsSoldUnderAgreementsToRepurchaseTable" xlink:label="loc_us-gaap_ScheduleOfAssetsSoldUnderAgreementsToRepurchaseTable_2D4E17617DAC11FE7EE7BF58C57C2337" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseLineItems_598393095F5630415F92BF58C57E8321" xlink:to="loc_us-gaap_ScheduleOfAssetsSoldUnderAgreementsToRepurchaseTable_2D4E17617DAC11FE7EE7BF58C57C2337" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_00E1B3BE2BA83222C3C7BF58C57C1F32" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAssetsSoldUnderAgreementsToRepurchaseTable_2D4E17617DAC11FE7EE7BF58C57C2337" xlink:to="loc_us-gaap_FinancialInstrumentAxis_00E1B3BE2BA83222C3C7BF58C57C1F32" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_600107F72419DCF342CCBF58C57C7F72_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_00E1B3BE2BA83222C3C7BF58C57C1F32" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_600107F72419DCF342CCBF58C57C7F72_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_600107F72419DCF342CCBF58C57C7F72" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_00E1B3BE2BA83222C3C7BF58C57C1F32" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_600107F72419DCF342CCBF58C57C7F72" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FederalHomeLoanBankAdvancesMember" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesMember_BA6C4E225C7C16CFFB6DBF58C57CEFD1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_600107F72419DCF342CCBF58C57C7F72" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesMember_BA6C4E225C7C16CFFB6DBF58C57CEFD1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_3302281059960B93E1D9BF58C57DB7F3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAssetsSoldUnderAgreementsToRepurchaseTable_2D4E17617DAC11FE7EE7BF58C57C2337" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_3302281059960B93E1D9BF58C57DB7F3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_3B757D1922507D090385BF58C57D99F9_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_3302281059960B93E1D9BF58C57DB7F3" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_3B757D1922507D090385BF58C57D99F9_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_7B63AB974B41C0B2367EBF58C57D5A1E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_3302281059960B93E1D9BF58C57DB7F3" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_7B63AB974B41C0B2367EBF58C57D5A1E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_3B757D1922507D090385BF58C57D99F9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_7B63AB974B41C0B2367EBF58C57D5A1E" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_3B757D1922507D090385BF58C57D99F9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember" xlink:label="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_6855EAF9C84172C86095BF58C57DF851" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_7B63AB974B41C0B2367EBF58C57D5A1E" xlink:to="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_6855EAF9C84172C86095BF58C57DF851" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_FCDE921E2269CA3AE105BF58C57E8F2E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_7B63AB974B41C0B2367EBF58C57D5A1E" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_FCDE921E2269CA3AE105BF58C57E8F2E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SecurityOwnedAndPledgedAsCollateralFairValue" xlink:label="loc_us-gaap_SecurityOwnedAndPledgedAsCollateralFairValue_B997C5A8C43990422D2CBF58C57E7AE3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseLineItems_598393095F5630415F92BF58C57E8321" xlink:to="loc_us-gaap_SecurityOwnedAndPledgedAsCollateralFairValue_B997C5A8C43990422D2CBF58C57E7AE3" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/InvestmentSecuritiesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/InvestmentSecuritiesUnrealizedLossesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_7D0C5D21F49AEA4E2535BF58C58A5525" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleTable" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_E7C9691D7A9C90FF3BA3BF58C5887CE4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_7D0C5D21F49AEA4E2535BF58C58A5525" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_E7C9691D7A9C90FF3BA3BF58C5887CE4" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_22D40EFA1D9D45EE6A2FBF58C589557B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_E7C9691D7A9C90FF3BA3BF58C5887CE4" xlink:to="loc_us-gaap_FinancialInstrumentAxis_22D40EFA1D9D45EE6A2FBF58C589557B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_5AB4CE814970567868A2BF58C5895DF6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_22D40EFA1D9D45EE6A2FBF58C589557B" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_5AB4CE814970567868A2BF58C5895DF6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_5AB4CE814970567868A2BF58C5895DF6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_22D40EFA1D9D45EE6A2FBF58C589557B" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_5AB4CE814970567868A2BF58C5895DF6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_840FB6E783D4138D406FBF58C589D03A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_5AB4CE814970567868A2BF58C5895DF6" xlink:to="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_840FB6E783D4138D406FBF58C589D03A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MunicipalBondsMember" xlink:label="loc_us-gaap_MunicipalBondsMember_69D4E429104883ED9121BF58C58A8F5E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_5AB4CE814970567868A2BF58C5895DF6" xlink:to="loc_us-gaap_MunicipalBondsMember_69D4E429104883ED9121BF58C58A8F5E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_95B6CCADBA5D4193F990BF58C58AC6E2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_5AB4CE814970567868A2BF58C5895DF6" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_95B6CCADBA5D4193F990BF58C58AC6E2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_MortgageBackedSecuritiesMember_871C14B553082CAC53BFBF58C58AB625" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_5AB4CE814970567868A2BF58C5895DF6" xlink:to="loc_us-gaap_MortgageBackedSecuritiesMember_871C14B553082CAC53BFBF58C58AB625" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_DebtSecuritiesAvailableforsaleUnrealizedLossPositionAbstract" xlink:label="loc_cbnk_DebtSecuritiesAvailableforsaleUnrealizedLossPositionAbstract_F452D7334A7609155C33BF58C58FDA59" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_7D0C5D21F49AEA4E2535BF58C58A5525" xlink:to="loc_cbnk_DebtSecuritiesAvailableforsaleUnrealizedLossPositionAbstract_F452D7334A7609155C33BF58C58FDA59" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_7E2CCE443A9AA8F5EFE4BF58C5900196" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cbnk_DebtSecuritiesAvailableforsaleUnrealizedLossPositionAbstract_F452D7334A7609155C33BF58C58FDA59" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_7E2CCE443A9AA8F5EFE4BF58C5900196" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_C084B2F917CA1BCF3425BF58C590ABA6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cbnk_DebtSecuritiesAvailableforsaleUnrealizedLossPositionAbstract_F452D7334A7609155C33BF58C58FDA59" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_C084B2F917CA1BCF3425BF58C590ABA6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_47FCA773701AECC7F2B8BF58C59088B6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cbnk_DebtSecuritiesAvailableforsaleUnrealizedLossPositionAbstract_F452D7334A7609155C33BF58C58FDA59" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_47FCA773701AECC7F2B8BF58C59088B6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_2AD019AF55B43203ED7EBF58C590EFA1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_7D0C5D21F49AEA4E2535BF58C58A5525" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_2AD019AF55B43203ED7EBF58C590EFA1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_494D618E2050501FFF93BF58C590A3AD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_2AD019AF55B43203ED7EBF58C590EFA1" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_494D618E2050501FFF93BF58C590A3AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_C78970C74F77759E03CDBF58C5913D1A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_2AD019AF55B43203ED7EBF58C590EFA1" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_C78970C74F77759E03CDBF58C5913D1A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_3D2BD353F8AE9E208119BF58C59198EF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_2AD019AF55B43203ED7EBF58C590EFA1" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_3D2BD353F8AE9E208119BF58C59198EF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions_A71192E70CB59201B8BBBF58C5913E55" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_7D0C5D21F49AEA4E2535BF58C58A5525" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions_A71192E70CB59201B8BBBF58C5913E55" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/Leases" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/LeasesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_384621236F5E4489AF26BF58C49E9B6C" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_E79BC5D923E0581240A7BF58C49DBD53" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_384621236F5E4489AF26BF58C49E9B6C" xlink:to="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_E79BC5D923E0581240A7BF58C49DBD53" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_AAF1A4E8CB2189B95081BF58C49D214D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_E79BC5D923E0581240A7BF58C49DBD53" xlink:to="loc_srt_RangeAxis_AAF1A4E8CB2189B95081BF58C49D214D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_973DA819F405A3DB3632BF58C49E6604_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_AAF1A4E8CB2189B95081BF58C49D214D" xlink:to="loc_srt_RangeMember_973DA819F405A3DB3632BF58C49E6604_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_973DA819F405A3DB3632BF58C49E6604" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_AAF1A4E8CB2189B95081BF58C49D214D" xlink:to="loc_srt_RangeMember_973DA819F405A3DB3632BF58C49E6604" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_6A57226FB5E5D325D9DEBF58C49EECE9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_973DA819F405A3DB3632BF58C49E6604" xlink:to="loc_srt_MinimumMember_6A57226FB5E5D325D9DEBF58C49EECE9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_9486E095A799E8C0F58CBF58C49E54D2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_973DA819F405A3DB3632BF58C49E6604" xlink:to="loc_srt_MaximumMember_9486E095A799E8C0F58CBF58C49E54D2" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_LesseeOperatingLeaseNumberOfFullServiceBranches" xlink:label="loc_cbnk_LesseeOperatingLeaseNumberOfFullServiceBranches_1790684E35D68D89F340BF58C49FFF3A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_384621236F5E4489AF26BF58C49E9B6C" xlink:to="loc_cbnk_LesseeOperatingLeaseNumberOfFullServiceBranches_1790684E35D68D89F340BF58C49FFF3A" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_LesseeOperatingLeaseNumberOfLocations" xlink:label="loc_cbnk_LesseeOperatingLeaseNumberOfLocations_E18887CD56EB88D0C084BF58C49F1D47" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_384621236F5E4489AF26BF58C49E9B6C" xlink:to="loc_cbnk_LesseeOperatingLeaseNumberOfLocations_E18887CD56EB88D0C084BF58C49F1D47" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent" xlink:label="loc_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent_664772C91A911A6FC8E2BF58C49F1390" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_384621236F5E4489AF26BF58C49E9B6C" xlink:to="loc_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent_664772C91A911A6FC8E2BF58C49F1390" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_OperatingLeaseRightOfUseAssetNet" xlink:label="loc_cbnk_OperatingLeaseRightOfUseAssetNet_7B6B7B58DC35AA5CBC0ABF58C49F0CD7" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_384621236F5E4489AF26BF58C49E9B6C" xlink:to="loc_cbnk_OperatingLeaseRightOfUseAssetNet_7B6B7B58DC35AA5CBC0ABF58C49F0CD7" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_OperatingLeaseLiabilityNet" xlink:label="loc_cbnk_OperatingLeaseLiabilityNet_AF997FAA2A7F5C842FF8BF58C49F2FB5" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_384621236F5E4489AF26BF58C49E9B6C" xlink:to="loc_cbnk_OperatingLeaseLiabilityNet_AF997FAA2A7F5C842FF8BF58C49F2FB5" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_LesseeOperatingLeaseRemainingTermOfContract" xlink:label="loc_cbnk_LesseeOperatingLeaseRemainingTermOfContract_148886674F3061A01ABFBF58C49F583C" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_384621236F5E4489AF26BF58C49E9B6C" xlink:to="loc_cbnk_LesseeOperatingLeaseRemainingTermOfContract_148886674F3061A01ABFBF58C49F583C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/LeasesAssetsAndLiabilitiesAndLeasePaymentObligationsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/LeasesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationBasisOfPresentationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_3B097C11BF6CE72667FCAA13731B3183" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_DF2B1DEC505AD0C08CA8AA13731A97DC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_3B097C11BF6CE72667FCAA13731B3183" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_DF2B1DEC505AD0C08CA8AA13731A97DC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_38A4B60AF4BD05B27CE2AA138CE4A24B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_DF2B1DEC505AD0C08CA8AA13731A97DC" xlink:to="loc_dei_LegalEntityAxis_38A4B60AF4BD05B27CE2AA138CE4A24B" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_82AFEA1A8CD7165F0300AA1436FD3BE2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_38A4B60AF4BD05B27CE2AA138CE4A24B" xlink:to="loc_dei_EntityDomain_82AFEA1A8CD7165F0300AA1436FD3BE2_default" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_82AFEA1A8CD7165F0300AA1436FD3BE2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_38A4B60AF4BD05B27CE2AA138CE4A24B" xlink:to="loc_dei_EntityDomain_82AFEA1A8CD7165F0300AA1436FD3BE2" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_ChurchStreetCapitalMember" xlink:label="loc_cbnk_ChurchStreetCapitalMember_CBDDA2B9895ED2E93788AA13E7CA3AB3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_82AFEA1A8CD7165F0300AA1436FD3BE2" xlink:to="loc_cbnk_ChurchStreetCapitalMember_CBDDA2B9895ED2E93788AA13E7CA3AB3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NotesReceivableNet" xlink:label="loc_us-gaap_NotesReceivableNet_4F0CF1BC82F4878C3685AA12C6BBBF2F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_3B097C11BF6CE72667FCAA13731B3183" xlink:to="loc_us-gaap_NotesReceivableNet_4F0CF1BC82F4878C3685AA12C6BBBF2F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NumberOfReportableSegments" xlink:label="loc_us-gaap_NumberOfReportableSegments_3B5DA5199290291EF9A1AA0EDE179FB2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_3B097C11BF6CE72667FCAA13731B3183" xlink:to="loc_us-gaap_NumberOfReportableSegments_3B5DA5199290291EF9A1AA0EDE179FB2" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationComprehensiveIncomeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_0779139D8BB7EEDB5D90BF58C5BCF216" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_E481029D8A437D305BC1BF58C5BAF8B8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_0779139D8BB7EEDB5D90BF58C5BCF216" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_E481029D8A437D305BC1BF58C5BAF8B8" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_0EFF69D556E6C3C78212BF58C5BB989E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_E481029D8A437D305BC1BF58C5BAF8B8" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_0EFF69D556E6C3C78212BF58C5BB989E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_D3C53DE63352ABAED199BF58C5BB0FE5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_0EFF69D556E6C3C78212BF58C5BB989E" xlink:to="loc_us-gaap_EquityComponentDomain_D3C53DE63352ABAED199BF58C5BB0FE5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_D3C53DE63352ABAED199BF58C5BB0FE5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_0EFF69D556E6C3C78212BF58C5BB989E" xlink:to="loc_us-gaap_EquityComponentDomain_D3C53DE63352ABAED199BF58C5BB0FE5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember" xlink:label="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_B54F5FB43F42859B5FBFBF58C5BB26AA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_D3C53DE63352ABAED199BF58C5BB0FE5" xlink:to="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_B54F5FB43F42859B5FBFBF58C5BB26AA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_4DDE53D537CC7A0DA2A5BF58C5BB19CE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_D3C53DE63352ABAED199BF58C5BB0FE5" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_4DDE53D537CC7A0DA2A5BF58C5BB19CE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AociBeforeTaxAttributableToParent" xlink:label="loc_us-gaap_AociBeforeTaxAttributableToParent_8E43EA9C79B60381AA98BF58C5BC8060" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_0779139D8BB7EEDB5D90BF58C5BCF216" xlink:to="loc_us-gaap_AociBeforeTaxAttributableToParent_8E43EA9C79B60381AA98BF58C5BC8060" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AociTaxAttributableToParent" xlink:label="loc_us-gaap_AociTaxAttributableToParent_9DC7DD9B9C4FDBFAF4A0BF58C5BC54EC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_0779139D8BB7EEDB5D90BF58C5BCF216" xlink:to="loc_us-gaap_AociTaxAttributableToParent_9DC7DD9B9C4FDBFAF4A0BF58C5BC54EC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_4B93FBD2A79903476663BF58C5BC252A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_0779139D8BB7EEDB5D90BF58C5BCF216" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_4B93FBD2A79903476663BF58C5BC252A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationEarningsPerShareDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_E87AA2844479681B4AE2BF58C5C768D0" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_A3EE00D94AA8D77B6AD5BF58C5C64F5F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_E87AA2844479681B4AE2BF58C5C768D0" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_A3EE00D94AA8D77B6AD5BF58C5C64F5F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_A1DBD350791E320515ECBF58C5C6FD49" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_A3EE00D94AA8D77B6AD5BF58C5C64F5F" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_A1DBD350791E320515ECBF58C5C6FD49" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_23C96280A35732D5C9C4BF58C5C6BEC4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_A1DBD350791E320515ECBF58C5C6FD49" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_23C96280A35732D5C9C4BF58C5C6BEC4_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_23C96280A35732D5C9C4BF58C5C6BEC4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_A1DBD350791E320515ECBF58C5C6FD49" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_23C96280A35732D5C9C4BF58C5C6BEC4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_D16208AE28739271C712BF58C5C7FBC4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_23C96280A35732D5C9C4BF58C5C6BEC4" xlink:to="loc_us-gaap_EmployeeStockOptionMember_D16208AE28739271C712BF58C5C7FBC4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_4A347CCB8DB2BFC62AE3BF58C5C7C87C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_E87AA2844479681B4AE2BF58C5C768D0" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_4A347CCB8DB2BFC62AE3BF58C5C7C87C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationLeasesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_B45E18FFC69B4D887642BF58C5D48FCD" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_AA5583827EEAB5D3ECA7BF58C5D20752" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_B45E18FFC69B4D887642BF58C5D48FCD" xlink:to="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_AA5583827EEAB5D3ECA7BF58C5D20752" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_C52D1A179282054FB388BF58C5D39EC4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_AA5583827EEAB5D3ECA7BF58C5D20752" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_C52D1A179282054FB388BF58C5D39EC4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_EAA992BFB923D93E7B24BF58C5D36312_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_C52D1A179282054FB388BF58C5D39EC4" xlink:to="loc_us-gaap_TypeOfAdoptionMember_EAA992BFB923D93E7B24BF58C5D36312_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_EAA992BFB923D93E7B24BF58C5D36312" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_C52D1A179282054FB388BF58C5D39EC4" xlink:to="loc_us-gaap_TypeOfAdoptionMember_EAA992BFB923D93E7B24BF58C5D36312" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountingStandardsUpdate201602Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201602Member_B79CA4F7AB1FDF2E3CCDBF58C5D37CAA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_EAA992BFB923D93E7B24BF58C5D36312" xlink:to="loc_us-gaap_AccountingStandardsUpdate201602Member_B79CA4F7AB1FDF2E3CCDBF58C5D37CAA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RestatementAxis" xlink:label="loc_srt_RestatementAxis_18592B4B6015EAE7A190BF58C5D31993" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_AA5583827EEAB5D3ECA7BF58C5D20752" xlink:to="loc_srt_RestatementAxis_18592B4B6015EAE7A190BF58C5D31993" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RestatementDomain" xlink:label="loc_srt_RestatementDomain_74F8DD9EA6C21D8544D0BF58C5D4DBE5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RestatementAxis_18592B4B6015EAE7A190BF58C5D31993" xlink:to="loc_srt_RestatementDomain_74F8DD9EA6C21D8544D0BF58C5D4DBE5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RestatementDomain" xlink:label="loc_srt_RestatementDomain_74F8DD9EA6C21D8544D0BF58C5D4DBE5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RestatementAxis_18592B4B6015EAE7A190BF58C5D31993" xlink:to="loc_srt_RestatementDomain_74F8DD9EA6C21D8544D0BF58C5D4DBE5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RevisionOfPriorPeriodAccountingStandardsUpdateAdjustmentMember" xlink:label="loc_srt_RevisionOfPriorPeriodAccountingStandardsUpdateAdjustmentMember_1D1F196340BC2A5556D8BF58C5D4645C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RestatementDomain_74F8DD9EA6C21D8544D0BF58C5D4DBE5" xlink:to="loc_srt_RevisionOfPriorPeriodAccountingStandardsUpdateAdjustmentMember_1D1F196340BC2A5556D8BF58C5D4645C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_8AC3CD2A8FF7CDFBE1AABF58C5D48DFF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_B45E18FFC69B4D887642BF58C5D48FCD" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_8AC3CD2A8FF7CDFBE1AABF58C5D48DFF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaap_OperatingLeaseLiability_8686D0D6ADF548F1331ABF58C5D5D56E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_B45E18FFC69B4D887642BF58C5D48FCD" xlink:to="loc_us-gaap_OperatingLeaseLiability_8686D0D6ADF548F1331ABF58C5D5D56E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredRevenueLeasesNet" xlink:label="loc_us-gaap_DeferredRevenueLeasesNet_E1FF79F99C80189472A6BF58C5D5A4A7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_B45E18FFC69B4D887642BF58C5D48FCD" xlink:to="loc_us-gaap_DeferredRevenueLeasesNet_E1FF79F99C80189472A6BF58C5D5A4A7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_DF2F25EBFB46A941A727BF58C5D538AF" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_B45E18FFC69B4D887642BF58C5D48FCD" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_DF2F25EBFB46A941A727BF58C5D538AF" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationPremisesAndEquipmentDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_8E237D9DFEC104E9AFC1BF58C5E0E508" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_1163EECBE03D533ECB6ABF58C5DE8276" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_8E237D9DFEC104E9AFC1BF58C5E0E508" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_1163EECBE03D533ECB6ABF58C5DE8276" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_D144E7178B6661FB51E5BF58C5DE71AA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_1163EECBE03D533ECB6ABF58C5DE8276" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_D144E7178B6661FB51E5BF58C5DE71AA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1CE5D847EC2F81AD9886BF58C5DE8040_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_D144E7178B6661FB51E5BF58C5DE71AA" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1CE5D847EC2F81AD9886BF58C5DE8040_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1CE5D847EC2F81AD9886BF58C5DE8040" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_D144E7178B6661FB51E5BF58C5DE71AA" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1CE5D847EC2F81AD9886BF58C5DE8040" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_PremisesAndEquipmentMember" xlink:label="loc_cbnk_PremisesAndEquipmentMember_6E85DA1FAACC8A0BD0B9BF58C5DF7E66" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1CE5D847EC2F81AD9886BF58C5DE8040" xlink:to="loc_cbnk_PremisesAndEquipmentMember_6E85DA1FAACC8A0BD0B9BF58C5DF7E66" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_898C48A26C0B6B45D810BF58C5DF6FF4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1CE5D847EC2F81AD9886BF58C5DE8040" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_898C48A26C0B6B45D810BF58C5DF6FF4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_27B1D03B430B39133504BF58C5DF9FAA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_1163EECBE03D533ECB6ABF58C5DE8276" xlink:to="loc_srt_RangeAxis_27B1D03B430B39133504BF58C5DF9FAA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_C21C1B1A7F3415AB7A85BF58C5DF7C3B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_27B1D03B430B39133504BF58C5DF9FAA" xlink:to="loc_srt_RangeMember_C21C1B1A7F3415AB7A85BF58C5DF7C3B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_C21C1B1A7F3415AB7A85BF58C5DF7C3B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_27B1D03B430B39133504BF58C5DF9FAA" xlink:to="loc_srt_RangeMember_C21C1B1A7F3415AB7A85BF58C5DF7C3B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_1BC843F88D13401F9A92BF58C5E02B15" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_C21C1B1A7F3415AB7A85BF58C5DF7C3B" xlink:to="loc_srt_MinimumMember_1BC843F88D13401F9A92BF58C5E02B15" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_9A5E85E1152FC10B3027BF58C5E06D52" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_C21C1B1A7F3415AB7A85BF58C5DF7C3B" xlink:to="loc_srt_MaximumMember_9A5E85E1152FC10B3027BF58C5E06D52" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_A18AB928DAF64C51301FBF58C5E0EDFA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_8E237D9DFEC104E9AFC1BF58C5E0E508" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_A18AB928DAF64C51301FBF58C5E0EDFA" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationSbaPaycheckProtectionProgramDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansAndLeasesReceivableDisclosureLineItems" xlink:label="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4921F9967E48755340E28F3E8CC86EA5" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansAndLeasesReceivableDisclosureTable" xlink:label="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_72FDC791F739149825118F3E8CC79FDD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4921F9967E48755340E28F3E8CC86EA5" xlink:to="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_72FDC791F739149825118F3E8CC79FDD" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_AC7233C39E82734BEDBB8F3E8CC7FD51" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_72FDC791F739149825118F3E8CC79FDD" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_AC7233C39E82734BEDBB8F3E8CC7FD51" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_CB6D783F54314E1D7AD68F3E8CC72AC1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_AC7233C39E82734BEDBB8F3E8CC7FD51" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_CB6D783F54314E1D7AD68F3E8CC72AC1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_CB6D783F54314E1D7AD68F3E8CC72AC1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_AC7233C39E82734BEDBB8F3E8CC7FD51" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_CB6D783F54314E1D7AD68F3E8CC72AC1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_4401474407EAF7FB3D258F3E8CC79F6D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_CB6D783F54314E1D7AD68F3E8CC72AC1" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_4401474407EAF7FB3D258F3E8CC79F6D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_3FF7226AC838AD2CA00B8F3E8CC837EC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_72FDC791F739149825118F3E8CC79FDD" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_3FF7226AC838AD2CA00B8F3E8CC837EC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_42D667CA5D6D9EA2D1E68F3E8CC85C38_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_3FF7226AC838AD2CA00B8F3E8CC837EC" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_42D667CA5D6D9EA2D1E68F3E8CC85C38_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_42D667CA5D6D9EA2D1E68F3E8CC85C38" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_3FF7226AC838AD2CA00B8F3E8CC837EC" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_42D667CA5D6D9EA2D1E68F3E8CC85C38" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_PaycheckProtectionProgramMember" xlink:label="loc_cbnk_PaycheckProtectionProgramMember_AED25BCC559B5E7A25648F3E8CC85F31" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_42D667CA5D6D9EA2D1E68F3E8CC85C38" xlink:to="loc_cbnk_PaycheckProtectionProgramMember_AED25BCC559B5E7A25648F3E8CC85F31" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NotesReceivableGross" xlink:label="loc_us-gaap_NotesReceivableGross_07699AD57B19371DFF378F3E8CC89908" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4921F9967E48755340E28F3E8CC86EA5" xlink:to="loc_us-gaap_NotesReceivableGross_07699AD57B19371DFF378F3E8CC89908" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ContractWithCustomerLiability" xlink:label="loc_us-gaap_ContractWithCustomerLiability_E47447BE228F114455E98F3E8CC9F775" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4921F9967E48755340E28F3E8CC86EA5" xlink:to="loc_us-gaap_ContractWithCustomerLiability_E47447BE228F114455E98F3E8CC9F775" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestIncomeOperating" xlink:label="loc_us-gaap_InterestIncomeOperating_96290403A53086B7F7EF8F3E8CC9D37F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4921F9967E48755340E28F3E8CC86EA5" xlink:to="loc_us-gaap_InterestIncomeOperating_96290403A53086B7F7EF8F3E8CC9D37F" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/PortfolioLoansReceivable" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/PortfolioLoansReceivableAccretableDiscountDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/PortfolioLoansReceivableActivityInAllowanceForLoanLossesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_EBCE487CF8A87DFE1127D8B330310111" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_6DAD23DA003ED80EA5D3D8B3302956E3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_EBCE487CF8A87DFE1127D8B330310111" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_6DAD23DA003ED80EA5D3D8B3302956E3" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_82FD1D25D09EFE524963D8B33030E6B4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_6DAD23DA003ED80EA5D3D8B3302956E3" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_82FD1D25D09EFE524963D8B33030E6B4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_E941C29BEDEA611C5F9BD8B33030801C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_82FD1D25D09EFE524963D8B33030E6B4" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_E941C29BEDEA611C5F9BD8B33030801C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_E941C29BEDEA611C5F9BD8B33030801C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_82FD1D25D09EFE524963D8B33030E6B4" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_E941C29BEDEA611C5F9BD8B33030801C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_UnfundedLoanCommitmentMember" xlink:label="loc_us-gaap_UnfundedLoanCommitmentMember_1A942294F1121CCDE82AD8B33030E68E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_E941C29BEDEA611C5F9BD8B33030801C" xlink:to="loc_us-gaap_UnfundedLoanCommitmentMember_1A942294F1121CCDE82AD8B33030E68E" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_MortgageLoansSoldMember" xlink:label="loc_cbnk_MortgageLoansSoldMember_AB3A2CA687CD4E1663B2D8B33031B5D0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_E941C29BEDEA611C5F9BD8B33030801C" xlink:to="loc_cbnk_MortgageLoansSoldMember_AB3A2CA687CD4E1663B2D8B33031B5D0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward_079184C16174BF8D29D4D8B330317C77" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_EBCE487CF8A87DFE1127D8B330310111" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward_079184C16174BF8D29D4D8B330317C77" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_3D67ED60E198221106F6D8B330318D8F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward_079184C16174BF8D29D4D8B330317C77" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_3D67ED60E198221106F6D8B330318D8F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProvisionForLoanLossesExpensed" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_74D658F06D86CDE08AB1D8B33031D7BE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward_079184C16174BF8D29D4D8B330317C77" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_74D658F06D86CDE08AB1D8B33031D7BE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AllowanceForLoanAndLeaseLossesWriteoffsNet" xlink:label="loc_us-gaap_AllowanceForLoanAndLeaseLossesWriteoffsNet_854D1F4FE661B9E24A69D8B330314538" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward_079184C16174BF8D29D4D8B330317C77" xlink:to="loc_us-gaap_AllowanceForLoanAndLeaseLossesWriteoffsNet_854D1F4FE661B9E24A69D8B330314538" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/PortfolioLoansReceivableAllowanceForLoanLossesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansAndLeasesReceivableDisclosureLineItems" xlink:label="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_27B11900DB041D07C829AA0EDDA8BAED" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansAndLeasesReceivableDisclosureTable" xlink:label="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_7E79B46BA44EECEB6E79AA0EDDA5E1D6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_27B11900DB041D07C829AA0EDDA8BAED" xlink:to="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_7E79B46BA44EECEB6E79AA0EDDA5E1D6" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_FE530BCD94EE8F65370BAA0EDDA5BBEE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_7E79B46BA44EECEB6E79AA0EDDA5E1D6" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_FE530BCD94EE8F65370BAA0EDDA5BBEE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_46CAE821C2BEDC8C193FAA0EDDA6ED8E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_FE530BCD94EE8F65370BAA0EDDA5BBEE" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_46CAE821C2BEDC8C193FAA0EDDA6ED8E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_46CAE821C2BEDC8C193FAA0EDDA6ED8E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_FE530BCD94EE8F65370BAA0EDDA5BBEE" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_46CAE821C2BEDC8C193FAA0EDDA6ED8E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_CCC560E1D611E6BA8140AA0EDDA6D56C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_46CAE821C2BEDC8C193FAA0EDDA6ED8E" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_CCC560E1D611E6BA8140AA0EDDA6D56C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_C985ADCD46AFF2B85406AA0EDDA655EB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_46CAE821C2BEDC8C193FAA0EDDA6ED8E" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_C985ADCD46AFF2B85406AA0EDDA655EB" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_ConstructionPortfolioSegmentMember" xlink:label="loc_cbnk_ConstructionPortfolioSegmentMember_4E2E9FA0C6C792C2BEB8AA0EDDA64964" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_46CAE821C2BEDC8C193FAA0EDDA6ED8E" xlink:to="loc_cbnk_ConstructionPortfolioSegmentMember_4E2E9FA0C6C792C2BEB8AA0EDDA64964" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_33C846CBA8E49C20AC51AA0EDDA6B32C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_46CAE821C2BEDC8C193FAA0EDDA6ED8E" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_33C846CBA8E49C20AC51AA0EDDA6B32C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_0831D72EC0FD94B22393AA0EDDA79543" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_7E79B46BA44EECEB6E79AA0EDDA5E1D6" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_0831D72EC0FD94B22393AA0EDDA79543" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_EA2D50AC4F2F0446C3F5AA0EDDA74C10_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_0831D72EC0FD94B22393AA0EDDA79543" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_EA2D50AC4F2F0446C3F5AA0EDDA74C10_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_EA2D50AC4F2F0446C3F5AA0EDDA74C10" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_0831D72EC0FD94B22393AA0EDDA79543" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_EA2D50AC4F2F0446C3F5AA0EDDA74C10" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="loc_us-gaap_RealEstateLoanMember_6EB5328E4D1043988B90AA0EDDA71A26" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_EA2D50AC4F2F0446C3F5AA0EDDA74C10" xlink:to="loc_us-gaap_RealEstateLoanMember_6EB5328E4D1043988B90AA0EDDA71A26" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CreditCardReceivablesMember" xlink:label="loc_us-gaap_CreditCardReceivablesMember_F5AC1CDC16A7BF0B02B9AA0EDDA7D014" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_EA2D50AC4F2F0446C3F5AA0EDDA74C10" xlink:to="loc_us-gaap_CreditCardReceivablesMember_F5AC1CDC16A7BF0B02B9AA0EDDA7D014" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_OtherConsumerMember" xlink:label="loc_cbnk_OtherConsumerMember_D8A049BAF6634063EF9EAA0EDDA7FD70" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_EA2D50AC4F2F0446C3F5AA0EDDA74C10" xlink:to="loc_cbnk_OtherConsumerMember_D8A049BAF6634063EF9EAA0EDDA7FD70" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AllowanceForLoanAndLeaseLossesRollForward" xlink:label="loc_us-gaap_AllowanceForLoanAndLeaseLossesRollForward_D3F40171FA2C48364646AA0EDDA89764" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_27B11900DB041D07C829AA0EDDA8BAED" xlink:to="loc_us-gaap_AllowanceForLoanAndLeaseLossesRollForward_D3F40171FA2C48364646AA0EDDA89764" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_DAB824B01FB6AA6DBEF9AA0EDDA8C993" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AllowanceForLoanAndLeaseLossesRollForward_D3F40171FA2C48364646AA0EDDA89764" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_DAB824B01FB6AA6DBEF9AA0EDDA8C993" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProvisionForLoanLossesExpensed" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_411F45A4B9A0F0A1E53AAA0EDDA81871" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AllowanceForLoanAndLeaseLossesRollForward_D3F40171FA2C48364646AA0EDDA89764" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_411F45A4B9A0F0A1E53AAA0EDDA81871" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AllowanceForLoanAndLeaseLossesWriteOffs" xlink:label="loc_us-gaap_AllowanceForLoanAndLeaseLossesWriteOffs_E5C772FBC190EC8C8995AA0EDDA9B3E0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AllowanceForLoanAndLeaseLossesRollForward_D3F40171FA2C48364646AA0EDDA89764" xlink:to="loc_us-gaap_AllowanceForLoanAndLeaseLossesWriteOffs_E5C772FBC190EC8C8995AA0EDDA9B3E0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery_8389B66964D54FF14E11AA0EDDA931A4" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AllowanceForLoanAndLeaseLossesRollForward_D3F40171FA2C48364646AA0EDDA89764" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery_8389B66964D54FF14E11AA0EDDA931A4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1_51A1FF37DBBE20163EAEAA0EDDA9EF6F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_27B11900DB041D07C829AA0EDDA8BAED" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1_51A1FF37DBBE20163EAEAA0EDDA9EF6F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment_8EE8045D60F60C6D11F5AA0EDDA9DB3F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_27B11900DB041D07C829AA0EDDA8BAED" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment_8EE8045D60F60C6D11F5AA0EDDA9DB3F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" xlink:label="loc_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment_8F9DE0583C722B1EF7C6AA0EDDA9507B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_27B11900DB041D07C829AA0EDDA8BAED" xlink:to="loc_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment_8F9DE0583C722B1EF7C6AA0EDDA9507B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment" xlink:label="loc_us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment_1FCDCA7E6020B678284BAA0EDDAA093D" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_27B11900DB041D07C829AA0EDDA8BAED" xlink:to="loc_us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment_1FCDCA7E6020B678284BAA0EDDAA093D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/PortfolioLoansReceivableClassificationOfLoansDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansAndLeasesReceivableDisclosureLineItems" xlink:label="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4B392A9AF044EE69EC048F3E8C2C9412" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansAndLeasesReceivableDisclosureTable" xlink:label="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_405556CD687B813651E38F3E8C27ED68" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4B392A9AF044EE69EC048F3E8C2C9412" xlink:to="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_405556CD687B813651E38F3E8C27ED68" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ClassOfFinancingReceivableTypeOfBorrowerAxis" xlink:label="loc_us-gaap_ClassOfFinancingReceivableTypeOfBorrowerAxis_38B5DD06E646B0BF2DDD8F3E8C27E07A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_405556CD687B813651E38F3E8C27ED68" xlink:to="loc_us-gaap_ClassOfFinancingReceivableTypeOfBorrowerAxis_38B5DD06E646B0BF2DDD8F3E8C27E07A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ClassOfFinancingReceivableTypeOfBorrowerDomain" xlink:label="loc_us-gaap_ClassOfFinancingReceivableTypeOfBorrowerDomain_1078511C8939264B6FFE8F3E8C277F9E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ClassOfFinancingReceivableTypeOfBorrowerAxis_38B5DD06E646B0BF2DDD8F3E8C27E07A" xlink:to="loc_us-gaap_ClassOfFinancingReceivableTypeOfBorrowerDomain_1078511C8939264B6FFE8F3E8C277F9E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ClassOfFinancingReceivableTypeOfBorrowerDomain" xlink:label="loc_us-gaap_ClassOfFinancingReceivableTypeOfBorrowerDomain_1078511C8939264B6FFE8F3E8C277F9E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ClassOfFinancingReceivableTypeOfBorrowerAxis_38B5DD06E646B0BF2DDD8F3E8C27E07A" xlink:to="loc_us-gaap_ClassOfFinancingReceivableTypeOfBorrowerDomain_1078511C8939264B6FFE8F3E8C277F9E" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_OwnerOccupiedRealEstateMember" xlink:label="loc_cbnk_OwnerOccupiedRealEstateMember_89BB412DE2E8EA9105078F3E8C2862A6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfFinancingReceivableTypeOfBorrowerDomain_1078511C8939264B6FFE8F3E8C277F9E" xlink:to="loc_cbnk_OwnerOccupiedRealEstateMember_89BB412DE2E8EA9105078F3E8C2862A6" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_InvestorRealEstateMember" xlink:label="loc_cbnk_InvestorRealEstateMember_DE9CC3F4D50446FEF1A28F3E8C281F21" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfFinancingReceivableTypeOfBorrowerDomain_1078511C8939264B6FFE8F3E8C277F9E" xlink:to="loc_cbnk_InvestorRealEstateMember_DE9CC3F4D50446FEF1A28F3E8C281F21" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_89A436974159E013BF308F3E8C28C75D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_405556CD687B813651E38F3E8C27ED68" xlink:to="loc_srt_RangeAxis_89A436974159E013BF308F3E8C28C75D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_ECC3B27ED7462A1A782E8F3E8C28D7F5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_89A436974159E013BF308F3E8C28C75D" xlink:to="loc_srt_RangeMember_ECC3B27ED7462A1A782E8F3E8C28D7F5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_ECC3B27ED7462A1A782E8F3E8C28D7F5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_89A436974159E013BF308F3E8C28C75D" xlink:to="loc_srt_RangeMember_ECC3B27ED7462A1A782E8F3E8C28D7F5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_B32804A462DF30FF7AA08F3E8C29FA4D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_ECC3B27ED7462A1A782E8F3E8C28D7F5" xlink:to="loc_srt_MinimumMember_B32804A462DF30FF7AA08F3E8C29FA4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_3049285E9731DDE9C23C8F3E8C293F3C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_ECC3B27ED7462A1A782E8F3E8C28D7F5" xlink:to="loc_srt_MaximumMember_3049285E9731DDE9C23C8F3E8C293F3C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_5CEF8CE527F34A9F61D68F3E8C29DEF1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_405556CD687B813651E38F3E8C27ED68" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_5CEF8CE527F34A9F61D68F3E8C29DEF1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_CF92876CD5BEFDC0AAB18F3E8C296FF2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_5CEF8CE527F34A9F61D68F3E8C29DEF1" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_CF92876CD5BEFDC0AAB18F3E8C296FF2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_CF92876CD5BEFDC0AAB18F3E8C296FF2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_5CEF8CE527F34A9F61D68F3E8C29DEF1" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_CF92876CD5BEFDC0AAB18F3E8C296FF2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_9B760AFF31817A57721A8F3E8C2A9F9A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_CF92876CD5BEFDC0AAB18F3E8C296FF2" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_9B760AFF31817A57721A8F3E8C2A9F9A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_E0DEDF5E8930EFD101A58F3E8C2AA081" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_CF92876CD5BEFDC0AAB18F3E8C296FF2" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_E0DEDF5E8930EFD101A58F3E8C2AA081" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_ConstructionPortfolioSegmentMember" xlink:label="loc_cbnk_ConstructionPortfolioSegmentMember_91B7F5ABECF29AAE93838F3E8C2A16F6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_CF92876CD5BEFDC0AAB18F3E8C296FF2" xlink:to="loc_cbnk_ConstructionPortfolioSegmentMember_91B7F5ABECF29AAE93838F3E8C2A16F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_E0B396C71D212164E4FA8F3E8C2A6C30" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_CF92876CD5BEFDC0AAB18F3E8C296FF2" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_E0B396C71D212164E4FA8F3E8C2A6C30" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_16A43CB39CFDCFE4D0DE8F3E8C2AACC9" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_405556CD687B813651E38F3E8C27ED68" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_16A43CB39CFDCFE4D0DE8F3E8C2AACC9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_C6453ED4E12AB294E1CC8F3E8C2B79A8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_16A43CB39CFDCFE4D0DE8F3E8C2AACC9" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_C6453ED4E12AB294E1CC8F3E8C2B79A8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_C6453ED4E12AB294E1CC8F3E8C2B79A8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_16A43CB39CFDCFE4D0DE8F3E8C2AACC9" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_C6453ED4E12AB294E1CC8F3E8C2B79A8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="loc_us-gaap_RealEstateLoanMember_421763920EACACAC83848F3E8C2B7570" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_C6453ED4E12AB294E1CC8F3E8C2B79A8" xlink:to="loc_us-gaap_RealEstateLoanMember_421763920EACACAC83848F3E8C2B7570" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_PaycheckProtectionProgramMember" xlink:label="loc_cbnk_PaycheckProtectionProgramMember_7E40289D277F2789F5A48F3E8C2BBB1A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_C6453ED4E12AB294E1CC8F3E8C2B79A8" xlink:to="loc_cbnk_PaycheckProtectionProgramMember_7E40289D277F2789F5A48F3E8C2BBB1A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CreditCardReceivablesMember" xlink:label="loc_us-gaap_CreditCardReceivablesMember_C854344883CFE01A37F88F3E8C2B7B94" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_C6453ED4E12AB294E1CC8F3E8C2B79A8" xlink:to="loc_us-gaap_CreditCardReceivablesMember_C854344883CFE01A37F88F3E8C2B7B94" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_OtherConsumerMember" xlink:label="loc_cbnk_OtherConsumerMember_A28570CB5F1108F7E0AD8F3E8C2B33A0" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_C6453ED4E12AB294E1CC8F3E8C2B79A8" xlink:to="loc_cbnk_OtherConsumerMember_A28570CB5F1108F7E0AD8F3E8C2B33A0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CollateralAxis" xlink:label="loc_us-gaap_CollateralAxis_55B406A3D49E5C694DD08F3E8C2C043C" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_405556CD687B813651E38F3E8C27ED68" xlink:to="loc_us-gaap_CollateralAxis_55B406A3D49E5C694DD08F3E8C2C043C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CollateralDomain" xlink:label="loc_us-gaap_CollateralDomain_E83B4ADA5297A10818C38F3E8C2C25EA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CollateralAxis_55B406A3D49E5C694DD08F3E8C2C043C" xlink:to="loc_us-gaap_CollateralDomain_E83B4ADA5297A10818C38F3E8C2C25EA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CollateralDomain" xlink:label="loc_us-gaap_CollateralDomain_E83B4ADA5297A10818C38F3E8C2C25EA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CollateralAxis_55B406A3D49E5C694DD08F3E8C2C043C" xlink:to="loc_us-gaap_CollateralDomain_E83B4ADA5297A10818C38F3E8C2C25EA" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_SavingsDepositsMember" xlink:label="loc_cbnk_SavingsDepositsMember_A002AC78989E893280318F3E8C2C4F36" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollateralDomain_E83B4ADA5297A10818C38F3E8C2C25EA" xlink:to="loc_cbnk_SavingsDepositsMember_A002AC78989E893280318F3E8C2C4F36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NotesReceivableGross" xlink:label="loc_us-gaap_NotesReceivableGross_7C7A056F486ABBF017728F3E8C2CF612" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4B392A9AF044EE69EC048F3E8C2C9412" xlink:to="loc_us-gaap_NotesReceivableGross_7C7A056F486ABBF017728F3E8C2CF612" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansAndLeasesReceivableDeferredIncome" xlink:label="loc_us-gaap_LoansAndLeasesReceivableDeferredIncome_5A3837EA51DC3F214CAF8F3E8C2D34ED" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4B392A9AF044EE69EC048F3E8C2C9412" xlink:to="loc_us-gaap_LoansAndLeasesReceivableDeferredIncome_5A3837EA51DC3F214CAF8F3E8C2D34ED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_F080EE31539D995C5D948F3E8C2DB7F7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4B392A9AF044EE69EC048F3E8C2C9412" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_F080EE31539D995C5D948F3E8C2DB7F7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NotesReceivableNet" xlink:label="loc_us-gaap_NotesReceivableNet_01A8DFC1989D89A379178F3E8C2DA567" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4B392A9AF044EE69EC048F3E8C2C9412" xlink:to="loc_us-gaap_NotesReceivableNet_01A8DFC1989D89A379178F3E8C2DA567" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_LoansAndLeasesReceivableFixedInterestRateTerm" xlink:label="loc_cbnk_LoansAndLeasesReceivableFixedInterestRateTerm_7958DB93220BD0CF7F118F3E8C2DC71E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4B392A9AF044EE69EC048F3E8C2C9412" xlink:to="loc_cbnk_LoansAndLeasesReceivableFixedInterestRateTerm_7958DB93220BD0CF7F118F3E8C2DC71E" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_LoansAndLeasesReceivableInitialCommitmentTerm" xlink:label="loc_cbnk_LoansAndLeasesReceivableInitialCommitmentTerm_E657CF919FA4E9C8B18D8F3E8C2DBFBA" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4B392A9AF044EE69EC048F3E8C2C9412" xlink:to="loc_cbnk_LoansAndLeasesReceivableInitialCommitmentTerm_E657CF919FA4E9C8B18D8F3E8C2DBFBA" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_LoansAndLeasesReceivableBalloonPaymentPeriod" xlink:label="loc_cbnk_LoansAndLeasesReceivableBalloonPaymentPeriod_481951C5295759E933BD8F3E8C2E7BA8" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4B392A9AF044EE69EC048F3E8C2C9412" xlink:to="loc_cbnk_LoansAndLeasesReceivableBalloonPaymentPeriod_481951C5295759E933BD8F3E8C2E7BA8" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_LoansAndLeasesReceivableCovenantComplianceDebtServiceCoverageRatio" xlink:label="loc_cbnk_LoansAndLeasesReceivableCovenantComplianceDebtServiceCoverageRatio_7B46594673D2142C4FBE8F3E8C2E599C" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4B392A9AF044EE69EC048F3E8C2C9412" xlink:to="loc_cbnk_LoansAndLeasesReceivableCovenantComplianceDebtServiceCoverageRatio_7B46594673D2142C4FBE8F3E8C2E599C" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_LoansAndLeasesReceivablePercentOfRealEstatePortfolio" xlink:label="loc_cbnk_LoansAndLeasesReceivablePercentOfRealEstatePortfolio_F75E9E537A90358FB95C8F3E8C2E8563" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4B392A9AF044EE69EC048F3E8C2C9412" xlink:to="loc_cbnk_LoansAndLeasesReceivablePercentOfRealEstatePortfolio_F75E9E537A90358FB95C8F3E8C2E8563" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_LoansAndLeasesReceivableAmortizationPeriod" xlink:label="loc_cbnk_LoansAndLeasesReceivableAmortizationPeriod_236800ACF7B4497758708F3E8C2ECDDF" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4B392A9AF044EE69EC048F3E8C2C9412" xlink:to="loc_cbnk_LoansAndLeasesReceivableAmortizationPeriod_236800ACF7B4497758708F3E8C2ECDDF" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_LoansAndLeasesReceivablePrincipalToCollateralValueRatioPercent" xlink:label="loc_cbnk_LoansAndLeasesReceivablePrincipalToCollateralValueRatioPercent_35DCBAF0D801140F91DC8F3E8C2E728D" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4B392A9AF044EE69EC048F3E8C2C9412" xlink:to="loc_cbnk_LoansAndLeasesReceivablePrincipalToCollateralValueRatioPercent_35DCBAF0D801140F91DC8F3E8C2E728D" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_LoansAndLeasesReceivableRepaymentHistoryUsedForScoringModel" xlink:label="loc_cbnk_LoansAndLeasesReceivableRepaymentHistoryUsedForScoringModel_8EB0280311FFDD6D05C08F3E8C2EA52D" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4B392A9AF044EE69EC048F3E8C2C9412" xlink:to="loc_cbnk_LoansAndLeasesReceivableRepaymentHistoryUsedForScoringModel_8EB0280311FFDD6D05C08F3E8C2EA52D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/PortfolioLoansReceivableCreditQualityIndicatorsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentLineItems" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_687AFCCC29DBC024AE2FD8B33042A8BA" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_A931E8E3B31B474F4714D8B33042C9EE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_687AFCCC29DBC024AE2FD8B33042A8BA" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_A931E8E3B31B474F4714D8B33042C9EE" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2668D6D21196B24430A8D8B33042C5F5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_A931E8E3B31B474F4714D8B33042C9EE" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2668D6D21196B24430A8D8B33042C5F5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_BE62757298095663107BD8B3304201E3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2668D6D21196B24430A8D8B33042C5F5" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_BE62757298095663107BD8B3304201E3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_BE62757298095663107BD8B3304201E3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2668D6D21196B24430A8D8B33042C5F5" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_BE62757298095663107BD8B3304201E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_697CBBC6FFA782B5AF10D8B330421B43" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_BE62757298095663107BD8B3304201E3" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_697CBBC6FFA782B5AF10D8B330421B43" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_9A09B0132F1CB15F00B1D8B33042A60E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_BE62757298095663107BD8B3304201E3" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_9A09B0132F1CB15F00B1D8B33042A60E" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_ConstructionPortfolioSegmentMember" xlink:label="loc_cbnk_ConstructionPortfolioSegmentMember_C38562D654036FA42517D8B33042DBD7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_BE62757298095663107BD8B3304201E3" xlink:to="loc_cbnk_ConstructionPortfolioSegmentMember_C38562D654036FA42517D8B33042DBD7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_3056CCB954BAABF10A28D8B330420F52" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_BE62757298095663107BD8B3304201E3" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_3056CCB954BAABF10A28D8B330420F52" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_8795D828004A75A02289D8B330423B97" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_A931E8E3B31B474F4714D8B33042C9EE" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_8795D828004A75A02289D8B330423B97" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8A396F791183EA5EE5E7D8B330423D0C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_8795D828004A75A02289D8B330423B97" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8A396F791183EA5EE5E7D8B330423D0C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8A396F791183EA5EE5E7D8B330423D0C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_8795D828004A75A02289D8B330423B97" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8A396F791183EA5EE5E7D8B330423D0C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="loc_us-gaap_RealEstateLoanMember_2266DAB4366961CDADA7D8B330423FF7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8A396F791183EA5EE5E7D8B330423D0C" xlink:to="loc_us-gaap_RealEstateLoanMember_2266DAB4366961CDADA7D8B330423FF7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CreditCardReceivablesMember" xlink:label="loc_us-gaap_CreditCardReceivablesMember_4D675E086325CA90E50FD8B330429D02" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8A396F791183EA5EE5E7D8B330423D0C" xlink:to="loc_us-gaap_CreditCardReceivablesMember_4D675E086325CA90E50FD8B330429D02" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_OtherConsumerMember" xlink:label="loc_cbnk_OtherConsumerMember_E66271431F4D168D426BD8B33042F040" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8A396F791183EA5EE5E7D8B330423D0C" xlink:to="loc_cbnk_OtherConsumerMember_E66271431F4D168D426BD8B33042F040" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InternalCreditAssessmentAxis" xlink:label="loc_us-gaap_InternalCreditAssessmentAxis_418ADF4B710AB87B6021D8B33042E9A5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_A931E8E3B31B474F4714D8B33042C9EE" xlink:to="loc_us-gaap_InternalCreditAssessmentAxis_418ADF4B710AB87B6021D8B33042E9A5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain_262A58E4CA3CAEB0BC2BD8B33042DC7F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis_418ADF4B710AB87B6021D8B33042E9A5" xlink:to="loc_us-gaap_InternalCreditAssessmentDomain_262A58E4CA3CAEB0BC2BD8B33042DC7F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain_262A58E4CA3CAEB0BC2BD8B33042DC7F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis_418ADF4B710AB87B6021D8B33042E9A5" xlink:to="loc_us-gaap_InternalCreditAssessmentDomain_262A58E4CA3CAEB0BC2BD8B33042DC7F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PassMember" xlink:label="loc_us-gaap_PassMember_2FE4B22554A6C5078F5AD8B33042ED6D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_262A58E4CA3CAEB0BC2BD8B33042DC7F" xlink:to="loc_us-gaap_PassMember_2FE4B22554A6C5078F5AD8B33042ED6D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SpecialMentionMember" xlink:label="loc_us-gaap_SpecialMentionMember_24DDBE02481486810F33D8B330429EAF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_262A58E4CA3CAEB0BC2BD8B33042DC7F" xlink:to="loc_us-gaap_SpecialMentionMember_24DDBE02481486810F33D8B330429EAF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SubstandardMember" xlink:label="loc_us-gaap_SubstandardMember_AAC6E7D8D210D7A5BF4BD8B330426E4A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_262A58E4CA3CAEB0BC2BD8B33042DC7F" xlink:to="loc_us-gaap_SubstandardMember_AAC6E7D8D210D7A5BF4BD8B330426E4A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DoubtfulMember" xlink:label="loc_us-gaap_DoubtfulMember_960903735191B0CA2D94D8B33042D0EB" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_262A58E4CA3CAEB0BC2BD8B33042DC7F" xlink:to="loc_us-gaap_DoubtfulMember_960903735191B0CA2D94D8B33042D0EB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NotesReceivableGross" xlink:label="loc_us-gaap_NotesReceivableGross_4F5F99081546AD3230C0D8B33042646C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_687AFCCC29DBC024AE2FD8B33042A8BA" xlink:to="loc_us-gaap_NotesReceivableGross_4F5F99081546AD3230C0D8B33042646C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/PortfolioLoansReceivableImpairedLoansDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableImpairedLineItems" xlink:label="loc_us-gaap_FinancingReceivableImpairedLineItems_35BC7D65111FD2D9570B8F3E8C146DAC" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfImpairedFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfImpairedFinancingReceivableTable_03675D02C7068F9F98798F3E8C11EF2F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_35BC7D65111FD2D9570B8F3E8C146DAC" xlink:to="loc_us-gaap_ScheduleOfImpairedFinancingReceivableTable_03675D02C7068F9F98798F3E8C11EF2F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_E8E4132B4EEECF78C9AD8F3E8C125AA8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfImpairedFinancingReceivableTable_03675D02C7068F9F98798F3E8C11EF2F" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_E8E4132B4EEECF78C9AD8F3E8C125AA8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_9566D52B3C618B12CD978F3E8C129A83_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_E8E4132B4EEECF78C9AD8F3E8C125AA8" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_9566D52B3C618B12CD978F3E8C129A83_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_9566D52B3C618B12CD978F3E8C129A83" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_E8E4132B4EEECF78C9AD8F3E8C125AA8" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_9566D52B3C618B12CD978F3E8C129A83" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_511D113631CAFDBE15818F3E8C125D0B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_9566D52B3C618B12CD978F3E8C129A83" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_511D113631CAFDBE15818F3E8C125D0B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_474E724710F7A86A45238F3E8C1381F6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_9566D52B3C618B12CD978F3E8C129A83" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_474E724710F7A86A45238F3E8C1381F6" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_ConstructionPortfolioSegmentMember" xlink:label="loc_cbnk_ConstructionPortfolioSegmentMember_EAB02104369F462EEB498F3E8C1362F1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_9566D52B3C618B12CD978F3E8C129A83" xlink:to="loc_cbnk_ConstructionPortfolioSegmentMember_EAB02104369F462EEB498F3E8C1362F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_D5B2620479363C01C1C68F467412126D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_9566D52B3C618B12CD978F3E8C129A83" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_D5B2620479363C01C1C68F467412126D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_BB78ADC98389F77C181B8F3E8C13120E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfImpairedFinancingReceivableTable_03675D02C7068F9F98798F3E8C11EF2F" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_BB78ADC98389F77C181B8F3E8C13120E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_96FD0F213945495AEE168F3E8C13293D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_BB78ADC98389F77C181B8F3E8C13120E" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_96FD0F213945495AEE168F3E8C13293D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_96FD0F213945495AEE168F3E8C13293D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_BB78ADC98389F77C181B8F3E8C13120E" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_96FD0F213945495AEE168F3E8C13293D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="loc_us-gaap_RealEstateLoanMember_1A121A7705D75D5C7DB48F3E8C1317F5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_96FD0F213945495AEE168F3E8C13293D" xlink:to="loc_us-gaap_RealEstateLoanMember_1A121A7705D75D5C7DB48F3E8C1317F5" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_AcquiredLoansMember" xlink:label="loc_cbnk_AcquiredLoansMember_24E1CC189CE973FCFAD98F3E8C13910A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_96FD0F213945495AEE168F3E8C13293D" xlink:to="loc_cbnk_AcquiredLoansMember_24E1CC189CE973FCFAD98F3E8C13910A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CreditCardReceivablesMember" xlink:label="loc_us-gaap_CreditCardReceivablesMember_C34008E6221C9D1F04138F46738AC0E7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_96FD0F213945495AEE168F3E8C13293D" xlink:to="loc_us-gaap_CreditCardReceivablesMember_C34008E6221C9D1F04138F46738AC0E7" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_OtherConsumerMember" xlink:label="loc_cbnk_OtherConsumerMember_57D19A642C793485250A8F46AD960F1F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_96FD0F213945495AEE168F3E8C13293D" xlink:to="loc_cbnk_OtherConsumerMember_57D19A642C793485250A8F46AD960F1F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance" xlink:label="loc_us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance_A8112B1DD02A68B63A1C8F3E8C148FC2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_35BC7D65111FD2D9570B8F3E8C146DAC" xlink:to="loc_us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance_A8112B1DD02A68B63A1C8F3E8C148FC2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment_830F6D4F63EE7BC4F5768F3E8C14BF60" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_35BC7D65111FD2D9570B8F3E8C146DAC" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment_830F6D4F63EE7BC4F5768F3E8C14BF60" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment_AE82B1368C9FC07C86568F3E8C14FE73" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_35BC7D65111FD2D9570B8F3E8C146DAC" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment_AE82B1368C9FC07C86568F3E8C14FE73" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ImpairedFinancingReceivableRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_016BFFD1F3AE8FC16D4C8F3E8C14710B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_35BC7D65111FD2D9570B8F3E8C146DAC" xlink:to="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_016BFFD1F3AE8FC16D4C8F3E8C14710B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ImpairedFinancingReceivableRelatedAllowance" xlink:label="loc_us-gaap_ImpairedFinancingReceivableRelatedAllowance_5DF6BB32CD86D40587EF8F3E8C151934" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_35BC7D65111FD2D9570B8F3E8C146DAC" xlink:to="loc_us-gaap_ImpairedFinancingReceivableRelatedAllowance_5DF6BB32CD86D40587EF8F3E8C151934" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment_0BEE200741A1D02741FE8F3E8C159628" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_35BC7D65111FD2D9570B8F3E8C146DAC" xlink:to="loc_us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment_0BEE200741A1D02741FE8F3E8C159628" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ImpairedFinancingReceivableInterestIncomeAccrualMethod" xlink:label="loc_us-gaap_ImpairedFinancingReceivableInterestIncomeAccrualMethod_F8C7C3A6D5B9FC9D0F0B8F3E8C15EAA2" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_35BC7D65111FD2D9570B8F3E8C146DAC" xlink:to="loc_us-gaap_ImpairedFinancingReceivableInterestIncomeAccrualMethod_F8C7C3A6D5B9FC9D0F0B8F3E8C15EAA2" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/PortfolioLoansReceivableOutstandingLoanCommitmentsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_C91FE9B9BE149647CCF8D8B330398CD5" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_08E19E395B2BAB4538F0D8B33031A3AC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_C91FE9B9BE149647CCF8D8B330398CD5" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_08E19E395B2BAB4538F0D8B33031A3AC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_CBC09600716131634918D8B330313C5D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_08E19E395B2BAB4538F0D8B33031A3AC" xlink:to="loc_us-gaap_FinancialInstrumentAxis_CBC09600716131634918D8B330313C5D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_83515CF360E4C17B5B54D8B33031F30D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_CBC09600716131634918D8B330313C5D" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_83515CF360E4C17B5B54D8B33031F30D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_83515CF360E4C17B5B54D8B33031F30D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_CBC09600716131634918D8B330313C5D" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_83515CF360E4C17B5B54D8B33031F30D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommitmentsToExtendCreditMember" xlink:label="loc_us-gaap_CommitmentsToExtendCreditMember_B1ABFD58B07D5C819FC2D8B3303141BB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_83515CF360E4C17B5B54D8B33031F30D" xlink:to="loc_us-gaap_CommitmentsToExtendCreditMember_B1ABFD58B07D5C819FC2D8B3303141BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_361FE6BD83327CC2F71ED8B33031354B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_08E19E395B2BAB4538F0D8B33031A3AC" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_361FE6BD83327CC2F71ED8B33031354B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_9A62ACBEA6C5E045AF3CD8B33031BFB1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_361FE6BD83327CC2F71ED8B33031354B" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_9A62ACBEA6C5E045AF3CD8B33031BFB1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_9A62ACBEA6C5E045AF3CD8B33031BFB1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_361FE6BD83327CC2F71ED8B33031354B" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_9A62ACBEA6C5E045AF3CD8B33031BFB1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_9A1C09AE1741678E34A9D8B3303124E2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_9A62ACBEA6C5E045AF3CD8B33031BFB1" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_9A1C09AE1741678E34A9D8B3303124E2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_5E171B319D44D37C9613D8B33031720E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_9A62ACBEA6C5E045AF3CD8B33031BFB1" xlink:to="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_5E171B319D44D37C9613D8B33031720E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_C7B6C03F617C03B43A67D8B330312288" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_9A62ACBEA6C5E045AF3CD8B33031BFB1" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_C7B6C03F617C03B43A67D8B330312288" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_C3C8CF17B95FDA07C87CD8B33031DDFE" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_9A62ACBEA6C5E045AF3CD8B33031BFB1" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_C3C8CF17B95FDA07C87CD8B33031DDFE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_A50C0D98CEE7100EC2C0D8B330310639" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_08E19E395B2BAB4538F0D8B33031A3AC" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_A50C0D98CEE7100EC2C0D8B330310639" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_E1A8C3D42AE0BF927385D8B330310BAC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_A50C0D98CEE7100EC2C0D8B330310639" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_E1A8C3D42AE0BF927385D8B330310BAC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_E1A8C3D42AE0BF927385D8B330310BAC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_A50C0D98CEE7100EC2C0D8B330310639" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_E1A8C3D42AE0BF927385D8B330310BAC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="loc_us-gaap_RealEstateLoanMember_2FFA78DEBDCE153274BFD8B33031F831" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_E1A8C3D42AE0BF927385D8B330310BAC" xlink:to="loc_us-gaap_RealEstateLoanMember_2FFA78DEBDCE153274BFD8B33031F831" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_HomeEquityLoanMember" xlink:label="loc_us-gaap_HomeEquityLoanMember_68FD83087BEE4FAAA424D8B330319D0A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_E1A8C3D42AE0BF927385D8B330310BAC" xlink:to="loc_us-gaap_HomeEquityLoanMember_68FD83087BEE4FAAA424D8B330319D0A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CreditCardReceivablesMember" xlink:label="loc_us-gaap_CreditCardReceivablesMember_1EF2758C582301096230D8B33031AD08" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_E1A8C3D42AE0BF927385D8B330310BAC" xlink:to="loc_us-gaap_CreditCardReceivablesMember_1EF2758C582301096230D8B33031AD08" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_PersonalLoanMember" xlink:label="loc_cbnk_PersonalLoanMember_04229DF213FD189047A7D8B33039C76F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_E1A8C3D42AE0BF927385D8B330310BAC" xlink:to="loc_cbnk_PersonalLoanMember_04229DF213FD189047A7D8B33039C76F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_3FC2D03F97BD9C4C8AC6D8B33039CCB7" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_E1A8C3D42AE0BF927385D8B330310BAC" xlink:to="loc_us-gaap_ConstructionLoansMember_3FC2D03F97BD9C4C8AC6D8B33039CCB7" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_LoansHeldForSaleMember" xlink:label="loc_cbnk_LoansHeldForSaleMember_335EAF3D8338EB05F531D8B33039EA73" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_E1A8C3D42AE0BF927385D8B330310BAC" xlink:to="loc_cbnk_LoansHeldForSaleMember_335EAF3D8338EB05F531D8B33039EA73" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_UnusedCommitmentsToExtendCredit" xlink:label="loc_us-gaap_UnusedCommitmentsToExtendCredit_B3EAD34CCDA6C4F070E8D8B330392703" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_C91FE9B9BE149647CCF8D8B330398CD5" xlink:to="loc_us-gaap_UnusedCommitmentsToExtendCredit_B3EAD34CCDA6C4F070E8D8B330392703" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LettersOfCreditOutstandingAmount" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_15753AD5B137A1971C68D8B33039246A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_C91FE9B9BE149647CCF8D8B330398CD5" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_15753AD5B137A1971C68D8B33039246A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/PortfolioLoansReceivablePastDueFinancingReceivableDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_EBE01780DBD6A1467D98AA0EDD9EF0AE" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfFinancingReceivablesPastDueTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_25B4EB90474E644FA8E7AA0EDD9981C0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_EBE01780DBD6A1467D98AA0EDD9EF0AE" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_25B4EB90474E644FA8E7AA0EDD9981C0" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_E905C550859A8AF949C2AA0EDD9AFCAD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_25B4EB90474E644FA8E7AA0EDD9981C0" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_E905C550859A8AF949C2AA0EDD9AFCAD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1235D1F4FF707D0CC605AA0EDD9A97A1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_E905C550859A8AF949C2AA0EDD9AFCAD" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1235D1F4FF707D0CC605AA0EDD9A97A1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1235D1F4FF707D0CC605AA0EDD9A97A1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_E905C550859A8AF949C2AA0EDD9AFCAD" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1235D1F4FF707D0CC605AA0EDD9A97A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_9D7501EABDBAA3BF8C0CAA0EDD9AA19A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1235D1F4FF707D0CC605AA0EDD9A97A1" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_9D7501EABDBAA3BF8C0CAA0EDD9AA19A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_8492F6397F9641B75C07AA0EDD9B0D3E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1235D1F4FF707D0CC605AA0EDD9A97A1" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_8492F6397F9641B75C07AA0EDD9B0D3E" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_ConstructionPortfolioSegmentMember" xlink:label="loc_cbnk_ConstructionPortfolioSegmentMember_6CC55DA84289F996D952AA0EDD9BF146" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1235D1F4FF707D0CC605AA0EDD9A97A1" xlink:to="loc_cbnk_ConstructionPortfolioSegmentMember_6CC55DA84289F996D952AA0EDD9BF146" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_53A16D225007CE8B4FD3AA0EDD9B99A1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1235D1F4FF707D0CC605AA0EDD9A97A1" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_53A16D225007CE8B4FD3AA0EDD9B99A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_53776EA162B3878D85FCAA0EDD9B549F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_25B4EB90474E644FA8E7AA0EDD9981C0" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_53776EA162B3878D85FCAA0EDD9B549F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_508D9BBEB14EEAB87BD1AA0EDD9B8627_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_53776EA162B3878D85FCAA0EDD9B549F" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_508D9BBEB14EEAB87BD1AA0EDD9B8627_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_508D9BBEB14EEAB87BD1AA0EDD9B8627" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_53776EA162B3878D85FCAA0EDD9B549F" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_508D9BBEB14EEAB87BD1AA0EDD9B8627" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="loc_us-gaap_RealEstateLoanMember_7DF895C7BBCDD1EBE50AAA0EDD9BA5BC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_508D9BBEB14EEAB87BD1AA0EDD9B8627" xlink:to="loc_us-gaap_RealEstateLoanMember_7DF895C7BBCDD1EBE50AAA0EDD9BA5BC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CreditCardReceivablesMember" xlink:label="loc_us-gaap_CreditCardReceivablesMember_7427CB31A3638D8DABE9AA0EDD9C851B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_508D9BBEB14EEAB87BD1AA0EDD9B8627" xlink:to="loc_us-gaap_CreditCardReceivablesMember_7427CB31A3638D8DABE9AA0EDD9C851B" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_OtherConsumerMember" xlink:label="loc_cbnk_OtherConsumerMember_7AB60F0809DB2DD38C74AA0EDD9CB430" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_508D9BBEB14EEAB87BD1AA0EDD9B8627" xlink:to="loc_cbnk_OtherConsumerMember_7AB60F0809DB2DD38C74AA0EDD9CB430" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_AcquiredLoansMember" xlink:label="loc_cbnk_AcquiredLoansMember_35F4BB50143DF5D03C61AA0EDD9CB276" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_508D9BBEB14EEAB87BD1AA0EDD9B8627" xlink:to="loc_cbnk_AcquiredLoansMember_35F4BB50143DF5D03C61AA0EDD9CB276" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablesPeriodPastDueAxis" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_95D8C08BC206FAD0B737AA0EDD9CF55C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_25B4EB90474E644FA8E7AA0EDD9981C0" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_95D8C08BC206FAD0B737AA0EDD9CF55C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_D8B2E85B38EB01A1FD97AA0EDD9C87A5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_95D8C08BC206FAD0B737AA0EDD9CF55C" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_D8B2E85B38EB01A1FD97AA0EDD9C87A5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_D8B2E85B38EB01A1FD97AA0EDD9C87A5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_95D8C08BC206FAD0B737AA0EDD9CF55C" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_D8B2E85B38EB01A1FD97AA0EDD9C87A5" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_FinancingReceivables30To89DaysPastDueMember" xlink:label="loc_cbnk_FinancingReceivables30To89DaysPastDueMember_CE58B8AE69EE734F344BAA0EDD9DB6B5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_D8B2E85B38EB01A1FD97AA0EDD9C87A5" xlink:to="loc_cbnk_FinancingReceivables30To89DaysPastDueMember_CE58B8AE69EE734F344BAA0EDD9DB6B5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" xlink:label="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_ECC8F6759F75DB13BDD8AA0EDD9DAC67" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_D8B2E85B38EB01A1FD97AA0EDD9C87A5" xlink:to="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_ECC8F6759F75DB13BDD8AA0EDD9DAC67" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CollateralAxis" xlink:label="loc_us-gaap_CollateralAxis_3B309F6AF317C0455899AA0EDD9D8920" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_25B4EB90474E644FA8E7AA0EDD9981C0" xlink:to="loc_us-gaap_CollateralAxis_3B309F6AF317C0455899AA0EDD9D8920" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CollateralDomain" xlink:label="loc_us-gaap_CollateralDomain_61DBB841F5AAAEACC438AA0EDD9E4748_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CollateralAxis_3B309F6AF317C0455899AA0EDD9D8920" xlink:to="loc_us-gaap_CollateralDomain_61DBB841F5AAAEACC438AA0EDD9E4748_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CollateralDomain" xlink:label="loc_us-gaap_CollateralDomain_61DBB841F5AAAEACC438AA0EDD9E4748" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CollateralAxis_3B309F6AF317C0455899AA0EDD9D8920" xlink:to="loc_us-gaap_CollateralDomain_61DBB841F5AAAEACC438AA0EDD9E4748" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ResidentialRealEstateMember" xlink:label="loc_us-gaap_ResidentialRealEstateMember_A73CD53B7B07C0586B8BAA0EDD9EBEEE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollateralDomain_61DBB841F5AAAEACC438AA0EDD9E4748" xlink:to="loc_us-gaap_ResidentialRealEstateMember_A73CD53B7B07C0586B8BAA0EDD9EBEEE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDue" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDue_376D7D25E564FE3B4FBCAA0EDD9EF529" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_EBE01780DBD6A1467D98AA0EDD9EF0AE" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDue_376D7D25E564FE3B4FBCAA0EDD9EF529" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentCurrent" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentCurrent_CA476560DCEA67FA843AAA0EDD9E4E8C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_EBE01780DBD6A1467D98AA0EDD9EF0AE" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentCurrent_CA476560DCEA67FA843AAA0EDD9E4E8C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NotesReceivableGross" xlink:label="loc_us-gaap_NotesReceivableGross_9251D656A94B21128718AA0EDD9F5240" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_EBE01780DBD6A1467D98AA0EDD9EF0AE" xlink:to="loc_us-gaap_NotesReceivableGross_9251D656A94B21128718AA0EDD9F5240" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing_EC1385FACF9EFD5822FEAA0EDD9F3948" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_EBE01780DBD6A1467D98AA0EDD9EF0AE" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing_EC1385FACF9EFD5822FEAA0EDD9F3948" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus_AEE16F9D8CD24CED6754AA0EDD9F334F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_EBE01780DBD6A1467D98AA0EDD9EF0AE" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus_AEE16F9D8CD24CED6754AA0EDD9F334F" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/PortfolioLoansReceivableTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/PortfolioLoansReceivableTroubleDebtRestructuringDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableModificationsLineItems" xlink:label="loc_us-gaap_FinancingReceivableModificationsLineItems_AA0B5F00CDDC9AA92835D8B33041615B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_746527AD55CF1229D4BED8B33039A5E1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_AA0B5F00CDDC9AA92835D8B33041615B" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_746527AD55CF1229D4BED8B33039A5E1" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancialInstrumentPerformanceStatusAxis" xlink:label="loc_us-gaap_FinancialInstrumentPerformanceStatusAxis_A137A0F78E66F9BFB48BD8B330390611" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_746527AD55CF1229D4BED8B33039A5E1" xlink:to="loc_us-gaap_FinancialInstrumentPerformanceStatusAxis_A137A0F78E66F9BFB48BD8B330390611" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancialInstrumentPerformanceStatusDomain" xlink:label="loc_us-gaap_FinancialInstrumentPerformanceStatusDomain_8AB755DB8BC4F9DC15C8D8B330392AF2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentPerformanceStatusAxis_A137A0F78E66F9BFB48BD8B330390611" xlink:to="loc_us-gaap_FinancialInstrumentPerformanceStatusDomain_8AB755DB8BC4F9DC15C8D8B330392AF2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancialInstrumentPerformanceStatusDomain" xlink:label="loc_us-gaap_FinancialInstrumentPerformanceStatusDomain_8AB755DB8BC4F9DC15C8D8B330392AF2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentPerformanceStatusAxis_A137A0F78E66F9BFB48BD8B330390611" xlink:to="loc_us-gaap_FinancialInstrumentPerformanceStatusDomain_8AB755DB8BC4F9DC15C8D8B330392AF2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PerformingFinancingReceivableMember" xlink:label="loc_us-gaap_PerformingFinancingReceivableMember_E4BA249A8D942308E08AD8B330391E87" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentPerformanceStatusDomain_8AB755DB8BC4F9DC15C8D8B330392AF2" xlink:to="loc_us-gaap_PerformingFinancingReceivableMember_E4BA249A8D942308E08AD8B330391E87" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NonperformingFinancingReceivableMember" xlink:label="loc_us-gaap_NonperformingFinancingReceivableMember_31812676DD49399FB737D8B33039227E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentPerformanceStatusDomain_8AB755DB8BC4F9DC15C8D8B330392AF2" xlink:to="loc_us-gaap_NonperformingFinancingReceivableMember_31812676DD49399FB737D8B33039227E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_EE51AD1D942B5D3BB15AD8B33039087C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_746527AD55CF1229D4BED8B33039A5E1" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_EE51AD1D942B5D3BB15AD8B33039087C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1F5B8E772802E1535BAAD8B330394914_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_EE51AD1D942B5D3BB15AD8B33039087C" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1F5B8E772802E1535BAAD8B330394914_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1F5B8E772802E1535BAAD8B330394914" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_EE51AD1D942B5D3BB15AD8B33039087C" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1F5B8E772802E1535BAAD8B330394914" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_DFC6904C404B9634AB44D8B3303972FB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1F5B8E772802E1535BAAD8B330394914" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_DFC6904C404B9634AB44D8B3303972FB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_BF354CA98897D70A1663D8B330399A13" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1F5B8E772802E1535BAAD8B330394914" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_BF354CA98897D70A1663D8B330399A13" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_465E60A2B4628F0B5D5BD8B33039B574" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_746527AD55CF1229D4BED8B33039A5E1" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_465E60A2B4628F0B5D5BD8B33039B574" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_7B26676E6B866EB03811D8B33039E5AA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_465E60A2B4628F0B5D5BD8B33039B574" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_7B26676E6B866EB03811D8B33039E5AA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_7B26676E6B866EB03811D8B33039E5AA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_465E60A2B4628F0B5D5BD8B33039B574" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_7B26676E6B866EB03811D8B33039E5AA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="loc_us-gaap_RealEstateLoanMember_E649AAAF2FB5854369EAD8B330416542" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_7B26676E6B866EB03811D8B33039E5AA" xlink:to="loc_us-gaap_RealEstateLoanMember_E649AAAF2FB5854369EAD8B330416542" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_AcquiredLoansMember" xlink:label="loc_cbnk_AcquiredLoansMember_7575FBFBE3A849D24B78D8B330418061" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_7B26676E6B866EB03811D8B33039E5AA" xlink:to="loc_cbnk_AcquiredLoansMember_7575FBFBE3A849D24B78D8B330418061" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableModificationsNumberOfContracts2" xlink:label="loc_us-gaap_FinancingReceivableModificationsNumberOfContracts2_D383B5687BA43DAA1F82D8B33041E2CB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_AA0B5F00CDDC9AA92835D8B33041615B" xlink:to="loc_us-gaap_FinancingReceivableModificationsNumberOfContracts2_D383B5687BA43DAA1F82D8B33041E2CB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableModificationsRecordedInvestment" xlink:label="loc_us-gaap_FinancingReceivableModificationsRecordedInvestment_B9816D76660A29D935C1D8B33042ADCE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_AA0B5F00CDDC9AA92835D8B33041615B" xlink:to="loc_us-gaap_FinancingReceivableModificationsRecordedInvestment_B9816D76660A29D935C1D8B33042ADCE" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/SbaPppLoansReceivable" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansAndLeasesReceivableDisclosureLineItems" xlink:label="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_B46FEDB1ADE5BBFC37E5D8B330859962" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansAndLeasesReceivableDisclosureTable" xlink:label="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_F4BE384CC5C6F9423FCED8B33085909F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_B46FEDB1ADE5BBFC37E5D8B330859962" xlink:to="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_F4BE384CC5C6F9423FCED8B33085909F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_09B7020FE4F2F7786802D8B33085751D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_F4BE384CC5C6F9423FCED8B33085909F" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_09B7020FE4F2F7786802D8B33085751D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_DAC8A4CD331275313789D8B33085D1E2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_09B7020FE4F2F7786802D8B33085751D" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_DAC8A4CD331275313789D8B33085D1E2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_DAC8A4CD331275313789D8B33085D1E2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_09B7020FE4F2F7786802D8B33085751D" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_DAC8A4CD331275313789D8B33085D1E2" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_PaycheckProtectionProgramMember" xlink:label="loc_cbnk_PaycheckProtectionProgramMember_5F44AC3AA395A5BBAB26D8B33085058B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_DAC8A4CD331275313789D8B33085D1E2" xlink:to="loc_cbnk_PaycheckProtectionProgramMember_5F44AC3AA395A5BBAB26D8B33085058B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablesTextBlock" xlink:label="loc_us-gaap_FinancingReceivablesTextBlock_8FBE1E0B0820EFEE4ED3D8B33085FFB7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_B46FEDB1ADE5BBFC37E5D8B330859962" xlink:to="loc_us-gaap_FinancingReceivablesTextBlock_8FBE1E0B0820EFEE4ED3D8B33085FFB7" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/SbaPppLoansReceivableDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansAndLeasesReceivableDisclosureLineItems" xlink:label="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_F263911A42E0BF62F3487A6443687F2C" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansAndLeasesReceivableDisclosureTable" xlink:label="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_FC19E1B2C5C7EDA086967A644367E454" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_F263911A42E0BF62F3487A6443687F2C" xlink:to="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_FC19E1B2C5C7EDA086967A644367E454" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_AE18309E0EDC9609655C7A644367462E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_FC19E1B2C5C7EDA086967A644367E454" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_AE18309E0EDC9609655C7A644367462E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_31D3FF8FE1A99A8F204E7A644367BCA8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_AE18309E0EDC9609655C7A644367462E" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_31D3FF8FE1A99A8F204E7A644367BCA8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_31D3FF8FE1A99A8F204E7A644367BCA8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_AE18309E0EDC9609655C7A644367462E" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_31D3FF8FE1A99A8F204E7A644367BCA8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_5E594C5E6FD9211F63387A644367F27A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_31D3FF8FE1A99A8F204E7A644367BCA8" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_5E594C5E6FD9211F63387A644367F27A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_CC91A8188A40A7EF167B7A64436870E3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_FC19E1B2C5C7EDA086967A644367E454" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_CC91A8188A40A7EF167B7A64436870E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_385CA0C4C208BD478A997A644368C385_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_CC91A8188A40A7EF167B7A64436870E3" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_385CA0C4C208BD478A997A644368C385_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_385CA0C4C208BD478A997A644368C385" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_CC91A8188A40A7EF167B7A64436870E3" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_385CA0C4C208BD478A997A644368C385" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_PaycheckProtectionProgramMember" xlink:label="loc_cbnk_PaycheckProtectionProgramMember_D0D1E64AF75C2386B9F07A64436875E9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_385CA0C4C208BD478A997A644368C385" xlink:to="loc_cbnk_PaycheckProtectionProgramMember_D0D1E64AF75C2386B9F07A64436875E9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NotesReceivableGross" xlink:label="loc_us-gaap_NotesReceivableGross_95112591FB2E3876B5327A6443697D73" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_F263911A42E0BF62F3487A6443687F2C" xlink:to="loc_us-gaap_NotesReceivableGross_95112591FB2E3876B5327A6443697D73" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ContractWithCustomerLiability" xlink:label="loc_us-gaap_ContractWithCustomerLiability_A1812D88D76B87F99E9B7A644369F5EE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_F263911A42E0BF62F3487A6443687F2C" xlink:to="loc_us-gaap_ContractWithCustomerLiability_A1812D88D76B87F99E9B7A644369F5EE" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/Segments" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/SegmentsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_53D11213FB9355405DA6BF58C4300F6E" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_E9121AB10B4358FF7600BF58C42D00BE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_53D11213FB9355405DA6BF58C4300F6E" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_E9121AB10B4358FF7600BF58C42D00BE" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ConsolidationItemsAxis" xlink:label="loc_srt_ConsolidationItemsAxis_C3A90A9D8F54183D373BBF58C42E43E8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_E9121AB10B4358FF7600BF58C42D00BE" xlink:to="loc_srt_ConsolidationItemsAxis_C3A90A9D8F54183D373BBF58C42E43E8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_DA2A2CD3BC8617BD84E6BF58C42E4D7F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_C3A90A9D8F54183D373BBF58C42E43E8" xlink:to="loc_srt_ConsolidationItemsDomain_DA2A2CD3BC8617BD84E6BF58C42E4D7F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_DA2A2CD3BC8617BD84E6BF58C42E4D7F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_C3A90A9D8F54183D373BBF58C42E43E8" xlink:to="loc_srt_ConsolidationItemsDomain_DA2A2CD3BC8617BD84E6BF58C42E4D7F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingSegmentsMember" xlink:label="loc_us-gaap_OperatingSegmentsMember_FD4B2EFC2B5045940BC5BF58C42E6C72" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_DA2A2CD3BC8617BD84E6BF58C42E4D7F" xlink:to="loc_us-gaap_OperatingSegmentsMember_FD4B2EFC2B5045940BC5BF58C42E6C72" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IntersegmentEliminationMember" xlink:label="loc_us-gaap_IntersegmentEliminationMember_E997BE1D1D46111EC330BF58C42ED4A2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_DA2A2CD3BC8617BD84E6BF58C42E4D7F" xlink:to="loc_us-gaap_IntersegmentEliminationMember_E997BE1D1D46111EC330BF58C42ED4A2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_C701871553CC2AF1C766BF58C42F506F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_E9121AB10B4358FF7600BF58C42D00BE" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_C701871553CC2AF1C766BF58C42F506F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_D8099848795B82716ADDBF58C42F4CC1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_C701871553CC2AF1C766BF58C42F506F" xlink:to="loc_us-gaap_SegmentDomain_D8099848795B82716ADDBF58C42F4CC1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_D8099848795B82716ADDBF58C42F4CC1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_C701871553CC2AF1C766BF58C42F506F" xlink:to="loc_us-gaap_SegmentDomain_D8099848795B82716ADDBF58C42F4CC1" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_CommercialBankMember" xlink:label="loc_cbnk_CommercialBankMember_8306ACAF83B2CCC452DABF58C42FF824" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_D8099848795B82716ADDBF58C42F4CC1" xlink:to="loc_cbnk_CommercialBankMember_8306ACAF83B2CCC452DABF58C42FF824" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_CapitalBankHomeLoansMember" xlink:label="loc_cbnk_CapitalBankHomeLoansMember_C972C4B4FAF45A5ABA1BBF58C42FDD96" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_D8099848795B82716ADDBF58C42F4CC1" xlink:to="loc_cbnk_CapitalBankHomeLoansMember_C972C4B4FAF45A5ABA1BBF58C42FDD96" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200930.xsd#cbnk_OpenSkyMember" xlink:label="loc_cbnk_OpenSkyMember_C227817C3B24C8275976BF58C42F6F1B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_D8099848795B82716ADDBF58C42F4CC1" xlink:to="loc_cbnk_OpenSkyMember_C227817C3B24C8275976BF58C42F6F1B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CorporateMember" xlink:label="loc_us-gaap_CorporateMember_84675C5277F6EE394583BF58C430D7E6" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_D8099848795B82716ADDBF58C42F4CC1" xlink:to="loc_us-gaap_CorporateMember_84675C5277F6EE394583BF58C430D7E6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NumberOfReportableSegments" xlink:label="loc_us-gaap_NumberOfReportableSegments_D901F53B873477C022B4BF58C43081EE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_53D11213FB9355405DA6BF58C4300F6E" xlink:to="loc_us-gaap_NumberOfReportableSegments_D901F53B873477C022B4BF58C43081EE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_C9715E8E70B8A4163B83BF58C430555B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_53D11213FB9355405DA6BF58C4300F6E" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_C9715E8E70B8A4163B83BF58C430555B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_C21A5B050326667D6D3FBF58C43086A1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_53D11213FB9355405DA6BF58C4300F6E" xlink:to="loc_us-gaap_InterestExpense_C21A5B050326667D6D3FBF58C43086A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestIncomeExpenseNet" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_F505C950C391EC363041BF58C43063E3" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_53D11213FB9355405DA6BF58C4300F6E" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_F505C950C391EC363041BF58C43063E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProvisionForLoanLossesExpensed" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_C77FA07F617A6C5478CDBF58C4312B11" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_53D11213FB9355405DA6BF58C4300F6E" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_C77FA07F617A6C5478CDBF58C4312B11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_5D899C7AF14EA0B77A69BF58C4310B4A" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_53D11213FB9355405DA6BF58C4300F6E" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_5D899C7AF14EA0B77A69BF58C4310B4A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NoninterestIncome" xlink:label="loc_us-gaap_NoninterestIncome_B1DF5DF460E434971FA6BF58C4314C19" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_53D11213FB9355405DA6BF58C4300F6E" xlink:to="loc_us-gaap_NoninterestIncome_B1DF5DF460E434971FA6BF58C4314C19" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NoninterestExpense" xlink:label="loc_us-gaap_NoninterestExpense_BC74E261598E6634DF00BF58C431A415" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_53D11213FB9355405DA6BF58C4300F6E" xlink:to="loc_us-gaap_NoninterestExpense_BC74E261598E6634DF00BF58C431A415" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_2FF33F0BA04948577DA0BF58C431ABE0" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_53D11213FB9355405DA6BF58C4300F6E" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_2FF33F0BA04948577DA0BF58C431ABE0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_2176986E9E18EC578E24BF58C431C883" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_53D11213FB9355405DA6BF58C4300F6E" xlink:to="loc_us-gaap_Assets_2176986E9E18EC578E24BF58C431C883" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/SegmentsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/SubsequentEvents" xlink:type="extended" />
</link:linkbase>
