<?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-20200331.xsd#CashAndCashEquivalents" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedBalanceSheets" xlink:href="cbnk-20200331.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="cbnk-20200331.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsOfCashFlowsUnaudited" xlink:href="cbnk-20200331.xsd#ConsolidatedStatementsOfCashFlowsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsOfChangesInShareholdersEquityUnaudited" xlink:href="cbnk-20200331.xsd#ConsolidatedStatementsOfChangesInShareholdersEquityUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsOfComprehensiveIncomeUnaudited" xlink:href="cbnk-20200331.xsd#ConsolidatedStatementsOfComprehensiveIncomeUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsOfIncomeUnaudited" xlink:href="cbnk-20200331.xsd#ConsolidatedStatementsOfIncomeUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/ConsolidatedStatementsOfIncomeUnauditedParenthetical" xlink:href="cbnk-20200331.xsd#ConsolidatedStatementsOfIncomeUnauditedParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/DerivativeFinancialInstruments" xlink:href="cbnk-20200331.xsd#DerivativeFinancialInstruments" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/DerivativeFinancialInstrumentsDetails" xlink:href="cbnk-20200331.xsd#DerivativeFinancialInstrumentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/DerivativeFinancialInstrumentsTables" xlink:href="cbnk-20200331.xsd#DerivativeFinancialInstrumentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/DocumentAndEntityInformation" xlink:href="cbnk-20200331.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValue" xlink:href="cbnk-20200331.xsd#FairValue" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValueFinancialInstrumentsCarryingAmountFvAndPlacementDetails" xlink:href="cbnk-20200331.xsd#FairValueFinancialInstrumentsCarryingAmountFvAndPlacementDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValueFinancialInstrumentsMeasuredAtFvOnRecurringBasisDetails" xlink:href="cbnk-20200331.xsd#FairValueFinancialInstrumentsMeasuredAtFvOnRecurringBasisDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValueImpairedLoansAndForeclosedRealEstateDetails" xlink:href="cbnk-20200331.xsd#FairValueImpairedLoansAndForeclosedRealEstateDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValueLoansHeldForSaleDetails" xlink:href="cbnk-20200331.xsd#FairValueLoansHeldForSaleDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/FairValueTables" xlink:href="cbnk-20200331.xsd#FairValueTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecurities" xlink:href="cbnk-20200331.xsd#InvestmentSecurities" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesAmortizedCostToEstimatedFairValueDetails" xlink:href="cbnk-20200331.xsd#InvestmentSecuritiesAmortizedCostToEstimatedFairValueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesByMaturityDatesDetails" xlink:href="cbnk-20200331.xsd#InvestmentSecuritiesByMaturityDatesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesPledgedSecuritiesDetails" xlink:href="cbnk-20200331.xsd#InvestmentSecuritiesPledgedSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesTables" xlink:href="cbnk-20200331.xsd#InvestmentSecuritiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/InvestmentSecuritiesUnrealizedLossesDetails" xlink:href="cbnk-20200331.xsd#InvestmentSecuritiesUnrealizedLossesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/Leases" xlink:href="cbnk-20200331.xsd#Leases" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LeasesAdditionalInformationDetails" xlink:href="cbnk-20200331.xsd#LeasesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LeasesAssetsAndLiabilitiesAndLeasePaymentObligationsDetails" xlink:href="cbnk-20200331.xsd#LeasesAssetsAndLiabilitiesAndLeasePaymentObligationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LeasesTables" xlink:href="cbnk-20200331.xsd#LeasesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/Litigation" xlink:href="cbnk-20200331.xsd#Litigation" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivable" xlink:href="cbnk-20200331.xsd#LoansReceivable" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivableAccretableDiscountDetails" xlink:href="cbnk-20200331.xsd#LoansReceivableAccretableDiscountDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivableActivityInAllowanceForLoanLossesDetails" xlink:href="cbnk-20200331.xsd#LoansReceivableActivityInAllowanceForLoanLossesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivableAllowanceForLoanLossesDetails" xlink:href="cbnk-20200331.xsd#LoansReceivableAllowanceForLoanLossesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivableClassificationOfLoansDetails" xlink:href="cbnk-20200331.xsd#LoansReceivableClassificationOfLoansDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivableCreditQualityIndicatorsDetails" xlink:href="cbnk-20200331.xsd#LoansReceivableCreditQualityIndicatorsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivableImpairedLoansDetails" xlink:href="cbnk-20200331.xsd#LoansReceivableImpairedLoansDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivableOutstandingLoanCommitmentsDetails" xlink:href="cbnk-20200331.xsd#LoansReceivableOutstandingLoanCommitmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivablePastDueFinancingReceivableDetails" xlink:href="cbnk-20200331.xsd#LoansReceivablePastDueFinancingReceivableDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivableTables" xlink:href="cbnk-20200331.xsd#LoansReceivableTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/LoansReceivableTroubleDebtRestructuringDetails" xlink:href="cbnk-20200331.xsd#LoansReceivableTroubleDebtRestructuringDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentation" xlink:href="cbnk-20200331.xsd#NatureOfBusinessAndBasisOfPresentation" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationComprehensiveIncomeDetails" xlink:href="cbnk-20200331.xsd#NatureOfBusinessAndBasisOfPresentationComprehensiveIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationEarningsPerShareDetails" xlink:href="cbnk-20200331.xsd#NatureOfBusinessAndBasisOfPresentationEarningsPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationInitialPublicOfferingDetails" xlink:href="cbnk-20200331.xsd#NatureOfBusinessAndBasisOfPresentationInitialPublicOfferingDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationLeasesDetails" xlink:href="cbnk-20200331.xsd#NatureOfBusinessAndBasisOfPresentationLeasesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationPolicies" xlink:href="cbnk-20200331.xsd#NatureOfBusinessAndBasisOfPresentationPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationPremisesAndEquipmentDetails" xlink:href="cbnk-20200331.xsd#NatureOfBusinessAndBasisOfPresentationPremisesAndEquipmentDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationTables" xlink:href="cbnk-20200331.xsd#NatureOfBusinessAndBasisOfPresentationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/Segments" xlink:href="cbnk-20200331.xsd#Segments" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/SegmentsDetails" xlink:href="cbnk-20200331.xsd#SegmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/SegmentsTables" xlink:href="cbnk-20200331.xsd#SegmentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/SubsequentEvents" xlink:href="cbnk-20200331.xsd#SubsequentEvents" xlink:type="simple" />
  <link:roleRef roleURI="http://capitalbankmd.com/role/SubsequentEventsDetails" xlink:href="cbnk-20200331.xsd#SubsequentEventsDetails" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_7C36831AF26FF65957C4FB2A59E51E89" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_09F6C5E91CF2905C14BEFB2A59E1365F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_7C36831AF26FF65957C4FB2A59E51E89" xlink:to="loc_us-gaap_StatementTable_09F6C5E91CF2905C14BEFB2A59E1365F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_578EB8F608D511CEBAEDFB2A59E19E1C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_09F6C5E91CF2905C14BEFB2A59E1365F" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_578EB8F608D511CEBAEDFB2A59E19E1C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_633FD5F8A4A7CF21539DFB2A59E2FB5C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_578EB8F608D511CEBAEDFB2A59E19E1C" xlink:to="loc_us-gaap_EquityComponentDomain_633FD5F8A4A7CF21539DFB2A59E2FB5C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_633FD5F8A4A7CF21539DFB2A59E2FB5C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_578EB8F608D511CEBAEDFB2A59E19E1C" xlink:to="loc_us-gaap_EquityComponentDomain_633FD5F8A4A7CF21539DFB2A59E2FB5C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_C399151127F10ED09D6AFB2A59E26E79" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_633FD5F8A4A7CF21539DFB2A59E2FB5C" xlink:to="loc_us-gaap_CommonStockMember_C399151127F10ED09D6AFB2A59E26E79" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_056C183BC179BDE065C8FB2A59E23B4A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_633FD5F8A4A7CF21539DFB2A59E2FB5C" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_056C183BC179BDE065C8FB2A59E23B4A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_EACED335DB7D7C38A382FB2A59E277CF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_633FD5F8A4A7CF21539DFB2A59E2FB5C" xlink:to="loc_us-gaap_RetainedEarningsMember_EACED335DB7D7C38A382FB2A59E277CF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_A031BCD8800F2909EC34FB2A59E2EAA0" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_633FD5F8A4A7CF21539DFB2A59E2FB5C" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_A031BCD8800F2909EC34FB2A59E2EAA0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_5063ECD2F47B50AEBF6EFB2A59E3F3E0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_09F6C5E91CF2905C14BEFB2A59E1365F" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_5063ECD2F47B50AEBF6EFB2A59E3F3E0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_5A49D1F5378969BD7964FB2A59E3FD4A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_5063ECD2F47B50AEBF6EFB2A59E3F3E0" xlink:to="loc_us-gaap_TypeOfAdoptionMember_5A49D1F5378969BD7964FB2A59E3FD4A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_5A49D1F5378969BD7964FB2A59E3FD4A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_5063ECD2F47B50AEBF6EFB2A59E3F3E0" xlink:to="loc_us-gaap_TypeOfAdoptionMember_5A49D1F5378969BD7964FB2A59E3FD4A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingStandardsUpdate201602Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201602Member_EB00D968FDE82251E118FB2A59E34319" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_5A49D1F5378969BD7964FB2A59E3FD4A" xlink:to="loc_us-gaap_AccountingStandardsUpdate201602Member_EB00D968FDE82251E118FB2A59E34319" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_1752CE1AE77507E8AA3AFB2A59E57F9D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7C36831AF26FF65957C4FB2A59E51E89" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_1752CE1AE77507E8AA3AFB2A59E57F9D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_030A9652F498E32CE74CFB2A59E5A91A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_1752CE1AE77507E8AA3AFB2A59E57F9D" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_030A9652F498E32CE74CFB2A59E5A91A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_2905D844F87E9FC5E2A6FB2A59E52D95" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_1752CE1AE77507E8AA3AFB2A59E57F9D" xlink:to="loc_us-gaap_StockholdersEquity_2905D844F87E9FC5E2A6FB2A59E52D95" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption" xlink:label="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_5191E86CD0414A3802BFFB2A59E8443B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_1752CE1AE77507E8AA3AFB2A59E57F9D" xlink:to="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_5191E86CD0414A3802BFFB2A59E8443B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_AA0DF7362B8A71BD53A7FB2A59E60861" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_1752CE1AE77507E8AA3AFB2A59E57F9D" xlink:to="loc_us-gaap_NetIncomeLoss_AA0DF7362B8A71BD53A7FB2A59E60861" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_9802B9BCB663EB09208EFB2A59E6451A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_1752CE1AE77507E8AA3AFB2A59E57F9D" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_9802B9BCB663EB09208EFB2A59E6451A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_49AD890C9A6DD2C366E4FB2A59E6D078" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_1752CE1AE77507E8AA3AFB2A59E57F9D" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_49AD890C9A6DD2C366E4FB2A59E6D078" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_76E3FB195E26BF688012FB2A59E68736" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_1752CE1AE77507E8AA3AFB2A59E57F9D" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_76E3FB195E26BF688012FB2A59E68736" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_3D3C5585FB67A4D07700FB2A59E64245" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_1752CE1AE77507E8AA3AFB2A59E57F9D" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_3D3C5585FB67A4D07700FB2A59E64245" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_A6D8667376C9B65704B8FB2A59E77E29" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_1752CE1AE77507E8AA3AFB2A59E57F9D" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_A6D8667376C9B65704B8FB2A59E77E29" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_DDC492C798C6F5C68DA4FB2A59E7FC44" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_1752CE1AE77507E8AA3AFB2A59E57F9D" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_DDC492C798C6F5C68DA4FB2A59E7FC44" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_81AEDD7C9B287E9AD929FB2A59E77264" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_1752CE1AE77507E8AA3AFB2A59E57F9D" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_81AEDD7C9B287E9AD929FB2A59E77264" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodShares" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_46DF2FE51532BFE9BA30FB2A59E71719" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_1752CE1AE77507E8AA3AFB2A59E57F9D" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_46DF2FE51532BFE9BA30FB2A59E71719" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodValue" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_9E110A8D99B8B9E637A3FB2A59E7BE52" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_1752CE1AE77507E8AA3AFB2A59E57F9D" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_9E110A8D99B8B9E637A3FB2A59E7BE52" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_7322229528551A91BD55FF5AD8FAE7B1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_F010A1E8ED068656D68BFF5AD8F9204E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_7322229528551A91BD55FF5AD8FAE7B1" xlink:to="loc_us-gaap_StatementTable_F010A1E8ED068656D68BFF5AD8F9204E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis_B52BC7460819E629CD57FF5AD8F97C2E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_F010A1E8ED068656D68BFF5AD8F9204E" xlink:to="loc_srt_ProductOrServiceAxis_B52BC7460819E629CD57FF5AD8F97C2E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_CB5D633F9D1F4D60A875FF5AD8F92571_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_B52BC7460819E629CD57FF5AD8F97C2E" xlink:to="loc_srt_ProductsAndServicesDomain_CB5D633F9D1F4D60A875FF5AD8F92571_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_CB5D633F9D1F4D60A875FF5AD8F92571" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_B52BC7460819E629CD57FF5AD8F97C2E" xlink:to="loc_srt_ProductsAndServicesDomain_CB5D633F9D1F4D60A875FF5AD8F92571" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BankServicingMember" xlink:label="loc_us-gaap_BankServicingMember_A9FDF3AFC48F7CA2C033FF5AD8FA028C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_CB5D633F9D1F4D60A875FF5AD8F92571" xlink:to="loc_us-gaap_BankServicingMember_A9FDF3AFC48F7CA2C033FF5AD8FA028C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CreditCardMember" xlink:label="loc_us-gaap_CreditCardMember_A5AD602B70722F4C5FA9FF5AD8FADF57" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_CB5D633F9D1F4D60A875FF5AD8F92571" xlink:to="loc_us-gaap_CreditCardMember_A5AD602B70722F4C5FA9FF5AD8FADF57" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MortgageBankingMember" xlink:label="loc_us-gaap_MortgageBankingMember_F4EC312718F1C6A08D29FF5AD8FA333E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_CB5D633F9D1F4D60A875FF5AD8F92571" xlink:to="loc_us-gaap_MortgageBankingMember_F4EC312718F1C6A08D29FF5AD8FA333E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestAndDividendIncomeOperatingAbstract" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_A071740872429E5633ABFF5AD8FA263E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7322229528551A91BD55FF5AD8FAE7B1" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_A071740872429E5633ABFF5AD8FA263E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeases" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_611FDC5337C4137415A0FF5AD8FBCEE2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_A071740872429E5633ABFF5AD8FA263E" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_611FDC5337C4137415A0FF5AD8FBCEE2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestIncomeDebtSecuritiesAvailableForSaleOperating" xlink:label="loc_us-gaap_InterestIncomeDebtSecuritiesAvailableForSaleOperating_83B18DB3DA92A9A8B22EFF5AD8FB5E53" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_A071740872429E5633ABFF5AD8FA263E" xlink:to="loc_us-gaap_InterestIncomeDebtSecuritiesAvailableForSaleOperating_83B18DB3DA92A9A8B22EFF5AD8FB5E53" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestIncomeFederalFundsSold" xlink:label="loc_us-gaap_InterestIncomeFederalFundsSold_E5338BED0356B7C52F83FF5AD8FB6873" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_A071740872429E5633ABFF5AD8FA263E" xlink:to="loc_us-gaap_InterestIncomeFederalFundsSold_E5338BED0356B7C52F83FF5AD8FB6873" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_71416AAEB8A8B0B5E414FF5AD8FB5073" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_A071740872429E5633ABFF5AD8FA263E" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_71416AAEB8A8B0B5E414FF5AD8FB5073" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestExpenseAbstract" xlink:label="loc_us-gaap_InterestExpenseAbstract_D4C9ED3745B553DA592DFF5AD8FB1696" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7322229528551A91BD55FF5AD8FAE7B1" xlink:to="loc_us-gaap_InterestExpenseAbstract_D4C9ED3745B553DA592DFF5AD8FB1696" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestExpenseDeposits" xlink:label="loc_us-gaap_InterestExpenseDeposits_EE4939A5A34334AF3FB5FF5AD8FC1679" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestExpenseAbstract_D4C9ED3745B553DA592DFF5AD8FB1696" xlink:to="loc_us-gaap_InterestExpenseDeposits_EE4939A5A34334AF3FB5FF5AD8FC1679" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestExpenseBorrowings" xlink:label="loc_us-gaap_InterestExpenseBorrowings_097D7DF22720533EFAD2FF5AD8FC6FF5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestExpenseAbstract_D4C9ED3745B553DA592DFF5AD8FB1696" xlink:to="loc_us-gaap_InterestExpenseBorrowings_097D7DF22720533EFAD2FF5AD8FC6FF5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_B433F2DF509E47E2794EFF5AD8FCF03E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestExpenseAbstract_D4C9ED3745B553DA592DFF5AD8FB1696" xlink:to="loc_us-gaap_InterestExpense_B433F2DF509E47E2794EFF5AD8FCF03E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestIncomeExpenseNet" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_FB19760E8B19A6A10EA8FF5AD8FCF47C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7322229528551A91BD55FF5AD8FAE7B1" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_FB19760E8B19A6A10EA8FF5AD8FCF47C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProvisionForLoanLossesExpensed" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_924971795852E3C58197FF98593DC6A3" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7322229528551A91BD55FF5AD8FAE7B1" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_924971795852E3C58197FF98593DC6A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_FD06CB87A2DAD529AB1CFF5AD8FCED8E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7322229528551A91BD55FF5AD8FAE7B1" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_FD06CB87A2DAD529AB1CFF5AD8FCED8E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NoninterestIncomeAbstract" xlink:label="loc_us-gaap_NoninterestIncomeAbstract_F1E3FC0E3F736EAA6692FF5AD8FD64CB" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7322229528551A91BD55FF5AD8FAE7B1" xlink:to="loc_us-gaap_NoninterestIncomeAbstract_F1E3FC0E3F736EAA6692FF5AD8FD64CB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_7D84BA32F24D3D75A04BFF5AD8FD6835" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_F1E3FC0E3F736EAA6692FF5AD8FD64CB" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_7D84BA32F24D3D75A04BFF5AD8FD6835" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_7D895AE405F652687163FF5AD8FDEBAB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_F1E3FC0E3F736EAA6692FF5AD8FD64CB" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_7D895AE405F652687163FF5AD8FDEBAB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NoninterestIncome" xlink:label="loc_us-gaap_NoninterestIncome_495BF83C819FEA2E5085FF5AD8FDB54C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_F1E3FC0E3F736EAA6692FF5AD8FD64CB" xlink:to="loc_us-gaap_NoninterestIncome_495BF83C819FEA2E5085FF5AD8FDB54C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NoninterestExpenseAbstract" xlink:label="loc_us-gaap_NoninterestExpenseAbstract_4B2697C1BAA08B64C739FF5AD8FDD075" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7322229528551A91BD55FF5AD8FAE7B1" xlink:to="loc_us-gaap_NoninterestExpenseAbstract_4B2697C1BAA08B64C739FF5AD8FDD075" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LaborAndRelatedExpense" xlink:label="loc_us-gaap_LaborAndRelatedExpense_D104138BA0881DF24624FF5AD8FE3041" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_4B2697C1BAA08B64C739FF5AD8FDD075" xlink:to="loc_us-gaap_LaborAndRelatedExpense_D104138BA0881DF24624FF5AD8FE3041" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_OccupancyAndEquipmentExpense" xlink:label="loc_cbnk_OccupancyAndEquipmentExpense_7BB824859C9EBAF4E30BFF5AD8FE5448" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_4B2697C1BAA08B64C739FF5AD8FDD075" xlink:to="loc_cbnk_OccupancyAndEquipmentExpense_7BB824859C9EBAF4E30BFF5AD8FE5448" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProfessionalFees" xlink:label="loc_us-gaap_ProfessionalFees_186FD6664ADD1D8F12A7FF5AD8FE7C57" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_4B2697C1BAA08B64C739FF5AD8FDD075" xlink:to="loc_us-gaap_ProfessionalFees_186FD6664ADD1D8F12A7FF5AD8FE7C57" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InformationTechnologyAndDataProcessing" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing_8E5BFE67E362AD2AF356FF5AD8FED280" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_4B2697C1BAA08B64C739FF5AD8FDD075" xlink:to="loc_us-gaap_InformationTechnologyAndDataProcessing_8E5BFE67E362AD2AF356FF5AD8FED280" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdvertisingExpense" xlink:label="loc_us-gaap_AdvertisingExpense_FC0FFB58AAD1E01C7180FF5AD8FE108F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_4B2697C1BAA08B64C739FF5AD8FDD075" xlink:to="loc_us-gaap_AdvertisingExpense_FC0FFB58AAD1E01C7180FF5AD8FE108F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoanProcessingFee" xlink:label="loc_us-gaap_LoanProcessingFee_291D8DD9EFC80EAD06ADFF5AD8FE9167" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_4B2697C1BAA08B64C739FF5AD8FDD075" xlink:to="loc_us-gaap_LoanProcessingFee_291D8DD9EFC80EAD06ADFF5AD8FE9167" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_OtherRealEstateExpensesNet" xlink:label="loc_cbnk_OtherRealEstateExpensesNet_A70AD16981BB542E9872FF5AD904364D" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_4B2697C1BAA08B64C739FF5AD8FDD075" xlink:to="loc_cbnk_OtherRealEstateExpensesNet_A70AD16981BB542E9872FF5AD904364D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherNoninterestExpense" xlink:label="loc_us-gaap_OtherNoninterestExpense_7E3D8D33890D23C7AC9DFF5AD9047086" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_4B2697C1BAA08B64C739FF5AD8FDD075" xlink:to="loc_us-gaap_OtherNoninterestExpense_7E3D8D33890D23C7AC9DFF5AD9047086" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NoninterestExpense" xlink:label="loc_us-gaap_NoninterestExpense_B6E5A595211BB186D876FF5AD9044F2D" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_4B2697C1BAA08B64C739FF5AD8FDD075" xlink:to="loc_us-gaap_NoninterestExpense_B6E5A595211BB186D876FF5AD9044F2D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_4F4F2AD5A293A71219EFFF5AD904532C" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7322229528551A91BD55FF5AD8FAE7B1" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_4F4F2AD5A293A71219EFFF5AD904532C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_80F8AD8D7BE7FD867BFBFF5AD90449B7" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7322229528551A91BD55FF5AD8FAE7B1" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_80F8AD8D7BE7FD867BFBFF5AD90449B7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_3FEEA37BE1DAA50337D4FF5AD905AB1F" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7322229528551A91BD55FF5AD8FAE7B1" xlink:to="loc_us-gaap_NetIncomeLoss_3FEEA37BE1DAA50337D4FF5AD905AB1F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareBasic" xlink:label="loc_us-gaap_EarningsPerShareBasic_7BAFC8CAEA0033CBF00EFF5AD905B6D1" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7322229528551A91BD55FF5AD8FAE7B1" xlink:to="loc_us-gaap_EarningsPerShareBasic_7BAFC8CAEA0033CBF00EFF5AD905B6D1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="loc_us-gaap_EarningsPerShareDiluted_A149F3681C1A311B215DFF5AD905D331" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7322229528551A91BD55FF5AD8FAE7B1" xlink:to="loc_us-gaap_EarningsPerShareDiluted_A149F3681C1A311B215DFF5AD905D331" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_0A7CB9B44B648EC4C8EEFF5AD9052644" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7322229528551A91BD55FF5AD8FAE7B1" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_0A7CB9B44B648EC4C8EEFF5AD9052644" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_9E2094FFAE12D2CBF5F7FF5AD9057E96" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_0A7CB9B44B648EC4C8EEFF5AD9052644" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_9E2094FFAE12D2CBF5F7FF5AD9057E96" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_CF6B69F8087AED300351FF5AD906AF61" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_0A7CB9B44B648EC4C8EEFF5AD9052644" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_CF6B69F8087AED300351FF5AD906AF61" 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/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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativesFairValueLineItems" xlink:label="loc_us-gaap_DerivativesFairValueLineItems_A249F317DB013E3132EEFB2A590567D7" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable" xlink:label="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_55B668DA95AF48B02044FB2A59020251" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_A249F317DB013E3132EEFB2A590567D7" xlink:to="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_55B668DA95AF48B02044FB2A59020251" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HedgingDesignationAxis" xlink:label="loc_us-gaap_HedgingDesignationAxis_F1269CFC0D4AA4A03F17FB2A5903A0A6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_55B668DA95AF48B02044FB2A59020251" xlink:to="loc_us-gaap_HedgingDesignationAxis_F1269CFC0D4AA4A03F17FB2A5903A0A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_0E2A9DBD760A81B2E65FFB2A5903E83A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_F1269CFC0D4AA4A03F17FB2A5903A0A6" xlink:to="loc_us-gaap_HedgingDesignationDomain_0E2A9DBD760A81B2E65FFB2A5903E83A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_0E2A9DBD760A81B2E65FFB2A5903E83A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_F1269CFC0D4AA4A03F17FB2A5903A0A6" xlink:to="loc_us-gaap_HedgingDesignationDomain_0E2A9DBD760A81B2E65FFB2A5903E83A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DesignatedAsHedgingInstrumentMember" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_A35F629E308B9DF5622FFB2A59042001" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_0E2A9DBD760A81B2E65FFB2A5903E83A" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_A35F629E308B9DF5622FFB2A59042001" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_BA659DCCB6A86510D6E2FB2A59046B36" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_55B668DA95AF48B02044FB2A59020251" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_BA659DCCB6A86510D6E2FB2A59046B36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_8DD480A22D0ACA3B32B5FB2A5904A993_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_BA659DCCB6A86510D6E2FB2A59046B36" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_8DD480A22D0ACA3B32B5FB2A5904A993_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_8DD480A22D0ACA3B32B5FB2A5904A993" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_BA659DCCB6A86510D6E2FB2A59046B36" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_8DD480A22D0ACA3B32B5FB2A5904A993" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_OpenForwardDeliverySalesAgreementMember" xlink:label="loc_cbnk_OpenForwardDeliverySalesAgreementMember_4066EE8260C93465856DFB2A59046171" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_8DD480A22D0ACA3B32B5FB2A5904A993" xlink:to="loc_cbnk_OpenForwardDeliverySalesAgreementMember_4066EE8260C93465856DFB2A59046171" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_OpenMandatoryDeliveryCommitmentsMember" xlink:label="loc_cbnk_OpenMandatoryDeliveryCommitmentsMember_8184B1F80F20C3538797FB2A59057ED4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_8DD480A22D0ACA3B32B5FB2A5904A993" xlink:to="loc_cbnk_OpenMandatoryDeliveryCommitmentsMember_8184B1F80F20C3538797FB2A59057ED4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestRateLockCommitmentsMember" xlink:label="loc_us-gaap_InterestRateLockCommitmentsMember_F7E04CD805C867F81701FB2A5905896E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_8DD480A22D0ACA3B32B5FB2A5904A993" xlink:to="loc_us-gaap_InterestRateLockCommitmentsMember_F7E04CD805C867F81701FB2A5905896E" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_DerivativeNotionalAmount1" xlink:label="loc_cbnk_DerivativeNotionalAmount1_DF218A8E567879B11796FB2A5905D79A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_A249F317DB013E3132EEFB2A590567D7" xlink:to="loc_cbnk_DerivativeNotionalAmount1_DF218A8E567879B11796FB2A5905D79A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeLiabilities" xlink:label="loc_us-gaap_DerivativeLiabilities_768B80C04DDBF6853D72FB2A5906744F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_A249F317DB013E3132EEFB2A590567D7" xlink:to="loc_us-gaap_DerivativeLiabilities_768B80C04DDBF6853D72FB2A5906744F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_4C0463E5A90D8BA8D371FB2A59060399" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_A249F317DB013E3132EEFB2A590567D7" xlink:to="loc_us-gaap_DerivativeAssets_4C0463E5A90D8BA8D371FB2A59060399" 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/DocumentAndEntityInformation" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_0EC30E7E21AF4C3607D3FB2A58C5D312" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1D753F53320BD207E62FFB2A58C2B2F9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_0EC30E7E21AF4C3607D3FB2A58C5D312" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1D753F53320BD207E62FFB2A58C2B2F9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_672A26D67EE0F67B955CFB2A58C3E87C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1D753F53320BD207E62FFB2A58C2B2F9" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_672A26D67EE0F67B955CFB2A58C3E87C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_954C1ECB908F61D33F1EFB2A58C33F26_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_672A26D67EE0F67B955CFB2A58C3E87C" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_954C1ECB908F61D33F1EFB2A58C33F26_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_0EF917C188EA4BEFAE26FB2A58C3560C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_672A26D67EE0F67B955CFB2A58C3E87C" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_0EF917C188EA4BEFAE26FB2A58C3560C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_954C1ECB908F61D33F1EFB2A58C33F26" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_0EF917C188EA4BEFAE26FB2A58C3560C" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_954C1ECB908F61D33F1EFB2A58C33F26" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember" xlink:label="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_8D2737A06858110CB0AFFB2A58C4DE76" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_0EF917C188EA4BEFAE26FB2A58C3560C" xlink:to="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_8D2737A06858110CB0AFFB2A58C4DE76" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_8B54A6BC77ABBD227450FB2A58C49F6F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_0EF917C188EA4BEFAE26FB2A58C3560C" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_8B54A6BC77ABBD227450FB2A58C49F6F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_2C3B7FBA80B6BE820987FB2A58C413C6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1D753F53320BD207E62FFB2A58C2B2F9" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_2C3B7FBA80B6BE820987FB2A58C413C6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_2BAD4503DAE78DF60F70FB2A58C44020_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_2C3B7FBA80B6BE820987FB2A58C413C6" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_2BAD4503DAE78DF60F70FB2A58C44020_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_2BAD4503DAE78DF60F70FB2A58C44020" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_2C3B7FBA80B6BE820987FB2A58C413C6" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_2BAD4503DAE78DF60F70FB2A58C44020" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_FEA14BBC8493E5CAFC0FFB2A58C458AD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_2BAD4503DAE78DF60F70FB2A58C44020" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_FEA14BBC8493E5CAFC0FFB2A58C458AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_E2DDFA83D78429BBC0F7FB2A58C55F6F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_2BAD4503DAE78DF60F70FB2A58C44020" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_E2DDFA83D78429BBC0F7FB2A58C55F6F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:label="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_CB2872C7020F9CB22659FB2A58C589B2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_0EC30E7E21AF4C3607D3FB2A58C5D312" xlink:to="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_CB2872C7020F9CB22659FB2A58C589B2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndDueFromBanks" xlink:label="loc_us-gaap_CashAndDueFromBanks_0FD6DE449EF60F5D201EFB2A58C5B79F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_CB2872C7020F9CB22659FB2A58C589B2" xlink:to="loc_us-gaap_CashAndDueFromBanks_0FD6DE449EF60F5D201EFB2A58C5B79F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestBearingDepositsInBanks" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_FA6EB3ACE9304EFD00EBFB2A58C503FE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_CB2872C7020F9CB22659FB2A58C589B2" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_FA6EB3ACE9304EFD00EBFB2A58C503FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FederalFundsSold" xlink:label="loc_us-gaap_FederalFundsSold_9324D62809566DD40C7FFB2A58C68A5D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_CB2872C7020F9CB22659FB2A58C589B2" xlink:to="loc_us-gaap_FederalFundsSold_9324D62809566DD40C7FFB2A58C68A5D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansReceivableFairValueDisclosure" xlink:label="loc_us-gaap_LoansReceivableFairValueDisclosure_5F389745BA71AAFDF0F6FB2A58C67432" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_CB2872C7020F9CB22659FB2A58C589B2" xlink:to="loc_us-gaap_LoansReceivableFairValueDisclosure_5F389745BA71AAFDF0F6FB2A58C67432" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedInvestmentsAtFairValue" xlink:label="loc_us-gaap_RestrictedInvestmentsAtFairValue_5059127AC50E80A73AA5FB2A58C6717F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_CB2872C7020F9CB22659FB2A58C589B2" xlink:to="loc_us-gaap_RestrictedInvestmentsAtFairValue_5059127AC50E80A73AA5FB2A58C6717F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" xlink:label="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_E838E2E41FB3D428B587FB2A58C63719" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_0EC30E7E21AF4C3607D3FB2A58C5D312" xlink:to="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_E838E2E41FB3D428B587FB2A58C63719" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_NoninterestBearingDepositLiabilitiesFairValueDisclosure" xlink:label="loc_cbnk_NoninterestBearingDepositLiabilitiesFairValueDisclosure_227DE5A0055BA6FCF6DAFB2A58C63DCC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_E838E2E41FB3D428B587FB2A58C63719" xlink:to="loc_cbnk_NoninterestBearingDepositLiabilitiesFairValueDisclosure_227DE5A0055BA6FCF6DAFB2A58C63DCC" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_InterestBearingDepositLiabilitiesFairValueDisclosure" xlink:label="loc_cbnk_InterestBearingDepositLiabilitiesFairValueDisclosure_DA7B392C3DE5C82CF14FFB2A58C73314" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_E838E2E41FB3D428B587FB2A58C63719" xlink:to="loc_cbnk_InterestBearingDepositLiabilitiesFairValueDisclosure_DA7B392C3DE5C82CF14FFB2A58C73314" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_LongTermFederalHomeLoanBankAdvancesAndOtherBorrowingsFairValueDisclosure" xlink:label="loc_cbnk_LongTermFederalHomeLoanBankAdvancesAndOtherBorrowingsFairValueDisclosure_612EE280F92C6FAFAAE8FB2A58C7716F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_E838E2E41FB3D428B587FB2A58C63719" xlink:to="loc_cbnk_LongTermFederalHomeLoanBankAdvancesAndOtherBorrowingsFairValueDisclosure_612EE280F92C6FAFAAE8FB2A58C7716F" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_81156FCC76388C1285B4FB2A58E2CA39" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_8DB3AC3B159E04E4BCC1FB2A58DECED6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_81156FCC76388C1285B4FB2A58E2CA39" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_8DB3AC3B159E04E4BCC1FB2A58DECED6" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_11EF6A579D7DD6BE0A92FB2A58DE0703" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_8DB3AC3B159E04E4BCC1FB2A58DECED6" xlink:to="loc_us-gaap_FinancialInstrumentAxis_11EF6A579D7DD6BE0A92FB2A58DE0703" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_64D5AC5D47B16BD8329BFB2A58DF7272_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_11EF6A579D7DD6BE0A92FB2A58DE0703" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_64D5AC5D47B16BD8329BFB2A58DF7272_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_64D5AC5D47B16BD8329BFB2A58DF7272" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_11EF6A579D7DD6BE0A92FB2A58DE0703" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_64D5AC5D47B16BD8329BFB2A58DF7272" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_8AABE0A20F633DD07CB3FB2A58DF3B62" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_64D5AC5D47B16BD8329BFB2A58DF7272" xlink:to="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_8AABE0A20F633DD07CB3FB2A58DF3B62" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MunicipalBondsMember" xlink:label="loc_us-gaap_MunicipalBondsMember_013290192453FC7E9973FB2A58DF5531" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_64D5AC5D47B16BD8329BFB2A58DF7272" xlink:to="loc_us-gaap_MunicipalBondsMember_013290192453FC7E9973FB2A58DF5531" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_CD54355646A9E316E972FB2A58DF4BB2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_64D5AC5D47B16BD8329BFB2A58DF7272" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_CD54355646A9E316E972FB2A58DF4BB2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_MortgageBackedSecuritiesMember_71E3A4ACC70FDD4C3BC1FB2A58E02988" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_64D5AC5D47B16BD8329BFB2A58DF7272" xlink:to="loc_us-gaap_MortgageBackedSecuritiesMember_71E3A4ACC70FDD4C3BC1FB2A58E02988" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_1394F51385CD8A59F344FB2A58E0113D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_8DB3AC3B159E04E4BCC1FB2A58DECED6" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_1394F51385CD8A59F344FB2A58E0113D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_1AA07A86A235876CE938FB2A58E0D718_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_1394F51385CD8A59F344FB2A58E0113D" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_1AA07A86A235876CE938FB2A58E0D718_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_1AA07A86A235876CE938FB2A58E0D718" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_1394F51385CD8A59F344FB2A58E0113D" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_1AA07A86A235876CE938FB2A58E0D718" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_AD8F362E4C26846819A2FB2A58E0B14B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_1AA07A86A235876CE938FB2A58E0D718" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_AD8F362E4C26846819A2FB2A58E0B14B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_12DB91785B49C99EAEF5FB2A58E00182" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_8DB3AC3B159E04E4BCC1FB2A58DECED6" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_12DB91785B49C99EAEF5FB2A58E00182" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_927F43F641A2FB51EDF6FB2A58E1D30E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_12DB91785B49C99EAEF5FB2A58E00182" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_927F43F641A2FB51EDF6FB2A58E1D30E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_927F43F641A2FB51EDF6FB2A58E1D30E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_12DB91785B49C99EAEF5FB2A58E00182" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_927F43F641A2FB51EDF6FB2A58E1D30E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_55FCB5D035C7F6C31146FB2A58E1DA4A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_927F43F641A2FB51EDF6FB2A58E1D30E" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_55FCB5D035C7F6C31146FB2A58E1DA4A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_A344782D68CC70114E45FB2A58E1339D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_927F43F641A2FB51EDF6FB2A58E1D30E" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_A344782D68CC70114E45FB2A58E1339D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_3AF9A158EE863A37E462FB2A58E12EE6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_927F43F641A2FB51EDF6FB2A58E1D30E" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_3AF9A158EE863A37E462FB2A58E12EE6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_1AA9B6923B5A6F3DDEDEFB2A58E2D8B4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_81156FCC76388C1285B4FB2A58E2CA39" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_1AA9B6923B5A6F3DDEDEFB2A58E2D8B4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansHeldForSaleFairValueDisclosure" xlink:label="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_B3D0DDB2C00F1CBF7908FB2A58E232CD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_81156FCC76388C1285B4FB2A58E2CA39" xlink:to="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_B3D0DDB2C00F1CBF7908FB2A58E232CD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_D0A4554C9559FF1CFFB7FB2A58E2B3C2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_81156FCC76388C1285B4FB2A58E2CA39" xlink:to="loc_us-gaap_DerivativeAssets_D0A4554C9559FF1CFFB7FB2A58E2B3C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeLiabilities" xlink:label="loc_us-gaap_DerivativeLiabilities_7BB58D342DCB8E65881DFB2A58E2935D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_81156FCC76388C1285B4FB2A58E2CA39" xlink:to="loc_us-gaap_DerivativeLiabilities_7BB58D342DCB8E65881DFB2A58E2935D" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_4F653EB97B86BAA55E9E79F958C57EE1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_FE1D010B11BD8A8CD37979F958BB2909" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_4F653EB97B86BAA55E9E79F958C57EE1" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_FE1D010B11BD8A8CD37979F958BB2909" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_2F2A1CDB3F04F800FD2379F958BBE147" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_FE1D010B11BD8A8CD37979F958BB2909" xlink:to="loc_srt_RangeAxis_2F2A1CDB3F04F800FD2379F958BBE147" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_556E6ACE47B011687BE179F958BC7CFB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_2F2A1CDB3F04F800FD2379F958BBE147" xlink:to="loc_srt_RangeMember_556E6ACE47B011687BE179F958BC7CFB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_556E6ACE47B011687BE179F958BC7CFB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_2F2A1CDB3F04F800FD2379F958BBE147" xlink:to="loc_srt_RangeMember_556E6ACE47B011687BE179F958BC7CFB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_EF0BA48EF2CF1C2945B779F958BC9691" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_556E6ACE47B011687BE179F958BC7CFB" xlink:to="loc_srt_MinimumMember_EF0BA48EF2CF1C2945B779F958BC9691" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_A3E6E5B50E045A9C56FA79F958BC29A2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_556E6ACE47B011687BE179F958BC7CFB" xlink:to="loc_srt_MaximumMember_A3E6E5B50E045A9C56FA79F958BC29A2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_B4B0298D026A06E8845479F958BCF078" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_FE1D010B11BD8A8CD37979F958BB2909" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_B4B0298D026A06E8845479F958BCF078" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_453B2277EFB169DA25D079F958C2796F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_B4B0298D026A06E8845479F958BCF078" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_453B2277EFB169DA25D079F958C2796F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_453B2277EFB169DA25D079F958C2796F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_B4B0298D026A06E8845479F958BCF078" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_453B2277EFB169DA25D079F958C2796F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsNonrecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsNonrecurringMember_E1796FBD400B4457CD4879F958C23AA0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_453B2277EFB169DA25D079F958C2796F" xlink:to="loc_us-gaap_FairValueMeasurementsNonrecurringMember_E1796FBD400B4457CD4879F958C23AA0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_2C8F5B9E6473D6A114A279F958C2F1D9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_FE1D010B11BD8A8CD37979F958BB2909" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_2C8F5B9E6473D6A114A279F958C2F1D9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1BDBEFA8D39812270C7F79F958C28E58_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_2C8F5B9E6473D6A114A279F958C2F1D9" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1BDBEFA8D39812270C7F79F958C28E58_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1BDBEFA8D39812270C7F79F958C28E58" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_2C8F5B9E6473D6A114A279F958C2F1D9" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1BDBEFA8D39812270C7F79F958C28E58" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_4F3ADCE0D387F14599E279F958C3A372" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1BDBEFA8D39812270C7F79F958C28E58" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_4F3ADCE0D387F14599E279F958C3A372" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_5C1C097A5D3C43BBD61D79F958C32BF3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1BDBEFA8D39812270C7F79F958C28E58" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_5C1C097A5D3C43BBD61D79F958C32BF3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_7C76F868EB8BF2F3F53779F958C38859" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1BDBEFA8D39812270C7F79F958C28E58" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_7C76F868EB8BF2F3F53779F958C38859" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MeasurementInputTypeAxis" xlink:label="loc_us-gaap_MeasurementInputTypeAxis_8C5618B52E8407A7260E79F958C3EEEA" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_FE1D010B11BD8A8CD37979F958BB2909" xlink:to="loc_us-gaap_MeasurementInputTypeAxis_8C5618B52E8407A7260E79F958C3EEEA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MeasurementInputTypeDomain" xlink:label="loc_us-gaap_MeasurementInputTypeDomain_158B0C6193EA1A7500D679F958C40B08_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MeasurementInputTypeAxis_8C5618B52E8407A7260E79F958C3EEEA" xlink:to="loc_us-gaap_MeasurementInputTypeDomain_158B0C6193EA1A7500D679F958C40B08_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MeasurementInputTypeDomain" xlink:label="loc_us-gaap_MeasurementInputTypeDomain_158B0C6193EA1A7500D679F958C40B08" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MeasurementInputTypeAxis_8C5618B52E8407A7260E79F958C3EEEA" xlink:to="loc_us-gaap_MeasurementInputTypeDomain_158B0C6193EA1A7500D679F958C40B08" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MeasurementInputCostToSellMember" xlink:label="loc_us-gaap_MeasurementInputCostToSellMember_5B330B845CD79B3FAE4179F958C422DF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_158B0C6193EA1A7500D679F958C40B08" xlink:to="loc_us-gaap_MeasurementInputCostToSellMember_5B330B845CD79B3FAE4179F958C422DF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ValuationTechniqueAxis" xlink:label="loc_us-gaap_ValuationTechniqueAxis_3B32DE106C48B5DEED0279F958C45174" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_FE1D010B11BD8A8CD37979F958BB2909" xlink:to="loc_us-gaap_ValuationTechniqueAxis_3B32DE106C48B5DEED0279F958C45174" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ValuationTechniqueDomain" xlink:label="loc_us-gaap_ValuationTechniqueDomain_D1F0FCFA9B01EA9FFCF479F958C4CA41_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ValuationTechniqueAxis_3B32DE106C48B5DEED0279F958C45174" xlink:to="loc_us-gaap_ValuationTechniqueDomain_D1F0FCFA9B01EA9FFCF479F958C4CA41_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ValuationTechniqueDomain" xlink:label="loc_us-gaap_ValuationTechniqueDomain_D1F0FCFA9B01EA9FFCF479F958C4CA41" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ValuationTechniqueAxis_3B32DE106C48B5DEED0279F958C45174" xlink:to="loc_us-gaap_ValuationTechniqueDomain_D1F0FCFA9B01EA9FFCF479F958C4CA41" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ValuationTechniqueDiscountedCashFlowMember" xlink:label="loc_us-gaap_ValuationTechniqueDiscountedCashFlowMember_08BCE408E6028BBAF9AB79F958C42733" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_D1F0FCFA9B01EA9FFCF479F958C4CA41" xlink:to="loc_us-gaap_ValuationTechniqueDiscountedCashFlowMember_08BCE408E6028BBAF9AB79F958C42733" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ValuationTechniqueConsensusPricingModelMember" xlink:label="loc_us-gaap_ValuationTechniqueConsensusPricingModelMember_BFCEF355E3504A92A33D79F958C5E125" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_D1F0FCFA9B01EA9FFCF479F958C4CA41" xlink:to="loc_us-gaap_ValuationTechniqueConsensusPricingModelMember_BFCEF355E3504A92A33D79F958C5E125" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment_707AD51BB72FD323CD7579F958C55BC9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_4F653EB97B86BAA55E9E79F958C57EE1" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment_707AD51BB72FD323CD7579F958C55BC9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairedFinancingReceivableRelatedAllowance" xlink:label="loc_us-gaap_ImpairedFinancingReceivableRelatedAllowance_0D09271459A7B1D1B35579F958C53BDF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_4F653EB97B86BAA55E9E79F958C57EE1" xlink:to="loc_us-gaap_ImpairedFinancingReceivableRelatedAllowance_0D09271459A7B1D1B35579F958C53BDF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairedFinancingReceivableRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_D9D82B108584E2FAB37C79F958C6B5D8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_4F653EB97B86BAA55E9E79F958C57EE1" xlink:to="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_D9D82B108584E2FAB37C79F958C6B5D8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RealEstateAcquiredThroughForeclosure" xlink:label="loc_us-gaap_RealEstateAcquiredThroughForeclosure_2A681A70B7035A9B564079F958C6BB54" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_4F653EB97B86BAA55E9E79F958C57EE1" xlink:to="loc_us-gaap_RealEstateAcquiredThroughForeclosure_2A681A70B7035A9B564079F958C6BB54" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_ImpairedFinancingReceivableMeasurementInput" xlink:label="loc_cbnk_ImpairedFinancingReceivableMeasurementInput_FAF278A263DE1F773A1C79F958C6CDA7" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_4F653EB97B86BAA55E9E79F958C57EE1" xlink:to="loc_cbnk_ImpairedFinancingReceivableMeasurementInput_FAF278A263DE1F773A1C79F958C6CDA7" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_RealEstateAcquiredThroughForeclosureMeasurementInput" xlink:label="loc_cbnk_RealEstateAcquiredThroughForeclosureMeasurementInput_1BA095730175FA5EEBD679F958C69B15" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_4F653EB97B86BAA55E9E79F958C57EE1" xlink:to="loc_cbnk_RealEstateAcquiredThroughForeclosureMeasurementInput_1BA095730175FA5EEBD679F958C69B15" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_0456E0AE52BB529ABC9AE8D04072D832" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByBalanceSheetGroupingTable" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_A445B0848ECD5F7789672C6551FEBE2B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_0456E0AE52BB529ABC9AE8D04072D832" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_A445B0848ECD5F7789672C6551FEBE2B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_EA79B88B602C5E7A82DCDF55A9D465A5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_A445B0848ECD5F7789672C6551FEBE2B" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_EA79B88B602C5E7A82DCDF55A9D465A5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_081E8DC113AF23C4B6F64784627759D2_A9C58D237186539BB5A750EEEB3D3EBA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_EA79B88B602C5E7A82DCDF55A9D465A5" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_081E8DC113AF23C4B6F64784627759D2_A9C58D237186539BB5A750EEEB3D3EBA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_2E4548276FD05C2BB2CF95C4A8C4ACD6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_EA79B88B602C5E7A82DCDF55A9D465A5" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_2E4548276FD05C2BB2CF95C4A8C4ACD6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_747C3064D978527C8E7D0340A59DB94F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_2E4548276FD05C2BB2CF95C4A8C4ACD6" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_747C3064D978527C8E7D0340A59DB94F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_19BCB7681BBD5745BFCA5396DF409D7F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_2E4548276FD05C2BB2CF95C4A8C4ACD6" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_19BCB7681BBD5745BFCA5396DF409D7F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember" xlink:label="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_E67002BDB8045DDBB8BCE5E886B80FA2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_2E4548276FD05C2BB2CF95C4A8C4ACD6" xlink:to="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_E67002BDB8045DDBB8BCE5E886B80FA2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ChangeDuringPeriodFairValueDisclosureMember" xlink:label="loc_us-gaap_ChangeDuringPeriodFairValueDisclosureMember_BEC18A4E59DE5ADDA0DB8701D0FDA423" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_2E4548276FD05C2BB2CF95C4A8C4ACD6" xlink:to="loc_us-gaap_ChangeDuringPeriodFairValueDisclosureMember_BEC18A4E59DE5ADDA0DB8701D0FDA423" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansHeldForSaleFairValueDisclosure" xlink:label="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_B1A2809282A954D6906179B017DEC0CB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_0456E0AE52BB529ABC9AE8D04072D832" xlink:to="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_B1A2809282A954D6906179B017DEC0CB" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_FE2FEFA76FA16C9E84E3FB2A597FF3AE" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleTable" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_7C0CB3D6339FB12CF0C5FB2A597E8354" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_FE2FEFA76FA16C9E84E3FB2A597FF3AE" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_7C0CB3D6339FB12CF0C5FB2A597E8354" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_D9F8F95FAC3B860FC421FB2A597E89AD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_7C0CB3D6339FB12CF0C5FB2A597E8354" xlink:to="loc_us-gaap_FinancialInstrumentAxis_D9F8F95FAC3B860FC421FB2A597E89AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_28E06C8C52F422C17C11FB2A597E2480_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_D9F8F95FAC3B860FC421FB2A597E89AD" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_28E06C8C52F422C17C11FB2A597E2480_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_28E06C8C52F422C17C11FB2A597E2480" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_D9F8F95FAC3B860FC421FB2A597E89AD" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_28E06C8C52F422C17C11FB2A597E2480" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_7317857EB4A6307195ABFB2A597E7C67" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_28E06C8C52F422C17C11FB2A597E2480" xlink:to="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_7317857EB4A6307195ABFB2A597E7C67" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MunicipalBondsMember" xlink:label="loc_us-gaap_MunicipalBondsMember_A08D9048F6169F3D433DFB2A597F5764" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_28E06C8C52F422C17C11FB2A597E2480" xlink:to="loc_us-gaap_MunicipalBondsMember_A08D9048F6169F3D433DFB2A597F5764" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_B1BCE3DAA571AB40F93BFB2A597FCDAA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_28E06C8C52F422C17C11FB2A597E2480" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_B1BCE3DAA571AB40F93BFB2A597FCDAA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_MortgageBackedSecuritiesMember_ABD34165F5EE5A5B05FAFB2A597F904D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_28E06C8C52F422C17C11FB2A597E2480" xlink:to="loc_us-gaap_MortgageBackedSecuritiesMember_ABD34165F5EE5A5B05FAFB2A597F904D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_F4DE5E49236C4DC37ECEFB2A597F06C9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_FE2FEFA76FA16C9E84E3FB2A597FF3AE" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_F4DE5E49236C4DC37ECEFB2A597F06C9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_057C13852BF5AEEBD06BFB2A5980775C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_FE2FEFA76FA16C9E84E3FB2A597FF3AE" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_057C13852BF5AEEBD06BFB2A5980775C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_0D7BC51FB5A86335DCD9FB2A59805914" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_FE2FEFA76FA16C9E84E3FB2A597FF3AE" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_0D7BC51FB5A86335DCD9FB2A59805914" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_0516797B7D94E4F81081FB2A59804735" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_FE2FEFA76FA16C9E84E3FB2A597FF3AE" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_0516797B7D94E4F81081FB2A59804735" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_BF44F3A9D5B633C0E5BEFB2A59803933" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_FE2FEFA76FA16C9E84E3FB2A597FF3AE" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_BF44F3A9D5B633C0E5BEFB2A59803933" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_8CAFA4B8F9E65EEBA3B5EA868E5EFC1B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleTable" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_AF969EC45255505A84B1F88E578B9B60" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_8CAFA4B8F9E65EEBA3B5EA868E5EFC1B" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_AF969EC45255505A84B1F88E578B9B60" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_56A1D641D3B95601BB480AAD86017EED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_AF969EC45255505A84B1F88E578B9B60" xlink:to="loc_us-gaap_FinancialInstrumentAxis_56A1D641D3B95601BB480AAD86017EED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_2426A6673A00B768090E478463185041_A9C58D237186539BB5A750EEEB3D3EBA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_56A1D641D3B95601BB480AAD86017EED" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_2426A6673A00B768090E478463185041_A9C58D237186539BB5A750EEEB3D3EBA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_6A8CA07018495FF5865FF3A6FD27D8CD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_56A1D641D3B95601BB480AAD86017EED" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_6A8CA07018495FF5865FF3A6FD27D8CD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_MortgageBackedSecuritiesMember_C11B5595AC41545A9561A869BAB1B016" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_6A8CA07018495FF5865FF3A6FD27D8CD" xlink:to="loc_us-gaap_MortgageBackedSecuritiesMember_C11B5595AC41545A9561A869BAB1B016" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_05D3B3B6DC5B563FBCB4F3B3A5594C77" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_8CAFA4B8F9E65EEBA3B5EA868E5EFC1B" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_05D3B3B6DC5B563FBCB4F3B3A5594C77" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_7B499CA00EFF56BF82F61E7347F0F080" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_05D3B3B6DC5B563FBCB4F3B3A5594C77" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_7B499CA00EFF56BF82F61E7347F0F080" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_4BD82C7592F1581FB3823EFAED852C2A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_05D3B3B6DC5B563FBCB4F3B3A5594C77" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_4BD82C7592F1581FB3823EFAED852C2A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_011F33263699582ABCBF6129F946DE6B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_05D3B3B6DC5B563FBCB4F3B3A5594C77" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_011F33263699582ABCBF6129F946DE6B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_7704E05917645309A44BCF2ED987136B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_05D3B3B6DC5B563FBCB4F3B3A5594C77" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_7704E05917645309A44BCF2ED987136B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_412EE60CF87F54F4B7C3B71C300267A6" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_05D3B3B6DC5B563FBCB4F3B3A5594C77" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_412EE60CF87F54F4B7C3B71C300267A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_193B2AB3843D5C14AA8DC2CDE96284FD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_8CAFA4B8F9E65EEBA3B5EA868E5EFC1B" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_193B2AB3843D5C14AA8DC2CDE96284FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_EFAA0F104CBC5F639B69565B5DD7B55F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_193B2AB3843D5C14AA8DC2CDE96284FD" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_EFAA0F104CBC5F639B69565B5DD7B55F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_E1F0B70B2D1A5397BC73D9A7F59C04FF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_193B2AB3843D5C14AA8DC2CDE96284FD" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_E1F0B70B2D1A5397BC73D9A7F59C04FF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_3B4D4CE37D405BCCBB2C8B5A64136677" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_193B2AB3843D5C14AA8DC2CDE96284FD" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_3B4D4CE37D405BCCBB2C8B5A64136677" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_CB886622F8B25F29857E406744BFEEC6" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_193B2AB3843D5C14AA8DC2CDE96284FD" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_CB886622F8B25F29857E406744BFEEC6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_491801823B895BD1B8A2FEE8D5BF5674" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_193B2AB3843D5C14AA8DC2CDE96284FD" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_491801823B895BD1B8A2FEE8D5BF5674" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsSoldUnderAgreementsToRepurchaseLineItems" xlink:label="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseLineItems_DA903E820C53AD9D978FFB2A596FE449" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfAssetsSoldUnderAgreementsToRepurchaseTable" xlink:label="loc_us-gaap_ScheduleOfAssetsSoldUnderAgreementsToRepurchaseTable_4BB81BEF480C660C0A7CFB2A596D84F9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseLineItems_DA903E820C53AD9D978FFB2A596FE449" xlink:to="loc_us-gaap_ScheduleOfAssetsSoldUnderAgreementsToRepurchaseTable_4BB81BEF480C660C0A7CFB2A596D84F9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_5BD2C82B3DDEB0D8DA34FB2A596D4D5B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAssetsSoldUnderAgreementsToRepurchaseTable_4BB81BEF480C660C0A7CFB2A596D84F9" xlink:to="loc_us-gaap_FinancialInstrumentAxis_5BD2C82B3DDEB0D8DA34FB2A596D4D5B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_22A113AED2DA0237F895FB2A596E7D45_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_5BD2C82B3DDEB0D8DA34FB2A596D4D5B" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_22A113AED2DA0237F895FB2A596E7D45_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_22A113AED2DA0237F895FB2A596E7D45" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_5BD2C82B3DDEB0D8DA34FB2A596D4D5B" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_22A113AED2DA0237F895FB2A596E7D45" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FederalHomeLoanBankAdvancesMember" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesMember_8C094A5E31B79B5448CDFB2A596EC5D3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_22A113AED2DA0237F895FB2A596E7D45" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesMember_8C094A5E31B79B5448CDFB2A596EC5D3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_206BE6E3002779954B2BFB2A596ED7F6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAssetsSoldUnderAgreementsToRepurchaseTable_4BB81BEF480C660C0A7CFB2A596D84F9" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_206BE6E3002779954B2BFB2A596ED7F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_CD1D97E3FD6562A5163AFB2A596FF55B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_206BE6E3002779954B2BFB2A596ED7F6" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_CD1D97E3FD6562A5163AFB2A596FF55B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_30AC98E20FB01A9640BFFB2A596E924A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_206BE6E3002779954B2BFB2A596ED7F6" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_30AC98E20FB01A9640BFFB2A596E924A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_CD1D97E3FD6562A5163AFB2A596FF55B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_30AC98E20FB01A9640BFFB2A596E924A" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_CD1D97E3FD6562A5163AFB2A596FF55B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember" xlink:label="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_1CF8D5946A59D430B02EFB2A596F02F2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_30AC98E20FB01A9640BFFB2A596E924A" xlink:to="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_1CF8D5946A59D430B02EFB2A596F02F2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_F2E8FCA9D68B35CA0698FB2A596F15A3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_30AC98E20FB01A9640BFFB2A596E924A" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_F2E8FCA9D68B35CA0698FB2A596F15A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SecurityOwnedAndPledgedAsCollateralFairValue" xlink:label="loc_us-gaap_SecurityOwnedAndPledgedAsCollateralFairValue_CDC533A4CBAA88592E26FB2A59706C80" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseLineItems_DA903E820C53AD9D978FFB2A596FE449" xlink:to="loc_us-gaap_SecurityOwnedAndPledgedAsCollateralFairValue_CDC533A4CBAA88592E26FB2A59706C80" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_7FBAD64DC38A5AE5B3625F1E9101B04C" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleTable" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_14BBBA8AEED953CA9EEA6B13866FB5DB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_7FBAD64DC38A5AE5B3625F1E9101B04C" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_14BBBA8AEED953CA9EEA6B13866FB5DB" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_10C5B7E603F05A8AAA58ABE1CD84C612" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_14BBBA8AEED953CA9EEA6B13866FB5DB" xlink:to="loc_us-gaap_FinancialInstrumentAxis_10C5B7E603F05A8AAA58ABE1CD84C612" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_B4E378387E747F17B12F4784632790BE_A9C58D237186539BB5A750EEEB3D3EBA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_10C5B7E603F05A8AAA58ABE1CD84C612" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_B4E378387E747F17B12F4784632790BE_A9C58D237186539BB5A750EEEB3D3EBA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_8297E822165454CC82C31CE3DEE3D364" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_10C5B7E603F05A8AAA58ABE1CD84C612" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_8297E822165454CC82C31CE3DEE3D364" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_9449A8517A325B2781DFE64D1C797DEC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_8297E822165454CC82C31CE3DEE3D364" xlink:to="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_9449A8517A325B2781DFE64D1C797DEC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MunicipalBondsMember" xlink:label="loc_us-gaap_MunicipalBondsMember_B8CD961AA1A857759D7D77E05CA3D3AF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_8297E822165454CC82C31CE3DEE3D364" xlink:to="loc_us-gaap_MunicipalBondsMember_B8CD961AA1A857759D7D77E05CA3D3AF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_8CECC057FBC552A88C93CB09694787D0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_8297E822165454CC82C31CE3DEE3D364" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_8CECC057FBC552A88C93CB09694787D0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_MortgageBackedSecuritiesMember_9174F4B15F2856BB9154CFDDFA7ADF19" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_8297E822165454CC82C31CE3DEE3D364" xlink:to="loc_us-gaap_MortgageBackedSecuritiesMember_9174F4B15F2856BB9154CFDDFA7ADF19" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_B6470F9FB33954AA8BF0C1816D728F30" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_7FBAD64DC38A5AE5B3625F1E9101B04C" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_B6470F9FB33954AA8BF0C1816D728F30" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_91CDF10A9FB55AEB8E8C254704D8AF2B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_B6470F9FB33954AA8BF0C1816D728F30" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_91CDF10A9FB55AEB8E8C254704D8AF2B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_6D6DADD5A3E55EA0AE9230ECBA961B7A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_B6470F9FB33954AA8BF0C1816D728F30" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_6D6DADD5A3E55EA0AE9230ECBA961B7A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_E6CF3F01724F564BB6148AD976FF5377" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_B6470F9FB33954AA8BF0C1816D728F30" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_E6CF3F01724F564BB6148AD976FF5377" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract_CB85CB8D00B058679B2FAB3D1F6AFB06" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_7FBAD64DC38A5AE5B3625F1E9101B04C" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract_CB85CB8D00B058679B2FAB3D1F6AFB06" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_9AE5CD5E50F057238DC8CC90C1B3CBB0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract_CB85CB8D00B058679B2FAB3D1F6AFB06" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_9AE5CD5E50F057238DC8CC90C1B3CBB0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_0FB5E1E100D3566BB31FE6AE02CD9190" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract_CB85CB8D00B058679B2FAB3D1F6AFB06" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_0FB5E1E100D3566BB31FE6AE02CD9190" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_0E31D510C06F5BD79641E99A8520DA7A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract_CB85CB8D00B058679B2FAB3D1F6AFB06" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_0E31D510C06F5BD79641E99A8520DA7A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions_A55CFC8B77C65B14AB1B8D038A041221" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_7FBAD64DC38A5AE5B3625F1E9101B04C" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions_A55CFC8B77C65B14AB1B8D038A041221" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_50E414817CE8A627614D04EF2C0BB6EE" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_6C091D52AC2E38E6AF5104EF2C09DEDA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_50E414817CE8A627614D04EF2C0BB6EE" xlink:to="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_6C091D52AC2E38E6AF5104EF2C09DEDA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_D31F8919D9B0392140DB04EF2C0AD19A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_6C091D52AC2E38E6AF5104EF2C09DEDA" xlink:to="loc_srt_RangeAxis_D31F8919D9B0392140DB04EF2C0AD19A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_9B4FA372278B389800E904EF2C0A55EB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_D31F8919D9B0392140DB04EF2C0AD19A" xlink:to="loc_srt_RangeMember_9B4FA372278B389800E904EF2C0A55EB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_9B4FA372278B389800E904EF2C0A55EB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_D31F8919D9B0392140DB04EF2C0AD19A" xlink:to="loc_srt_RangeMember_9B4FA372278B389800E904EF2C0A55EB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_FAF29D10109DE350742B04EF2C0AF7B7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_9B4FA372278B389800E904EF2C0A55EB" xlink:to="loc_srt_MinimumMember_FAF29D10109DE350742B04EF2C0AF7B7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_9D0494EC4912F935AE7604EF2C0B88AE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_9B4FA372278B389800E904EF2C0A55EB" xlink:to="loc_srt_MaximumMember_9D0494EC4912F935AE7604EF2C0B88AE" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_LesseeOperatingLeaseNumberOfFullServiceBranches" xlink:label="loc_cbnk_LesseeOperatingLeaseNumberOfFullServiceBranches_9AD3DDDD587F089456C804EF2C0B5E58" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_50E414817CE8A627614D04EF2C0BB6EE" xlink:to="loc_cbnk_LesseeOperatingLeaseNumberOfFullServiceBranches_9AD3DDDD587F089456C804EF2C0B5E58" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_LesseeOperatingLeaseNumberOfLocations" xlink:label="loc_cbnk_LesseeOperatingLeaseNumberOfLocations_AE9B136BF02DA1ECEB8B04EF2C0B3392" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_50E414817CE8A627614D04EF2C0BB6EE" xlink:to="loc_cbnk_LesseeOperatingLeaseNumberOfLocations_AE9B136BF02DA1ECEB8B04EF2C0B3392" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent" xlink:label="loc_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent_FD0A65CADA8C439E176F04EF2C11BD3A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_50E414817CE8A627614D04EF2C0BB6EE" xlink:to="loc_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent_FD0A65CADA8C439E176F04EF2C11BD3A" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_OperatingLeaseRightOfUseAssetNet" xlink:label="loc_cbnk_OperatingLeaseRightOfUseAssetNet_B31677E1D1E7935413D904EF2C11949E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_50E414817CE8A627614D04EF2C0BB6EE" xlink:to="loc_cbnk_OperatingLeaseRightOfUseAssetNet_B31677E1D1E7935413D904EF2C11949E" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_OperatingLeaseLiabilityNet" xlink:label="loc_cbnk_OperatingLeaseLiabilityNet_B270DE798F3E3C03215B04EF2C11B7CC" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_50E414817CE8A627614D04EF2C0BB6EE" xlink:to="loc_cbnk_OperatingLeaseLiabilityNet_B270DE798F3E3C03215B04EF2C11B7CC" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_LesseeOperatingLeaseRemainingTermOfContract" xlink:label="loc_cbnk_LesseeOperatingLeaseRemainingTermOfContract_4FEDC5BBEEB7B839C0F604EF2C1136F7" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_50E414817CE8A627614D04EF2C0BB6EE" xlink:to="loc_cbnk_LesseeOperatingLeaseRemainingTermOfContract_4FEDC5BBEEB7B839C0F604EF2C1136F7" 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/Litigation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/LoansReceivable" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/LoansReceivableAccretableDiscountDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/LoansReceivableActivityInAllowanceForLoanLossesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_A52C2E1293A475790349FF5AD71F7E4B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_6D038A531852DC501278FF5AD71D4D87" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_A52C2E1293A475790349FF5AD71F7E4B" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_6D038A531852DC501278FF5AD71D4D87" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_9B348FBAE331EB9A8D2DFF5AD71D10E1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_6D038A531852DC501278FF5AD71D4D87" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_9B348FBAE331EB9A8D2DFF5AD71D10E1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_792DEF6C01A589EFAE4EFF5AD71E8EA3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_9B348FBAE331EB9A8D2DFF5AD71D10E1" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_792DEF6C01A589EFAE4EFF5AD71E8EA3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_792DEF6C01A589EFAE4EFF5AD71E8EA3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_9B348FBAE331EB9A8D2DFF5AD71D10E1" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_792DEF6C01A589EFAE4EFF5AD71E8EA3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_UnfundedLoanCommitmentMember" xlink:label="loc_us-gaap_UnfundedLoanCommitmentMember_25F8D31D8119491D6D83FF5AD71EA636" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_792DEF6C01A589EFAE4EFF5AD71E8EA3" xlink:to="loc_us-gaap_UnfundedLoanCommitmentMember_25F8D31D8119491D6D83FF5AD71EA636" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_MortgageLoansSoldMember" xlink:label="loc_cbnk_MortgageLoansSoldMember_4CE3D0B57D4CD35C0AF3FF5AD71E6F1D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_792DEF6C01A589EFAE4EFF5AD71E8EA3" xlink:to="loc_cbnk_MortgageLoansSoldMember_4CE3D0B57D4CD35C0AF3FF5AD71E6F1D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward_6CEA4357CD6D624D76F6FF5AD71F5E48" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_A52C2E1293A475790349FF5AD71F7E4B" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward_6CEA4357CD6D624D76F6FF5AD71F5E48" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_16009ADE8FCC655BFEB1FF8F657678B0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward_6CEA4357CD6D624D76F6FF5AD71F5E48" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_16009ADE8FCC655BFEB1FF8F657678B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProvisionForLoanLossesExpensed" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_8BEBF30EF422B9CA38C0FF900286C683" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward_6CEA4357CD6D624D76F6FF5AD71F5E48" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_8BEBF30EF422B9CA38C0FF900286C683" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AllowanceForLoanAndLeaseLossesWriteoffsNet" xlink:label="loc_us-gaap_AllowanceForLoanAndLeaseLossesWriteoffsNet_FA9E7815B345F3BFF23AFF5AD71FBE6B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward_6CEA4357CD6D624D76F6FF5AD71F5E48" xlink:to="loc_us-gaap_AllowanceForLoanAndLeaseLossesWriteoffsNet_FA9E7815B345F3BFF23AFF5AD71FBE6B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/LoansReceivableAllowanceForLoanLossesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansAndLeasesReceivableDisclosureLineItems" xlink:label="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_338612C6EDC2B68278C8FF5AD75620D0" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansAndLeasesReceivableDisclosureTable" xlink:label="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_DEE151DC8505F94E21D5FF5AD754C2CC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_338612C6EDC2B68278C8FF5AD75620D0" xlink:to="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_DEE151DC8505F94E21D5FF5AD754C2CC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_7D6054C3B8D508A77F50FF5AD754CDB3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_DEE151DC8505F94E21D5FF5AD754C2CC" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_7D6054C3B8D508A77F50FF5AD754CDB3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_22AA7F6980D7EF56B2EDFF5AD7545CBC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_7D6054C3B8D508A77F50FF5AD754CDB3" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_22AA7F6980D7EF56B2EDFF5AD7545CBC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_22AA7F6980D7EF56B2EDFF5AD7545CBC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_7D6054C3B8D508A77F50FF5AD754CDB3" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_22AA7F6980D7EF56B2EDFF5AD7545CBC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_B6B7D6B8AF53F80AB382FF5AD7551518" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_22AA7F6980D7EF56B2EDFF5AD7545CBC" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_B6B7D6B8AF53F80AB382FF5AD7551518" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_BFAFE6C00A51C1FD8F18FF5AD7558930" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_22AA7F6980D7EF56B2EDFF5AD7545CBC" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_BFAFE6C00A51C1FD8F18FF5AD7558930" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_ConstructionPortfolioSegmentMember" xlink:label="loc_cbnk_ConstructionPortfolioSegmentMember_7668F7CE6621BA65DB40FF5AD755D265" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_22AA7F6980D7EF56B2EDFF5AD7545CBC" xlink:to="loc_cbnk_ConstructionPortfolioSegmentMember_7668F7CE6621BA65DB40FF5AD755D265" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_08EF36ADDCAAA9C8D7F7FF5AD7553FD1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_22AA7F6980D7EF56B2EDFF5AD7545CBC" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_08EF36ADDCAAA9C8D7F7FF5AD7553FD1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_6DBA2E721FD506BCCA66FF5AD75505C1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_DEE151DC8505F94E21D5FF5AD754C2CC" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_6DBA2E721FD506BCCA66FF5AD75505C1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8511E02E40E82C034328FF5AD755AA1B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_6DBA2E721FD506BCCA66FF5AD75505C1" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8511E02E40E82C034328FF5AD755AA1B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8511E02E40E82C034328FF5AD755AA1B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_6DBA2E721FD506BCCA66FF5AD75505C1" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8511E02E40E82C034328FF5AD755AA1B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="loc_us-gaap_RealEstateLoanMember_5BD3384CEA3698132452FF5AD7563624" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8511E02E40E82C034328FF5AD755AA1B" xlink:to="loc_us-gaap_RealEstateLoanMember_5BD3384CEA3698132452FF5AD7563624" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CreditCardReceivablesMember" xlink:label="loc_us-gaap_CreditCardReceivablesMember_E70BDBD93B1D792D8A4DFF5AD756A526" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8511E02E40E82C034328FF5AD755AA1B" xlink:to="loc_us-gaap_CreditCardReceivablesMember_E70BDBD93B1D792D8A4DFF5AD756A526" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_OtherConsumerMember" xlink:label="loc_cbnk_OtherConsumerMember_8B70E420DFE5C8F3630BFF5AD7562C98" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8511E02E40E82C034328FF5AD755AA1B" xlink:to="loc_cbnk_OtherConsumerMember_8B70E420DFE5C8F3630BFF5AD7562C98" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AllowanceForLoanAndLeaseLossesRollForward" xlink:label="loc_us-gaap_AllowanceForLoanAndLeaseLossesRollForward_C5192E5A60D7E88119FBFF5AD756C552" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_338612C6EDC2B68278C8FF5AD75620D0" xlink:to="loc_us-gaap_AllowanceForLoanAndLeaseLossesRollForward_C5192E5A60D7E88119FBFF5AD756C552" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_097DBC180042C03378EEFF8651FF16EF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AllowanceForLoanAndLeaseLossesRollForward_C5192E5A60D7E88119FBFF5AD756C552" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_097DBC180042C03378EEFF8651FF16EF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProvisionForLoanLossesExpensed" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_16B2D0D8B43D7884083AFF869A4C83A3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AllowanceForLoanAndLeaseLossesRollForward_C5192E5A60D7E88119FBFF5AD756C552" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_16B2D0D8B43D7884083AFF869A4C83A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AllowanceForLoanAndLeaseLossesWriteOffs" xlink:label="loc_us-gaap_AllowanceForLoanAndLeaseLossesWriteOffs_B4BB3EA8851A66D82C27FF5AD75790AC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AllowanceForLoanAndLeaseLossesRollForward_C5192E5A60D7E88119FBFF5AD756C552" xlink:to="loc_us-gaap_AllowanceForLoanAndLeaseLossesWriteOffs_B4BB3EA8851A66D82C27FF5AD75790AC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery_BA09C676686704D93D52FF8808D8DC1D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AllowanceForLoanAndLeaseLossesRollForward_C5192E5A60D7E88119FBFF5AD756C552" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery_BA09C676686704D93D52FF8808D8DC1D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1_293D9DCE352978C4AEFAFF5AD758500F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_338612C6EDC2B68278C8FF5AD75620D0" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1_293D9DCE352978C4AEFAFF5AD758500F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment_62A515F3FF30804B0619FF5AD758EA44" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_338612C6EDC2B68278C8FF5AD75620D0" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment_62A515F3FF30804B0619FF5AD758EA44" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" xlink:label="loc_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment_C73DA520F7814442A965FF5AD758F057" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_338612C6EDC2B68278C8FF5AD75620D0" xlink:to="loc_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment_C73DA520F7814442A965FF5AD758F057" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment" xlink:label="loc_us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment_121030F3B05D35691C69FF5AD7587B36" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_338612C6EDC2B68278C8FF5AD75620D0" xlink:to="loc_us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment_121030F3B05D35691C69FF5AD7587B36" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/LoansReceivableClassificationOfLoansDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansAndLeasesReceivableDisclosureLineItems" xlink:label="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4EDD8C8CA52F2BD17F2FFF5AD7810D9B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansAndLeasesReceivableDisclosureTable" xlink:label="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_3BD13D6171845A88EBBAFF5AD7778FE3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4EDD8C8CA52F2BD17F2FFF5AD7810D9B" xlink:to="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_3BD13D6171845A88EBBAFF5AD7778FE3" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfFinancingReceivableTypeOfBorrowerAxis" xlink:label="loc_us-gaap_ClassOfFinancingReceivableTypeOfBorrowerAxis_058662E9F1A05C280CD3FF5AD777E2E7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_3BD13D6171845A88EBBAFF5AD7778FE3" xlink:to="loc_us-gaap_ClassOfFinancingReceivableTypeOfBorrowerAxis_058662E9F1A05C280CD3FF5AD777E2E7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfFinancingReceivableTypeOfBorrowerDomain" xlink:label="loc_us-gaap_ClassOfFinancingReceivableTypeOfBorrowerDomain_69556231CB9139BEBF3BFF5AD7775225_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ClassOfFinancingReceivableTypeOfBorrowerAxis_058662E9F1A05C280CD3FF5AD777E2E7" xlink:to="loc_us-gaap_ClassOfFinancingReceivableTypeOfBorrowerDomain_69556231CB9139BEBF3BFF5AD7775225_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfFinancingReceivableTypeOfBorrowerDomain" xlink:label="loc_us-gaap_ClassOfFinancingReceivableTypeOfBorrowerDomain_69556231CB9139BEBF3BFF5AD7775225" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ClassOfFinancingReceivableTypeOfBorrowerAxis_058662E9F1A05C280CD3FF5AD777E2E7" xlink:to="loc_us-gaap_ClassOfFinancingReceivableTypeOfBorrowerDomain_69556231CB9139BEBF3BFF5AD7775225" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_OwnerOccupiedRealEstateMember" xlink:label="loc_cbnk_OwnerOccupiedRealEstateMember_5091A8E7C6BD04F27A88FF5AD778A5C2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfFinancingReceivableTypeOfBorrowerDomain_69556231CB9139BEBF3BFF5AD7775225" xlink:to="loc_cbnk_OwnerOccupiedRealEstateMember_5091A8E7C6BD04F27A88FF5AD778A5C2" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_InvestorRealEstateMember" xlink:label="loc_cbnk_InvestorRealEstateMember_F13CBE708DFE6875EBFFFF5AD778F1CC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfFinancingReceivableTypeOfBorrowerDomain_69556231CB9139BEBF3BFF5AD7775225" xlink:to="loc_cbnk_InvestorRealEstateMember_F13CBE708DFE6875EBFFFF5AD778F1CC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_D1FA82BAE94239ED4324FF5AD778EB50" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_3BD13D6171845A88EBBAFF5AD7778FE3" xlink:to="loc_srt_RangeAxis_D1FA82BAE94239ED4324FF5AD778EB50" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_FCE761F45D8B73EE7DEBFF5AD7781B52_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_D1FA82BAE94239ED4324FF5AD778EB50" xlink:to="loc_srt_RangeMember_FCE761F45D8B73EE7DEBFF5AD7781B52_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_FCE761F45D8B73EE7DEBFF5AD7781B52" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_D1FA82BAE94239ED4324FF5AD778EB50" xlink:to="loc_srt_RangeMember_FCE761F45D8B73EE7DEBFF5AD7781B52" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_51D51BB07A42C9A72B31FF5AD778C0E1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_FCE761F45D8B73EE7DEBFF5AD7781B52" xlink:to="loc_srt_MinimumMember_51D51BB07A42C9A72B31FF5AD778C0E1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_A3BEDF7053F9584D5643FF5AD779498E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_FCE761F45D8B73EE7DEBFF5AD7781B52" xlink:to="loc_srt_MaximumMember_A3BEDF7053F9584D5643FF5AD779498E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_359F9476965463D99E65FF5AD779E120" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_3BD13D6171845A88EBBAFF5AD7778FE3" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_359F9476965463D99E65FF5AD779E120" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_DDAEC67FB1C6E019ABC1FF5AD7794C46_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_359F9476965463D99E65FF5AD779E120" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_DDAEC67FB1C6E019ABC1FF5AD7794C46_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_DDAEC67FB1C6E019ABC1FF5AD7794C46" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_359F9476965463D99E65FF5AD779E120" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_DDAEC67FB1C6E019ABC1FF5AD7794C46" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_3BA9F1C6992A5CCE4D81FF5AD7796104" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_DDAEC67FB1C6E019ABC1FF5AD7794C46" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_3BA9F1C6992A5CCE4D81FF5AD7796104" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_818789781E7546A5ECE1FF5AD77AD9DF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_DDAEC67FB1C6E019ABC1FF5AD7794C46" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_818789781E7546A5ECE1FF5AD77AD9DF" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_ConstructionPortfolioSegmentMember" xlink:label="loc_cbnk_ConstructionPortfolioSegmentMember_C7493057FCF1FECF74B0FF5AD77F2FA8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_DDAEC67FB1C6E019ABC1FF5AD7794C46" xlink:to="loc_cbnk_ConstructionPortfolioSegmentMember_C7493057FCF1FECF74B0FF5AD77F2FA8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_31AEEC2A1584C9160CE7FF5AD77F6B8B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_DDAEC67FB1C6E019ABC1FF5AD7794C46" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_31AEEC2A1584C9160CE7FF5AD77F6B8B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_59A5BAD8BD5FF4BFE198FF5AD77F0807" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_3BD13D6171845A88EBBAFF5AD7778FE3" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_59A5BAD8BD5FF4BFE198FF5AD77F0807" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8DDE5D58B82881572F03FF5AD77F62D8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_59A5BAD8BD5FF4BFE198FF5AD77F0807" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8DDE5D58B82881572F03FF5AD77F62D8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8DDE5D58B82881572F03FF5AD77F62D8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_59A5BAD8BD5FF4BFE198FF5AD77F0807" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8DDE5D58B82881572F03FF5AD77F62D8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="loc_us-gaap_RealEstateLoanMember_39A9882610039219FAE3FF5AD780C4BF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8DDE5D58B82881572F03FF5AD77F62D8" xlink:to="loc_us-gaap_RealEstateLoanMember_39A9882610039219FAE3FF5AD780C4BF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CreditCardReceivablesMember" xlink:label="loc_us-gaap_CreditCardReceivablesMember_4666552358491F7FC9DFFF5AD780E3C1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8DDE5D58B82881572F03FF5AD77F62D8" xlink:to="loc_us-gaap_CreditCardReceivablesMember_4666552358491F7FC9DFFF5AD780E3C1" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_OtherConsumerMember" xlink:label="loc_cbnk_OtherConsumerMember_9C7624CD7DD58FCA7CD4FF5AD78080A9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8DDE5D58B82881572F03FF5AD77F62D8" xlink:to="loc_cbnk_OtherConsumerMember_9C7624CD7DD58FCA7CD4FF5AD78080A9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CollateralAxis" xlink:label="loc_us-gaap_CollateralAxis_AC00995EF8DE9F3818A5FF5AD780AC89" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureTable_3BD13D6171845A88EBBAFF5AD7778FE3" xlink:to="loc_us-gaap_CollateralAxis_AC00995EF8DE9F3818A5FF5AD780AC89" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CollateralDomain" xlink:label="loc_us-gaap_CollateralDomain_04BA638B0552EF47021EFF5AD78009DE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CollateralAxis_AC00995EF8DE9F3818A5FF5AD780AC89" xlink:to="loc_us-gaap_CollateralDomain_04BA638B0552EF47021EFF5AD78009DE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CollateralDomain" xlink:label="loc_us-gaap_CollateralDomain_04BA638B0552EF47021EFF5AD78009DE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CollateralAxis_AC00995EF8DE9F3818A5FF5AD780AC89" xlink:to="loc_us-gaap_CollateralDomain_04BA638B0552EF47021EFF5AD78009DE" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_SavingsDepositsMember" xlink:label="loc_cbnk_SavingsDepositsMember_654B8C5E0FC6AE315BBBFF5AD781134A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollateralDomain_04BA638B0552EF47021EFF5AD78009DE" xlink:to="loc_cbnk_SavingsDepositsMember_654B8C5E0FC6AE315BBBFF5AD781134A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NotesReceivableGross" xlink:label="loc_us-gaap_NotesReceivableGross_E2FB05BABDF2D16A842FFF81D1AFDA89" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4EDD8C8CA52F2BD17F2FFF5AD7810D9B" xlink:to="loc_us-gaap_NotesReceivableGross_E2FB05BABDF2D16A842FFF81D1AFDA89" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansAndLeasesReceivableDeferredIncome" xlink:label="loc_us-gaap_LoansAndLeasesReceivableDeferredIncome_F70024047CD171CE63FFFF5AD7828935" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4EDD8C8CA52F2BD17F2FFF5AD7810D9B" xlink:to="loc_us-gaap_LoansAndLeasesReceivableDeferredIncome_F70024047CD171CE63FFFF5AD7828935" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_2ADC57BEE87990D09E21FF833D2B9956" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4EDD8C8CA52F2BD17F2FFF5AD7810D9B" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_2ADC57BEE87990D09E21FF833D2B9956" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NotesReceivableNet" xlink:label="loc_us-gaap_NotesReceivableNet_03C84F8AE242EB044A7CFF83D34B2321" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4EDD8C8CA52F2BD17F2FFF5AD7810D9B" xlink:to="loc_us-gaap_NotesReceivableNet_03C84F8AE242EB044A7CFF83D34B2321" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_LoansAndLeasesReceivableFixedInterestRateTerm" xlink:label="loc_cbnk_LoansAndLeasesReceivableFixedInterestRateTerm_E310727F9AD9F836F35DFF5AD782E2B7" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4EDD8C8CA52F2BD17F2FFF5AD7810D9B" xlink:to="loc_cbnk_LoansAndLeasesReceivableFixedInterestRateTerm_E310727F9AD9F836F35DFF5AD782E2B7" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_LoansAndLeasesReceivableInitialCommitmentTerm" xlink:label="loc_cbnk_LoansAndLeasesReceivableInitialCommitmentTerm_2E629096D704F4DD250CFF5AD7823E3C" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4EDD8C8CA52F2BD17F2FFF5AD7810D9B" xlink:to="loc_cbnk_LoansAndLeasesReceivableInitialCommitmentTerm_2E629096D704F4DD250CFF5AD7823E3C" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_LoansAndLeasesReceivableBalloonPaymentPeriod" xlink:label="loc_cbnk_LoansAndLeasesReceivableBalloonPaymentPeriod_4CF90ED185F27BDB5DB9FF5AD7828CAA" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4EDD8C8CA52F2BD17F2FFF5AD7810D9B" xlink:to="loc_cbnk_LoansAndLeasesReceivableBalloonPaymentPeriod_4CF90ED185F27BDB5DB9FF5AD7828CAA" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_LoansAndLeasesReceivableCovenantComplianceDebtServiceCoverageRatio" xlink:label="loc_cbnk_LoansAndLeasesReceivableCovenantComplianceDebtServiceCoverageRatio_5C4A85371DF3E9DBED58FF5AD783B10E" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4EDD8C8CA52F2BD17F2FFF5AD7810D9B" xlink:to="loc_cbnk_LoansAndLeasesReceivableCovenantComplianceDebtServiceCoverageRatio_5C4A85371DF3E9DBED58FF5AD783B10E" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_LoansAndLeasesReceivablePercentOfRealEstatePortfolio" xlink:label="loc_cbnk_LoansAndLeasesReceivablePercentOfRealEstatePortfolio_A27718C311FCC75C01C1FF5AD78347FE" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4EDD8C8CA52F2BD17F2FFF5AD7810D9B" xlink:to="loc_cbnk_LoansAndLeasesReceivablePercentOfRealEstatePortfolio_A27718C311FCC75C01C1FF5AD78347FE" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_LoansAndLeasesReceivableAmortizationPeriod" xlink:label="loc_cbnk_LoansAndLeasesReceivableAmortizationPeriod_734A7274ED95B19D7B88FF5AD7836B0C" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4EDD8C8CA52F2BD17F2FFF5AD7810D9B" xlink:to="loc_cbnk_LoansAndLeasesReceivableAmortizationPeriod_734A7274ED95B19D7B88FF5AD7836B0C" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_LoansAndLeasesReceivablePrincipalToCollateralValueRatioPercent" xlink:label="loc_cbnk_LoansAndLeasesReceivablePrincipalToCollateralValueRatioPercent_AB8D9B9DEE2A6B3C3AD8FF5AD7838F7B" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4EDD8C8CA52F2BD17F2FFF5AD7810D9B" xlink:to="loc_cbnk_LoansAndLeasesReceivablePrincipalToCollateralValueRatioPercent_AB8D9B9DEE2A6B3C3AD8FF5AD7838F7B" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_LoansAndLeasesReceivableRepaymentHistoryUsedForScoringModel" xlink:label="loc_cbnk_LoansAndLeasesReceivableRepaymentHistoryUsedForScoringModel_32179A9A835EA1E7CE9AFF5AD78364ED" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansAndLeasesReceivableDisclosureLineItems_4EDD8C8CA52F2BD17F2FFF5AD7810D9B" xlink:to="loc_cbnk_LoansAndLeasesReceivableRepaymentHistoryUsedForScoringModel_32179A9A835EA1E7CE9AFF5AD78364ED" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/LoansReceivableCreditQualityIndicatorsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentLineItems" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_BD43DECE3993B7B9BB24FF5AD73A731F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_037E3C38F615B381E855FF5AD73613DF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_BD43DECE3993B7B9BB24FF5AD73A731F" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_037E3C38F615B381E855FF5AD73613DF" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_C0FBB6EAD62A3993FD2AFF5AD737301F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_037E3C38F615B381E855FF5AD73613DF" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_C0FBB6EAD62A3993FD2AFF5AD737301F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_FC64ABB5788250CA24E0FF5AD7372651_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_C0FBB6EAD62A3993FD2AFF5AD737301F" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_FC64ABB5788250CA24E0FF5AD7372651_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_FC64ABB5788250CA24E0FF5AD7372651" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_C0FBB6EAD62A3993FD2AFF5AD737301F" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_FC64ABB5788250CA24E0FF5AD7372651" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_AECE9CA385660BF6257DFF5AD73717DD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_FC64ABB5788250CA24E0FF5AD7372651" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_AECE9CA385660BF6257DFF5AD73717DD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_CFF5AAC91E546F113A5CFF5AD738D0C2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_FC64ABB5788250CA24E0FF5AD7372651" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_CFF5AAC91E546F113A5CFF5AD738D0C2" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_ConstructionPortfolioSegmentMember" xlink:label="loc_cbnk_ConstructionPortfolioSegmentMember_FA7DA51A027B215D27F4FF5AD7386747" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_FC64ABB5788250CA24E0FF5AD7372651" xlink:to="loc_cbnk_ConstructionPortfolioSegmentMember_FA7DA51A027B215D27F4FF5AD7386747" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_4EA6B80DDB16BD9F655DFF5AD7383834" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_FC64ABB5788250CA24E0FF5AD7372651" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_4EA6B80DDB16BD9F655DFF5AD7383834" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_1B0C9E2C31865B81EBA6FF5AD7384D08" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_037E3C38F615B381E855FF5AD73613DF" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_1B0C9E2C31865B81EBA6FF5AD7384D08" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_224B3AFC0EBE0BB12FEFFF5AD7384327_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_1B0C9E2C31865B81EBA6FF5AD7384D08" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_224B3AFC0EBE0BB12FEFFF5AD7384327_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_224B3AFC0EBE0BB12FEFFF5AD7384327" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_1B0C9E2C31865B81EBA6FF5AD7384D08" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_224B3AFC0EBE0BB12FEFFF5AD7384327" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="loc_us-gaap_RealEstateLoanMember_3F67C59D6D55B9450000FF5AD7380A7C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_224B3AFC0EBE0BB12FEFFF5AD7384327" xlink:to="loc_us-gaap_RealEstateLoanMember_3F67C59D6D55B9450000FF5AD7380A7C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CreditCardReceivablesMember" xlink:label="loc_us-gaap_CreditCardReceivablesMember_9CE65D8DF7B8337C6629FF5AD739841F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_224B3AFC0EBE0BB12FEFFF5AD7384327" xlink:to="loc_us-gaap_CreditCardReceivablesMember_9CE65D8DF7B8337C6629FF5AD739841F" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_OtherConsumerMember" xlink:label="loc_cbnk_OtherConsumerMember_3F6EF7ECB83FC57E5838FF5AD7394996" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_224B3AFC0EBE0BB12FEFFF5AD7384327" xlink:to="loc_cbnk_OtherConsumerMember_3F6EF7ECB83FC57E5838FF5AD7394996" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InternalCreditAssessmentAxis" xlink:label="loc_us-gaap_InternalCreditAssessmentAxis_3FC22C1542AB12CBCB15FF5AD7391975" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_037E3C38F615B381E855FF5AD73613DF" xlink:to="loc_us-gaap_InternalCreditAssessmentAxis_3FC22C1542AB12CBCB15FF5AD7391975" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain_E966AE3511F856056C75FF5AD739F296_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis_3FC22C1542AB12CBCB15FF5AD7391975" xlink:to="loc_us-gaap_InternalCreditAssessmentDomain_E966AE3511F856056C75FF5AD739F296_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain_E966AE3511F856056C75FF5AD739F296" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis_3FC22C1542AB12CBCB15FF5AD7391975" xlink:to="loc_us-gaap_InternalCreditAssessmentDomain_E966AE3511F856056C75FF5AD739F296" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PassMember" xlink:label="loc_us-gaap_PassMember_242FF99816BE046A1C24FF5AD73A9539" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_E966AE3511F856056C75FF5AD739F296" xlink:to="loc_us-gaap_PassMember_242FF99816BE046A1C24FF5AD73A9539" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SpecialMentionMember" xlink:label="loc_us-gaap_SpecialMentionMember_75EA0D74138FA6E16507FF5AD73A6382" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_E966AE3511F856056C75FF5AD739F296" xlink:to="loc_us-gaap_SpecialMentionMember_75EA0D74138FA6E16507FF5AD73A6382" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubstandardMember" xlink:label="loc_us-gaap_SubstandardMember_61FE95A59E27660E4763FF5AD73A2148" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_E966AE3511F856056C75FF5AD739F296" xlink:to="loc_us-gaap_SubstandardMember_61FE95A59E27660E4763FF5AD73A2148" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DoubtfulMember" xlink:label="loc_us-gaap_DoubtfulMember_E34C32D47E0E8136874BFF5AD73A8C04" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_E966AE3511F856056C75FF5AD739F296" xlink:to="loc_us-gaap_DoubtfulMember_E34C32D47E0E8136874BFF5AD73A8C04" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NotesReceivableGross" xlink:label="loc_us-gaap_NotesReceivableGross_56770C5C1C792FB6594FFFAD34979705" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_BD43DECE3993B7B9BB24FF5AD73A731F" xlink:to="loc_us-gaap_NotesReceivableGross_56770C5C1C792FB6594FFFAD34979705" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/LoansReceivableImpairedLoansDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableImpairedLineItems" xlink:label="loc_us-gaap_FinancingReceivableImpairedLineItems_EDCD844CF027D92C058DFF5AD7428F0F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfImpairedFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfImpairedFinancingReceivableTable_777927D7F07F9380FDDEFF5AD73FC9B0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_EDCD844CF027D92C058DFF5AD7428F0F" xlink:to="loc_us-gaap_ScheduleOfImpairedFinancingReceivableTable_777927D7F07F9380FDDEFF5AD73FC9B0" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_98B5DAB714EB7BC62CE3FF5AD740DE3B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfImpairedFinancingReceivableTable_777927D7F07F9380FDDEFF5AD73FC9B0" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_98B5DAB714EB7BC62CE3FF5AD740DE3B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_60F81A2D32CF3146C06FFF5AD7403C53_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_98B5DAB714EB7BC62CE3FF5AD740DE3B" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_60F81A2D32CF3146C06FFF5AD7403C53_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_60F81A2D32CF3146C06FFF5AD7403C53" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_98B5DAB714EB7BC62CE3FF5AD740DE3B" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_60F81A2D32CF3146C06FFF5AD7403C53" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_AE769A32405C8114EFA1FF5AD7409AED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_60F81A2D32CF3146C06FFF5AD7403C53" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_AE769A32405C8114EFA1FF5AD7409AED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_C177D75D14F9EFA215D1FF5AD741B4D3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_60F81A2D32CF3146C06FFF5AD7403C53" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_C177D75D14F9EFA215D1FF5AD741B4D3" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_ConstructionPortfolioSegmentMember" xlink:label="loc_cbnk_ConstructionPortfolioSegmentMember_882C39DAA5CED029E095FF5AD7418CCF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_60F81A2D32CF3146C06FFF5AD7403C53" xlink:to="loc_cbnk_ConstructionPortfolioSegmentMember_882C39DAA5CED029E095FF5AD7418CCF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_4C0D73B9464B05EFD8F1FF5AD7415680" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfImpairedFinancingReceivableTable_777927D7F07F9380FDDEFF5AD73FC9B0" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_4C0D73B9464B05EFD8F1FF5AD7415680" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_431332A5E08394AAB3DCFF5AD74131BB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_4C0D73B9464B05EFD8F1FF5AD7415680" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_431332A5E08394AAB3DCFF5AD74131BB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_431332A5E08394AAB3DCFF5AD74131BB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_4C0D73B9464B05EFD8F1FF5AD7415680" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_431332A5E08394AAB3DCFF5AD74131BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="loc_us-gaap_RealEstateLoanMember_B7F2AC96947E5C0EAB95FF5AD7415FB3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_431332A5E08394AAB3DCFF5AD74131BB" xlink:to="loc_us-gaap_RealEstateLoanMember_B7F2AC96947E5C0EAB95FF5AD7415FB3" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_AcquiredLoansMember" xlink:label="loc_cbnk_AcquiredLoansMember_CB7F00E6C9A0CE1DAB3FFF5AD742B2CC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_431332A5E08394AAB3DCFF5AD74131BB" xlink:to="loc_cbnk_AcquiredLoansMember_CB7F00E6C9A0CE1DAB3FFF5AD742B2CC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance" xlink:label="loc_us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance_DF20056DEDF580FAFF95FF5AD742BC5D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_EDCD844CF027D92C058DFF5AD7428F0F" xlink:to="loc_us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance_DF20056DEDF580FAFF95FF5AD742BC5D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment_C38696172BBD676E9BCFFF5AD7420FD5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_EDCD844CF027D92C058DFF5AD7428F0F" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment_C38696172BBD676E9BCFFF5AD7420FD5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment_93CBAB14B898AB718469FF5AD7421248" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_EDCD844CF027D92C058DFF5AD7428F0F" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment_93CBAB14B898AB718469FF5AD7421248" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairedFinancingReceivableRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_77A2240DBA7D03C25CB6FF5AD7426807" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_EDCD844CF027D92C058DFF5AD7428F0F" xlink:to="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_77A2240DBA7D03C25CB6FF5AD7426807" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairedFinancingReceivableRelatedAllowance" xlink:label="loc_us-gaap_ImpairedFinancingReceivableRelatedAllowance_39745FED3F16F5375AFFFF5AD7430C8B" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_EDCD844CF027D92C058DFF5AD7428F0F" xlink:to="loc_us-gaap_ImpairedFinancingReceivableRelatedAllowance_39745FED3F16F5375AFFFF5AD7430C8B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment_069E34915295E8279FC5FF5AD7435BE4" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_EDCD844CF027D92C058DFF5AD7428F0F" xlink:to="loc_us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment_069E34915295E8279FC5FF5AD7435BE4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairedFinancingReceivableInterestIncomeAccrualMethod" xlink:label="loc_us-gaap_ImpairedFinancingReceivableInterestIncomeAccrualMethod_D002CC9B3A93EB8321BAFF5AD74335AF" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_EDCD844CF027D92C058DFF5AD7428F0F" xlink:to="loc_us-gaap_ImpairedFinancingReceivableInterestIncomeAccrualMethod_D002CC9B3A93EB8321BAFF5AD74335AF" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/LoansReceivableOutstandingLoanCommitmentsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_39A8A7C9022D7F89AF94F5D3A292FE7E" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_6BCD12C0C63246DDA56EF5D3A289C393" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_39A8A7C9022D7F89AF94F5D3A292FE7E" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_6BCD12C0C63246DDA56EF5D3A289C393" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_CEAF3992D0671F80557FF5D3A289DD78" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_6BCD12C0C63246DDA56EF5D3A289C393" xlink:to="loc_us-gaap_FinancialInstrumentAxis_CEAF3992D0671F80557FF5D3A289DD78" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_04B3C3825DFDAEA04CFFF5D3A2897C36_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_CEAF3992D0671F80557FF5D3A289DD78" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_04B3C3825DFDAEA04CFFF5D3A2897C36_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_04B3C3825DFDAEA04CFFF5D3A2897C36" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_CEAF3992D0671F80557FF5D3A289DD78" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_04B3C3825DFDAEA04CFFF5D3A2897C36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommitmentsToExtendCreditMember" xlink:label="loc_us-gaap_CommitmentsToExtendCreditMember_EC83C246767E59DF1ACFF5D3A289DD0B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_04B3C3825DFDAEA04CFFF5D3A2897C36" xlink:to="loc_us-gaap_CommitmentsToExtendCreditMember_EC83C246767E59DF1ACFF5D3A289DD0B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_0E531C353D7507A6AAE7F5D3A28ABC11" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_6BCD12C0C63246DDA56EF5D3A289C393" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_0E531C353D7507A6AAE7F5D3A28ABC11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_F35C41DBFDBCCEA942FFF5D3A28A6213_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_0E531C353D7507A6AAE7F5D3A28ABC11" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_F35C41DBFDBCCEA942FFF5D3A28A6213_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_F35C41DBFDBCCEA942FFF5D3A28A6213" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_0E531C353D7507A6AAE7F5D3A28ABC11" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_F35C41DBFDBCCEA942FFF5D3A28A6213" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_120F38640EA1992AA712F5D3A28AB048" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_F35C41DBFDBCCEA942FFF5D3A28A6213" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_120F38640EA1992AA712F5D3A28AB048" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_B78AB909FBDC6C040EA5F5D3A28B3C33" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_F35C41DBFDBCCEA942FFF5D3A28A6213" xlink:to="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_B78AB909FBDC6C040EA5F5D3A28B3C33" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_0FB18B413DA55972D00FF5D3A28BFAC5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_F35C41DBFDBCCEA942FFF5D3A28A6213" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_0FB18B413DA55972D00FF5D3A28BFAC5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_FAA9C8DAEB3632649F3BF5D3A28B3B09" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_F35C41DBFDBCCEA942FFF5D3A28A6213" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_FAA9C8DAEB3632649F3BF5D3A28B3B09" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_1C734B12C6DACCC5F800F5D3A28B5C9C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_6BCD12C0C63246DDA56EF5D3A289C393" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_1C734B12C6DACCC5F800F5D3A28B5C9C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_14C7FC9046BBC1625453F5D3A28BAD27_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_1C734B12C6DACCC5F800F5D3A28B5C9C" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_14C7FC9046BBC1625453F5D3A28BAD27_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_14C7FC9046BBC1625453F5D3A28BAD27" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_1C734B12C6DACCC5F800F5D3A28B5C9C" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_14C7FC9046BBC1625453F5D3A28BAD27" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="loc_us-gaap_RealEstateLoanMember_106911E43CC42C880D48F5D3A28B5082" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_14C7FC9046BBC1625453F5D3A28BAD27" xlink:to="loc_us-gaap_RealEstateLoanMember_106911E43CC42C880D48F5D3A28B5082" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HomeEquityLoanMember" xlink:label="loc_us-gaap_HomeEquityLoanMember_19936BA9B3C6F5CE1170F5D3A28CAFD7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_14C7FC9046BBC1625453F5D3A28BAD27" xlink:to="loc_us-gaap_HomeEquityLoanMember_19936BA9B3C6F5CE1170F5D3A28CAFD7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CreditCardReceivablesMember" xlink:label="loc_us-gaap_CreditCardReceivablesMember_E4C1B7870F28D4F7680EF5D3A28C2B5D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_14C7FC9046BBC1625453F5D3A28BAD27" xlink:to="loc_us-gaap_CreditCardReceivablesMember_E4C1B7870F28D4F7680EF5D3A28C2B5D" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_PersonalLoanMember" xlink:label="loc_cbnk_PersonalLoanMember_7F38B075DD14E576AF4CF5D3A28C03A2" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_14C7FC9046BBC1625453F5D3A28BAD27" xlink:to="loc_cbnk_PersonalLoanMember_7F38B075DD14E576AF4CF5D3A28C03A2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_B2C5B5A461E9CD360606F5D3A28C8F0B" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_14C7FC9046BBC1625453F5D3A28BAD27" xlink:to="loc_us-gaap_ConstructionLoansMember_B2C5B5A461E9CD360606F5D3A28C8F0B" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_LoansHeldForSaleMember" xlink:label="loc_cbnk_LoansHeldForSaleMember_8C751891C056D375F51DF5D3A292AA27" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_14C7FC9046BBC1625453F5D3A28BAD27" xlink:to="loc_cbnk_LoansHeldForSaleMember_8C751891C056D375F51DF5D3A292AA27" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_UnusedCommitmentsToExtendCredit" xlink:label="loc_us-gaap_UnusedCommitmentsToExtendCredit_D66B0B7FC393A81FA840F5D3A292B843" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_39A8A7C9022D7F89AF94F5D3A292FE7E" xlink:to="loc_us-gaap_UnusedCommitmentsToExtendCredit_D66B0B7FC393A81FA840F5D3A292B843" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LettersOfCreditOutstandingAmount" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_294273C1D94C08CFC8B7F5D3A292D242" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_39A8A7C9022D7F89AF94F5D3A292FE7E" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_294273C1D94C08CFC8B7F5D3A292D242" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/LoansReceivablePastDueFinancingReceivableDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_0B299732661E8B95886AFF5AD74D6BEF" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfFinancingReceivablesPastDueTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_6BC12B81B8493ADA179FFF5AD748E5FE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_0B299732661E8B95886AFF5AD74D6BEF" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_6BC12B81B8493ADA179FFF5AD748E5FE" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_88C64818BC5BD2C8B70BFF5AD749F656" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_6BC12B81B8493ADA179FFF5AD748E5FE" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_88C64818BC5BD2C8B70BFF5AD749F656" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_AEA8B4E2D0657885874FFF5AD7497596_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_88C64818BC5BD2C8B70BFF5AD749F656" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_AEA8B4E2D0657885874FFF5AD7497596_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_AEA8B4E2D0657885874FFF5AD7497596" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_88C64818BC5BD2C8B70BFF5AD749F656" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_AEA8B4E2D0657885874FFF5AD7497596" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_6D36EF1416AD04E9D66AFF5AD749E83F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_AEA8B4E2D0657885874FFF5AD7497596" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_6D36EF1416AD04E9D66AFF5AD749E83F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_923AD1C1B1332CC7872AFF5AD74987BD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_AEA8B4E2D0657885874FFF5AD7497596" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_923AD1C1B1332CC7872AFF5AD74987BD" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_ConstructionPortfolioSegmentMember" xlink:label="loc_cbnk_ConstructionPortfolioSegmentMember_1E141946537C51052F92FF5AD74A5431" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_AEA8B4E2D0657885874FFF5AD7497596" xlink:to="loc_cbnk_ConstructionPortfolioSegmentMember_1E141946537C51052F92FF5AD74A5431" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_10CAE13AD62E1FEEA7D0FF5AD74A7300" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_AEA8B4E2D0657885874FFF5AD7497596" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_10CAE13AD62E1FEEA7D0FF5AD74A7300" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_64AF3F794EE78ECFC669FF5AD74AE179" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_6BC12B81B8493ADA179FFF5AD748E5FE" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_64AF3F794EE78ECFC669FF5AD74AE179" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_277B9E0E3217EDEDFE80FF5AD74A67D9_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_64AF3F794EE78ECFC669FF5AD74AE179" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_277B9E0E3217EDEDFE80FF5AD74A67D9_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_277B9E0E3217EDEDFE80FF5AD74A67D9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_64AF3F794EE78ECFC669FF5AD74AE179" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_277B9E0E3217EDEDFE80FF5AD74A67D9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="loc_us-gaap_RealEstateLoanMember_D924ADE5D2098C947189FF5AD74ABBFF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_277B9E0E3217EDEDFE80FF5AD74A67D9" xlink:to="loc_us-gaap_RealEstateLoanMember_D924ADE5D2098C947189FF5AD74ABBFF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CreditCardReceivablesMember" xlink:label="loc_us-gaap_CreditCardReceivablesMember_850AF440DB775D5DD41DFF5AD74BD4FB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_277B9E0E3217EDEDFE80FF5AD74A67D9" xlink:to="loc_us-gaap_CreditCardReceivablesMember_850AF440DB775D5DD41DFF5AD74BD4FB" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_OtherConsumerMember" xlink:label="loc_cbnk_OtherConsumerMember_C28C6DBED848FDC9D29DFF5AD74B2D7D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_277B9E0E3217EDEDFE80FF5AD74A67D9" xlink:to="loc_cbnk_OtherConsumerMember_C28C6DBED848FDC9D29DFF5AD74B2D7D" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_AcquiredLoansMember" xlink:label="loc_cbnk_AcquiredLoansMember_7BC7C1ACC8F969410E80FF5AD74BBD3A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_277B9E0E3217EDEDFE80FF5AD74A67D9" xlink:to="loc_cbnk_AcquiredLoansMember_7BC7C1ACC8F969410E80FF5AD74BBD3A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivablesPeriodPastDueAxis" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_634D1D25AC5C51EF691CFF5AD74B9F83" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_6BC12B81B8493ADA179FFF5AD748E5FE" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_634D1D25AC5C51EF691CFF5AD74B9F83" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_D51CBFE35BBB39F44F42FF5AD74B2890_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_634D1D25AC5C51EF691CFF5AD74B9F83" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_D51CBFE35BBB39F44F42FF5AD74B2890_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_D51CBFE35BBB39F44F42FF5AD74B2890" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_634D1D25AC5C51EF691CFF5AD74B9F83" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_D51CBFE35BBB39F44F42FF5AD74B2890" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_FinancingReceivables30To89DaysPastDueMember" xlink:label="loc_cbnk_FinancingReceivables30To89DaysPastDueMember_2458A22AB2F9BDCF6533FF5AD74B3F96" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_D51CBFE35BBB39F44F42FF5AD74B2890" xlink:to="loc_cbnk_FinancingReceivables30To89DaysPastDueMember_2458A22AB2F9BDCF6533FF5AD74B3F96" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" xlink:label="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_4CF5C41C16382B7B9B6AFF5AD74C4D0E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_D51CBFE35BBB39F44F42FF5AD74B2890" xlink:to="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_4CF5C41C16382B7B9B6AFF5AD74C4D0E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CollateralAxis" xlink:label="loc_us-gaap_CollateralAxis_4BD0ABA6523D725681DAFF5AD74C8DFF" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_6BC12B81B8493ADA179FFF5AD748E5FE" xlink:to="loc_us-gaap_CollateralAxis_4BD0ABA6523D725681DAFF5AD74C8DFF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CollateralDomain" xlink:label="loc_us-gaap_CollateralDomain_B7922D097A9658691666FF5AD74C4860_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CollateralAxis_4BD0ABA6523D725681DAFF5AD74C8DFF" xlink:to="loc_us-gaap_CollateralDomain_B7922D097A9658691666FF5AD74C4860_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CollateralDomain" xlink:label="loc_us-gaap_CollateralDomain_B7922D097A9658691666FF5AD74C4860" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CollateralAxis_4BD0ABA6523D725681DAFF5AD74C8DFF" xlink:to="loc_us-gaap_CollateralDomain_B7922D097A9658691666FF5AD74C4860" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResidentialRealEstateMember" xlink:label="loc_us-gaap_ResidentialRealEstateMember_64DE207CC0EF875F25AEFF5AD74CAB0A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollateralDomain_B7922D097A9658691666FF5AD74C4860" xlink:to="loc_us-gaap_ResidentialRealEstateMember_64DE207CC0EF875F25AEFF5AD74CAB0A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDue" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDue_6FA3D69C640D69142E71FF5AD74D9466" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_0B299732661E8B95886AFF5AD74D6BEF" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDue_6FA3D69C640D69142E71FF5AD74D9466" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentCurrent" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentCurrent_9235A32D1E76FB3EAF89FF5AD74DAE9B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_0B299732661E8B95886AFF5AD74D6BEF" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentCurrent_9235A32D1E76FB3EAF89FF5AD74DAE9B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NotesReceivableGross" xlink:label="loc_us-gaap_NotesReceivableGross_74FCD7FAB23D262D43C2FF8AABDE2B6C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_0B299732661E8B95886AFF5AD74D6BEF" xlink:to="loc_us-gaap_NotesReceivableGross_74FCD7FAB23D262D43C2FF8AABDE2B6C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing_AD166A00306009DEF57EFF5AD74D0588" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_0B299732661E8B95886AFF5AD74D6BEF" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing_AD166A00306009DEF57EFF5AD74D0588" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus_E44E556E204BE74E7150FF5AD74E3AAD" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_0B299732661E8B95886AFF5AD74D6BEF" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus_E44E556E204BE74E7150FF5AD74E3AAD" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/LoansReceivableTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/LoansReceivableTroubleDebtRestructuringDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableModificationsLineItems" xlink:label="loc_us-gaap_FinancingReceivableModificationsLineItems_41B6518BA3B5753DADEDFF5AD7315A16" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_8BC96CBB1BD7AE6F26A7FF5AD72D3530" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_41B6518BA3B5753DADEDFF5AD7315A16" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_8BC96CBB1BD7AE6F26A7FF5AD72D3530" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancialInstrumentPerformanceStatusAxis" xlink:label="loc_us-gaap_FinancialInstrumentPerformanceStatusAxis_F183664DD561CE4754AAFF5AD72EBE85" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_8BC96CBB1BD7AE6F26A7FF5AD72D3530" xlink:to="loc_us-gaap_FinancialInstrumentPerformanceStatusAxis_F183664DD561CE4754AAFF5AD72EBE85" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancialInstrumentPerformanceStatusDomain" xlink:label="loc_us-gaap_FinancialInstrumentPerformanceStatusDomain_5C6592DED1122F5D8D18FF5AD72FE469_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentPerformanceStatusAxis_F183664DD561CE4754AAFF5AD72EBE85" xlink:to="loc_us-gaap_FinancialInstrumentPerformanceStatusDomain_5C6592DED1122F5D8D18FF5AD72FE469_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancialInstrumentPerformanceStatusDomain" xlink:label="loc_us-gaap_FinancialInstrumentPerformanceStatusDomain_5C6592DED1122F5D8D18FF5AD72FE469" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentPerformanceStatusAxis_F183664DD561CE4754AAFF5AD72EBE85" xlink:to="loc_us-gaap_FinancialInstrumentPerformanceStatusDomain_5C6592DED1122F5D8D18FF5AD72FE469" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PerformingFinancingReceivableMember" xlink:label="loc_us-gaap_PerformingFinancingReceivableMember_5B803CA6B38DA9B4332AFF5AD72FFEDA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentPerformanceStatusDomain_5C6592DED1122F5D8D18FF5AD72FE469" xlink:to="loc_us-gaap_PerformingFinancingReceivableMember_5B803CA6B38DA9B4332AFF5AD72FFEDA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NonperformingFinancingReceivableMember" xlink:label="loc_us-gaap_NonperformingFinancingReceivableMember_445A1667B0CC8FB9D751FF5AD72F90E1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentPerformanceStatusDomain_5C6592DED1122F5D8D18FF5AD72FE469" xlink:to="loc_us-gaap_NonperformingFinancingReceivableMember_445A1667B0CC8FB9D751FF5AD72F90E1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_A7D302DC261831F9B09EFF5AD72FD1DB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_8BC96CBB1BD7AE6F26A7FF5AD72D3530" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_A7D302DC261831F9B09EFF5AD72FD1DB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_B3787568ED043F676278FF5AD72FDE7C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_A7D302DC261831F9B09EFF5AD72FD1DB" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_B3787568ED043F676278FF5AD72FDE7C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_B3787568ED043F676278FF5AD72FDE7C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_A7D302DC261831F9B09EFF5AD72FD1DB" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_B3787568ED043F676278FF5AD72FDE7C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_EF0AEF1A1E2797478D7AFF5AD730A9BA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_B3787568ED043F676278FF5AD72FDE7C" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_EF0AEF1A1E2797478D7AFF5AD730A9BA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_764E97F847D61C6191EEFF5AD730F07E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_B3787568ED043F676278FF5AD72FDE7C" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_764E97F847D61C6191EEFF5AD730F07E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_7818C852570A6CB834F6FF5AD7302AA5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_8BC96CBB1BD7AE6F26A7FF5AD72D3530" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_7818C852570A6CB834F6FF5AD7302AA5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_474A8469EFBDB4F17BDEFF5AD730551A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_7818C852570A6CB834F6FF5AD7302AA5" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_474A8469EFBDB4F17BDEFF5AD730551A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_474A8469EFBDB4F17BDEFF5AD730551A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_7818C852570A6CB834F6FF5AD7302AA5" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_474A8469EFBDB4F17BDEFF5AD730551A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="loc_us-gaap_RealEstateLoanMember_7E3C6CCC6A36698E7A76FF5AD7313221" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_474A8469EFBDB4F17BDEFF5AD730551A" xlink:to="loc_us-gaap_RealEstateLoanMember_7E3C6CCC6A36698E7A76FF5AD7313221" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_AcquiredLoansMember" xlink:label="loc_cbnk_AcquiredLoansMember_819E2056B3C64027B0EBFF5AD7313F6E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_474A8469EFBDB4F17BDEFF5AD730551A" xlink:to="loc_cbnk_AcquiredLoansMember_819E2056B3C64027B0EBFF5AD7313F6E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableModificationsNumberOfContracts2" xlink:label="loc_us-gaap_FinancingReceivableModificationsNumberOfContracts2_2DDAFC8914461ABBE0D5FF5AD731A3CF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_41B6518BA3B5753DADEDFF5AD7315A16" xlink:to="loc_us-gaap_FinancingReceivableModificationsNumberOfContracts2_2DDAFC8914461ABBE0D5FF5AD731A3CF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableModificationsRecordedInvestment" xlink:label="loc_us-gaap_FinancingReceivableModificationsRecordedInvestment_01EFD845DC70AD3928E1FF5AD73164B6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_41B6518BA3B5753DADEDFF5AD7315A16" xlink:to="loc_us-gaap_FinancingReceivableModificationsRecordedInvestment_01EFD845DC70AD3928E1FF5AD73164B6" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationComprehensiveIncomeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_F56D91FF0689033D5885FB2A598DA1B7" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_D6C35EE49CCDDE8FC91FFB2A598BA9C1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_F56D91FF0689033D5885FB2A598DA1B7" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_D6C35EE49CCDDE8FC91FFB2A598BA9C1" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_BD5D3A5578F9E9BE3494FB2A598CE5C8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_D6C35EE49CCDDE8FC91FFB2A598BA9C1" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_BD5D3A5578F9E9BE3494FB2A598CE5C8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_D259237725C91915FFE3FB2A598CD6FC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_BD5D3A5578F9E9BE3494FB2A598CE5C8" xlink:to="loc_us-gaap_EquityComponentDomain_D259237725C91915FFE3FB2A598CD6FC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_D259237725C91915FFE3FB2A598CD6FC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_BD5D3A5578F9E9BE3494FB2A598CE5C8" xlink:to="loc_us-gaap_EquityComponentDomain_D259237725C91915FFE3FB2A598CD6FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember" xlink:label="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_9E17208BCCE93E648869FB2A598CED34" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_D259237725C91915FFE3FB2A598CD6FC" xlink:to="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_9E17208BCCE93E648869FB2A598CED34" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_42FCC5CC485EFD9688AEFB2A598D0851" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_D259237725C91915FFE3FB2A598CD6FC" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_42FCC5CC485EFD9688AEFB2A598D0851" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AociBeforeTaxAttributableToParent" xlink:label="loc_us-gaap_AociBeforeTaxAttributableToParent_FE844B57F0FA8F7B9C75FB2A598DA4A1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_F56D91FF0689033D5885FB2A598DA1B7" xlink:to="loc_us-gaap_AociBeforeTaxAttributableToParent_FE844B57F0FA8F7B9C75FB2A598DA4A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AociTaxAttributableToParent" xlink:label="loc_us-gaap_AociTaxAttributableToParent_9BB3BC235F5494E0F658FB2A598DE105" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_F56D91FF0689033D5885FB2A598DA1B7" xlink:to="loc_us-gaap_AociTaxAttributableToParent_9BB3BC235F5494E0F658FB2A598DE105" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_8E041C60FEEB2A839F72FB2A598D8C22" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_F56D91FF0689033D5885FB2A598DA1B7" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_8E041C60FEEB2A839F72FB2A598D8C22" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_03DA37E90EF9D853A113F4A997E87E2B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_B747062393AE3F311E19F4A997E7E4EE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_03DA37E90EF9D853A113F4A997E87E2B" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_B747062393AE3F311E19F4A997E7E4EE" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_A4F3ADF106362896BB1AF4A997E74962" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_B747062393AE3F311E19F4A997E7E4EE" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_A4F3ADF106362896BB1AF4A997E74962" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_4254807D3391332B62EBF4A997E78712_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_A4F3ADF106362896BB1AF4A997E74962" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_4254807D3391332B62EBF4A997E78712_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_4254807D3391332B62EBF4A997E78712" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_A4F3ADF106362896BB1AF4A997E74962" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_4254807D3391332B62EBF4A997E78712" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_4892F251D039A70A9733F4A997E7187C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_4254807D3391332B62EBF4A997E78712" xlink:to="loc_us-gaap_EmployeeStockOptionMember_4892F251D039A70A9733F4A997E7187C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_DB17F5DFD3F736016A2AF4A997E81097" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_03DA37E90EF9D853A113F4A997E87E2B" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_DB17F5DFD3F736016A2AF4A997E81097" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://capitalbankmd.com/role/NatureOfBusinessAndBasisOfPresentationInitialPublicOfferingDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsidiarySaleOfStockLineItems" xlink:label="loc_us-gaap_SubsidiarySaleOfStockLineItems_FF03B5E9BD5162E7EC1CFB2A59AD0368" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable" xlink:label="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable_6295EEE1DC6A1CB9F116FB2A59AAC9BD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_FF03B5E9BD5162E7EC1CFB2A59AD0368" xlink:to="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable_6295EEE1DC6A1CB9F116FB2A59AAC9BD" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_436C659ABD3E207F819EFB2A59AACD47" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable_6295EEE1DC6A1CB9F116FB2A59AAC9BD" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_436C659ABD3E207F819EFB2A59AACD47" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_E9AD0F37F1FA0727A977FB2A59AACDEE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_436C659ABD3E207F819EFB2A59AACD47" xlink:to="loc_us-gaap_EquityComponentDomain_E9AD0F37F1FA0727A977FB2A59AACDEE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_E9AD0F37F1FA0727A977FB2A59AACDEE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_436C659ABD3E207F819EFB2A59AACD47" xlink:to="loc_us-gaap_EquityComponentDomain_E9AD0F37F1FA0727A977FB2A59AACDEE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_7E233D5C17C61D5A5E4DFB2A59AB2A24" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_E9AD0F37F1FA0727A977FB2A59AACDEE" xlink:to="loc_us-gaap_CommonStockMember_7E233D5C17C61D5A5E4DFB2A59AB2A24" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidatedEntitiesAxis" xlink:label="loc_srt_ConsolidatedEntitiesAxis_329853E04F589F586F0CFB2A59AB5937" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable_6295EEE1DC6A1CB9F116FB2A59AAC9BD" xlink:to="loc_srt_ConsolidatedEntitiesAxis_329853E04F589F586F0CFB2A59AB5937" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_64B5CBBC861E6E9D3530FB2A59AB7BFC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_329853E04F589F586F0CFB2A59AB5937" xlink:to="loc_srt_ConsolidatedEntitiesDomain_64B5CBBC861E6E9D3530FB2A59AB7BFC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_64B5CBBC861E6E9D3530FB2A59AB7BFC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_329853E04F589F586F0CFB2A59AB5937" xlink:to="loc_srt_ConsolidatedEntitiesDomain_64B5CBBC861E6E9D3530FB2A59AB7BFC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ParentCompanyMember" xlink:label="loc_srt_ParentCompanyMember_5082AE4955E937DCCED7FB2A59AB084D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_64B5CBBC861E6E9D3530FB2A59AB7BFC" xlink:to="loc_srt_ParentCompanyMember_5082AE4955E937DCCED7FB2A59AB084D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsidiarySaleOfStockAxis" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_2B4A133018254A8BDD29FB2A59AD6210" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable_6295EEE1DC6A1CB9F116FB2A59AAC9BD" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_2B4A133018254A8BDD29FB2A59AD6210" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SaleOfStockNameOfTransactionDomain" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_C9AE5D8EE876B7EDEB32FB2A59ADF599_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_2B4A133018254A8BDD29FB2A59AD6210" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_C9AE5D8EE876B7EDEB32FB2A59ADF599_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SaleOfStockNameOfTransactionDomain" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_C9AE5D8EE876B7EDEB32FB2A59ADF599" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_2B4A133018254A8BDD29FB2A59AD6210" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_C9AE5D8EE876B7EDEB32FB2A59ADF599" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IPOMember" xlink:label="loc_us-gaap_IPOMember_33E8831E85C34467C74AFB2A59AD1CEC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_C9AE5D8EE876B7EDEB32FB2A59ADF599" xlink:to="loc_us-gaap_IPOMember_33E8831E85C34467C74AFB2A59AD1CEC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction" xlink:label="loc_us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_92992C7CC29C01511624FB2A59AD5777" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_FF03B5E9BD5162E7EC1CFB2A59AD0368" xlink:to="loc_us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_92992C7CC29C01511624FB2A59AD5777" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SaleOfStockPricePerShare" xlink:label="loc_us-gaap_SaleOfStockPricePerShare_787CAF5540A3A14B2D59FB2A59AE5DDD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_FF03B5E9BD5162E7EC1CFB2A59AD0368" xlink:to="loc_us-gaap_SaleOfStockPricePerShare_787CAF5540A3A14B2D59FB2A59AE5DDD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SaleOfStockConsiderationReceivedOnTransaction" xlink:label="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_5378DB1BDF889F0DEDA9FB2A59AE39AA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_FF03B5E9BD5162E7EC1CFB2A59AD0368" xlink:to="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_5378DB1BDF889F0DEDA9FB2A59AE39AA" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_EFD8D6A4762F893E4691042B414F9C0D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_90CA821D1430D0F74478042B414D98D9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_EFD8D6A4762F893E4691042B414F9C0D" xlink:to="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_90CA821D1430D0F74478042B414D98D9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_D61D376FAAF669D23B89042B414D3226" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_90CA821D1430D0F74478042B414D98D9" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_D61D376FAAF669D23B89042B414D3226" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_6A1F46CDF0176E18D49A042B414DF723_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_D61D376FAAF669D23B89042B414D3226" xlink:to="loc_us-gaap_TypeOfAdoptionMember_6A1F46CDF0176E18D49A042B414DF723_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_6A1F46CDF0176E18D49A042B414DF723" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_D61D376FAAF669D23B89042B414D3226" xlink:to="loc_us-gaap_TypeOfAdoptionMember_6A1F46CDF0176E18D49A042B414DF723" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingStandardsUpdate201602Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201602Member_ED033AEB8E9E1D792464042B414EB809" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_6A1F46CDF0176E18D49A042B414DF723" xlink:to="loc_us-gaap_AccountingStandardsUpdate201602Member_ED033AEB8E9E1D792464042B414EB809" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RestatementAxis" xlink:label="loc_srt_RestatementAxis_D346D032BFEF15103351042B414E01CD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_90CA821D1430D0F74478042B414D98D9" xlink:to="loc_srt_RestatementAxis_D346D032BFEF15103351042B414E01CD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RestatementDomain" xlink:label="loc_srt_RestatementDomain_7AE4910CAF259DE20C02042B414EC948_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RestatementAxis_D346D032BFEF15103351042B414E01CD" xlink:to="loc_srt_RestatementDomain_7AE4910CAF259DE20C02042B414EC948_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RestatementDomain" xlink:label="loc_srt_RestatementDomain_7AE4910CAF259DE20C02042B414EC948" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RestatementAxis_D346D032BFEF15103351042B414E01CD" xlink:to="loc_srt_RestatementDomain_7AE4910CAF259DE20C02042B414EC948" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_RevisionofPriorPeriodAccountingStandardsUpdateAdjustmentMember" xlink:label="loc_cbnk_RevisionofPriorPeriodAccountingStandardsUpdateAdjustmentMember_2443B740A6317F4259EB042B414E5390" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RestatementDomain_7AE4910CAF259DE20C02042B414EC948" xlink:to="loc_cbnk_RevisionofPriorPeriodAccountingStandardsUpdateAdjustmentMember_2443B740A6317F4259EB042B414E5390" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_203C31E0B37510DA8758042B414F6ACB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_EFD8D6A4762F893E4691042B414F9C0D" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_203C31E0B37510DA8758042B414F6ACB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaap_OperatingLeaseLiability_67FF29B816EF40679D19042B414F2807" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_EFD8D6A4762F893E4691042B414F9C0D" xlink:to="loc_us-gaap_OperatingLeaseLiability_67FF29B816EF40679D19042B414F2807" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredRevenueLeasesNet" xlink:label="loc_us-gaap_DeferredRevenueLeasesNet_424E8E1196512BD7B1C9042B414F5862" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_EFD8D6A4762F893E4691042B414F9C0D" xlink:to="loc_us-gaap_DeferredRevenueLeasesNet_424E8E1196512BD7B1C9042B414F5862" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_C432267693DE2ED34768042B41503386" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_EFD8D6A4762F893E4691042B414F9C0D" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_C432267693DE2ED34768042B41503386" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_F02519AAC9DB5215AAD69C001894590F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_13FCB68F09235368A8CD86D205F7B2A7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_F02519AAC9DB5215AAD69C001894590F" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_13FCB68F09235368A8CD86D205F7B2A7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_DEE8C6EFBEA555D490383BFE526C1474" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_13FCB68F09235368A8CD86D205F7B2A7" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_DEE8C6EFBEA555D490383BFE526C1474" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_199F7BDE5C555E597BCF478463519DB5_A9C58D237186539BB5A750EEEB3D3EBA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_DEE8C6EFBEA555D490383BFE526C1474" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_199F7BDE5C555E597BCF478463519DB5_A9C58D237186539BB5A750EEEB3D3EBA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_B8CE32CE0B4153D087DF1A3115BA8D80" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_DEE8C6EFBEA555D490383BFE526C1474" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_B8CE32CE0B4153D087DF1A3115BA8D80" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_PremisesAndEquipmentMember" xlink:label="loc_cbnk_PremisesAndEquipmentMember_E47CB40AFDE958808A2B91ED9B0B8E2F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_B8CE32CE0B4153D087DF1A3115BA8D80" xlink:to="loc_cbnk_PremisesAndEquipmentMember_E47CB40AFDE958808A2B91ED9B0B8E2F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_A910843DE69B5C1285F68F8F7539660E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_B8CE32CE0B4153D087DF1A3115BA8D80" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_A910843DE69B5C1285F68F8F7539660E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_9329ED7D616D5E4EAE72DC1ED4CC3644" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_13FCB68F09235368A8CD86D205F7B2A7" xlink:to="loc_srt_RangeAxis_9329ED7D616D5E4EAE72DC1ED4CC3644" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_9A4E71C1721A404DB02B47846352F394_A9C58D237186539BB5A750EEEB3D3EBA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_9329ED7D616D5E4EAE72DC1ED4CC3644" xlink:to="loc_srt_RangeMember_9A4E71C1721A404DB02B47846352F394_A9C58D237186539BB5A750EEEB3D3EBA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_61F5E2B574A553D9B28908EB59AF566A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_9329ED7D616D5E4EAE72DC1ED4CC3644" xlink:to="loc_srt_RangeMember_61F5E2B574A553D9B28908EB59AF566A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_6FC38845CFD15545BED27D5BF6759599" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_61F5E2B574A553D9B28908EB59AF566A" xlink:to="loc_srt_MinimumMember_6FC38845CFD15545BED27D5BF6759599" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_D829D0F8881C512984B13ADF2C5A5FCB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_61F5E2B574A553D9B28908EB59AF566A" xlink:to="loc_srt_MaximumMember_D829D0F8881C512984B13ADF2C5A5FCB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_49563CF6D0865F85BBD311D005531428" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_F02519AAC9DB5215AAD69C001894590F" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_49563CF6D0865F85BBD311D005531428" 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/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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_0332EB0F9AB398701F7AFF5AD6CCC24D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_01468CFE394CA2E1527DFF5AD6C89AE6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_0332EB0F9AB398701F7AFF5AD6CCC24D" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_01468CFE394CA2E1527DFF5AD6C89AE6" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationItemsAxis" xlink:label="loc_srt_ConsolidationItemsAxis_EEE614B4C44E7CA94E94FF5AD6C8E740" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_01468CFE394CA2E1527DFF5AD6C89AE6" xlink:to="loc_srt_ConsolidationItemsAxis_EEE614B4C44E7CA94E94FF5AD6C8E740" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_27194F26EF6D2D1022C3FF5AD6C8BD74_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_EEE614B4C44E7CA94E94FF5AD6C8E740" xlink:to="loc_srt_ConsolidationItemsDomain_27194F26EF6D2D1022C3FF5AD6C8BD74_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_27194F26EF6D2D1022C3FF5AD6C8BD74" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_EEE614B4C44E7CA94E94FF5AD6C8E740" xlink:to="loc_srt_ConsolidationItemsDomain_27194F26EF6D2D1022C3FF5AD6C8BD74" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingSegmentsMember" xlink:label="loc_us-gaap_OperatingSegmentsMember_A84F3518DE8B4CAA70CEFF5AD6C99FF7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_27194F26EF6D2D1022C3FF5AD6C8BD74" xlink:to="loc_us-gaap_OperatingSegmentsMember_A84F3518DE8B4CAA70CEFF5AD6C99FF7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IntersegmentEliminationMember" xlink:label="loc_us-gaap_IntersegmentEliminationMember_78487BC08EB6DC891A37FF5AD6C96614" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_27194F26EF6D2D1022C3FF5AD6C8BD74" xlink:to="loc_us-gaap_IntersegmentEliminationMember_78487BC08EB6DC891A37FF5AD6C96614" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_DA5FDCB4A01994ABDE63FF5AD6CBF3CF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_01468CFE394CA2E1527DFF5AD6C89AE6" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_DA5FDCB4A01994ABDE63FF5AD6CBF3CF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_FFB4613300A45B451544FF5AD6CBDE84_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_DA5FDCB4A01994ABDE63FF5AD6CBF3CF" xlink:to="loc_us-gaap_SegmentDomain_FFB4613300A45B451544FF5AD6CBDE84_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_FFB4613300A45B451544FF5AD6CBDE84" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_DA5FDCB4A01994ABDE63FF5AD6CBF3CF" xlink:to="loc_us-gaap_SegmentDomain_FFB4613300A45B451544FF5AD6CBDE84" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_CommercialBankMember" xlink:label="loc_cbnk_CommercialBankMember_DBEE46BECB5F8D240FE7FF5AD6CB1C6A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_FFB4613300A45B451544FF5AD6CBDE84" xlink:to="loc_cbnk_CommercialBankMember_DBEE46BECB5F8D240FE7FF5AD6CB1C6A" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_CapitalBankHomeLoansMember" xlink:label="loc_cbnk_CapitalBankHomeLoansMember_BE364D91D3E1B028DCE0FF5AD6CC6659" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_FFB4613300A45B451544FF5AD6CBDE84" xlink:to="loc_cbnk_CapitalBankHomeLoansMember_BE364D91D3E1B028DCE0FF5AD6CC6659" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_OpenSkyMember" xlink:label="loc_cbnk_OpenSkyMember_F87713462A876062AC01FF5AD6CCA7B5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_FFB4613300A45B451544FF5AD6CBDE84" xlink:to="loc_cbnk_OpenSkyMember_F87713462A876062AC01FF5AD6CCA7B5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CorporateMember" xlink:label="loc_us-gaap_CorporateMember_3E4D7BF5801906E896A0FF5AD6CCC5B8" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_FFB4613300A45B451544FF5AD6CBDE84" xlink:to="loc_us-gaap_CorporateMember_3E4D7BF5801906E896A0FF5AD6CCC5B8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NumberOfReportableSegments" xlink:label="loc_us-gaap_NumberOfReportableSegments_56D96CD63F9273130E98FF5AD6CC8893" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_0332EB0F9AB398701F7AFF5AD6CCC24D" xlink:to="loc_us-gaap_NumberOfReportableSegments_56D96CD63F9273130E98FF5AD6CC8893" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_EBB12E3F8BE3C182224CFF5AD6CD022B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_0332EB0F9AB398701F7AFF5AD6CCC24D" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_EBB12E3F8BE3C182224CFF5AD6CD022B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_D123CA4725F85A4AEBB1FF5AD6CD06E6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_0332EB0F9AB398701F7AFF5AD6CCC24D" xlink:to="loc_us-gaap_InterestExpense_D123CA4725F85A4AEBB1FF5AD6CD06E6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestIncomeExpenseNet" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_085202FC9AE67D5B6F89FF5AD6CDE1ED" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_0332EB0F9AB398701F7AFF5AD6CCC24D" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_085202FC9AE67D5B6F89FF5AD6CDE1ED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProvisionForLoanLossesExpensed" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_140F654738C701D5FCE7FF9B8C282641" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_0332EB0F9AB398701F7AFF5AD6CCC24D" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_140F654738C701D5FCE7FF9B8C282641" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_2A72F51278426782E9FBFF9C176E0087" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_0332EB0F9AB398701F7AFF5AD6CCC24D" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_2A72F51278426782E9FBFF9C176E0087" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NoninterestIncome" xlink:label="loc_us-gaap_NoninterestIncome_4D3298414FFD1327E454FF5AD6CD2728" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_0332EB0F9AB398701F7AFF5AD6CCC24D" xlink:to="loc_us-gaap_NoninterestIncome_4D3298414FFD1327E454FF5AD6CD2728" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NoninterestExpense" xlink:label="loc_us-gaap_NoninterestExpense_B948561EAF88EABC39D1FF5AD6CEEA66" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_0332EB0F9AB398701F7AFF5AD6CCC24D" xlink:to="loc_us-gaap_NoninterestExpense_B948561EAF88EABC39D1FF5AD6CEEA66" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_92135371B8C7D52BDC26FF5AD6CEF371" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_0332EB0F9AB398701F7AFF5AD6CCC24D" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_92135371B8C7D52BDC26FF5AD6CEF371" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_8EB9368E7CA173A8B5CBFF5AD6CEA691" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_0332EB0F9AB398701F7AFF5AD6CCC24D" xlink:to="loc_us-gaap_Assets_8EB9368E7CA173A8B5CBFF5AD6CEA691" 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:definitionLink xlink:role="http://capitalbankmd.com/role/SubsequentEventsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventLineItems" xlink:label="loc_us-gaap_SubsequentEventLineItems_3F037CF5789CC0AEC17C04EF2B61CF6B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTable" xlink:label="loc_us-gaap_SubsequentEventTable_7E81FE00F489150A8BDD04EF2B525101" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_3F037CF5789CC0AEC17C04EF2B61CF6B" xlink:to="loc_us-gaap_SubsequentEventTable_7E81FE00F489150A8BDD04EF2B525101" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoanRestructuringModificationNameAxis" xlink:label="loc_us-gaap_LoanRestructuringModificationNameAxis_618617AE7358A20C2E0104EF2B53011F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_7E81FE00F489150A8BDD04EF2B525101" xlink:to="loc_us-gaap_LoanRestructuringModificationNameAxis_618617AE7358A20C2E0104EF2B53011F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoanRestructuringModificationNameDomain" xlink:label="loc_us-gaap_LoanRestructuringModificationNameDomain_5602137153A35DDA82CB04EF2B54485C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LoanRestructuringModificationNameAxis_618617AE7358A20C2E0104EF2B53011F" xlink:to="loc_us-gaap_LoanRestructuringModificationNameDomain_5602137153A35DDA82CB04EF2B54485C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoanRestructuringModificationNameDomain" xlink:label="loc_us-gaap_LoanRestructuringModificationNameDomain_5602137153A35DDA82CB04EF2B54485C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LoanRestructuringModificationNameAxis_618617AE7358A20C2E0104EF2B53011F" xlink:to="loc_us-gaap_LoanRestructuringModificationNameDomain_5602137153A35DDA82CB04EF2B54485C" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_COVIDReliefProgramMember" xlink:label="loc_cbnk_COVIDReliefProgramMember_75FBB546E08695CDC90504EF2B54B2FE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanRestructuringModificationNameDomain_5602137153A35DDA82CB04EF2B54485C" xlink:to="loc_cbnk_COVIDReliefProgramMember_75FBB546E08695CDC90504EF2B54B2FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoanRestructuringModificationAxis" xlink:label="loc_us-gaap_LoanRestructuringModificationAxis_A949FC9270137FCFFF8F04EF2B5407FF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_7E81FE00F489150A8BDD04EF2B525101" xlink:to="loc_us-gaap_LoanRestructuringModificationAxis_A949FC9270137FCFFF8F04EF2B5407FF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoanRestructuringModificationDomain" xlink:label="loc_us-gaap_LoanRestructuringModificationDomain_28D8FE8620248CFBC41A04EF2B5A8753_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LoanRestructuringModificationAxis_A949FC9270137FCFFF8F04EF2B5407FF" xlink:to="loc_us-gaap_LoanRestructuringModificationDomain_28D8FE8620248CFBC41A04EF2B5A8753_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoanRestructuringModificationDomain" xlink:label="loc_us-gaap_LoanRestructuringModificationDomain_28D8FE8620248CFBC41A04EF2B5A8753" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LoanRestructuringModificationAxis_A949FC9270137FCFFF8F04EF2B5407FF" xlink:to="loc_us-gaap_LoanRestructuringModificationDomain_28D8FE8620248CFBC41A04EF2B5A8753" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentDeferralMember" xlink:label="loc_us-gaap_PaymentDeferralMember_B7CCFA34782E253DE92904EF2B5A2559" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanRestructuringModificationDomain_28D8FE8620248CFBC41A04EF2B5A8753" xlink:to="loc_us-gaap_PaymentDeferralMember_B7CCFA34782E253DE92904EF2B5A2559" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis" xlink:label="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis_6F09F4A5E77F57DD96A704EF2B5BC9E6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_7E81FE00F489150A8BDD04EF2B525101" xlink:to="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis_6F09F4A5E77F57DD96A704EF2B5BC9E6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain" xlink:label="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain_416B29ED4233DBD44C3404EF2B5CA740_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis_6F09F4A5E77F57DD96A704EF2B5BC9E6" xlink:to="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain_416B29ED4233DBD44C3404EF2B5CA740_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain" xlink:label="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain_416B29ED4233DBD44C3404EF2B5CA740" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis_6F09F4A5E77F57DD96A704EF2B5BC9E6" xlink:to="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain_416B29ED4233DBD44C3404EF2B5CA740" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_PaycheckProtectionProgramMember" xlink:label="loc_cbnk_PaycheckProtectionProgramMember_608E779373D2B4C676E604EF2B5CB47C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain_416B29ED4233DBD44C3404EF2B5CA740" xlink:to="loc_cbnk_PaycheckProtectionProgramMember_608E779373D2B4C676E604EF2B5CB47C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_8C72B3B39D2093FDD4C904EF2B5C31B6" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_7E81FE00F489150A8BDD04EF2B525101" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_8C72B3B39D2093FDD4C904EF2B5C31B6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_BF1437308651B21BF30804EF2B5DCEAF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_8C72B3B39D2093FDD4C904EF2B5C31B6" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_BF1437308651B21BF30804EF2B5DCEAF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_BF1437308651B21BF30804EF2B5DCEAF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_8C72B3B39D2093FDD4C904EF2B5C31B6" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_BF1437308651B21BF30804EF2B5DCEAF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CreditCardReceivablesMember" xlink:label="loc_us-gaap_CreditCardReceivablesMember_B5BD3A0AE262A20E499904EF2B5E5060" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_BF1437308651B21BF30804EF2B5DCEAF" xlink:to="loc_us-gaap_CreditCardReceivablesMember_B5BD3A0AE262A20E499904EF2B5E5060" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_828F2567FE80E3C8D2E204EF2B5EFB5E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_7E81FE00F489150A8BDD04EF2B525101" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_828F2567FE80E3C8D2E204EF2B5EFB5E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_8CFFE4629124EB96F7AB04EF2B5E524F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_828F2567FE80E3C8D2E204EF2B5EFB5E" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_8CFFE4629124EB96F7AB04EF2B5E524F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_8CFFE4629124EB96F7AB04EF2B5E524F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_828F2567FE80E3C8D2E204EF2B5EFB5E" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_8CFFE4629124EB96F7AB04EF2B5E524F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_56C519580EAC06653B4004EF2B5F1AC1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_8CFFE4629124EB96F7AB04EF2B5E524F" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_56C519580EAC06653B4004EF2B5F1AC1" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_CommercialAndConsumerPortfolioSegmentsMember" xlink:label="loc_cbnk_CommercialAndConsumerPortfolioSegmentsMember_00E42DD6487A14A408690501D1E2795B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_8CFFE4629124EB96F7AB04EF2B5E524F" xlink:to="loc_cbnk_CommercialAndConsumerPortfolioSegmentsMember_00E42DD6487A14A408690501D1E2795B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_15E1AC2682F215DFF30204EF2B601AD2" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_7E81FE00F489150A8BDD04EF2B525101" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_15E1AC2682F215DFF30204EF2B601AD2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_B02628CDE93C7955008404EF2B605244_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_15E1AC2682F215DFF30204EF2B601AD2" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_B02628CDE93C7955008404EF2B605244_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_B02628CDE93C7955008404EF2B605244" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_15E1AC2682F215DFF30204EF2B601AD2" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_B02628CDE93C7955008404EF2B605244" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_8BCE29F2348CAA37A1C504EF2B61DC0A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_B02628CDE93C7955008404EF2B605244" xlink:to="loc_us-gaap_SubsequentEventMember_8BCE29F2348CAA37A1C504EF2B61DC0A" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_FinancingReceivableNumberOfLoansApprovedAndRecorded" xlink:label="loc_cbnk_FinancingReceivableNumberOfLoansApprovedAndRecorded_14725B37F9879796F26904EF2B619D97" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_3F037CF5789CC0AEC17C04EF2B61CF6B" xlink:to="loc_cbnk_FinancingReceivableNumberOfLoansApprovedAndRecorded_14725B37F9879796F26904EF2B619D97" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NotesReceivableGross" xlink:label="loc_us-gaap_NotesReceivableGross_4A47ACA29DA2C823D3CB04EF2B61D023" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_3F037CF5789CC0AEC17C04EF2B61CF6B" xlink:to="loc_us-gaap_NotesReceivableGross_4A47ACA29DA2C823D3CB04EF2B61D023" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_FinancingReceivableNumberOfBorrowers" xlink:label="loc_cbnk_FinancingReceivableNumberOfBorrowers_33F6175775B9F7FC4F5304EF2B62D2F0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_3F037CF5789CC0AEC17C04EF2B61CF6B" xlink:to="loc_cbnk_FinancingReceivableNumberOfBorrowers_33F6175775B9F7FC4F5304EF2B62D2F0" xlink:type="arc" />
    <link:loc xlink:href="cbnk-20200331.xsd#cbnk_FinancingReceivablePercentOfTotalCustomers" xlink:label="loc_cbnk_FinancingReceivablePercentOfTotalCustomers_DB8C75BD20477DB1D85F04EF2B62C3C0" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_3F037CF5789CC0AEC17C04EF2B61CF6B" xlink:to="loc_cbnk_FinancingReceivablePercentOfTotalCustomers_DB8C75BD20477DB1D85F04EF2B62C3C0" xlink:type="arc" />
  </link:definitionLink>
</link:linkbase>
