<?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://www.thefirst.com/role/AllowanceForLoanLosses" xlink:href="fnlc-20170930.xsd#AllowanceForLoanLosses" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/AllowanceForLoanLossesAllowanceForLoanLossActivityByClassDetails" xlink:href="fnlc-20170930.xsd#AllowanceForLoanLossesAllowanceForLoanLossActivityByClassDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/AllowanceForLoanLossesFinancingReceivableAndAllowanceElementByClassDetails" xlink:href="fnlc-20170930.xsd#AllowanceForLoanLossesFinancingReceivableAndAllowanceElementByClassDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/AllowanceForLoanLossesNarrativeDetails" xlink:href="fnlc-20170930.xsd#AllowanceForLoanLossesNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/AllowanceForLoanLossesRiskRatingsBySegmentDetails" xlink:href="fnlc-20170930.xsd#AllowanceForLoanLossesRiskRatingsBySegmentDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/AllowanceForLoanLossesTables" xlink:href="fnlc-20170930.xsd#AllowanceForLoanLossesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/BasisOfPresentation" xlink:href="fnlc-20170930.xsd#BasisOfPresentation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/BasisOfPresentationPolicies" xlink:href="fnlc-20170930.xsd#BasisOfPresentationPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/CertificatesOfDeposit" xlink:href="fnlc-20170930.xsd#CertificatesOfDeposit" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/CertificatesOfDepositDetails" xlink:href="fnlc-20170930.xsd#CertificatesOfDepositDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/CertificatesOfDepositTables" xlink:href="fnlc-20170930.xsd#CertificatesOfDepositTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/ConsolidatedBalanceSheetsUnaudited" xlink:href="fnlc-20170930.xsd#ConsolidatedBalanceSheetsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/ConsolidatedBalanceSheetsUnauditedParenthetical" xlink:href="fnlc-20170930.xsd#ConsolidatedBalanceSheetsUnauditedParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/ConsolidatedStatementsOfCashFlowsUnaudited" xlink:href="fnlc-20170930.xsd#ConsolidatedStatementsOfCashFlowsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/ConsolidatedStatementsOfChangesInShareholdersEquityUnaudited" xlink:href="fnlc-20170930.xsd#ConsolidatedStatementsOfChangesInShareholdersEquityUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/ConsolidatedStatementsOfChangesInShareholdersEquityUnauditedParenthetical" xlink:href="fnlc-20170930.xsd#ConsolidatedStatementsOfChangesInShareholdersEquityUnauditedParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/ConsolidatedStatementsOfIncomeAndComprehensiveIncomeUnaudited" xlink:href="fnlc-20170930.xsd#ConsolidatedStatementsOfIncomeAndComprehensiveIncomeUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/ConsolidatedStatementsOfIncomeAndComprehensiveIncomeUnauditedParenthetical" xlink:href="fnlc-20170930.xsd#ConsolidatedStatementsOfIncomeAndComprehensiveIncomeUnauditedParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/DocumentAndEntityInformation" xlink:href="fnlc-20170930.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/EarningsPerShare" xlink:href="fnlc-20170930.xsd#EarningsPerShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/EarningsPerShareScheduleOfBasicAndDilutedEarningsPerShareDetails" xlink:href="fnlc-20170930.xsd#EarningsPerShareScheduleOfBasicAndDilutedEarningsPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/EarningsPerShareScheduleOfOptionsAndWarrantsOutstandingDetails" xlink:href="fnlc-20170930.xsd#EarningsPerShareScheduleOfOptionsAndWarrantsOutstandingDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/EarningsPerShareTables" xlink:href="fnlc-20170930.xsd#EarningsPerShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/EmployeeBenefitPlans" xlink:href="fnlc-20170930.xsd#EmployeeBenefitPlans" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/EmployeeBenefitPlansAccumulatedPostRetirementBenefitObligationFundedStatusAndNetPeriodicBenefitCostDetails" xlink:href="fnlc-20170930.xsd#EmployeeBenefitPlansAccumulatedPostRetirementBenefitObligationFundedStatusAndNetPeriodicBenefitCostDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/EmployeeBenefitPlansNarrativeDetails" xlink:href="fnlc-20170930.xsd#EmployeeBenefitPlansNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/EmployeeBenefitPlansScheduleOfNetPeriodicBenefitCostNotYetRecognizedDetails" xlink:href="fnlc-20170930.xsd#EmployeeBenefitPlansScheduleOfNetPeriodicBenefitCostNotYetRecognizedDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/EmployeeBenefitPlansTables" xlink:href="fnlc-20170930.xsd#EmployeeBenefitPlansTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/FairValue" xlink:href="fnlc-20170930.xsd#FairValue" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/FairValueAdditionalInformationDetails" xlink:href="fnlc-20170930.xsd#FairValueAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/FairValueAssetsAndLiabilitiesAtFairValueDetails" xlink:href="fnlc-20170930.xsd#FairValueAssetsAndLiabilitiesAtFairValueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/FairValueAssetsRecordedAtFairValueOnNonRecurringBasisDetails" xlink:href="fnlc-20170930.xsd#FairValueAssetsRecordedAtFairValueOnNonRecurringBasisDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/FairValueAssetsRecordedAtFairValueOnRecurringBasisDetails" xlink:href="fnlc-20170930.xsd#FairValueAssetsRecordedAtFairValueOnRecurringBasisDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/FairValueTables" xlink:href="fnlc-20170930.xsd#FairValueTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/FinancialDerivativeInstruments" xlink:href="fnlc-20170930.xsd#FinancialDerivativeInstruments" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/FinancialDerivativeInstrumentsDetails" xlink:href="fnlc-20170930.xsd#FinancialDerivativeInstrumentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/FinancialDerivativeInstrumentsTables" xlink:href="fnlc-20170930.xsd#FinancialDerivativeInstrumentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/ImpactOfRecentlyIssuedAccountingStandards" xlink:href="fnlc-20170930.xsd#ImpactOfRecentlyIssuedAccountingStandards" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/IncomeTaxes" xlink:href="fnlc-20170930.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/InvestmentSecurities" xlink:href="fnlc-20170930.xsd#InvestmentSecurities" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/InvestmentSecuritiesAdditionalInformationDetails" xlink:href="fnlc-20170930.xsd#InvestmentSecuritiesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/InvestmentSecuritiesAmortizedCostAndEstimatedFairValueOfAvailableForSaleSecuritiesDetails" xlink:href="fnlc-20170930.xsd#InvestmentSecuritiesAmortizedCostAndEstimatedFairValueOfAvailableForSaleSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/InvestmentSecuritiesAmortizedCostAndEstimatedFairValueOfHeldToMaturitySecuritiesDetails" xlink:href="fnlc-20170930.xsd#InvestmentSecuritiesAmortizedCostAndEstimatedFairValueOfHeldToMaturitySecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/InvestmentSecuritiesAmortizedCostAndEstimatedFairValueOfRestrictedEquitySecuritiesDetails" xlink:href="fnlc-20170930.xsd#InvestmentSecuritiesAmortizedCostAndEstimatedFairValueOfRestrictedEquitySecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/InvestmentSecuritiesContractualMaturitiesOfInvestmentSecuritiesDetails" xlink:href="fnlc-20170930.xsd#InvestmentSecuritiesContractualMaturitiesOfInvestmentSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/InvestmentSecuritiesGainsAndLossesDetails" xlink:href="fnlc-20170930.xsd#InvestmentSecuritiesGainsAndLossesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/InvestmentSecuritiesTables" xlink:href="fnlc-20170930.xsd#InvestmentSecuritiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/InvestmentSecuritiesTemporarilyImpairedSecuritiesDetails" xlink:href="fnlc-20170930.xsd#InvestmentSecuritiesTemporarilyImpairedSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/Loans" xlink:href="fnlc-20170930.xsd#Loans" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/LoansImpairedLoansByClassDetails" xlink:href="fnlc-20170930.xsd#LoansImpairedLoansByClassDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/LoansLoanPortfolioDetails" xlink:href="fnlc-20170930.xsd#LoansLoanPortfolioDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/LoansNarrativeDetails" xlink:href="fnlc-20170930.xsd#LoansNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/LoansNonaccrualLoansDetails" xlink:href="fnlc-20170930.xsd#LoansNonaccrualLoansDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/LoansPastDueStatusOfLoansByClassDetails" xlink:href="fnlc-20170930.xsd#LoansPastDueStatusOfLoansByClassDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/LoansTables" xlink:href="fnlc-20170930.xsd#LoansTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/LoansTdrsByClassAndAssociatedSpecificReservesDetails" xlink:href="fnlc-20170930.xsd#LoansTdrsByClassAndAssociatedSpecificReservesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/LoansTdrsByClassAndSpecificReservesDetails" xlink:href="fnlc-20170930.xsd#LoansTdrsByClassAndSpecificReservesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/MortgageServicingRights" xlink:href="fnlc-20170930.xsd#MortgageServicingRights" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/MortgageServicingRightsNarrativeDetails" xlink:href="fnlc-20170930.xsd#MortgageServicingRightsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/MortgageServicingRightsScheduleOfMortgageServicingRightsDetails" xlink:href="fnlc-20170930.xsd#MortgageServicingRightsScheduleOfMortgageServicingRightsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/MortgageServicingRightsTables" xlink:href="fnlc-20170930.xsd#MortgageServicingRightsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/OtherComprehensiveIncomeLoss" xlink:href="fnlc-20170930.xsd#OtherComprehensiveIncomeLoss" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/OtherComprehensiveIncomeLossDerivativeInstrumentsIncludedInOtherComprehensiveIncomeLossDetails" xlink:href="fnlc-20170930.xsd#OtherComprehensiveIncomeLossDerivativeInstrumentsIncludedInOtherComprehensiveIncomeLossDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/OtherComprehensiveIncomeLossReclassificationOfAvailableForSaleSecuritiesToHeldToMaturitySecuritiesDetails" xlink:href="fnlc-20170930.xsd#OtherComprehensiveIncomeLossReclassificationOfAvailableForSaleSecuritiesToHeldToMaturitySecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/OtherComprehensiveIncomeLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails" xlink:href="fnlc-20170930.xsd#OtherComprehensiveIncomeLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/OtherComprehensiveIncomeLossSummaryOfAvailableForSaleSecuritiesActivityDetails" xlink:href="fnlc-20170930.xsd#OtherComprehensiveIncomeLossSummaryOfAvailableForSaleSecuritiesActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/OtherComprehensiveIncomeLossTables" xlink:href="fnlc-20170930.xsd#OtherComprehensiveIncomeLossTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/PreferredAndCommonStock" xlink:href="fnlc-20170930.xsd#PreferredAndCommonStock" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/PreferredAndCommonStockDetails" xlink:href="fnlc-20170930.xsd#PreferredAndCommonStockDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/Reclassifications" xlink:href="fnlc-20170930.xsd#Reclassifications" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/StockBasedCompensation" xlink:href="fnlc-20170930.xsd#StockBasedCompensation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/StockBasedCompensationNarrativeDetails" xlink:href="fnlc-20170930.xsd#StockBasedCompensationNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/StockBasedCompensationSharesOfRestrictedStockGrantedUnder2010PlanDetails" xlink:href="fnlc-20170930.xsd#StockBasedCompensationSharesOfRestrictedStockGrantedUnder2010PlanDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.thefirst.com/role/StockBasedCompensationTables" xlink:href="fnlc-20170930.xsd#StockBasedCompensationTables" 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://www.thefirst.com/role/AllowanceForLoanLosses" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/AllowanceForLoanLossesAllowanceForLoanLossActivityByClassDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_D723841BA555340A4E5B0163F69EF912" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_6DEB7A2A31BB026F0CFA0163F69D25A9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_D723841BA555340A4E5B0163F69EF912" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_6DEB7A2A31BB026F0CFA0163F69D25A9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_18362D7F0E9C0050BFB50163F69DAD60" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_6DEB7A2A31BB026F0CFA0163F69D25A9" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_18362D7F0E9C0050BFB50163F69DAD60" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_EC0FB1EA0518CA637C840163F69D3B57_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_18362D7F0E9C0050BFB50163F69DAD60" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_EC0FB1EA0518CA637C840163F69D3B57_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_EC0FB1EA0518CA637C840163F69D3B57" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_18362D7F0E9C0050BFB50163F69DAD60" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_EC0FB1EA0518CA637C840163F69D3B57" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_0EB8964342665C0217570163F69D2AB8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_EC0FB1EA0518CA637C840163F69D3B57" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_0EB8964342665C0217570163F69D2AB8" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_MunicipalPortfolioMember" xlink:label="loc_fnlc_MunicipalPortfolioMember_C9795B6AF853938DB4970163F69E3C04" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_EC0FB1EA0518CA637C840163F69D3B57" xlink:to="loc_fnlc_MunicipalPortfolioMember_C9795B6AF853938DB4970163F69E3C04" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_0DD68E493326D92B73FD0163F69E1AD1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_EC0FB1EA0518CA637C840163F69D3B57" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_0DD68E493326D92B73FD0163F69E1AD1" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_HomeEquityLIneofCreditPortfolioMember" xlink:label="loc_fnlc_HomeEquityLIneofCreditPortfolioMember_5297629E16C6FF13D5C70163F69EE4FB" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_EC0FB1EA0518CA637C840163F69D3B57" xlink:to="loc_fnlc_HomeEquityLIneofCreditPortfolioMember_5297629E16C6FF13D5C70163F69EE4FB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_C28CDB6A1A220FA99DBC0163F69E565C" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_EC0FB1EA0518CA637C840163F69D3B57" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_C28CDB6A1A220FA99DBC0163F69E565C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnallocatedFinancingReceivablesMember" xlink:label="loc_us-gaap_UnallocatedFinancingReceivablesMember_6546F18A8BF90A6107EB0163F69E8CF7" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_EC0FB1EA0518CA637C840163F69D3B57" xlink:to="loc_us-gaap_UnallocatedFinancingReceivablesMember_6546F18A8BF90A6107EB0163F69E8CF7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2187F5238A48862BEE240163F69E0D35" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_6DEB7A2A31BB026F0CFA0163F69D25A9" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2187F5238A48862BEE240163F69E0D35" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_ED1BAEE2AA79B65E41C00163F69E40A9_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2187F5238A48862BEE240163F69E0D35" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_ED1BAEE2AA79B65E41C00163F69E40A9_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_ED1BAEE2AA79B65E41C00163F69E40A9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2187F5238A48862BEE240163F69E0D35" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_ED1BAEE2AA79B65E41C00163F69E40A9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="loc_us-gaap_RealEstateLoanMember_E9F96BF794EDE41E7D240163F69E99CF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_ED1BAEE2AA79B65E41C00163F69E40A9" xlink:to="loc_us-gaap_RealEstateLoanMember_E9F96BF794EDE41E7D240163F69E99CF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_18216CCEABC878ACE50E0163F69E5285" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_ED1BAEE2AA79B65E41C00163F69E40A9" xlink:to="loc_us-gaap_ConstructionLoansMember_18216CCEABC878ACE50E0163F69E5285" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_TermLoanMember" xlink:label="loc_fnlc_TermLoanMember_139C8512DCDB3CE66CC60163F69E2242" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_ED1BAEE2AA79B65E41C00163F69E40A9" xlink:to="loc_fnlc_TermLoanMember_139C8512DCDB3CE66CC60163F69E2242" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_OtherLoansMember" xlink:label="loc_fnlc_OtherLoansMember_16A60327FAEE8E45DD250163F69E3358" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_ED1BAEE2AA79B65E41C00163F69E40A9" xlink:to="loc_fnlc_OtherLoansMember_16A60327FAEE8E45DD250163F69E3358" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllowanceForLoanAndLeaseLossesRollForward" xlink:label="loc_us-gaap_AllowanceForLoanAndLeaseLossesRollForward_EB3430A9D2E14EEDE95D0163F69E7775" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_D723841BA555340A4E5B0163F69EF912" xlink:to="loc_us-gaap_AllowanceForLoanAndLeaseLossesRollForward_EB3430A9D2E14EEDE95D0163F69E7775" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LoansAndLeasesReceivableAllowance" xlink:label="loc_us-gaap_LoansAndLeasesReceivableAllowance_F2883A3BE19EDA31BBFE0163F69EDF4F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AllowanceForLoanAndLeaseLossesRollForward_EB3430A9D2E14EEDE95D0163F69E7775" xlink:to="loc_us-gaap_LoansAndLeasesReceivableAllowance_F2883A3BE19EDA31BBFE0163F69EDF4F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllowanceForLoanAndLeaseLossesWriteOffs" xlink:label="loc_us-gaap_AllowanceForLoanAndLeaseLossesWriteOffs_117CC581C12D3413C1220163F69E201A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AllowanceForLoanAndLeaseLossesRollForward_EB3430A9D2E14EEDE95D0163F69E7775" xlink:to="loc_us-gaap_AllowanceForLoanAndLeaseLossesWriteOffs_117CC581C12D3413C1220163F69E201A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllowanceForLoanAndLeaseLossRecoveryOfBadDebts" xlink:label="loc_us-gaap_AllowanceForLoanAndLeaseLossRecoveryOfBadDebts_FF30774492620D915D210163F69EE4FE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AllowanceForLoanAndLeaseLossesRollForward_EB3430A9D2E14EEDE95D0163F69E7775" xlink:to="loc_us-gaap_AllowanceForLoanAndLeaseLossRecoveryOfBadDebts_FF30774492620D915D210163F69EE4FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProvisionForLoanAndLeaseLosses" xlink:label="loc_us-gaap_ProvisionForLoanAndLeaseLosses_8D008515A5D3909B328A0163F69F73C6" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AllowanceForLoanAndLeaseLossesRollForward_EB3430A9D2E14EEDE95D0163F69E7775" xlink:to="loc_us-gaap_ProvisionForLoanAndLeaseLosses_8D008515A5D3909B328A0163F69F73C6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1_E1FB55B70643F385D8750163F69F1029" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_D723841BA555340A4E5B0163F69EF912" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1_E1FB55B70643F385D8750163F69F1029" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment_0373AE82671330C591FA0163F69FE33D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_D723841BA555340A4E5B0163F69EF912" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment_0373AE82671330C591FA0163F69FE33D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome_3CCDE93BC715858BEE460163F6A4D9C4" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_D723841BA555340A4E5B0163F69EF912" xlink:to="loc_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome_3CCDE93BC715858BEE460163F6A4D9C4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" xlink:label="loc_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment_46E69F3225C521CFAC9A0163F6A4E6C3" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_D723841BA555340A4E5B0163F69EF912" xlink:to="loc_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment_46E69F3225C521CFAC9A0163F6A4E6C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment" xlink:label="loc_us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment_93833D6D5EE48276FC2A0163F6A43DB6" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_D723841BA555340A4E5B0163F69EF912" xlink:to="loc_us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment_93833D6D5EE48276FC2A0163F6A43DB6" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.thefirst.com/role/AllowanceForLoanLossesFinancingReceivableAndAllowanceElementByClassDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_33BBBF2DE6BAE0886C180163F6C6483E" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_852B253815526D1EF9F00163F6BF4F18" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_33BBBF2DE6BAE0886C180163F6C6483E" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_852B253815526D1EF9F00163F6BF4F18" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_735E5B96E0A3A914DCFE0163F6BF81B0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_852B253815526D1EF9F00163F6BF4F18" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_735E5B96E0A3A914DCFE0163F6BF81B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_D9DDCB12FAC8AB459B700163F6BF7F25_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_735E5B96E0A3A914DCFE0163F6BF81B0" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_D9DDCB12FAC8AB459B700163F6BF7F25_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_D9DDCB12FAC8AB459B700163F6BF7F25" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_735E5B96E0A3A914DCFE0163F6BF81B0" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_D9DDCB12FAC8AB459B700163F6BF7F25" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_754D21549C1B0A807C100163F6C5EDB8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_D9DDCB12FAC8AB459B700163F6BF7F25" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_754D21549C1B0A807C100163F6C5EDB8" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_MunicipalPortfolioMember" xlink:label="loc_fnlc_MunicipalPortfolioMember_6E834D4CA5720E3B10490163F6C5BE86" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_D9DDCB12FAC8AB459B700163F6BF7F25" xlink:to="loc_fnlc_MunicipalPortfolioMember_6E834D4CA5720E3B10490163F6C5BE86" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_569CA00E270A9E44011F0163F6C55D31" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_D9DDCB12FAC8AB459B700163F6BF7F25" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_569CA00E270A9E44011F0163F6C55D31" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_HomeEquityLIneofCreditPortfolioMember" xlink:label="loc_fnlc_HomeEquityLIneofCreditPortfolioMember_9BA02F0C40107E9318F20163F6C59D76" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_D9DDCB12FAC8AB459B700163F6BF7F25" xlink:to="loc_fnlc_HomeEquityLIneofCreditPortfolioMember_9BA02F0C40107E9318F20163F6C59D76" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_24FB6379B0C58D9FDA890163F6C5019E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_D9DDCB12FAC8AB459B700163F6BF7F25" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_24FB6379B0C58D9FDA890163F6C5019E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnallocatedFinancingReceivablesMember" xlink:label="loc_us-gaap_UnallocatedFinancingReceivablesMember_0A911D146D7647B97A0A0163F6C54A37" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_D9DDCB12FAC8AB459B700163F6BF7F25" xlink:to="loc_us-gaap_UnallocatedFinancingReceivablesMember_0A911D146D7647B97A0A0163F6C54A37" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_7C75D70ED500C9026B5F0163F6C579B5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_852B253815526D1EF9F00163F6BF4F18" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_7C75D70ED500C9026B5F0163F6C579B5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_D3082342C93E51B121A30163F6C509B4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_7C75D70ED500C9026B5F0163F6C579B5" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_D3082342C93E51B121A30163F6C509B4_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_D3082342C93E51B121A30163F6C509B4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_7C75D70ED500C9026B5F0163F6C579B5" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_D3082342C93E51B121A30163F6C509B4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="loc_us-gaap_RealEstateLoanMember_35405EAFB955AED362DB0163F6C5125E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_D3082342C93E51B121A30163F6C509B4" xlink:to="loc_us-gaap_RealEstateLoanMember_35405EAFB955AED362DB0163F6C5125E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_40DB4B99A1D67FD1E20A0163F6C57676" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_D3082342C93E51B121A30163F6C509B4" xlink:to="loc_us-gaap_ConstructionLoansMember_40DB4B99A1D67FD1E20A0163F6C57676" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_OtherLoansMember" xlink:label="loc_fnlc_OtherLoansMember_CBE2DEC6F9955F16B8520163F6C5CFB0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_D3082342C93E51B121A30163F6C509B4" xlink:to="loc_fnlc_OtherLoansMember_CBE2DEC6F9955F16B8520163F6C5CFB0" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_TermLoanMember" xlink:label="loc_fnlc_TermLoanMember_D4C34D9547B742EDF1180163F6C59910" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_D3082342C93E51B121A30163F6C509B4" xlink:to="loc_fnlc_TermLoanMember_D4C34D9547B742EDF1180163F6C59910" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_FinancingReceivableInformationByTypeOfReserveAxis" xlink:label="loc_fnlc_FinancingReceivableInformationByTypeOfReserveAxis_8BE72BA51128F2FA70410163F6C64393" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_852B253815526D1EF9F00163F6BF4F18" xlink:to="loc_fnlc_FinancingReceivableInformationByTypeOfReserveAxis_8BE72BA51128F2FA70410163F6C64393" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_FinancingReceivableInformationByTypeOfReserveDomain" xlink:label="loc_fnlc_FinancingReceivableInformationByTypeOfReserveDomain_451A53959BF57976A1960163F6C6743E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_fnlc_FinancingReceivableInformationByTypeOfReserveAxis_8BE72BA51128F2FA70410163F6C64393" xlink:to="loc_fnlc_FinancingReceivableInformationByTypeOfReserveDomain_451A53959BF57976A1960163F6C6743E_default" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_FinancingReceivableInformationByTypeOfReserveDomain" xlink:label="loc_fnlc_FinancingReceivableInformationByTypeOfReserveDomain_451A53959BF57976A1960163F6C6743E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_fnlc_FinancingReceivableInformationByTypeOfReserveAxis_8BE72BA51128F2FA70410163F6C64393" xlink:to="loc_fnlc_FinancingReceivableInformationByTypeOfReserveDomain_451A53959BF57976A1960163F6C6743E" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_SpecificReservesEvaluatedIndividuallyForImpairmentMember" xlink:label="loc_fnlc_SpecificReservesEvaluatedIndividuallyForImpairmentMember_1D4479A1F6E3BD0F122D0163F6C68270" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_FinancingReceivableInformationByTypeOfReserveDomain_451A53959BF57976A1960163F6C6743E" xlink:to="loc_fnlc_SpecificReservesEvaluatedIndividuallyForImpairmentMember_1D4479A1F6E3BD0F122D0163F6C68270" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_GeneralReservesBasedOnHistoricalLossExperienceMember" xlink:label="loc_fnlc_GeneralReservesBasedOnHistoricalLossExperienceMember_CD75966D644193A99A600163F6C66198" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_FinancingReceivableInformationByTypeOfReserveDomain_451A53959BF57976A1960163F6C6743E" xlink:to="loc_fnlc_GeneralReservesBasedOnHistoricalLossExperienceMember_CD75966D644193A99A600163F6C66198" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_ReserveForQualitativeFactorsMember" xlink:label="loc_fnlc_ReserveForQualitativeFactorsMember_A93EE73BB2329E29501A0163F6C61C8B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_FinancingReceivableInformationByTypeOfReserveDomain_451A53959BF57976A1960163F6C6743E" xlink:to="loc_fnlc_ReserveForQualitativeFactorsMember_A93EE73BB2329E29501A0163F6C61C8B" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_UnallocatedReservesMember" xlink:label="loc_fnlc_UnallocatedReservesMember_A62F15458E203B70AB080163F6C69D42" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_FinancingReceivableInformationByTypeOfReserveDomain_451A53959BF57976A1960163F6C6743E" xlink:to="loc_fnlc_UnallocatedReservesMember_A62F15458E203B70AB080163F6C69D42" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LoansAndLeasesReceivableAllowance" xlink:label="loc_us-gaap_LoansAndLeasesReceivableAllowance_13F37916172945510A010163F6C65F11" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_33BBBF2DE6BAE0886C180163F6C6483E" xlink:to="loc_us-gaap_LoansAndLeasesReceivableAllowance_13F37916172945510A010163F6C65F11" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.thefirst.com/role/AllowanceForLoanLossesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_321C1BBC620E6461FF9C5F8089FBC9BF" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_C2B2E90B6419CCCCD9035F8089FA24D8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_321C1BBC620E6461FF9C5F8089FBC9BF" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_C2B2E90B6419CCCCD9035F8089FA24D8" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_FinancingReceivableInformationByTypeOfReserveAxis" xlink:label="loc_fnlc_FinancingReceivableInformationByTypeOfReserveAxis_9A0AD0ABA6701FF387E25F8089FAD028" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_C2B2E90B6419CCCCD9035F8089FA24D8" xlink:to="loc_fnlc_FinancingReceivableInformationByTypeOfReserveAxis_9A0AD0ABA6701FF387E25F8089FAD028" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_FinancingReceivableInformationByTypeOfReserveDomain" xlink:label="loc_fnlc_FinancingReceivableInformationByTypeOfReserveDomain_10FDCE1DADB76687C4F45F8089FA760C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_fnlc_FinancingReceivableInformationByTypeOfReserveAxis_9A0AD0ABA6701FF387E25F8089FAD028" xlink:to="loc_fnlc_FinancingReceivableInformationByTypeOfReserveDomain_10FDCE1DADB76687C4F45F8089FA760C_default" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_FinancingReceivableInformationByTypeOfReserveDomain" xlink:label="loc_fnlc_FinancingReceivableInformationByTypeOfReserveDomain_10FDCE1DADB76687C4F45F8089FA760C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_fnlc_FinancingReceivableInformationByTypeOfReserveAxis_9A0AD0ABA6701FF387E25F8089FAD028" xlink:to="loc_fnlc_FinancingReceivableInformationByTypeOfReserveDomain_10FDCE1DADB76687C4F45F8089FA760C" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_UnallocatedReservesMember" xlink:label="loc_fnlc_UnallocatedReservesMember_F051226BD7F5974364E25F8089FA45F7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_FinancingReceivableInformationByTypeOfReserveDomain_10FDCE1DADB76687C4F45F8089FA760C" xlink:to="loc_fnlc_UnallocatedReservesMember_F051226BD7F5974364E25F8089FA45F7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_98FF02953014E067DC195F8089FAA6A7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_C2B2E90B6419CCCCD9035F8089FA24D8" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_98FF02953014E067DC195F8089FAA6A7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_95DE7D2CE4628DDA97095F8089FB5DFA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_98FF02953014E067DC195F8089FAA6A7" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_95DE7D2CE4628DDA97095F8089FB5DFA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_95DE7D2CE4628DDA97095F8089FB5DFA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_98FF02953014E067DC195F8089FAA6A7" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_95DE7D2CE4628DDA97095F8089FB5DFA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_36983197CBC64DD094E85F8089FB3898" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_95DE7D2CE4628DDA97095F8089FB5DFA" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_36983197CBC64DD094E85F8089FB3898" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_539DEA5C3B0CE155F6DF5F8089FB59D5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_95DE7D2CE4628DDA97095F8089FB5DFA" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_539DEA5C3B0CE155F6DF5F8089FB59D5" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_LoansandLeasesReceivableNumberofLoanClasses" xlink:label="loc_fnlc_LoansandLeasesReceivableNumberofLoanClasses_6383E3634224920EE7845F8089FB7BB5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_321C1BBC620E6461FF9C5F8089FBC9BF" xlink:to="loc_fnlc_LoansandLeasesReceivableNumberofLoanClasses_6383E3634224920EE7845F8089FB7BB5" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_AllowanceforLoanandLeaseLossesRelatedLoansPercentage" xlink:label="loc_fnlc_AllowanceforLoanandLeaseLossesRelatedLoansPercentage_4E8571696BFA4F9F01DE5F8089FBBC39" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_321C1BBC620E6461FF9C5F8089FBC9BF" xlink:to="loc_fnlc_AllowanceforLoanandLeaseLossesRelatedLoansPercentage_4E8571696BFA4F9F01DE5F8089FBBC39" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_AllowanceforLoanandLeaseLossesRelatedLoansPeriodIncreaseDecrease" xlink:label="loc_fnlc_AllowanceforLoanandLeaseLossesRelatedLoansPeriodIncreaseDecrease_94427E15B2EE1048324D5F8089FBAEEE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_321C1BBC620E6461FF9C5F8089FBC9BF" xlink:to="loc_fnlc_AllowanceforLoanandLeaseLossesRelatedLoansPeriodIncreaseDecrease_94427E15B2EE1048324D5F8089FBAEEE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LoansAndLeasesReceivableAllowance" xlink:label="loc_us-gaap_LoansAndLeasesReceivableAllowance_18CE3E619ED9FA9989065F8089FBFB8C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_321C1BBC620E6461FF9C5F8089FBC9BF" xlink:to="loc_us-gaap_LoansAndLeasesReceivableAllowance_18CE3E619ED9FA9989065F8089FBFB8C" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_PercentageofTotalReserveAllowanceaccountedforbyLoanLossAllowances" xlink:label="loc_fnlc_PercentageofTotalReserveAllowanceaccountedforbyLoanLossAllowances_AD4CBB4E4E5DAA1CA5305F8089FBC3FA" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_321C1BBC620E6461FF9C5F8089FBC9BF" xlink:to="loc_fnlc_PercentageofTotalReserveAllowanceaccountedforbyLoanLossAllowances_AD4CBB4E4E5DAA1CA5305F8089FBC3FA" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_AllowanceforLoanLossesofTotalLoansPercentage" xlink:label="loc_fnlc_AllowanceforLoanLossesofTotalLoansPercentage_BA464FD0712D654876485F8089FBD302" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_321C1BBC620E6461FF9C5F8089FBC9BF" xlink:to="loc_fnlc_AllowanceforLoanLossesofTotalLoansPercentage_BA464FD0712D654876485F8089FBD302" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_LoansandLeasesReceivableCommercialNumberofLoanClasses" xlink:label="loc_fnlc_LoansandLeasesReceivableCommercialNumberofLoanClasses_CA1BEE8D5E6D61ADA7A25F8089FB58BD" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_321C1BBC620E6461FF9C5F8089FBC9BF" xlink:to="loc_fnlc_LoansandLeasesReceivableCommercialNumberofLoanClasses_CA1BEE8D5E6D61ADA7A25F8089FB58BD" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_ResidentialLoansTypicalLoanToValueRangeHigh" xlink:label="loc_fnlc_ResidentialLoansTypicalLoanToValueRangeHigh_1C002D00C8C2E11011045F8089FC0234" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_321C1BBC620E6461FF9C5F8089FBC9BF" xlink:to="loc_fnlc_ResidentialLoansTypicalLoanToValueRangeHigh_1C002D00C8C2E11011045F8089FC0234" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_ConstructionLoansActualLoanPortfolioToCompanyCapital" xlink:label="loc_fnlc_ConstructionLoansActualLoanPortfolioToCompanyCapital_4946168FC0459ADEC5255F8089FC5147" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_321C1BBC620E6461FF9C5F8089FBC9BF" xlink:to="loc_fnlc_ConstructionLoansActualLoanPortfolioToCompanyCapital_4946168FC0459ADEC5255F8089FC5147" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_ConstructionLoanPortfolioMaximumToCompanyCapital" xlink:label="loc_fnlc_ConstructionLoanPortfolioMaximumToCompanyCapital_2A4B9600829C0A8858A65F8089FC54E0" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_321C1BBC620E6461FF9C5F8089FBC9BF" xlink:to="loc_fnlc_ConstructionLoanPortfolioMaximumToCompanyCapital_2A4B9600829C0A8858A65F8089FC54E0" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_ConstructionAndNonOwnerOccupiedCommercialRealEstateLoansPortfolioToCompanyCapital" xlink:label="loc_fnlc_ConstructionAndNonOwnerOccupiedCommercialRealEstateLoansPortfolioToCompanyCapital_714441CE474B24F9E2AC5F8089FC66E8" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_321C1BBC620E6461FF9C5F8089FBC9BF" xlink:to="loc_fnlc_ConstructionAndNonOwnerOccupiedCommercialRealEstateLoansPortfolioToCompanyCapital_714441CE474B24F9E2AC5F8089FC66E8" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_ConstructionAndNonOwnerOccupiedCommercialRealEstateLoansMaximumLoanPortfolioToCompanyCapital" xlink:label="loc_fnlc_ConstructionAndNonOwnerOccupiedCommercialRealEstateLoansMaximumLoanPortfolioToCompanyCapital_33F52B7AC0E878E24AC85F8089FC97F3" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_321C1BBC620E6461FF9C5F8089FBC9BF" xlink:to="loc_fnlc_ConstructionAndNonOwnerOccupiedCommercialRealEstateLoansMaximumLoanPortfolioToCompanyCapital_33F52B7AC0E878E24AC85F8089FC97F3" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_OutstandingLoansAndCommitmentsSubjectByIndependentConsultingFirm" xlink:label="loc_fnlc_OutstandingLoansAndCommitmentsSubjectByIndependentConsultingFirm_A5EE35694BF51B058F7E5F8089FCE314" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_321C1BBC620E6461FF9C5F8089FBC9BF" xlink:to="loc_fnlc_OutstandingLoansAndCommitmentsSubjectByIndependentConsultingFirm_A5EE35694BF51B058F7E5F8089FCE314" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_DelinquentPeriodBeforeConsumerLoansChargedOff" xlink:label="loc_fnlc_DelinquentPeriodBeforeConsumerLoansChargedOff_CC4068C691B3E25989D15F8089FCC9C3" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_321C1BBC620E6461FF9C5F8089FBC9BF" xlink:to="loc_fnlc_DelinquentPeriodBeforeConsumerLoansChargedOff_CC4068C691B3E25989D15F8089FCC9C3" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_DelinquentPeriodBeforeResidentialLoansPlacedOnNonAccrualStatus" xlink:label="loc_fnlc_DelinquentPeriodBeforeResidentialLoansPlacedOnNonAccrualStatus_3EF2F23D75AC164E57B15F8089FC460B" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_321C1BBC620E6461FF9C5F8089FBC9BF" xlink:to="loc_fnlc_DelinquentPeriodBeforeResidentialLoansPlacedOnNonAccrualStatus_3EF2F23D75AC164E57B15F8089FC460B" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_DelinquentPeriodforLoansChargedOff" xlink:label="loc_fnlc_DelinquentPeriodforLoansChargedOff_25C2E46B453AC891E9CE5F8089FCC508" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_321C1BBC620E6461FF9C5F8089FBC9BF" xlink:to="loc_fnlc_DelinquentPeriodforLoansChargedOff_25C2E46B453AC891E9CE5F8089FCC508" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_DelinquentPeriodforLoansChargedOffPeriodAfterReceiptofNotificationfromBankruptcyCourt" xlink:label="loc_fnlc_DelinquentPeriodforLoansChargedOffPeriodAfterReceiptofNotificationfromBankruptcyCourt_CF34A833C27059409B2A5F8089FC4EA7" xlink:type="locator" />
    <link:definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_321C1BBC620E6461FF9C5F8089FBC9BF" xlink:to="loc_fnlc_DelinquentPeriodforLoansChargedOffPeriodAfterReceiptofNotificationfromBankruptcyCourt_CF34A833C27059409B2A5F8089FC4EA7" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.thefirst.com/role/AllowanceForLoanLossesRiskRatingsBySegmentDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_EBA1C8AAB4005822B9074D125A6B09EE" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_BCEA65B698E0591C94E97BFFFE0AD08A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_EBA1C8AAB4005822B9074D125A6B09EE" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_BCEA65B698E0591C94E97BFFFE0AD08A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_DEE5BD01CB365062930E35C0D34C2825" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_BCEA65B698E0591C94E97BFFFE0AD08A" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_DEE5BD01CB365062930E35C0D34C2825" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_F209F6B91C269F2A34B1855B5E90CD60_09EF7B1A4C395E8C9F726E79F1A5F8B1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_DEE5BD01CB365062930E35C0D34C2825" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_F209F6B91C269F2A34B1855B5E90CD60_09EF7B1A4C395E8C9F726E79F1A5F8B1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_568D642AF0775DF58E16DAD2B4D8768E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_DEE5BD01CB365062930E35C0D34C2825" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_568D642AF0775DF58E16DAD2B4D8768E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_B4EEECBB51B7588CB946A2BB8EAACBD8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_568D642AF0775DF58E16DAD2B4D8768E" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_B4EEECBB51B7588CB946A2BB8EAACBD8" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_MunicipalPortfolioMember" xlink:label="loc_fnlc_MunicipalPortfolioMember_7865E4C0DDFA5499B4FA6E6DBFF61AD7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_568D642AF0775DF58E16DAD2B4D8768E" xlink:to="loc_fnlc_MunicipalPortfolioMember_7865E4C0DDFA5499B4FA6E6DBFF61AD7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InternalCreditAssessmentAxis" xlink:label="loc_us-gaap_InternalCreditAssessmentAxis_9F7EA00BE50F5AAB9207BC2FA78C88F2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_BCEA65B698E0591C94E97BFFFE0AD08A" xlink:to="loc_us-gaap_InternalCreditAssessmentAxis_9F7EA00BE50F5AAB9207BC2FA78C88F2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain_4D2C6B4CED0BCAECD577855B5E90129B_09EF7B1A4C395E8C9F726E79F1A5F8B1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis_9F7EA00BE50F5AAB9207BC2FA78C88F2" xlink:to="loc_us-gaap_InternalCreditAssessmentDomain_4D2C6B4CED0BCAECD577855B5E90129B_09EF7B1A4C395E8C9F726E79F1A5F8B1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain_267B1F8B59CA53F3AEAF626158EC60F9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis_9F7EA00BE50F5AAB9207BC2FA78C88F2" xlink:to="loc_us-gaap_InternalCreditAssessmentDomain_267B1F8B59CA53F3AEAF626158EC60F9" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_Strong1Member" xlink:label="loc_fnlc_Strong1Member_5B71D0408A505BFD8CD28B568F450265" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_267B1F8B59CA53F3AEAF626158EC60F9" xlink:to="loc_fnlc_Strong1Member_5B71D0408A505BFD8CD28B568F450265" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_AboveAverage2Member" xlink:label="loc_fnlc_AboveAverage2Member_405D9D4EB49A52C6BEA816F3D11766C3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_267B1F8B59CA53F3AEAF626158EC60F9" xlink:to="loc_fnlc_AboveAverage2Member_405D9D4EB49A52C6BEA816F3D11766C3" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_Satisfactory3Member" xlink:label="loc_fnlc_Satisfactory3Member_861E73AF4B6C53D49F1B58D82C204734" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_267B1F8B59CA53F3AEAF626158EC60F9" xlink:to="loc_fnlc_Satisfactory3Member_861E73AF4B6C53D49F1B58D82C204734" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_Average4Member" xlink:label="loc_fnlc_Average4Member_8A650AE421325DF1BEF0F7032216C2D6" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_267B1F8B59CA53F3AEAF626158EC60F9" xlink:to="loc_fnlc_Average4Member_8A650AE421325DF1BEF0F7032216C2D6" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_Watch5Member" xlink:label="loc_fnlc_Watch5Member_FD09E6DD704359308B280ED30673E58F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_267B1F8B59CA53F3AEAF626158EC60F9" xlink:to="loc_fnlc_Watch5Member_FD09E6DD704359308B280ED30673E58F" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_Oaem6Member" xlink:label="loc_fnlc_Oaem6Member_BF520D1A0B755439911E8EBE18A58014" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_267B1F8B59CA53F3AEAF626158EC60F9" xlink:to="loc_fnlc_Oaem6Member_BF520D1A0B755439911E8EBE18A58014" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubstandardMember" xlink:label="loc_us-gaap_SubstandardMember_0A0C77D3AE255148A16A23E62642F1F9" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_267B1F8B59CA53F3AEAF626158EC60F9" xlink:to="loc_us-gaap_SubstandardMember_0A0C77D3AE255148A16A23E62642F1F9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DoubtfulMember" xlink:label="loc_us-gaap_DoubtfulMember_E20E3E400EE45B51892B03DFEA22CC31" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_267B1F8B59CA53F3AEAF626158EC60F9" xlink:to="loc_us-gaap_DoubtfulMember_E20E3E400EE45B51892B03DFEA22CC31" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_16ABAAD9DBCF58D5855AAB570B4B4F76" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_BCEA65B698E0591C94E97BFFFE0AD08A" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_16ABAAD9DBCF58D5855AAB570B4B4F76" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_D35233963D34E068D6EA855B5E9165DA_09EF7B1A4C395E8C9F726E79F1A5F8B1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_16ABAAD9DBCF58D5855AAB570B4B4F76" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_D35233963D34E068D6EA855B5E9165DA_09EF7B1A4C395E8C9F726E79F1A5F8B1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_D8D2B3D26CD25336AA0BC48389C98EA9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_16ABAAD9DBCF58D5855AAB570B4B4F76" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_D8D2B3D26CD25336AA0BC48389C98EA9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="loc_us-gaap_RealEstateLoanMember_565940E384A65549A823475018B991E0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_D8D2B3D26CD25336AA0BC48389C98EA9" xlink:to="loc_us-gaap_RealEstateLoanMember_565940E384A65549A823475018B991E0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_F5542FF0AE305F129C7A20434300AC1F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_D8D2B3D26CD25336AA0BC48389C98EA9" xlink:to="loc_us-gaap_ConstructionLoansMember_F5542FF0AE305F129C7A20434300AC1F" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_OtherLoansMember" xlink:label="loc_fnlc_OtherLoansMember_6876D9518F6B53FA9D44BA8E9F9AE67B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_D8D2B3D26CD25336AA0BC48389C98EA9" xlink:to="loc_fnlc_OtherLoansMember_6876D9518F6B53FA9D44BA8E9F9AE67B" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_MunicipalPortfolioMember" xlink:label="loc_fnlc_MunicipalPortfolioMember_C30DCE7C99725300B5CB670EA1F520C1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_D8D2B3D26CD25336AA0BC48389C98EA9" xlink:to="loc_fnlc_MunicipalPortfolioMember_C30DCE7C99725300B5CB670EA1F520C1" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_CommercialAndMunicipalRiskRatedLoansReceivable" xlink:label="loc_fnlc_CommercialAndMunicipalRiskRatedLoansReceivable_FE8DA3378CA45AB3AF784722486D6894" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_EBA1C8AAB4005822B9074D125A6B09EE" xlink:to="loc_fnlc_CommercialAndMunicipalRiskRatedLoansReceivable_FE8DA3378CA45AB3AF784722486D6894" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.thefirst.com/role/AllowanceForLoanLossesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/BasisOfPresentation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/BasisOfPresentationPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/CertificatesOfDeposit" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/CertificatesOfDepositDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/CertificatesOfDepositTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/ConsolidatedBalanceSheetsUnaudited" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/ConsolidatedBalanceSheetsUnauditedParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/ConsolidatedStatementsOfCashFlowsUnaudited" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/ConsolidatedStatementsOfChangesInShareholdersEquityUnaudited" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_AF8C0EE31E1BBE1AA5A312726DA6ED87" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_5E57CC8193531CA16B1212726DA66E08" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_AF8C0EE31E1BBE1AA5A312726DA6ED87" xlink:to="loc_us-gaap_StatementTable_5E57CC8193531CA16B1212726DA66E08" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_B06A2F17ECA61488D5E812726DA679A8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_5E57CC8193531CA16B1212726DA66E08" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_B06A2F17ECA61488D5E812726DA679A8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_999359EDEE02002E78AA12726DA62013_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_B06A2F17ECA61488D5E812726DA679A8" xlink:to="loc_us-gaap_EquityComponentDomain_999359EDEE02002E78AA12726DA62013_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_999359EDEE02002E78AA12726DA62013" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_B06A2F17ECA61488D5E812726DA679A8" xlink:to="loc_us-gaap_EquityComponentDomain_999359EDEE02002E78AA12726DA62013" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember_DC943DDC9184FEC94B2712726DA6768E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_999359EDEE02002E78AA12726DA62013" xlink:to="loc_us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember_DC943DDC9184FEC94B2712726DA6768E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_E13809B181A53FAE019312726DA6D553" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_999359EDEE02002E78AA12726DA62013" xlink:to="loc_us-gaap_RetainedEarningsMember_E13809B181A53FAE019312726DA6D553" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_0AC4AA50F2396B7049A312726DA698D4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_999359EDEE02002E78AA12726DA62013" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_0AC4AA50F2396B7049A312726DA698D4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_EECF39DB6E5BFA6EFBA512726DA64486" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_AF8C0EE31E1BBE1AA5A312726DA6ED87" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_EECF39DB6E5BFA6EFBA512726DA64486" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_82024BD5291E0F47BE9512726DA7124A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_EECF39DB6E5BFA6EFBA512726DA64486" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_82024BD5291E0F47BE9512726DA7124A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_4A3692339ED7D1F85D5612726DA767B5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_EECF39DB6E5BFA6EFBA512726DA64486" xlink:to="loc_us-gaap_StockholdersEquity_4A3692339ED7D1F85D5612726DA767B5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_69040E0D2113DE4F626212726DA75C11" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_EECF39DB6E5BFA6EFBA512726DA64486" xlink:to="loc_us-gaap_NetIncomeLoss_69040E0D2113DE4F626212726DA75C11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_BDBCC84F86A090C2526212726DA73FCD" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_EECF39DB6E5BFA6EFBA512726DA64486" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_BDBCC84F86A090C2526212726DA73FCD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesNetOfTax_E6C8BD646B89B7C4EDB512726DA7D12F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_EECF39DB6E5BFA6EFBA512726DA64486" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesNetOfTax_E6C8BD646B89B7C4EDB512726DA7D12F" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_AvailableforsaleSecuritiesTransferredtoHeldtomaturitySecuritiesUnrealizedGainLoss" xlink:label="loc_fnlc_AvailableforsaleSecuritiesTransferredtoHeldtomaturitySecuritiesUnrealizedGainLoss_486389A50859D21D9E8A12726DA72A96" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_EECF39DB6E5BFA6EFBA512726DA64486" xlink:to="loc_fnlc_AvailableforsaleSecuritiesTransferredtoHeldtomaturitySecuritiesUnrealizedGainLoss_486389A50859D21D9E8A12726DA72A96" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_D42AF871E3E1049DFB0112726DA756D3" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_EECF39DB6E5BFA6EFBA512726DA64486" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTax_D42AF871E3E1049DFB0112726DA756D3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DividendsCommonStockCash" xlink:label="loc_us-gaap_DividendsCommonStockCash_840BDEF224B31825D38D12726DA70E24" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_EECF39DB6E5BFA6EFBA512726DA64486" xlink:to="loc_us-gaap_DividendsCommonStockCash_840BDEF224B31825D38D12726DA70E24" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_CE125FFD25E0A07116D112726DA7314E" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_EECF39DB6E5BFA6EFBA512726DA64486" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_CE125FFD25E0A07116D112726DA7314E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockRepurchasedDuringPeriodShares" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodShares_684C3A409E7FFAEE5B9712726DA749A1" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_EECF39DB6E5BFA6EFBA512726DA64486" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodShares_684C3A409E7FFAEE5B9712726DA749A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockRepurchasedDuringPeriodValue" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodValue_469B52DF3CCE8D86F3E012726DA78E05" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_EECF39DB6E5BFA6EFBA512726DA64486" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodValue_469B52DF3CCE8D86F3E012726DA78E05" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_3CA1C01CE93A3BB3274012726DA7678C" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_EECF39DB6E5BFA6EFBA512726DA64486" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_3CA1C01CE93A3BB3274012726DA7678C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_E0FAF603351DBC6D1C0812726DA782E2" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_EECF39DB6E5BFA6EFBA512726DA64486" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_E0FAF603351DBC6D1C0812726DA782E2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_2947E6FFFCDEFA045AFF12726DA7F50D" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_EECF39DB6E5BFA6EFBA512726DA64486" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_2947E6FFFCDEFA045AFF12726DA7F50D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_B3D5F204CA01C3701AE912726DA77D0B" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_EECF39DB6E5BFA6EFBA512726DA64486" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_B3D5F204CA01C3701AE912726DA77D0B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.thefirst.com/role/ConsolidatedStatementsOfChangesInShareholdersEquityUnauditedParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/ConsolidatedStatementsOfIncomeAndComprehensiveIncomeUnaudited" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/ConsolidatedStatementsOfIncomeAndComprehensiveIncomeUnauditedParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/EarningsPerShare" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/EarningsPerShareScheduleOfBasicAndDilutedEarningsPerShareDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/EarningsPerShareScheduleOfOptionsAndWarrantsOutstandingDetails" xlink:type="extended">
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_ScheduleOfOutstandingOptionsAndWarrantsLineItems" xlink:label="loc_fnlc_ScheduleOfOutstandingOptionsAndWarrantsLineItems_79F6E2F70C3A5A9084AE5255908E14DF" xlink:type="locator" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_ScheduleOfOutstandingOptionsAndWarrantsTable" xlink:label="loc_fnlc_ScheduleOfOutstandingOptionsAndWarrantsTable_AA4F68EAC7955DE0A1A21EB2E10267F2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_fnlc_ScheduleOfOutstandingOptionsAndWarrantsLineItems_79F6E2F70C3A5A9084AE5255908E14DF" xlink:to="loc_fnlc_ScheduleOfOutstandingOptionsAndWarrantsTable_AA4F68EAC7955DE0A1A21EB2E10267F2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_PriceLevelOfOptionsAndWarrantsAxis" xlink:label="loc_fnlc_PriceLevelOfOptionsAndWarrantsAxis_CC147BC486DF562B8A938597959EF05A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_fnlc_ScheduleOfOutstandingOptionsAndWarrantsTable_AA4F68EAC7955DE0A1A21EB2E10267F2" xlink:to="loc_fnlc_PriceLevelOfOptionsAndWarrantsAxis_CC147BC486DF562B8A938597959EF05A" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_PriceLevelOfOptionsAndWarrantsDomain" xlink:label="loc_fnlc_PriceLevelOfOptionsAndWarrantsDomain_8A69203A5CFD0725AB0C855B5E644EFE_09EF7B1A4C395E8C9F726E79F1A5F8B1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_fnlc_PriceLevelOfOptionsAndWarrantsAxis_CC147BC486DF562B8A938597959EF05A" xlink:to="loc_fnlc_PriceLevelOfOptionsAndWarrantsDomain_8A69203A5CFD0725AB0C855B5E644EFE_09EF7B1A4C395E8C9F726E79F1A5F8B1" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_PriceLevelOfOptionsAndWarrantsDomain" xlink:label="loc_fnlc_PriceLevelOfOptionsAndWarrantsDomain_E45AED7D3E045B699A39C578548F4AC9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_fnlc_PriceLevelOfOptionsAndWarrantsAxis_CC147BC486DF562B8A938597959EF05A" xlink:to="loc_fnlc_PriceLevelOfOptionsAndWarrantsDomain_E45AED7D3E045B699A39C578548F4AC9" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_InMoneyMember" xlink:label="loc_fnlc_InMoneyMember_F3B2E63CC7625ABD96E4F3EDBA2EDFEF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_PriceLevelOfOptionsAndWarrantsDomain_E45AED7D3E045B699A39C578548F4AC9" xlink:to="loc_fnlc_InMoneyMember_F3B2E63CC7625ABD96E4F3EDBA2EDFEF" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_OutOfMoneyMember" xlink:label="loc_fnlc_OutOfMoneyMember_0FEFE67557F35AE4B40247D675B4FF1E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_PriceLevelOfOptionsAndWarrantsDomain_E45AED7D3E045B699A39C578548F4AC9" xlink:to="loc_fnlc_OutOfMoneyMember_0FEFE67557F35AE4B40247D675B4FF1E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights" xlink:label="loc_us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights_58D758E54EC35438B733BB76CC693D82" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_ScheduleOfOutstandingOptionsAndWarrantsLineItems_79F6E2F70C3A5A9084AE5255908E14DF" xlink:to="loc_us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights_58D758E54EC35438B733BB76CC693D82" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_TotalDilutiveSecurities" xlink:label="loc_fnlc_TotalDilutiveSecurities_9BAB771D2FE45CE1A4107667291E5A15" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_ScheduleOfOutstandingOptionsAndWarrantsLineItems_79F6E2F70C3A5A9084AE5255908E14DF" xlink:to="loc_fnlc_TotalDilutiveSecurities_9BAB771D2FE45CE1A4107667291E5A15" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.thefirst.com/role/EarningsPerShareTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/EmployeeBenefitPlans" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/EmployeeBenefitPlansAccumulatedPostRetirementBenefitObligationFundedStatusAndNetPeriodicBenefitCostDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/EmployeeBenefitPlansNarrativeDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/EmployeeBenefitPlansScheduleOfNetPeriodicBenefitCostNotYetRecognizedDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/EmployeeBenefitPlansTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/FairValue" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/FairValueAdditionalInformationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/FairValueAssetsAndLiabilitiesAtFairValueDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_40630E127AB48FBEBA370163F544C0C2" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_08752CAD504468E4135F0163F53D8A07" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_40630E127AB48FBEBA370163F544C0C2" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_08752CAD504468E4135F0163F53D8A07" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_5838940A380E6680F9410163F53D9795" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_08752CAD504468E4135F0163F53D8A07" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_5838940A380E6680F9410163F53D9795" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_327293E62702A8D961CC0163F53D971B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_5838940A380E6680F9410163F53D9795" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_327293E62702A8D961CC0163F53D971B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_4D43215EF90F540D1A380163F53DD57D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_5838940A380E6680F9410163F53D9795" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_4D43215EF90F540D1A380163F53DD57D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_327293E62702A8D961CC0163F53D971B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_4D43215EF90F540D1A380163F53DD57D" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_327293E62702A8D961CC0163F53D971B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember" xlink:label="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_6F68211476FC5F0E463A0163F53D4984" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_4D43215EF90F540D1A380163F53DD57D" xlink:to="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_6F68211476FC5F0E463A0163F53D4984" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_84DECCE8317D9BB9860F0163F53D7F74" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_4D43215EF90F540D1A380163F53DD57D" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_84DECCE8317D9BB9860F0163F53D7F74" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_1E10D2F7BF7EB7258AD30163F53D0F14" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_08752CAD504468E4135F0163F53D8A07" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_1E10D2F7BF7EB7258AD30163F53D0F14" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6AC40DC3B290A23644240163F53DB503_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_1E10D2F7BF7EB7258AD30163F53D0F14" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6AC40DC3B290A23644240163F53DB503_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6AC40DC3B290A23644240163F53DB503" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_1E10D2F7BF7EB7258AD30163F53D0F14" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6AC40DC3B290A23644240163F53DB503" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_77C68F93B58893468DCA0163F53D06D7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6AC40DC3B290A23644240163F53DB503" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_77C68F93B58893468DCA0163F53D06D7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_E19B16FF21319DE127320163F53DB8FC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6AC40DC3B290A23644240163F53DB503" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_E19B16FF21319DE127320163F53DB8FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_2F110F9C03BAEF842D2F0163F53E5130" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6AC40DC3B290A23644240163F53DB503" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_2F110F9C03BAEF842D2F0163F53E5130" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_1FE666687E9C403FDBFA0163F53E2976" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_08752CAD504468E4135F0163F53D8A07" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_1FE666687E9C403FDBFA0163F53E2976" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_A2147744888B6367F4F80163F53E0A39_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_1FE666687E9C403FDBFA0163F53E2976" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_A2147744888B6367F4F80163F53E0A39_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_A2147744888B6367F4F80163F53E0A39" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_1FE666687E9C403FDBFA0163F53E2976" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_A2147744888B6367F4F80163F53E0A39" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_E5D540B76ED61C7035EE0163F53EE050" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_A2147744888B6367F4F80163F53E0A39" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_E5D540B76ED61C7035EE0163F53EE050" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_MunicipalPortfolioMember" xlink:label="loc_fnlc_MunicipalPortfolioMember_7BAB59571509B2BFA0B00163F53E146A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_A2147744888B6367F4F80163F53E0A39" xlink:to="loc_fnlc_MunicipalPortfolioMember_7BAB59571509B2BFA0B00163F53E146A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_4B3D4BECE4F5634D86080163F53E1A50" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_A2147744888B6367F4F80163F53E0A39" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_4B3D4BECE4F5634D86080163F53E1A50" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_HomeEquityLIneofCreditPortfolioMember" xlink:label="loc_fnlc_HomeEquityLIneofCreditPortfolioMember_E48119A2EE148B9816AE0163F53E9B7B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_A2147744888B6367F4F80163F53E0A39" xlink:to="loc_fnlc_HomeEquityLIneofCreditPortfolioMember_E48119A2EE148B9816AE0163F53E9B7B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_9798304267949E6AB2550163F53EC1CA" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_A2147744888B6367F4F80163F53E0A39" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_9798304267949E6AB2550163F53EC1CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_F13A17C909F77F9E7C170163F53EE7DF" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_08752CAD504468E4135F0163F53D8A07" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_F13A17C909F77F9E7C170163F53EE7DF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_DEE4F854AB9DAB12C1CB0163F53E4A38_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_F13A17C909F77F9E7C170163F53EE7DF" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_DEE4F854AB9DAB12C1CB0163F53E4A38_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_DEE4F854AB9DAB12C1CB0163F53E4A38" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_F13A17C909F77F9E7C170163F53EE7DF" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_DEE4F854AB9DAB12C1CB0163F53E4A38" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="loc_us-gaap_RealEstateLoanMember_AA3AE0873CB3B9C08BF60163F543F56E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_DEE4F854AB9DAB12C1CB0163F53E4A38" xlink:to="loc_us-gaap_RealEstateLoanMember_AA3AE0873CB3B9C08BF60163F543F56E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_0AB960A9D297476A70400163F543677A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_DEE4F854AB9DAB12C1CB0163F53E4A38" xlink:to="loc_us-gaap_ConstructionLoansMember_0AB960A9D297476A70400163F543677A" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_OtherLoansMember" xlink:label="loc_fnlc_OtherLoansMember_954D800BC41F11B1AF5C0163F5446C79" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_DEE4F854AB9DAB12C1CB0163F53E4A38" xlink:to="loc_fnlc_OtherLoansMember_954D800BC41F11B1AF5C0163F5446C79" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_TermLoanMember" xlink:label="loc_fnlc_TermLoanMember_CE1E44742F206EE5602F0163F544CA4F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_DEE4F854AB9DAB12C1CB0163F53E4A38" xlink:to="loc_fnlc_TermLoanMember_CE1E44742F206EE5602F0163F544CA4F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_D22F7D4CD669AC6CED140163F544EA5D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_40630E127AB48FBEBA370163F544C0C2" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_D22F7D4CD669AC6CED140163F544EA5D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_FFE512916CAC8D68B4E60163F544345E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_40630E127AB48FBEBA370163F544C0C2" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_FFE512916CAC8D68B4E60163F544345E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestBearingDepositsInBanks" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_84E7215282D7C65D43480163F5446747" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_40630E127AB48FBEBA370163F544C0C2" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_84E7215282D7C65D43480163F5446747" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_7B6A8538906C4A552EBF0163F544693B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_40630E127AB48FBEBA370163F544C0C2" xlink:to="loc_us-gaap_AvailableForSaleSecurities_7B6A8538906C4A552EBF0163F544693B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HeldToMaturitySecurities" xlink:label="loc_us-gaap_HeldToMaturitySecurities_CEC341A70138F9A2A26E0163F5442EDC" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_40630E127AB48FBEBA370163F544C0C2" xlink:to="loc_us-gaap_HeldToMaturitySecurities_CEC341A70138F9A2A26E0163F5442EDC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HeldToMaturitySecuritiesFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_9F48F356F57323BD86B50163F5446588" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_40630E127AB48FBEBA370163F544C0C2" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_9F48F356F57323BD86B50163F5446588" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_RestrictedEquitySecuritiesAtCost" xlink:label="loc_fnlc_RestrictedEquitySecuritiesAtCost_DA36CE0DA04A3156F8410163F544F8D3" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_40630E127AB48FBEBA370163F544C0C2" xlink:to="loc_fnlc_RestrictedEquitySecuritiesAtCost_DA36CE0DA04A3156F8410163F544F8D3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_449572BE7DEB9FC916C60163F5446296" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_40630E127AB48FBEBA370163F544C0C2" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_449572BE7DEB9FC916C60163F5446296" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LoansHeldForSaleFairValueDisclosure" xlink:label="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_356367E7CC5F6CF11EF60163F544FA40" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_40630E127AB48FBEBA370163F544C0C2" xlink:to="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_356367E7CC5F6CF11EF60163F544FA40" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LoansReceivableFairValueDisclosure" xlink:label="loc_us-gaap_LoansReceivableFairValueDisclosure_2F0D7B1FC5DE2B05DF6D0163F5458334" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_40630E127AB48FBEBA370163F544C0C2" xlink:to="loc_us-gaap_LoansReceivableFairValueDisclosure_2F0D7B1FC5DE2B05DF6D0163F5458334" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ServicingAssetAtAmortizedValue" xlink:label="loc_us-gaap_ServicingAssetAtAmortizedValue_FD89996044DDFE8398DF0163F5457B70" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_40630E127AB48FBEBA370163F544C0C2" xlink:to="loc_us-gaap_ServicingAssetAtAmortizedValue_FD89996044DDFE8398DF0163F5457B70" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ServicingAssetAtFairValueAmount" xlink:label="loc_us-gaap_ServicingAssetAtFairValueAmount_74A24B277775FD9B3D050163F5459836" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_40630E127AB48FBEBA370163F544C0C2" xlink:to="loc_us-gaap_ServicingAssetAtFairValueAmount_74A24B277775FD9B3D050163F5459836" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_18272420D89EC915D1BE0163F54580AE" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_40630E127AB48FBEBA370163F544C0C2" xlink:to="loc_us-gaap_DerivativeAssets_18272420D89EC915D1BE0163F54580AE" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_AccruedInterestReceivableFairValueDisclosure" xlink:label="loc_fnlc_AccruedInterestReceivableFairValueDisclosure_3149DA08BB949B6FA4090163F5459CEA" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_40630E127AB48FBEBA370163F544C0C2" xlink:to="loc_fnlc_AccruedInterestReceivableFairValueDisclosure_3149DA08BB949B6FA4090163F5459CEA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DemandDepositAccounts" xlink:label="loc_us-gaap_DemandDepositAccounts_7550F8E5491C7B7746930163F54587E9" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_40630E127AB48FBEBA370163F544C0C2" xlink:to="loc_us-gaap_DemandDepositAccounts_7550F8E5491C7B7746930163F54587E9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DepositsNegotiableOrderOfWithdrawalNOW" xlink:label="loc_us-gaap_DepositsNegotiableOrderOfWithdrawalNOW_390F1D5FE16D6ACBCCA60163F5453FE8" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_40630E127AB48FBEBA370163F544C0C2" xlink:to="loc_us-gaap_DepositsNegotiableOrderOfWithdrawalNOW_390F1D5FE16D6ACBCCA60163F5453FE8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DepositsMoneyMarketDeposits" xlink:label="loc_us-gaap_DepositsMoneyMarketDeposits_F1F5551073A3A9A4EC740163F545F77B" xlink:type="locator" />
    <link:definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_40630E127AB48FBEBA370163F544C0C2" xlink:to="loc_us-gaap_DepositsMoneyMarketDeposits_F1F5551073A3A9A4EC740163F545F77B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DepositsSavingsDeposits" xlink:label="loc_us-gaap_DepositsSavingsDeposits_01C4111535552768C6A20163F5457B5D" xlink:type="locator" />
    <link:definitionArc order="18" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_40630E127AB48FBEBA370163F544C0C2" xlink:to="loc_us-gaap_DepositsSavingsDeposits_01C4111535552768C6A20163F5457B5D" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_LocalCertificatesofDeposit" xlink:label="loc_fnlc_LocalCertificatesofDeposit_28686F891A4963579AE90163F54551FA" xlink:type="locator" />
    <link:definitionArc order="19" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_40630E127AB48FBEBA370163F544C0C2" xlink:to="loc_fnlc_LocalCertificatesofDeposit_28686F891A4963579AE90163F54551FA" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_NationalCertificatesOfDeposit" xlink:label="loc_fnlc_NationalCertificatesOfDeposit_30DAFC233845B2282EC00163F545CD23" xlink:type="locator" />
    <link:definitionArc order="20" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_40630E127AB48FBEBA370163F544C0C2" xlink:to="loc_fnlc_NationalCertificatesOfDeposit_30DAFC233845B2282EC00163F545CD23" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Deposits" xlink:label="loc_us-gaap_Deposits_DBBCDC104D3BA8CC0F0A0163F545B4EF" xlink:type="locator" />
    <link:definitionArc order="21" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_40630E127AB48FBEBA370163F544C0C2" xlink:to="loc_us-gaap_Deposits_DBBCDC104D3BA8CC0F0A0163F545B4EF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsSoldUnderAgreementsToRepurchaseRepurchaseLiability" xlink:label="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseRepurchaseLiability_06A787B83F0EA68CB3B00163F546E0E8" xlink:type="locator" />
    <link:definitionArc order="22" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_40630E127AB48FBEBA370163F544C0C2" xlink:to="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseRepurchaseLiability_06A787B83F0EA68CB3B00163F546E0E8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FederalHomeLoanBankAdvancesLongTerm" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesLongTerm_01935D81113134C5AB170163F5466381" xlink:type="locator" />
    <link:definitionArc order="23" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_40630E127AB48FBEBA370163F544C0C2" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesLongTerm_01935D81113134C5AB170163F5466381" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtAndCapitalLeaseObligations" xlink:label="loc_us-gaap_DebtAndCapitalLeaseObligations_05E137709636E51D31DE0163F5463A63" xlink:type="locator" />
    <link:definitionArc order="24" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_40630E127AB48FBEBA370163F544C0C2" xlink:to="loc_us-gaap_DebtAndCapitalLeaseObligations_05E137709636E51D31DE0163F5463A63" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccruedLiabilitiesFairValueDisclosure" xlink:label="loc_us-gaap_AccruedLiabilitiesFairValueDisclosure_DD870A52529D5E0D99390163F5460D5D" xlink:type="locator" />
    <link:definitionArc order="25" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_40630E127AB48FBEBA370163F544C0C2" xlink:to="loc_us-gaap_AccruedLiabilitiesFairValueDisclosure_DD870A52529D5E0D99390163F5460D5D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.thefirst.com/role/FairValueAssetsRecordedAtFairValueOnNonRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_9AC564249A55F026D7C6970F61E45379" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_A03A7910341248121654970F61E3D01D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_9AC564249A55F026D7C6970F61E45379" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_A03A7910341248121654970F61E3D01D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_AEEB65A4E2848464EEBE970F61E304C2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_A03A7910341248121654970F61E3D01D" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_AEEB65A4E2848464EEBE970F61E304C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_DFAC673C699541652DB2970F61E3E1FD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_AEEB65A4E2848464EEBE970F61E304C2" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_DFAC673C699541652DB2970F61E3E1FD_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_DFAC673C699541652DB2970F61E3E1FD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_AEEB65A4E2848464EEBE970F61E304C2" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_DFAC673C699541652DB2970F61E3E1FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsNonrecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsNonrecurringMember_E708FD56B33801CB29C9970F61E3B464" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_DFAC673C699541652DB2970F61E3E1FD" xlink:to="loc_us-gaap_FairValueMeasurementsNonrecurringMember_E708FD56B33801CB29C9970F61E3B464" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_E4960B29651A798929EC970F61E3550A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_A03A7910341248121654970F61E3D01D" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_E4960B29651A798929EC970F61E3550A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_F3AAEB97D2D888192345970F61E347EE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_E4960B29651A798929EC970F61E3550A" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_F3AAEB97D2D888192345970F61E347EE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_EE7F81B000E70FC8FC74970F61E333A7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_E4960B29651A798929EC970F61E3550A" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_EE7F81B000E70FC8FC74970F61E333A7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_F3AAEB97D2D888192345970F61E347EE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_EE7F81B000E70FC8FC74970F61E333A7" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_F3AAEB97D2D888192345970F61E347EE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_115468F2CBD7D80F7A1E970F61E4CCCE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_EE7F81B000E70FC8FC74970F61E333A7" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_115468F2CBD7D80F7A1E970F61E4CCCE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_1BD453B95201DAF4AEA3970F61E49B8D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_A03A7910341248121654970F61E3D01D" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_1BD453B95201DAF4AEA3970F61E49B8D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_81F61A71975F9332D23C970F61E4B09C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_1BD453B95201DAF4AEA3970F61E49B8D" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_81F61A71975F9332D23C970F61E4B09C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_81F61A71975F9332D23C970F61E4B09C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_1BD453B95201DAF4AEA3970F61E49B8D" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_81F61A71975F9332D23C970F61E4B09C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_0210E7DAB8F217A81541970F61E4B9F4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_81F61A71975F9332D23C970F61E4B09C" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_0210E7DAB8F217A81541970F61E4B9F4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_8910731357C6354BE38D970F61E4B948" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_81F61A71975F9332D23C970F61E4B09C" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_8910731357C6354BE38D970F61E4B948" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_A110977C4D5E0E03BEB3970F61E439D2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_81F61A71975F9332D23C970F61E4B09C" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_A110977C4D5E0E03BEB3970F61E439D2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherRealEstateAndForeclosedAssets" xlink:label="loc_us-gaap_OtherRealEstateAndForeclosedAssets_157FF66A78AE0101827C970F61E43BF8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_9AC564249A55F026D7C6970F61E45379" xlink:to="loc_us-gaap_OtherRealEstateAndForeclosedAssets_157FF66A78AE0101827C970F61E43BF8" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_ImpairedLoansFairValueDisclosure" xlink:label="loc_fnlc_ImpairedLoansFairValueDisclosure_9CFF978D1152CAECC279970F61E485C5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_9AC564249A55F026D7C6970F61E45379" xlink:to="loc_fnlc_ImpairedLoansFairValueDisclosure_9CFF978D1152CAECC279970F61E485C5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsFairValueDisclosure" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_83ED54C412B9DD2D3DE8970F61E473D9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_9AC564249A55F026D7C6970F61E45379" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_83ED54C412B9DD2D3DE8970F61E473D9" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.thefirst.com/role/FairValueAssetsRecordedAtFairValueOnRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_9074EE988B729F0B5043970F61EA88CA" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_B940CFA1A87CAE28A086970F61E92E42" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_9074EE988B729F0B5043970F61EA88CA" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_B940CFA1A87CAE28A086970F61E92E42" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_D6BA86E882CD8CBB4C89970F61E9AD1A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_B940CFA1A87CAE28A086970F61E92E42" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_D6BA86E882CD8CBB4C89970F61E9AD1A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_E5E1BB724327A98C1BA3970F61E9433C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_D6BA86E882CD8CBB4C89970F61E9AD1A" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_E5E1BB724327A98C1BA3970F61E9433C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_E5E1BB724327A98C1BA3970F61E9433C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_D6BA86E882CD8CBB4C89970F61E9AD1A" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_E5E1BB724327A98C1BA3970F61E9433C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_E3CCAF0217520AF60258970F61E98EA4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_E5E1BB724327A98C1BA3970F61E9433C" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_E3CCAF0217520AF60258970F61E98EA4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_EF079D38B415B80858EC970F61E9DF97" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_B940CFA1A87CAE28A086970F61E92E42" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_EF079D38B415B80858EC970F61E9DF97" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_2FC7084738B047218991970F61E9A889_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_EF079D38B415B80858EC970F61E9DF97" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_2FC7084738B047218991970F61E9A889_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_618C108DA97A939239D8970F61E9C585" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_EF079D38B415B80858EC970F61E9DF97" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_618C108DA97A939239D8970F61E9C585" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_2FC7084738B047218991970F61E9A889" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_618C108DA97A939239D8970F61E9C585" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_2FC7084738B047218991970F61E9A889" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_230E9F91042ACA0BA6C2970F61EAC9FB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_618C108DA97A939239D8970F61E9C585" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_230E9F91042ACA0BA6C2970F61EAC9FB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_36D65E4001A66FA2C2E3970F61EA87A3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_B940CFA1A87CAE28A086970F61E92E42" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_36D65E4001A66FA2C2E3970F61EA87A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B6FA138E7DC1FF123838970F61EAC5FD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_36D65E4001A66FA2C2E3970F61EA87A3" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B6FA138E7DC1FF123838970F61EAC5FD_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B6FA138E7DC1FF123838970F61EAC5FD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_36D65E4001A66FA2C2E3970F61EA87A3" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B6FA138E7DC1FF123838970F61EAC5FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_ACFC773723B3C06C17FB970F61EA9EAC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B6FA138E7DC1FF123838970F61EAC5FD" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_ACFC773723B3C06C17FB970F61EA9EAC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_6DE8E93B02F686A06523970F61EA5679" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B6FA138E7DC1FF123838970F61EAC5FD" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_6DE8E93B02F686A06523970F61EA5679" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_7FB30FF8AC17E6BCFD8F970F61EA1891" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B6FA138E7DC1FF123838970F61EAC5FD" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_7FB30FF8AC17E6BCFD8F970F61EA1891" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_A99255B4B915B3B2AEF3970F61EAFDBA" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_B940CFA1A87CAE28A086970F61E92E42" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_A99255B4B915B3B2AEF3970F61EAFDBA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A9A53C5C7692ED4F604A970F61EAC430_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_A99255B4B915B3B2AEF3970F61EAFDBA" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A9A53C5C7692ED4F604A970F61EAC430_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A9A53C5C7692ED4F604A970F61EAC430" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_A99255B4B915B3B2AEF3970F61EAFDBA" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A9A53C5C7692ED4F604A970F61EAC430" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_USTreasuryAndGovernmentMember" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_A11E9C0F22B2EE93E166970F61EAE188" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A9A53C5C7692ED4F604A970F61EAC430" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_A11E9C0F22B2EE93E166970F61EAE188" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_MortgageBackedSecuritiesMember_4B58DDEDE5813C75AF8E970F61EA5EE0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A9A53C5C7692ED4F604A970F61EAC430" xlink:to="loc_us-gaap_MortgageBackedSecuritiesMember_4B58DDEDE5813C75AF8E970F61EA5EE0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember" xlink:label="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_686574E4EBEF13A1A33C970F61EA22F8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A9A53C5C7692ED4F604A970F61EAC430" xlink:to="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_686574E4EBEF13A1A33C970F61EA22F8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquitySecuritiesMember" xlink:label="loc_us-gaap_EquitySecuritiesMember_DF628C04A124FE15FF8A970F61EA3B99" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A9A53C5C7692ED4F604A970F61EAC430" xlink:to="loc_us-gaap_EquitySecuritiesMember_DF628C04A124FE15FF8A970F61EA3B99" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_70BC76524D10B113BB5E970F61EA090A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_B940CFA1A87CAE28A086970F61E92E42" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_70BC76524D10B113BB5E970F61EA090A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_B5002833A0984B041D81970F61EA8DAA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_70BC76524D10B113BB5E970F61EA090A" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_B5002833A0984B041D81970F61EA8DAA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_B5002833A0984B041D81970F61EA8DAA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_70BC76524D10B113BB5E970F61EA090A" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_B5002833A0984B041D81970F61EA8DAA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_A790E00C457205C8516B970F61EA6588" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_B5002833A0984B041D81970F61EA8DAA" xlink:to="loc_us-gaap_InterestRateSwapMember_A790E00C457205C8516B970F61EA6588" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_AE620B434C45F6D50ACF970F61EA9BF0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_9074EE988B729F0B5043970F61EA88CA" xlink:to="loc_us-gaap_AvailableForSaleSecurities_AE620B434C45F6D50ACF970F61EA9BF0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_3E20C0ACD00C8489CABD970F61EA8992" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_9074EE988B729F0B5043970F61EA88CA" xlink:to="loc_us-gaap_DerivativeAssets_3E20C0ACD00C8489CABD970F61EA8992" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsFairValueDisclosure" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_37A0A5EE731C060C619B970F61EA421C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_9074EE988B729F0B5043970F61EA88CA" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_37A0A5EE731C060C619B970F61EA421C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.thefirst.com/role/FairValueTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/FinancialDerivativeInstruments" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/FinancialDerivativeInstrumentsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeLineItems" xlink:label="loc_us-gaap_DerivativeLineItems_B8B3617A808FD15BC8EB0163F5BEB2C7" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeTable" xlink:label="loc_us-gaap_DerivativeTable_FB72BBDB421B798A30C60163F5BDB690" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_B8B3617A808FD15BC8EB0163F5BEB2C7" xlink:to="loc_us-gaap_DerivativeTable_FB72BBDB421B798A30C60163F5BDB690" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_1014C132DBED081CC1BB0163F5BD4F5D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_FB72BBDB421B798A30C60163F5BDB690" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_1014C132DBED081CC1BB0163F5BD4F5D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain_6031186900D7F8FF958B0163F5BDDA05_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_1014C132DBED081CC1BB0163F5BD4F5D" xlink:to="loc_us-gaap_HedgingRelationshipDomain_6031186900D7F8FF958B0163F5BDDA05_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain_6031186900D7F8FF958B0163F5BDDA05" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_1014C132DBED081CC1BB0163F5BD4F5D" xlink:to="loc_us-gaap_HedgingRelationshipDomain_6031186900D7F8FF958B0163F5BDDA05" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashFlowHedgingMember" xlink:label="loc_us-gaap_CashFlowHedgingMember_7B90630A069B352D26300163F5BEFB1F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_6031186900D7F8FF958B0163F5BDDA05" xlink:to="loc_us-gaap_CashFlowHedgingMember_7B90630A069B352D26300163F5BEFB1F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HedgingDesignationAxis" xlink:label="loc_us-gaap_HedgingDesignationAxis_E594F2BC095F7250604A0163F5BE2425" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_FB72BBDB421B798A30C60163F5BDB690" xlink:to="loc_us-gaap_HedgingDesignationAxis_E594F2BC095F7250604A0163F5BE2425" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_CEC4A79403AA581C5BCB0163F5BE42D4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_E594F2BC095F7250604A0163F5BE2425" xlink:to="loc_us-gaap_HedgingDesignationDomain_CEC4A79403AA581C5BCB0163F5BE42D4_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_CEC4A79403AA581C5BCB0163F5BE42D4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_E594F2BC095F7250604A0163F5BE2425" xlink:to="loc_us-gaap_HedgingDesignationDomain_CEC4A79403AA581C5BCB0163F5BE42D4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DesignatedAsHedgingInstrumentMember" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_11E585F3549C5E2659430163F5BEAC21" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_CEC4A79403AA581C5BCB0163F5BE42D4" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_11E585F3549C5E2659430163F5BEAC21" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_64F889CFCA89EB5C2BB10163F5BED463" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_FB72BBDB421B798A30C60163F5BDB690" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_64F889CFCA89EB5C2BB10163F5BED463" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_59ACC2109F8D8CBFE22F0163F5BE0017_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_64F889CFCA89EB5C2BB10163F5BED463" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_59ACC2109F8D8CBFE22F0163F5BE0017_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_59ACC2109F8D8CBFE22F0163F5BE0017" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_64F889CFCA89EB5C2BB10163F5BED463" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_59ACC2109F8D8CBFE22F0163F5BE0017" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_InterestRateSwapJune282016Member" xlink:label="loc_fnlc_InterestRateSwapJune282016Member_E36F8F1349DBF7FD2AA90163F5BE6C5F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_59ACC2109F8D8CBFE22F0163F5BE0017" xlink:to="loc_fnlc_InterestRateSwapJune282016Member_E36F8F1349DBF7FD2AA90163F5BE6C5F" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_InterestRateSwapJune272016Member" xlink:label="loc_fnlc_InterestRateSwapJune272016Member_D35DB87E6FFAEC579EA10163F5BEBE62" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_59ACC2109F8D8CBFE22F0163F5BE0017" xlink:to="loc_fnlc_InterestRateSwapJune272016Member_D35DB87E6FFAEC579EA10163F5BEBE62" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_C762658BAFB85CE13AD60163F5BEECAF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_59ACC2109F8D8CBFE22F0163F5BE0017" xlink:to="loc_us-gaap_InterestRateSwapMember_C762658BAFB85CE13AD60163F5BEECAF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeLiabilityNotionalAmount" xlink:label="loc_us-gaap_DerivativeLiabilityNotionalAmount_989C0E065DBFED2D75320163F5BEA8D1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_B8B3617A808FD15BC8EB0163F5BEB2C7" xlink:to="loc_us-gaap_DerivativeLiabilityNotionalAmount_989C0E065DBFED2D75320163F5BEA8D1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeFixedInterestRate" xlink:label="loc_us-gaap_DerivativeFixedInterestRate_978B5B480FC7B59BC5450163F5BEF3C6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_B8B3617A808FD15BC8EB0163F5BEB2C7" xlink:to="loc_us-gaap_DerivativeFixedInterestRate_978B5B480FC7B59BC5450163F5BEF3C6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeFairValueOfDerivativeNet" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeNet_03D07041094B2AFAEF870163F5BFCF3C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_B8B3617A808FD15BC8EB0163F5BEB2C7" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeNet_03D07041094B2AFAEF870163F5BFCF3C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.thefirst.com/role/FinancialDerivativeInstrumentsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/ImpactOfRecentlyIssuedAccountingStandards" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/IncomeTaxes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/InvestmentSecurities" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/InvestmentSecuritiesAdditionalInformationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/InvestmentSecuritiesAmortizedCostAndEstimatedFairValueOfAvailableForSaleSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_FC13652C9EFAC084A819F36FBC3FAE06" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_BED77D869E5305A1FAFAF36FBC3995EE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_FC13652C9EFAC084A819F36FBC3FAE06" xlink:to="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_BED77D869E5305A1FAFAF36FBC3995EE" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_27A47C4F34B958250F23F36FBC3A71D7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_BED77D869E5305A1FAFAF36FBC3995EE" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_27A47C4F34B958250F23F36FBC3A71D7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_CF31AACA0415A82FEEE9F36FBC3A14FB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_27A47C4F34B958250F23F36FBC3A71D7" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_CF31AACA0415A82FEEE9F36FBC3A14FB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_CF31AACA0415A82FEEE9F36FBC3A14FB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_27A47C4F34B958250F23F36FBC3A71D7" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_CF31AACA0415A82FEEE9F36FBC3A14FB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_USTreasuryAndGovernmentMember" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_185915EB4E11AC90872EF36FBC3ACD85" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_CF31AACA0415A82FEEE9F36FBC3A14FB" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_185915EB4E11AC90872EF36FBC3ACD85" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_MortgageBackedSecuritiesMember_8512B2702F0DD2EF9EDDF36FBC3A450D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_CF31AACA0415A82FEEE9F36FBC3A14FB" xlink:to="loc_us-gaap_MortgageBackedSecuritiesMember_8512B2702F0DD2EF9EDDF36FBC3A450D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember" xlink:label="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_16651673EF0D01546833F36FBC3F1A40" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_CF31AACA0415A82FEEE9F36FBC3A14FB" xlink:to="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_16651673EF0D01546833F36FBC3F1A40" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquitySecuritiesMember" xlink:label="loc_us-gaap_EquitySecuritiesMember_0E6D25B01E9B154CF51FF36FBC3FA9B7" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_CF31AACA0415A82FEEE9F36FBC3A14FB" xlink:to="loc_us-gaap_EquitySecuritiesMember_0E6D25B01E9B154CF51FF36FBC3FA9B7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_11D50DAACA9C4F0A3E8CF36FBC407993" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_FC13652C9EFAC084A819F36FBC3FAE06" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_11D50DAACA9C4F0A3E8CF36FBC407993" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_1E20948D6C3A31D878B5F36FBC40DBFB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_FC13652C9EFAC084A819F36FBC3FAE06" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_1E20948D6C3A31D878B5F36FBC40DBFB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_CBEB9219B83E2E778B17F36FBC4092CC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_FC13652C9EFAC084A819F36FBC3FAE06" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_CBEB9219B83E2E778B17F36FBC4092CC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_DB03B944F498BE9C9030F36FBC40A9EC" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_FC13652C9EFAC084A819F36FBC3FAE06" xlink:to="loc_us-gaap_AvailableForSaleSecurities_DB03B944F498BE9C9030F36FBC40A9EC" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.thefirst.com/role/InvestmentSecuritiesAmortizedCostAndEstimatedFairValueOfHeldToMaturitySecuritiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_050AD5C6CFDA5EEDADC63A44ABBBFEB0" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfHeldToMaturitySecuritiesTable" xlink:label="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesTable_53707B1181E05274AB2D1B2E66CC5DDB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_050AD5C6CFDA5EEDADC63A44ABBBFEB0" xlink:to="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesTable_53707B1181E05274AB2D1B2E66CC5DDB" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtSecurityAxis" xlink:label="loc_us-gaap_DebtSecurityAxis_A5B1FFE8A76759E68C459E5F2D51E673" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesTable_53707B1181E05274AB2D1B2E66CC5DDB" xlink:to="loc_us-gaap_DebtSecurityAxis_A5B1FFE8A76759E68C459E5F2D51E673" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtSecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtSecuritiesDomain_4628EA312A7B51307492855B5F3F78AB_09EF7B1A4C395E8C9F726E79F1A5F8B1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtSecurityAxis_A5B1FFE8A76759E68C459E5F2D51E673" xlink:to="loc_us-gaap_MajorTypesOfDebtSecuritiesDomain_4628EA312A7B51307492855B5F3F78AB_09EF7B1A4C395E8C9F726E79F1A5F8B1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtSecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtSecuritiesDomain_A0A0E0FF052152288121DB2147525E07" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtSecurityAxis_A5B1FFE8A76759E68C459E5F2D51E673" xlink:to="loc_us-gaap_MajorTypesOfDebtSecuritiesDomain_A0A0E0FF052152288121DB2147525E07" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_USTreasuryAndGovernmentMember" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_C5571B17B8475F2AA4B37EEDF65E04FB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtSecuritiesDomain_A0A0E0FF052152288121DB2147525E07" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_C5571B17B8475F2AA4B37EEDF65E04FB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_MortgageBackedSecuritiesMember_904D2B1151B452E7A1ACB7980EFFA15B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtSecuritiesDomain_A0A0E0FF052152288121DB2147525E07" xlink:to="loc_us-gaap_MortgageBackedSecuritiesMember_904D2B1151B452E7A1ACB7980EFFA15B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember" xlink:label="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_0D54FB2CB92050BB91BCA4EE7BD9555E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtSecuritiesDomain_A0A0E0FF052152288121DB2147525E07" xlink:to="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_0D54FB2CB92050BB91BCA4EE7BD9555E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_04E74C92B931536CB6C4D7E271EF3D3D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtSecuritiesDomain_A0A0E0FF052152288121DB2147525E07" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_04E74C92B931536CB6C4D7E271EF3D3D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment_E9F9F1DA0DD65C4E98D4AF99A8F295EA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_050AD5C6CFDA5EEDADC63A44ABBBFEB0" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment_E9F9F1DA0DD65C4E98D4AF99A8F295EA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_1D7B24733C4B543EB3F98ABE558DCA0A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_050AD5C6CFDA5EEDADC63A44ABBBFEB0" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_1D7B24733C4B543EB3F98ABE558DCA0A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_47A9F4101CFE550AAD4B6B85E1E7D23C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_050AD5C6CFDA5EEDADC63A44ABBBFEB0" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_47A9F4101CFE550AAD4B6B85E1E7D23C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_HeldToMaturitySecuritiesFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_8683B398FA2E5729A6307FEE4331BDB8" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_050AD5C6CFDA5EEDADC63A44ABBBFEB0" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_8683B398FA2E5729A6307FEE4331BDB8" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.thefirst.com/role/InvestmentSecuritiesAmortizedCostAndEstimatedFairValueOfRestrictedEquitySecuritiesDetails" xlink:type="extended">
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_RestrictedEquitySecuritiesLineItems" xlink:label="loc_fnlc_RestrictedEquitySecuritiesLineItems_8BEA7D2C50A955BCBE53A6A784BC1731" xlink:type="locator" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_RestrictedEquitySecuritiesTable" xlink:label="loc_fnlc_RestrictedEquitySecuritiesTable_B779D3F4DCF552D9A31D31880F200642" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_fnlc_RestrictedEquitySecuritiesLineItems_8BEA7D2C50A955BCBE53A6A784BC1731" xlink:to="loc_fnlc_RestrictedEquitySecuritiesTable_B779D3F4DCF552D9A31D31880F200642" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_ScheduleOfRestrictedEquitySecuritiesAxis" xlink:label="loc_fnlc_ScheduleOfRestrictedEquitySecuritiesAxis_8985AE2FDBA75FCEAD0B819F3CFD5BD2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_fnlc_RestrictedEquitySecuritiesTable_B779D3F4DCF552D9A31D31880F200642" xlink:to="loc_fnlc_ScheduleOfRestrictedEquitySecuritiesAxis_8985AE2FDBA75FCEAD0B819F3CFD5BD2" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_MajorTypesOfRestrictedEquitySecuritiesDomain" xlink:label="loc_fnlc_MajorTypesOfRestrictedEquitySecuritiesDomain_B66886B0467A6F415B7C855B5F25D39E_09EF7B1A4C395E8C9F726E79F1A5F8B1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_fnlc_ScheduleOfRestrictedEquitySecuritiesAxis_8985AE2FDBA75FCEAD0B819F3CFD5BD2" xlink:to="loc_fnlc_MajorTypesOfRestrictedEquitySecuritiesDomain_B66886B0467A6F415B7C855B5F25D39E_09EF7B1A4C395E8C9F726E79F1A5F8B1" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_MajorTypesOfRestrictedEquitySecuritiesDomain" xlink:label="loc_fnlc_MajorTypesOfRestrictedEquitySecuritiesDomain_96982EAAF8EA521F8BFA419D3814FC6A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_fnlc_ScheduleOfRestrictedEquitySecuritiesAxis_8985AE2FDBA75FCEAD0B819F3CFD5BD2" xlink:to="loc_fnlc_MajorTypesOfRestrictedEquitySecuritiesDomain_96982EAAF8EA521F8BFA419D3814FC6A" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_FederalHomeLoanBankStockMember" xlink:label="loc_fnlc_FederalHomeLoanBankStockMember_0439BE8DEB6E5F758CFA9DD2A6CA3945" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_MajorTypesOfRestrictedEquitySecuritiesDomain_96982EAAF8EA521F8BFA419D3814FC6A" xlink:to="loc_fnlc_FederalHomeLoanBankStockMember_0439BE8DEB6E5F758CFA9DD2A6CA3945" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_FederalReserveBankStockMember" xlink:label="loc_fnlc_FederalReserveBankStockMember_FB692FDB7A3D5E8590A89048CC20241B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_MajorTypesOfRestrictedEquitySecuritiesDomain_96982EAAF8EA521F8BFA419D3814FC6A" xlink:to="loc_fnlc_FederalReserveBankStockMember_FB692FDB7A3D5E8590A89048CC20241B" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_RestrictedEquitySecuritiesAmortizedCost" xlink:label="loc_fnlc_RestrictedEquitySecuritiesAmortizedCost_A2196932415B535B901827B07F69372C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_RestrictedEquitySecuritiesLineItems_8BEA7D2C50A955BCBE53A6A784BC1731" xlink:to="loc_fnlc_RestrictedEquitySecuritiesAmortizedCost_A2196932415B535B901827B07F69372C" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_RestrictedEquitySecuritiesUnrealizedGains" xlink:label="loc_fnlc_RestrictedEquitySecuritiesUnrealizedGains_666A94203FF55D2886E59B2824D3E143" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_RestrictedEquitySecuritiesLineItems_8BEA7D2C50A955BCBE53A6A784BC1731" xlink:to="loc_fnlc_RestrictedEquitySecuritiesUnrealizedGains_666A94203FF55D2886E59B2824D3E143" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_RestrictedEquitySecuritiesUnrealizedLosses" xlink:label="loc_fnlc_RestrictedEquitySecuritiesUnrealizedLosses_95178A5437575829BAC84B4A99FDC1E7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_RestrictedEquitySecuritiesLineItems_8BEA7D2C50A955BCBE53A6A784BC1731" xlink:to="loc_fnlc_RestrictedEquitySecuritiesUnrealizedLosses_95178A5437575829BAC84B4A99FDC1E7" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_RestrictedEquitySecuritiesFairValueEstimated" xlink:label="loc_fnlc_RestrictedEquitySecuritiesFairValueEstimated_E08AA940945C59208D5E3BB398279704" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_RestrictedEquitySecuritiesLineItems_8BEA7D2C50A955BCBE53A6A784BC1731" xlink:to="loc_fnlc_RestrictedEquitySecuritiesFairValueEstimated_E08AA940945C59208D5E3BB398279704" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.thefirst.com/role/InvestmentSecuritiesContractualMaturitiesOfInvestmentSecuritiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/InvestmentSecuritiesGainsAndLossesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/InvestmentSecuritiesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/InvestmentSecuritiesTemporarilyImpairedSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_44F0E4FF43915F16BC52F36FC9E3CE7D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_D913A06CBD07401255BAF36FC9E26B5D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_44F0E4FF43915F16BC52F36FC9E3CE7D" xlink:to="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_D913A06CBD07401255BAF36FC9E26B5D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_5D836052D4BDE4EBACDBF36FC9E25CA4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_D913A06CBD07401255BAF36FC9E26B5D" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_5D836052D4BDE4EBACDBF36FC9E25CA4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_F4362DAE212F92D2C8CDF36FC9E2AAC7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_5D836052D4BDE4EBACDBF36FC9E25CA4" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_F4362DAE212F92D2C8CDF36FC9E2AAC7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_F4362DAE212F92D2C8CDF36FC9E2AAC7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_5D836052D4BDE4EBACDBF36FC9E25CA4" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_F4362DAE212F92D2C8CDF36FC9E2AAC7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_USTreasuryAndGovernmentMember" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_D2E5CBB51AED3EF84432F381369BD541" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_F4362DAE212F92D2C8CDF36FC9E2AAC7" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_D2E5CBB51AED3EF84432F381369BD541" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_MortgageBackedSecuritiesMember_19993F2FBBA1C95B040EF36FC9E35CF2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_F4362DAE212F92D2C8CDF36FC9E2AAC7" xlink:to="loc_us-gaap_MortgageBackedSecuritiesMember_19993F2FBBA1C95B040EF36FC9E35CF2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember" xlink:label="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_AE2243CD81B1A145FEC2F36FC9E38CE9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_F4362DAE212F92D2C8CDF36FC9E2AAC7" xlink:to="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_AE2243CD81B1A145FEC2F36FC9E38CE9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquitySecuritiesMember" xlink:label="loc_us-gaap_EquitySecuritiesMember_81140ED9F734FD22BA8CF36FC9E3723A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_F4362DAE212F92D2C8CDF36FC9E2AAC7" xlink:to="loc_us-gaap_EquitySecuritiesMember_81140ED9F734FD22BA8CF36FC9E3723A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_93CF1DB2020D7315DC74F36FC9E3F715" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_44F0E4FF43915F16BC52F36FC9E3CE7D" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_93CF1DB2020D7315DC74F36FC9E3F715" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_55740F2D11B09CEAD49FF36FC9E35E97" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_44F0E4FF43915F16BC52F36FC9E3CE7D" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_55740F2D11B09CEAD49FF36FC9E35E97" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_517C0AF2EFF1A5ED783DF36FC9E371A3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_44F0E4FF43915F16BC52F36FC9E3CE7D" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_517C0AF2EFF1A5ED783DF36FC9E371A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_ED1CAABDE2724159B761F36FC9E3DA32" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_44F0E4FF43915F16BC52F36FC9E3CE7D" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_ED1CAABDE2724159B761F36FC9E3DA32" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue_C5AC2DE6F04EFA87B31FF36FC9E3AEA3" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_44F0E4FF43915F16BC52F36FC9E3CE7D" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue_C5AC2DE6F04EFA87B31FF36FC9E3AEA3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss_D8FC3F8F1129788E0EB6F36FC9E3EBA7" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_44F0E4FF43915F16BC52F36FC9E3CE7D" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss_D8FC3F8F1129788E0EB6F36FC9E3EBA7" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.thefirst.com/role/Loans" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/LoansImpairedLoansByClassDetails" xlink:type="extended">
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_ScheduleOfFinancingReceivablesLineItems" xlink:label="loc_fnlc_ScheduleOfFinancingReceivablesLineItems_735598FF664A1C6700670163F6EA3D8A" xlink:type="locator" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_ScheduleOfFinancingReceivablesTable" xlink:label="loc_fnlc_ScheduleOfFinancingReceivablesTable_571382AC73A709884F8A0163F6E92055" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_fnlc_ScheduleOfFinancingReceivablesLineItems_735598FF664A1C6700670163F6EA3D8A" xlink:to="loc_fnlc_ScheduleOfFinancingReceivablesTable_571382AC73A709884F8A0163F6E92055" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_F27228D809E59F219EF70163F6E98DC1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_fnlc_ScheduleOfFinancingReceivablesTable_571382AC73A709884F8A0163F6E92055" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_F27228D809E59F219EF70163F6E98DC1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_B56FCC6746896CA1A18E0163F6E98C5E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_F27228D809E59F219EF70163F6E98DC1" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_B56FCC6746896CA1A18E0163F6E98C5E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_B56FCC6746896CA1A18E0163F6E98C5E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_F27228D809E59F219EF70163F6E98DC1" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_B56FCC6746896CA1A18E0163F6E98C5E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_2D298BCD1A1D009AACFB0163F6E946E5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_B56FCC6746896CA1A18E0163F6E98C5E" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_2D298BCD1A1D009AACFB0163F6E946E5" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_MunicipalPortfolioMember" xlink:label="loc_fnlc_MunicipalPortfolioMember_9158830BB6CE253C300F0163F6E92917" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_B56FCC6746896CA1A18E0163F6E98C5E" xlink:to="loc_fnlc_MunicipalPortfolioMember_9158830BB6CE253C300F0163F6E92917" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_AF71D2098A74B821403A0163F6E965F1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_B56FCC6746896CA1A18E0163F6E98C5E" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_AF71D2098A74B821403A0163F6E965F1" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_HomeEquityLIneofCreditPortfolioMember" xlink:label="loc_fnlc_HomeEquityLIneofCreditPortfolioMember_ADF11FDD465AE8221EDE0163F6E9B2C2" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_B56FCC6746896CA1A18E0163F6E98C5E" xlink:to="loc_fnlc_HomeEquityLIneofCreditPortfolioMember_ADF11FDD465AE8221EDE0163F6E9B2C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_4042CD3A1F14D4DC95DB0163F6E915EE" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_B56FCC6746896CA1A18E0163F6E98C5E" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_4042CD3A1F14D4DC95DB0163F6E915EE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_92678227EB6DB921B0580163F6E9B2DD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_fnlc_ScheduleOfFinancingReceivablesTable_571382AC73A709884F8A0163F6E92055" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_92678227EB6DB921B0580163F6E9B2DD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_0C3D0015B64DC5E1EEFF0163F6E96760_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_92678227EB6DB921B0580163F6E9B2DD" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_0C3D0015B64DC5E1EEFF0163F6E96760_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_0C3D0015B64DC5E1EEFF0163F6E96760" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_92678227EB6DB921B0580163F6E9B2DD" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_0C3D0015B64DC5E1EEFF0163F6E96760" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="loc_us-gaap_RealEstateLoanMember_4B5B6F7B26E3A84124B20163F6E9C6DE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_0C3D0015B64DC5E1EEFF0163F6E96760" xlink:to="loc_us-gaap_RealEstateLoanMember_4B5B6F7B26E3A84124B20163F6E9C6DE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_7752ABF7EA2B451611790163F6E91411" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_0C3D0015B64DC5E1EEFF0163F6E96760" xlink:to="loc_us-gaap_ConstructionLoansMember_7752ABF7EA2B451611790163F6E91411" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_OtherLoansMember" xlink:label="loc_fnlc_OtherLoansMember_4353266F366180AD09A30163F6E9DAB1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_0C3D0015B64DC5E1EEFF0163F6E96760" xlink:to="loc_fnlc_OtherLoansMember_4353266F366180AD09A30163F6E9DAB1" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_TermLoanMember" xlink:label="loc_fnlc_TermLoanMember_A9FA932008568F5FA2770163F6E9E6C1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_0C3D0015B64DC5E1EEFF0163F6E96760" xlink:to="loc_fnlc_TermLoanMember_A9FA932008568F5FA2770163F6E9E6C1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ImpairedFinancingReceivableRecordedInvestmentAbstract" xlink:label="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestmentAbstract_B940EEC30501999A18190163F6EA0B27" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_ScheduleOfFinancingReceivablesLineItems_735598FF664A1C6700670163F6EA3D8A" xlink:to="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestmentAbstract_B940EEC30501999A18190163F6EA0B27" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment_2F8F4FBDB314C6B735FE0163F6EA8AF3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestmentAbstract_B940EEC30501999A18190163F6EA0B27" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment_2F8F4FBDB314C6B735FE0163F6EA8AF3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment_E31C58681A20177C5B090163F6EA0ED8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestmentAbstract_B940EEC30501999A18190163F6EA0B27" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment_E31C58681A20177C5B090163F6EA0ED8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ImpairedFinancingReceivableRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_1B49EC2DA211BCCF12810163F6EA6D53" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestmentAbstract_B940EEC30501999A18190163F6EA0B27" xlink:to="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_1B49EC2DA211BCCF12810163F6EA6D53" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalanceAbstract" xlink:label="loc_us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalanceAbstract_1FE5B82AFE95E4F67C120163F6EA17E5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_ScheduleOfFinancingReceivablesLineItems_735598FF664A1C6700670163F6EA3D8A" xlink:to="loc_us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalanceAbstract_1FE5B82AFE95E4F67C120163F6EA17E5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance_182A37C941F5A9D0D6E40163F6EA7DFC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalanceAbstract_1FE5B82AFE95E4F67C120163F6EA17E5" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance_182A37C941F5A9D0D6E40163F6EA7DFC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance_8E72D3C5B693C91EBD530163F6EA922E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalanceAbstract_1FE5B82AFE95E4F67C120163F6EA17E5" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance_8E72D3C5B693C91EBD530163F6EA922E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance" xlink:label="loc_us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance_1FC83DFA9E57C777F9780163F6EAE27A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalanceAbstract_1FE5B82AFE95E4F67C120163F6EA17E5" xlink:to="loc_us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance_1FC83DFA9E57C777F9780163F6EAE27A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ImpairedFinancingReceivableRelatedAllowance" xlink:label="loc_us-gaap_ImpairedFinancingReceivableRelatedAllowance_E5D99F8755785F6259080163F6EA80EF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_ScheduleOfFinancingReceivablesLineItems_735598FF664A1C6700670163F6EA3D8A" xlink:to="loc_us-gaap_ImpairedFinancingReceivableRelatedAllowance_E5D99F8755785F6259080163F6EA80EF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ImpairedFinancingReceivableAverageRecordedInvestmentAbstract" xlink:label="loc_us-gaap_ImpairedFinancingReceivableAverageRecordedInvestmentAbstract_E222E5CB65C438BC109D0163F6EA3C3C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_ScheduleOfFinancingReceivablesLineItems_735598FF664A1C6700670163F6EA3D8A" xlink:to="loc_us-gaap_ImpairedFinancingReceivableAverageRecordedInvestmentAbstract_E222E5CB65C438BC109D0163F6EA3C3C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment_400A4CA8F0047470BE050163F6EA060F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ImpairedFinancingReceivableAverageRecordedInvestmentAbstract_E222E5CB65C438BC109D0163F6EA3C3C" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment_400A4CA8F0047470BE050163F6EA060F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment_F76D4F96F68EEFEBDA720163F6EA5DBC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ImpairedFinancingReceivableAverageRecordedInvestmentAbstract_E222E5CB65C438BC109D0163F6EA3C3C" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment_F76D4F96F68EEFEBDA720163F6EA5DBC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment_D56ED183FB6AAE1303D00163F6EA6669" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ImpairedFinancingReceivableAverageRecordedInvestmentAbstract_E222E5CB65C438BC109D0163F6EA3C3C" xlink:to="loc_us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment_D56ED183FB6AAE1303D00163F6EA6669" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ImpairedFinancingReceivableInterestIncomeCashBasisMethodAbstract" xlink:label="loc_us-gaap_ImpairedFinancingReceivableInterestIncomeCashBasisMethodAbstract_734B46B4BF47DDB2BC780163F6EA2770" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_ScheduleOfFinancingReceivablesLineItems_735598FF664A1C6700670163F6EA3D8A" xlink:to="loc_us-gaap_ImpairedFinancingReceivableInterestIncomeCashBasisMethodAbstract_734B46B4BF47DDB2BC780163F6EA2770" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeCashBasisMethod" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeCashBasisMethod_0133614DBF9E6883DC940163F6EBFB8B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ImpairedFinancingReceivableInterestIncomeCashBasisMethodAbstract_734B46B4BF47DDB2BC780163F6EA2770" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeCashBasisMethod_0133614DBF9E6883DC940163F6EBFB8B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeCashBasisMethod" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeCashBasisMethod_94F3949FEE6092CCC92E0163F6EBCC26" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ImpairedFinancingReceivableInterestIncomeCashBasisMethodAbstract_734B46B4BF47DDB2BC780163F6EA2770" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeCashBasisMethod_94F3949FEE6092CCC92E0163F6EBCC26" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ImpairedFinancingReceivableInterestIncomeCashBasisMethod" xlink:label="loc_us-gaap_ImpairedFinancingReceivableInterestIncomeCashBasisMethod_F82D69CF36EDC49D422D0163F6EB72E4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ImpairedFinancingReceivableInterestIncomeCashBasisMethodAbstract_734B46B4BF47DDB2BC780163F6EA2770" xlink:to="loc_us-gaap_ImpairedFinancingReceivableInterestIncomeCashBasisMethod_F82D69CF36EDC49D422D0163F6EB72E4" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.thefirst.com/role/LoansLoanPortfolioDetails" xlink:type="extended">
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_ScheduleOfFinancingReceivablesLineItems" xlink:label="loc_fnlc_ScheduleOfFinancingReceivablesLineItems_3FD7A4F848D6A4E3CD7C0163F7003CF9" xlink:type="locator" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_ScheduleOfFinancingReceivablesTable" xlink:label="loc_fnlc_ScheduleOfFinancingReceivablesTable_0573AFC1F21D12DAE10D0163F6FFEC75" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_fnlc_ScheduleOfFinancingReceivablesLineItems_3FD7A4F848D6A4E3CD7C0163F7003CF9" xlink:to="loc_fnlc_ScheduleOfFinancingReceivablesTable_0573AFC1F21D12DAE10D0163F6FFEC75" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_C1B280B08234EC27FDCD0163F6FF615E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_fnlc_ScheduleOfFinancingReceivablesTable_0573AFC1F21D12DAE10D0163F6FFEC75" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_C1B280B08234EC27FDCD0163F6FF615E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_33BB0AB1655199E1EAD40163F6FF8BFD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_C1B280B08234EC27FDCD0163F6FF615E" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_33BB0AB1655199E1EAD40163F6FF8BFD_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_33BB0AB1655199E1EAD40163F6FF8BFD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_C1B280B08234EC27FDCD0163F6FF615E" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_33BB0AB1655199E1EAD40163F6FF8BFD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_51C4A9D1128E39F042C20163F700E563" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_33BB0AB1655199E1EAD40163F6FF8BFD" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_51C4A9D1128E39F042C20163F700E563" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_MunicipalPortfolioMember" xlink:label="loc_fnlc_MunicipalPortfolioMember_1C207028526F4BB38CB70163F700D095" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_33BB0AB1655199E1EAD40163F6FF8BFD" xlink:to="loc_fnlc_MunicipalPortfolioMember_1C207028526F4BB38CB70163F700D095" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_9DAE340BC6D684BFC82D0163F7006D5A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_33BB0AB1655199E1EAD40163F6FF8BFD" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_9DAE340BC6D684BFC82D0163F7006D5A" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_HomeEquityLIneofCreditPortfolioMember" xlink:label="loc_fnlc_HomeEquityLIneofCreditPortfolioMember_528FC3EFEBA29C74F2A10163F700AD02" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_33BB0AB1655199E1EAD40163F6FF8BFD" xlink:to="loc_fnlc_HomeEquityLIneofCreditPortfolioMember_528FC3EFEBA29C74F2A10163F700AD02" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_41819DFE6C2BE7FA60470163F700C77A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_33BB0AB1655199E1EAD40163F6FF8BFD" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_41819DFE6C2BE7FA60470163F700C77A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_CCCF676A3DA21EE2F85A0163F700A9A7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_fnlc_ScheduleOfFinancingReceivablesTable_0573AFC1F21D12DAE10D0163F6FFEC75" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_CCCF676A3DA21EE2F85A0163F700A9A7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_215A72178E0CC67AD0140163F70037DC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_CCCF676A3DA21EE2F85A0163F700A9A7" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_215A72178E0CC67AD0140163F70037DC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_215A72178E0CC67AD0140163F70037DC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_CCCF676A3DA21EE2F85A0163F700A9A7" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_215A72178E0CC67AD0140163F70037DC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="loc_us-gaap_RealEstateLoanMember_21D9B755787D0490EDCE0163F7009A78" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_215A72178E0CC67AD0140163F70037DC" xlink:to="loc_us-gaap_RealEstateLoanMember_21D9B755787D0490EDCE0163F7009A78" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_BDAF81BA1B90268A08700163F700A13D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_215A72178E0CC67AD0140163F70037DC" xlink:to="loc_us-gaap_ConstructionLoansMember_BDAF81BA1B90268A08700163F700A13D" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_OtherLoansMember" xlink:label="loc_fnlc_OtherLoansMember_3261C4C62EF141B22F940163F700C89D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_215A72178E0CC67AD0140163F70037DC" xlink:to="loc_fnlc_OtherLoansMember_3261C4C62EF141B22F940163F700C89D" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_TermLoanMember" xlink:label="loc_fnlc_TermLoanMember_A7CC0A89A4B47733EE890163F700AAD9" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_215A72178E0CC67AD0140163F70037DC" xlink:to="loc_fnlc_TermLoanMember_A7CC0A89A4B47733EE890163F700AAD9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome_632863EC405462E6765D0163F7003E52" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_ScheduleOfFinancingReceivablesLineItems_3FD7A4F848D6A4E3CD7C0163F7003CF9" xlink:to="loc_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome_632863EC405462E6765D0163F7003E52" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_PercentageOfLoansReceivableByType" xlink:label="loc_fnlc_PercentageOfLoansReceivableByType_B41FC5E4A24FAD6A43260163F701DBBA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_ScheduleOfFinancingReceivablesLineItems_3FD7A4F848D6A4E3CD7C0163F7003CF9" xlink:to="loc_fnlc_PercentageOfLoansReceivableByType_B41FC5E4A24FAD6A43260163F701DBBA" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.thefirst.com/role/LoansNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_31B600B9A66BAD310AA40163F6FBED15" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_A0F02F2F8998D2AD9EB20163F6FA6F33" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_31B600B9A66BAD310AA40163F6FBED15" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_A0F02F2F8998D2AD9EB20163F6FA6F33" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_A05ED936EA294E8EC0410163F6FA09C0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_A0F02F2F8998D2AD9EB20163F6FA6F33" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_A05ED936EA294E8EC0410163F6FA09C0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_070FA9D54462DA8BB7320163F6FA7275_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_A05ED936EA294E8EC0410163F6FA09C0" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_070FA9D54462DA8BB7320163F6FA7275_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_070FA9D54462DA8BB7320163F6FA7275" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_A05ED936EA294E8EC0410163F6FA09C0" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_070FA9D54462DA8BB7320163F6FA7275" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnallocatedFinancingReceivablesMember" xlink:label="loc_us-gaap_UnallocatedFinancingReceivablesMember_10A991ED28242F6CD5670163F6FA424B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_070FA9D54462DA8BB7320163F6FA7275" xlink:to="loc_us-gaap_UnallocatedFinancingReceivablesMember_10A991ED28242F6CD5670163F6FA424B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LoansAndLeasesReceivableDeferredIncome" xlink:label="loc_us-gaap_LoansAndLeasesReceivableDeferredIncome_11AF0FAD65B3F56005270163F6FB594E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_31B600B9A66BAD310AA40163F6FBED15" xlink:to="loc_us-gaap_LoansAndLeasesReceivableDeferredIncome_11AF0FAD65B3F56005270163F6FB594E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FederalHomeLoanBankAdvancesGeneralDebtObligationsDisclosuresCollateralPledged1" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesGeneralDebtObligationsDisclosuresCollateralPledged1_11AED0CE24D47259D1BE0163F6FBBE2A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_31B600B9A66BAD310AA40163F6FBED15" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesGeneralDebtObligationsDisclosuresCollateralPledged1_11AED0CE24D47259D1BE0163F6FBBE2A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LoansPledgedAsCollateral" xlink:label="loc_us-gaap_LoansPledgedAsCollateral_773B71E9AA790165E34F0163F6FB4463" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_31B600B9A66BAD310AA40163F6FBED15" xlink:to="loc_us-gaap_LoansPledgedAsCollateral_773B71E9AA790165E34F0163F6FB4463" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableModificationsNumberOfContracts2" xlink:label="loc_us-gaap_FinancingReceivableModificationsNumberOfContracts2_FF74ACA49B5289DDC4FC0163F6FB6BA3" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_31B600B9A66BAD310AA40163F6FBED15" xlink:to="loc_us-gaap_FinancingReceivableModificationsNumberOfContracts2_FF74ACA49B5289DDC4FC0163F6FB6BA3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableModificationsRecordedInvestment" xlink:label="loc_us-gaap_FinancingReceivableModificationsRecordedInvestment_184C7D2A6657917C0E3C0163F6FB8187" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_31B600B9A66BAD310AA40163F6FBED15" xlink:to="loc_us-gaap_FinancingReceivableModificationsRecordedInvestment_184C7D2A6657917C0E3C0163F6FB8187" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_FinancingReceivableModificationsNumberOfContractsGreaterThan30DaysPastDue" xlink:label="loc_fnlc_FinancingReceivableModificationsNumberOfContractsGreaterThan30DaysPastDue_6F766A6D818553034B440163F6FB91B6" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_31B600B9A66BAD310AA40163F6FBED15" xlink:to="loc_fnlc_FinancingReceivableModificationsNumberOfContractsGreaterThan30DaysPastDue_6F766A6D818553034B440163F6FB91B6" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_FinancingReceivableRecordedInvestmentGreaterThan30DaysPastDue" xlink:label="loc_fnlc_FinancingReceivableRecordedInvestmentGreaterThan30DaysPastDue_86FF2886F95764EF0D590163F6FBB4E5" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_31B600B9A66BAD310AA40163F6FBED15" xlink:to="loc_fnlc_FinancingReceivableRecordedInvestmentGreaterThan30DaysPastDue_86FF2886F95764EF0D590163F6FBB4E5" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_NumberOfDaysPastDue" xlink:label="loc_fnlc_NumberOfDaysPastDue_EB893BF8AB8F6422F4D10163F6FBF581" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_31B600B9A66BAD310AA40163F6FBED15" xlink:to="loc_fnlc_NumberOfDaysPastDue_EB893BF8AB8F6422F4D10163F6FBF581" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_FinancingReceivableModificationsNumberOfContractsGreaterThan30DaysPastDuePlaceInTDRInPrevious12Months" xlink:label="loc_fnlc_FinancingReceivableModificationsNumberOfContractsGreaterThan30DaysPastDuePlaceInTDRInPrevious12Months_A648C37CDA32642D67ED0163F6FB8298" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_31B600B9A66BAD310AA40163F6FBED15" xlink:to="loc_fnlc_FinancingReceivableModificationsNumberOfContractsGreaterThan30DaysPastDuePlaceInTDRInPrevious12Months_A648C37CDA32642D67ED0163F6FB8298" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_FinancingReceivableModificationsNumberOfContractsDuringPeriod" xlink:label="loc_fnlc_FinancingReceivableModificationsNumberOfContractsDuringPeriod_619AA40E30CF2A8A63090163F6FB619C" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_31B600B9A66BAD310AA40163F6FBED15" xlink:to="loc_fnlc_FinancingReceivableModificationsNumberOfContractsDuringPeriod_619AA40E30CF2A8A63090163F6FB619C" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_FinancingReceivableNumberOfLoansClassifiedAsTroubledDebtRestructuringsThatAreInvolvedInBankruptcy" xlink:label="loc_fnlc_FinancingReceivableNumberOfLoansClassifiedAsTroubledDebtRestructuringsThatAreInvolvedInBankruptcy_B7CAAFDB33BC8F6CA9320163F6FBBFEA" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_31B600B9A66BAD310AA40163F6FBED15" xlink:to="loc_fnlc_FinancingReceivableNumberOfLoansClassifiedAsTroubledDebtRestructuringsThatAreInvolvedInBankruptcy_B7CAAFDB33BC8F6CA9320163F6FBBFEA" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_FinancingReceivableLoansClassifiedAsTroubledDebtRestructuringsThatAreInvolvedInBankruptcy" xlink:label="loc_fnlc_FinancingReceivableLoansClassifiedAsTroubledDebtRestructuringsThatAreInvolvedInBankruptcy_D6A598D2A11A7ED41F630163F6FBB886" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_31B600B9A66BAD310AA40163F6FBED15" xlink:to="loc_fnlc_FinancingReceivableLoansClassifiedAsTroubledDebtRestructuringsThatAreInvolvedInBankruptcy_D6A598D2A11A7ED41F630163F6FBB886" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_FinancingReceivableNumberOfLoansClassifiedAsTroubledDebtRestructuringsThatWereOnNonAccrualStatus" xlink:label="loc_fnlc_FinancingReceivableNumberOfLoansClassifiedAsTroubledDebtRestructuringsThatWereOnNonAccrualStatus_EF0B85ECF4A90BCEDDBB0163F6FB3CA8" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_31B600B9A66BAD310AA40163F6FBED15" xlink:to="loc_fnlc_FinancingReceivableNumberOfLoansClassifiedAsTroubledDebtRestructuringsThatWereOnNonAccrualStatus_EF0B85ECF4A90BCEDDBB0163F6FB3CA8" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_FinancingReceivableNumberofLoansClassifiedAsTroubledDebtRestructuringsClassifiedAsNonAccrual" xlink:label="loc_fnlc_FinancingReceivableNumberofLoansClassifiedAsTroubledDebtRestructuringsClassifiedAsNonAccrual_75C4F0287F0EF90166C60163F6FB36E3" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_31B600B9A66BAD310AA40163F6FBED15" xlink:to="loc_fnlc_FinancingReceivableNumberofLoansClassifiedAsTroubledDebtRestructuringsClassifiedAsNonAccrual_75C4F0287F0EF90166C60163F6FB36E3" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_FinancingReceivableNumberOfLoansClassifiedAsTroubledDebtRestructuringsInvolvedInForeclosure" xlink:label="loc_fnlc_FinancingReceivableNumberOfLoansClassifiedAsTroubledDebtRestructuringsInvolvedInForeclosure_9100598235467E3200680163F6FBC9D3" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_31B600B9A66BAD310AA40163F6FBED15" xlink:to="loc_fnlc_FinancingReceivableNumberOfLoansClassifiedAsTroubledDebtRestructuringsInvolvedInForeclosure_9100598235467E3200680163F6FBC9D3" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_LoansClassifiedAsTroubledDebtRestructuringsThatAreInvolvedInForeclosure" xlink:label="loc_fnlc_LoansClassifiedAsTroubledDebtRestructuringsThatAreInvolvedInForeclosure_2B9B6513A445C322C34B0163F6FCF6AA" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_31B600B9A66BAD310AA40163F6FBED15" xlink:to="loc_fnlc_LoansClassifiedAsTroubledDebtRestructuringsThatAreInvolvedInForeclosure_2B9B6513A445C322C34B0163F6FCF6AA" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_MortgageLoansinProcessofForeclosureNumber" xlink:label="loc_fnlc_MortgageLoansinProcessofForeclosureNumber_B538997A3792CE5454490163F6FCDEF4" xlink:type="locator" />
    <link:definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_31B600B9A66BAD310AA40163F6FBED15" xlink:to="loc_fnlc_MortgageLoansinProcessofForeclosureNumber_B538997A3792CE5454490163F6FCDEF4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MortgageLoansInProcessOfForeclosureAmount" xlink:label="loc_us-gaap_MortgageLoansInProcessOfForeclosureAmount_FFCBB62B7C3B031DC5800163F6FC03A5" xlink:type="locator" />
    <link:definitionArc order="18" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_31B600B9A66BAD310AA40163F6FBED15" xlink:to="loc_us-gaap_MortgageLoansInProcessOfForeclosureAmount_FFCBB62B7C3B031DC5800163F6FC03A5" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.thefirst.com/role/LoansNonaccrualLoansDetails" xlink:type="extended">
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_ScheduleOfFinancingReceivablesLineItems" xlink:label="loc_fnlc_ScheduleOfFinancingReceivablesLineItems_1F06E223723EDB1D3C5F0163F6F0D410" xlink:type="locator" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_ScheduleOfFinancingReceivablesTable" xlink:label="loc_fnlc_ScheduleOfFinancingReceivablesTable_26F0A421743880A824440163F6EF5DAB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_fnlc_ScheduleOfFinancingReceivablesLineItems_1F06E223723EDB1D3C5F0163F6F0D410" xlink:to="loc_fnlc_ScheduleOfFinancingReceivablesTable_26F0A421743880A824440163F6EF5DAB" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_1F7CD08644C829B7F3650163F6EFFE0F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_fnlc_ScheduleOfFinancingReceivablesTable_26F0A421743880A824440163F6EF5DAB" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_1F7CD08644C829B7F3650163F6EFFE0F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_617B1CA3DF44466663B60163F6EF9664_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_1F7CD08644C829B7F3650163F6EFFE0F" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_617B1CA3DF44466663B60163F6EF9664_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_617B1CA3DF44466663B60163F6EF9664" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_1F7CD08644C829B7F3650163F6EFFE0F" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_617B1CA3DF44466663B60163F6EF9664" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_C5639C3C24E3A29135BB0163F6EFEA92" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_617B1CA3DF44466663B60163F6EF9664" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_C5639C3C24E3A29135BB0163F6EFEA92" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_MunicipalPortfolioMember" xlink:label="loc_fnlc_MunicipalPortfolioMember_5D71B41210811D5556E40163F6EF5FFE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_617B1CA3DF44466663B60163F6EF9664" xlink:to="loc_fnlc_MunicipalPortfolioMember_5D71B41210811D5556E40163F6EF5FFE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_E403B22812C6BBEFC6AD0163F6EF81DB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_617B1CA3DF44466663B60163F6EF9664" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_E403B22812C6BBEFC6AD0163F6EF81DB" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_HomeEquityLIneofCreditPortfolioMember" xlink:label="loc_fnlc_HomeEquityLIneofCreditPortfolioMember_A238927D9B2151D7F9AB0163F6EF6D38" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_617B1CA3DF44466663B60163F6EF9664" xlink:to="loc_fnlc_HomeEquityLIneofCreditPortfolioMember_A238927D9B2151D7F9AB0163F6EF6D38" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_27C4F54C85CC2F0EFD6D0163F6EFD942" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_617B1CA3DF44466663B60163F6EF9664" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_27C4F54C85CC2F0EFD6D0163F6EFD942" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_24945D16876C3C18C5130163F6EFB00D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_fnlc_ScheduleOfFinancingReceivablesTable_26F0A421743880A824440163F6EF5DAB" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_24945D16876C3C18C5130163F6EFB00D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_11755AFA8153957A06BA0163F6EF83CB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_24945D16876C3C18C5130163F6EFB00D" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_11755AFA8153957A06BA0163F6EF83CB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_11755AFA8153957A06BA0163F6EF83CB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_24945D16876C3C18C5130163F6EFB00D" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_11755AFA8153957A06BA0163F6EF83CB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="loc_us-gaap_RealEstateLoanMember_590E266F426F55689A530163F6EF1F1A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_11755AFA8153957A06BA0163F6EF83CB" xlink:to="loc_us-gaap_RealEstateLoanMember_590E266F426F55689A530163F6EF1F1A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_7B3A27AB35028BBBBD8A0163F6EF0857" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_11755AFA8153957A06BA0163F6EF83CB" xlink:to="loc_us-gaap_ConstructionLoansMember_7B3A27AB35028BBBBD8A0163F6EF0857" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_OtherLoansMember" xlink:label="loc_fnlc_OtherLoansMember_B7065737D0DB22C18CA10163F6EFAF3C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_11755AFA8153957A06BA0163F6EF83CB" xlink:to="loc_fnlc_OtherLoansMember_B7065737D0DB22C18CA10163F6EFAF3C" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_MunicipalPortfolioMember" xlink:label="loc_fnlc_MunicipalPortfolioMember_481AD2FCB11C5D0FD00A0163F6EFEC3A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_11755AFA8153957A06BA0163F6EF83CB" xlink:to="loc_fnlc_MunicipalPortfolioMember_481AD2FCB11C5D0FD00A0163F6EFEC3A" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_TermLoanMember" xlink:label="loc_fnlc_TermLoanMember_DB3C5B44EDCB049291B30163F6EF0C7B" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_11755AFA8153957A06BA0163F6EF83CB" xlink:to="loc_fnlc_TermLoanMember_DB3C5B44EDCB049291B30163F6EF0C7B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus_B1ECD224E6730DA5B3E20163F6F03728" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_ScheduleOfFinancingReceivablesLineItems_1F06E223723EDB1D3C5F0163F6F0D410" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus_B1ECD224E6730DA5B3E20163F6F03728" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.thefirst.com/role/LoansPastDueStatusOfLoansByClassDetails" xlink:type="extended">
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_ScheduleOfFinancingReceivablesLineItems" xlink:label="loc_fnlc_ScheduleOfFinancingReceivablesLineItems_DD1B92984758DD39D3AB0163F6F66122" xlink:type="locator" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_ScheduleOfFinancingReceivablesTable" xlink:label="loc_fnlc_ScheduleOfFinancingReceivablesTable_8D36783315C6A79173F80163F6F42C50" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_fnlc_ScheduleOfFinancingReceivablesLineItems_DD1B92984758DD39D3AB0163F6F66122" xlink:to="loc_fnlc_ScheduleOfFinancingReceivablesTable_8D36783315C6A79173F80163F6F42C50" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_C463ED83A8378FA3124C0163F6F4C783" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_fnlc_ScheduleOfFinancingReceivablesTable_8D36783315C6A79173F80163F6F42C50" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_C463ED83A8378FA3124C0163F6F4C783" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2CBAB4380A7DC798D1D20163F6F47143_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_C463ED83A8378FA3124C0163F6F4C783" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2CBAB4380A7DC798D1D20163F6F47143_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2CBAB4380A7DC798D1D20163F6F47143" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_C463ED83A8378FA3124C0163F6F4C783" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2CBAB4380A7DC798D1D20163F6F47143" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_04600E8D701A28758CC70163F6F44FD1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2CBAB4380A7DC798D1D20163F6F47143" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_04600E8D701A28758CC70163F6F44FD1" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_MunicipalPortfolioMember" xlink:label="loc_fnlc_MunicipalPortfolioMember_0BED256C2D65E5CFB12F0163F6F57BF6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2CBAB4380A7DC798D1D20163F6F47143" xlink:to="loc_fnlc_MunicipalPortfolioMember_0BED256C2D65E5CFB12F0163F6F57BF6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_E56829030C746ED473180163F6F5356C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2CBAB4380A7DC798D1D20163F6F47143" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_E56829030C746ED473180163F6F5356C" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_HomeEquityLIneofCreditPortfolioMember" xlink:label="loc_fnlc_HomeEquityLIneofCreditPortfolioMember_B051BB7BED88F147AB6D0163F6F58050" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2CBAB4380A7DC798D1D20163F6F47143" xlink:to="loc_fnlc_HomeEquityLIneofCreditPortfolioMember_B051BB7BED88F147AB6D0163F6F58050" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_22C08AA2072DBCAAB8040163F6F53E60" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2CBAB4380A7DC798D1D20163F6F47143" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_22C08AA2072DBCAAB8040163F6F53E60" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_85728CDDC755ABAC193A0163F6F55A09" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_fnlc_ScheduleOfFinancingReceivablesTable_8D36783315C6A79173F80163F6F42C50" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_85728CDDC755ABAC193A0163F6F55A09" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_58FBF2B8168CB88C86010163F6F59923_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_85728CDDC755ABAC193A0163F6F55A09" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_58FBF2B8168CB88C86010163F6F59923_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_58FBF2B8168CB88C86010163F6F59923" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_85728CDDC755ABAC193A0163F6F55A09" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_58FBF2B8168CB88C86010163F6F59923" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="loc_us-gaap_RealEstateLoanMember_0E058898D9CA6BD777840163F6F5F899" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_58FBF2B8168CB88C86010163F6F59923" xlink:to="loc_us-gaap_RealEstateLoanMember_0E058898D9CA6BD777840163F6F5F899" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_5E0DE19896397597EECC0163F6F50B3B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_58FBF2B8168CB88C86010163F6F59923" xlink:to="loc_us-gaap_ConstructionLoansMember_5E0DE19896397597EECC0163F6F50B3B" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_OtherLoansMember" xlink:label="loc_fnlc_OtherLoansMember_3F0BC0A18AB9E60209460163F6F5366B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_58FBF2B8168CB88C86010163F6F59923" xlink:to="loc_fnlc_OtherLoansMember_3F0BC0A18AB9E60209460163F6F5366B" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_TermLoanMember" xlink:label="loc_fnlc_TermLoanMember_F239B9304C12474866D20163F6F5F315" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_58FBF2B8168CB88C86010163F6F59923" xlink:to="loc_fnlc_TermLoanMember_F239B9304C12474866D20163F6F5F315" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablesPeriodPastDueAxis" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_3AB92FE9E2479BF6A50C0163F6F504BE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_fnlc_ScheduleOfFinancingReceivablesTable_8D36783315C6A79173F80163F6F42C50" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_3AB92FE9E2479BF6A50C0163F6F504BE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_9C227D699BC7A1FC2E7B0163F6F5D967_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_3AB92FE9E2479BF6A50C0163F6F504BE" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_9C227D699BC7A1FC2E7B0163F6F5D967_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_9C227D699BC7A1FC2E7B0163F6F5D967" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_3AB92FE9E2479BF6A50C0163F6F504BE" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_9C227D699BC7A1FC2E7B0163F6F5D967" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivables30To59DaysPastDueMember" xlink:label="loc_us-gaap_FinancingReceivables30To59DaysPastDueMember_9A03192B2F18E38F87DF0163F6F59524" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_9C227D699BC7A1FC2E7B0163F6F5D967" xlink:to="loc_us-gaap_FinancingReceivables30To59DaysPastDueMember_9A03192B2F18E38F87DF0163F6F59524" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivables60To89DaysPastDueMember" xlink:label="loc_us-gaap_FinancingReceivables60To89DaysPastDueMember_D1AB8A9742CE6B5E99300163F6F5A881" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_9C227D699BC7A1FC2E7B0163F6F5D967" xlink:to="loc_us-gaap_FinancingReceivables60To89DaysPastDueMember_D1AB8A9742CE6B5E99300163F6F5A881" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" xlink:label="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_AF96767D7EC6E0A44E9A0163F6F53985" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_9C227D699BC7A1FC2E7B0163F6F5D967" xlink:to="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_AF96767D7EC6E0A44E9A0163F6F53985" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDue" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDue_9DED69AC1DCA88CCC29E0163F6F66710" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_ScheduleOfFinancingReceivablesLineItems_DD1B92984758DD39D3AB0163F6F66122" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDue_9DED69AC1DCA88CCC29E0163F6F66710" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentCurrent" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentCurrent_46870E9672BA39D061F70163F6F678E9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_ScheduleOfFinancingReceivablesLineItems_DD1B92984758DD39D3AB0163F6F66122" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentCurrent_46870E9672BA39D061F70163F6F678E9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome_EC8E2F910918FE7621A40163F6F62014" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_ScheduleOfFinancingReceivablesLineItems_DD1B92984758DD39D3AB0163F6F66122" xlink:to="loc_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome_EC8E2F910918FE7621A40163F6F62014" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing_CC82AE1FEF3157F9DA260163F6F63F29" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_ScheduleOfFinancingReceivablesLineItems_DD1B92984758DD39D3AB0163F6F66122" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing_CC82AE1FEF3157F9DA260163F6F63F29" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.thefirst.com/role/LoansTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/LoansTdrsByClassAndAssociatedSpecificReservesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_09F2D5B38271168998020163F6DD33F9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_B816DD173A3AA011E30B0163F6DC830B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_09F2D5B38271168998020163F6DD33F9" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_B816DD173A3AA011E30B0163F6DC830B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_76F2FCD7B974142DB8F50163F6DCF8F4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_B816DD173A3AA011E30B0163F6DC830B" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_76F2FCD7B974142DB8F50163F6DCF8F4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_4125F632BE2650287CA20163F6DC263B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_76F2FCD7B974142DB8F50163F6DCF8F4" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_4125F632BE2650287CA20163F6DC263B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_4125F632BE2650287CA20163F6DC263B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_76F2FCD7B974142DB8F50163F6DCF8F4" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_4125F632BE2650287CA20163F6DC263B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_6EC8D6538EDB50CE226D0163F6DC8B2E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_4125F632BE2650287CA20163F6DC263B" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_6EC8D6538EDB50CE226D0163F6DC8B2E" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_MunicipalPortfolioMember" xlink:label="loc_fnlc_MunicipalPortfolioMember_7E99E8687EE9055FA4540163F6DDF1A9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_4125F632BE2650287CA20163F6DC263B" xlink:to="loc_fnlc_MunicipalPortfolioMember_7E99E8687EE9055FA4540163F6DDF1A9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_EADB7CEA9C78FEE4FE5A0163F6DD868B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_4125F632BE2650287CA20163F6DC263B" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_EADB7CEA9C78FEE4FE5A0163F6DD868B" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_HomeEquityLIneofCreditPortfolioMember" xlink:label="loc_fnlc_HomeEquityLIneofCreditPortfolioMember_5B710905002CA086F5920163F6DDD172" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_4125F632BE2650287CA20163F6DC263B" xlink:to="loc_fnlc_HomeEquityLIneofCreditPortfolioMember_5B710905002CA086F5920163F6DDD172" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_8CCBAAFDB9CFA3165A680163F6DDED79" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_4125F632BE2650287CA20163F6DC263B" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_8CCBAAFDB9CFA3165A680163F6DDED79" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_296B4B945D4E35BEE6650163F6DDCD92" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_B816DD173A3AA011E30B0163F6DC830B" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_296B4B945D4E35BEE6650163F6DDCD92" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_F998A0E785EE007985610163F6DD9BBF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_296B4B945D4E35BEE6650163F6DDCD92" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_F998A0E785EE007985610163F6DD9BBF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_F998A0E785EE007985610163F6DD9BBF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_296B4B945D4E35BEE6650163F6DDCD92" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_F998A0E785EE007985610163F6DD9BBF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="loc_us-gaap_RealEstateLoanMember_3C8875F5D532294B395D0163F6DD2BC4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_F998A0E785EE007985610163F6DD9BBF" xlink:to="loc_us-gaap_RealEstateLoanMember_3C8875F5D532294B395D0163F6DD2BC4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_EECCB4984DCF5798B9E40163F6DD604D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_F998A0E785EE007985610163F6DD9BBF" xlink:to="loc_us-gaap_ConstructionLoansMember_EECCB4984DCF5798B9E40163F6DD604D" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_OtherLoansMember" xlink:label="loc_fnlc_OtherLoansMember_EA698812A6357CDB1B9E0163F6DDDFCE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_F998A0E785EE007985610163F6DD9BBF" xlink:to="loc_fnlc_OtherLoansMember_EA698812A6357CDB1B9E0163F6DDDFCE" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_TermLoanMember" xlink:label="loc_fnlc_TermLoanMember_1FAD1D50DC110690213E0163F6DD60B1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_F998A0E785EE007985610163F6DD9BBF" xlink:to="loc_fnlc_TermLoanMember_1FAD1D50DC110690213E0163F6DD60B1" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_FinancingReceivableModificationsNumberOfContractsGreaterThan30DaysPastDue" xlink:label="loc_fnlc_FinancingReceivableModificationsNumberOfContractsGreaterThan30DaysPastDue_6BDD6F7007CA678156BD02058319EFFD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_09F2D5B38271168998020163F6DD33F9" xlink:to="loc_fnlc_FinancingReceivableModificationsNumberOfContractsGreaterThan30DaysPastDue_6BDD6F7007CA678156BD02058319EFFD" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_FinancingReceivableRecordedInvestmentGreaterThan30DaysPastDue" xlink:label="loc_fnlc_FinancingReceivableRecordedInvestmentGreaterThan30DaysPastDue_FB6B8CAC39A9D86B451B0205282D8AFD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_09F2D5B38271168998020163F6DD33F9" xlink:to="loc_fnlc_FinancingReceivableRecordedInvestmentGreaterThan30DaysPastDue_FB6B8CAC39A9D86B451B0205282D8AFD" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_DaysPastDuePlacedInTDRInPrevious12Months" xlink:label="loc_fnlc_DaysPastDuePlacedInTDRInPrevious12Months_C08F1779FB86A9EFD8340225960934A0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_09F2D5B38271168998020163F6DD33F9" xlink:to="loc_fnlc_DaysPastDuePlacedInTDRInPrevious12Months_C08F1779FB86A9EFD8340225960934A0" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.thefirst.com/role/LoansTdrsByClassAndSpecificReservesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_EA8A325E2FD8B9C1448E0163F6E3E59E" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_36D421A97B663B19E8AB0163F6E23590" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_EA8A325E2FD8B9C1448E0163F6E3E59E" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_36D421A97B663B19E8AB0163F6E23590" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_FD1F5F0A523160F3EE960163F6E2BC8E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_36D421A97B663B19E8AB0163F6E23590" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_FD1F5F0A523160F3EE960163F6E2BC8E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_466C10AA557813DB0A2C0163F6E23CB0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_FD1F5F0A523160F3EE960163F6E2BC8E" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_466C10AA557813DB0A2C0163F6E23CB0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_466C10AA557813DB0A2C0163F6E23CB0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_FD1F5F0A523160F3EE960163F6E2BC8E" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_466C10AA557813DB0A2C0163F6E23CB0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_75F3E63A4D93F49F195F0163F6E2CECF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_466C10AA557813DB0A2C0163F6E23CB0" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_75F3E63A4D93F49F195F0163F6E2CECF" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_MunicipalPortfolioMember" xlink:label="loc_fnlc_MunicipalPortfolioMember_C53496C4726D738F95760163F6E20F3A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_466C10AA557813DB0A2C0163F6E23CB0" xlink:to="loc_fnlc_MunicipalPortfolioMember_C53496C4726D738F95760163F6E20F3A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_CC6BE99BC026233FF0850163F6E27D0C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_466C10AA557813DB0A2C0163F6E23CB0" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_CC6BE99BC026233FF0850163F6E27D0C" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_HomeEquityLIneofCreditPortfolioMember" xlink:label="loc_fnlc_HomeEquityLIneofCreditPortfolioMember_D38592BD319D2CEF66DF0163F6E25A3F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_466C10AA557813DB0A2C0163F6E23CB0" xlink:to="loc_fnlc_HomeEquityLIneofCreditPortfolioMember_D38592BD319D2CEF66DF0163F6E25A3F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_C5346256D27B531E2CF60163F6E27C3A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_466C10AA557813DB0A2C0163F6E23CB0" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_C5346256D27B531E2CF60163F6E27C3A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_5E9FF4FC50414845578A0163F6E21DD6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_36D421A97B663B19E8AB0163F6E23590" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_5E9FF4FC50414845578A0163F6E21DD6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_ABD0797246E323449B480163F6E20F04_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_5E9FF4FC50414845578A0163F6E21DD6" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_ABD0797246E323449B480163F6E20F04_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_ABD0797246E323449B480163F6E20F04" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_5E9FF4FC50414845578A0163F6E21DD6" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_ABD0797246E323449B480163F6E20F04" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="loc_us-gaap_RealEstateLoanMember_A6594ECDD0FBC144439E0163F6E292B8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_ABD0797246E323449B480163F6E20F04" xlink:to="loc_us-gaap_RealEstateLoanMember_A6594ECDD0FBC144439E0163F6E292B8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_9F1CCF3EBD47D5FCA7B10163F6E2943D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_ABD0797246E323449B480163F6E20F04" xlink:to="loc_us-gaap_ConstructionLoansMember_9F1CCF3EBD47D5FCA7B10163F6E2943D" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_OtherLoansMember" xlink:label="loc_fnlc_OtherLoansMember_7585434CCDD911FA483B0163F6E2A21F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_ABD0797246E323449B480163F6E20F04" xlink:to="loc_fnlc_OtherLoansMember_7585434CCDD911FA483B0163F6E2A21F" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_TermLoanMember" xlink:label="loc_fnlc_TermLoanMember_0564D190B16704824E8B0163F6E22258" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_ABD0797246E323449B480163F6E20F04" xlink:to="loc_fnlc_TermLoanMember_0564D190B16704824E8B0163F6E22258" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableModificationsNumberOfContracts2" xlink:label="loc_us-gaap_FinancingReceivableModificationsNumberOfContracts2_D12ED17BD298A5EBFB010163F6E3B99A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_EA8A325E2FD8B9C1448E0163F6E3E59E" xlink:to="loc_us-gaap_FinancingReceivableModificationsNumberOfContracts2_D12ED17BD298A5EBFB010163F6E3B99A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancingReceivableModificationsRecordedInvestment" xlink:label="loc_us-gaap_FinancingReceivableModificationsRecordedInvestment_DBE7E8F1851B544933DE0163F6E3F897" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_EA8A325E2FD8B9C1448E0163F6E3E59E" xlink:to="loc_us-gaap_FinancingReceivableModificationsRecordedInvestment_DBE7E8F1851B544933DE0163F6E3F897" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_TroubledDebtRestructuringLoansAndLeasesReceivableSpecificAllowanceDuringPeriod" xlink:label="loc_fnlc_TroubledDebtRestructuringLoansAndLeasesReceivableSpecificAllowanceDuringPeriod_9C93338A15A03E13FBC50163F6E3C310" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_EA8A325E2FD8B9C1448E0163F6E3E59E" xlink:to="loc_fnlc_TroubledDebtRestructuringLoansAndLeasesReceivableSpecificAllowanceDuringPeriod_9C93338A15A03E13FBC50163F6E3C310" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.thefirst.com/role/MortgageServicingRights" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/MortgageServicingRightsNarrativeDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/MortgageServicingRightsScheduleOfMortgageServicingRightsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/MortgageServicingRightsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/OtherComprehensiveIncomeLoss" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/OtherComprehensiveIncomeLossDerivativeInstrumentsIncludedInOtherComprehensiveIncomeLossDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_DD926E0EE979A5F6963E91AC1654998F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_6029425A10C9DCA69AB191AC16530DF9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_DD926E0EE979A5F6963E91AC1654998F" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_6029425A10C9DCA69AB191AC16530DF9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_6FE046C6A7F72B83813091AC1653EC19" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_6029425A10C9DCA69AB191AC16530DF9" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_6FE046C6A7F72B83813091AC1653EC19" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_B4F19B12E50E564D80C091AC16534CBC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_6FE046C6A7F72B83813091AC1653EC19" xlink:to="loc_us-gaap_EquityComponentDomain_B4F19B12E50E564D80C091AC16534CBC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_B4F19B12E50E564D80C091AC16534CBC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_6FE046C6A7F72B83813091AC1653EC19" xlink:to="loc_us-gaap_EquityComponentDomain_B4F19B12E50E564D80C091AC16534CBC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember" xlink:label="loc_us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember_94BE0E8471A795EA03CA91AC165414AB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_B4F19B12E50E564D80C091AC16534CBC" xlink:to="loc_us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember_94BE0E8471A795EA03CA91AC165414AB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_6C7E75FEC2C5B9A51BDC91AC1654955B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_DD926E0EE979A5F6963E91AC1654998F" xlink:to="loc_us-gaap_StockholdersEquity_6C7E75FEC2C5B9A51BDC91AC1654955B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax_E6E3811077840B3152CC91AC1654B776" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_DD926E0EE979A5F6963E91AC1654998F" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax_E6E3811077840B3152CC91AC1654B776" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_9FECAE988754AA006E2C91AC16546D6B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_DD926E0EE979A5F6963E91AC1654998F" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_9FECAE988754AA006E2C91AC16546D6B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_24F45C829A3F1EEA71BE91AC1654A0A4" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_DD926E0EE979A5F6963E91AC1654998F" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_24F45C829A3F1EEA71BE91AC1654A0A4" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.thefirst.com/role/OtherComprehensiveIncomeLossReclassificationOfAvailableForSaleSecuritiesToHeldToMaturitySecuritiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_9A03CBD2FE6CC4FFA5F391AC165ACF78" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_E84D18FB170BC5BEAEDD91AC165941C0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_9A03CBD2FE6CC4FFA5F391AC165ACF78" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_E84D18FB170BC5BEAEDD91AC165941C0" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_B285C7DBADE64A25597091AC165A7B17" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_E84D18FB170BC5BEAEDD91AC165941C0" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_B285C7DBADE64A25597091AC165A7B17" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_F8623A655FA3B8D9F04E91AC165AE9D8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_B285C7DBADE64A25597091AC165A7B17" xlink:to="loc_us-gaap_EquityComponentDomain_F8623A655FA3B8D9F04E91AC165AE9D8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_F8623A655FA3B8D9F04E91AC165AE9D8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_B285C7DBADE64A25597091AC165A7B17" xlink:to="loc_us-gaap_EquityComponentDomain_F8623A655FA3B8D9F04E91AC165AE9D8" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_AccumulatedNetGainLossonSecuritiesTransferredfromAvailableforSaletoHeldtoMaturityMember" xlink:label="loc_fnlc_AccumulatedNetGainLossonSecuritiesTransferredfromAvailableforSaletoHeldtoMaturityMember_AE90381CE997F075C6F491AC165A704E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_F8623A655FA3B8D9F04E91AC165AE9D8" xlink:to="loc_fnlc_AccumulatedNetGainLossonSecuritiesTransferredfromAvailableforSaletoHeldtoMaturityMember_AE90381CE997F075C6F491AC165A704E" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_ReclassificationofAvailableforSaleSecuritiestoHeldtomaturityRollForwardRollForward" xlink:label="loc_fnlc_ReclassificationofAvailableforSaleSecuritiestoHeldtomaturityRollForwardRollForward_70A7C72EC2E77E010EC691AC165AA169" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_9A03CBD2FE6CC4FFA5F391AC165ACF78" xlink:to="loc_fnlc_ReclassificationofAvailableforSaleSecuritiestoHeldtomaturityRollForwardRollForward_70A7C72EC2E77E010EC691AC165AA169" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_10E85D6DD3C5776C479A91AC165ABDA3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_ReclassificationofAvailableforSaleSecuritiestoHeldtomaturityRollForwardRollForward_70A7C72EC2E77E010EC691AC165AA169" xlink:to="loc_us-gaap_StockholdersEquity_10E85D6DD3C5776C479A91AC165ABDA3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax_2AD035977F26875A4A5891AC165A0105" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_ReclassificationofAvailableforSaleSecuritiestoHeldtomaturityRollForwardRollForward_70A7C72EC2E77E010EC691AC165AA169" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax_2AD035977F26875A4A5891AC165A0105" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_4222AABEEDD9F167503B91AC165B0128" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_ReclassificationofAvailableforSaleSecuritiestoHeldtomaturityRollForwardRollForward_70A7C72EC2E77E010EC691AC165AA169" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_4222AABEEDD9F167503B91AC165B0128" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_DC906AEA9A880F2C65B191AC165B0DD4" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_ReclassificationofAvailableforSaleSecuritiestoHeldtomaturityRollForwardRollForward_70A7C72EC2E77E010EC691AC165AA169" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_DC906AEA9A880F2C65B191AC165B0DD4" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.thefirst.com/role/OtherComprehensiveIncomeLossReclassificationOutOfAccumulatedOtherComprehensiveIncomeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_3E2537B7F22B5C8B892FF6C3471F74A9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_CABCD05031105B1E9B0B7531BB83803C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_3E2537B7F22B5C8B892FF6C3471F74A9" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_CABCD05031105B1E9B0B7531BB83803C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_C8CCEEDB473E56CD93F43A3D044759A6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_CABCD05031105B1E9B0B7531BB83803C" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_C8CCEEDB473E56CD93F43A3D044759A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_E092D8E0545EA4F11CEE855B5E402FED_09EF7B1A4C395E8C9F726E79F1A5F8B1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_C8CCEEDB473E56CD93F43A3D044759A6" xlink:to="loc_us-gaap_EquityComponentDomain_E092D8E0545EA4F11CEE855B5E402FED_09EF7B1A4C395E8C9F726E79F1A5F8B1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_B513D9A1D1515EEFA2D730CDF54462F5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_C8CCEEDB473E56CD93F43A3D044759A6" xlink:to="loc_us-gaap_EquityComponentDomain_B513D9A1D1515EEFA2D730CDF54462F5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetUnamortizedGainLossMember" xlink:label="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetUnamortizedGainLossMember_D2E60C975A3C504883ECB7B7E1A0F0C7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_B513D9A1D1515EEFA2D730CDF54462F5" xlink:to="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetUnamortizedGainLossMember_D2E60C975A3C504883ECB7B7E1A0F0C7" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeRollForward" xlink:label="loc_fnlc_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeRollForward_8DDE3EFF38BC5974BCFAFADD3FE88E13" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_3E2537B7F22B5C8B892FF6C3471F74A9" xlink:to="loc_fnlc_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeRollForward_8DDE3EFF38BC5974BCFAFADD3FE88E13" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_2CDE4E2F01A758EEBAB589D4610E76C5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeRollForward_8DDE3EFF38BC5974BCFAFADD3FE88E13" xlink:to="loc_us-gaap_StockholdersEquity_2CDE4E2F01A758EEBAB589D4610E76C5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax_A11DE7ACCFFD57188C9DA0DDFBFC1AA7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeRollForward_8DDE3EFF38BC5974BCFAFADD3FE88E13" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax_A11DE7ACCFFD57188C9DA0DDFBFC1AA7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax_AB27ADF0BA0C52C389A197C6D2306E9F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeRollForward_8DDE3EFF38BC5974BCFAFADD3FE88E13" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax_AB27ADF0BA0C52C389A197C6D2306E9F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_1136D1B5A9B65584AF939BE9AD93ABE7" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeRollForward_8DDE3EFF38BC5974BCFAFADD3FE88E13" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_1136D1B5A9B65584AF939BE9AD93ABE7" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.thefirst.com/role/OtherComprehensiveIncomeLossSummaryOfAvailableForSaleSecuritiesActivityDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_AF3978BDA5EB0AC7C6BF970F620ED6DF" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_CF9177FFA96A85A58134970F620D969E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_AF3978BDA5EB0AC7C6BF970F620ED6DF" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_CF9177FFA96A85A58134970F620D969E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_42B9F6912C4CF72316EE970F620E2847" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_CF9177FFA96A85A58134970F620D969E" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_42B9F6912C4CF72316EE970F620E2847" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_EACCE7AC7E91C8F3FF0F970F620EED1D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_42B9F6912C4CF72316EE970F620E2847" xlink:to="loc_us-gaap_EquityComponentDomain_EACCE7AC7E91C8F3FF0F970F620EED1D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_EACCE7AC7E91C8F3FF0F970F620EED1D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_42B9F6912C4CF72316EE970F620E2847" xlink:to="loc_us-gaap_EquityComponentDomain_EACCE7AC7E91C8F3FF0F970F620EED1D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember" xlink:label="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_4D3D569F08CBFAE2F557970F620EBBE2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_EACCE7AC7E91C8F3FF0F970F620EED1D" xlink:to="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_4D3D569F08CBFAE2F557970F620EBBE2" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_AccumulatedOtherComprehensiveIncomeLossRollForward" xlink:label="loc_fnlc_AccumulatedOtherComprehensiveIncomeLossRollForward_1714F5E153250080913C970F620E8A98" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_AF3978BDA5EB0AC7C6BF970F620ED6DF" xlink:to="loc_fnlc_AccumulatedOtherComprehensiveIncomeLossRollForward_1714F5E153250080913C970F620E8A98" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_B93E47FEF31A65415ECC970F620EB5CC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_AccumulatedOtherComprehensiveIncomeLossRollForward_1714F5E153250080913C970F620E8A98" xlink:to="loc_us-gaap_StockholdersEquity_B93E47FEF31A65415ECC970F620EB5CC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax_3516B5629D9946765628970F620EF72D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_AccumulatedOtherComprehensiveIncomeLossRollForward_1714F5E153250080913C970F620E8A98" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax_3516B5629D9946765628970F620EF72D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax_2F0EF3A05D1712EF47F9970F620EB1D5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_AccumulatedOtherComprehensiveIncomeLossRollForward_1714F5E153250080913C970F620E8A98" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax_2F0EF3A05D1712EF47F9970F620EB1D5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_CC360CC0D406A4390981970F620E6B5C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_AccumulatedOtherComprehensiveIncomeLossRollForward_1714F5E153250080913C970F620E8A98" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_CC360CC0D406A4390981970F620E6B5C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_869F36C0107B2FA07311970F620EB39D" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fnlc_AccumulatedOtherComprehensiveIncomeLossRollForward_1714F5E153250080913C970F620E8A98" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_869F36C0107B2FA07311970F620EB39D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.thefirst.com/role/OtherComprehensiveIncomeLossTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/PreferredAndCommonStock" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/PreferredAndCommonStockDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockLineItems" xlink:label="loc_us-gaap_ClassOfStockLineItems_5211EC75150C629B85710163F663893B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfStockByClassTable" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_CCA538BFF23BD0F925360163F662E7F8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_5211EC75150C629B85710163F663893B" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_CCA538BFF23BD0F925360163F662E7F8" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_3A87484B8FCDD77EB2000163F663F441" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_CCA538BFF23BD0F925360163F662E7F8" xlink:to="loc_us-gaap_StatementClassOfStockAxis_3A87484B8FCDD77EB2000163F663F441" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_608785D24E732F36D6330163F6631682_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_3A87484B8FCDD77EB2000163F663F441" xlink:to="loc_us-gaap_ClassOfStockDomain_608785D24E732F36D6330163F6631682_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_608785D24E732F36D6330163F6631682" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_3A87484B8FCDD77EB2000163F663F441" xlink:to="loc_us-gaap_ClassOfStockDomain_608785D24E732F36D6330163F6631682" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SeriesAPreferredStockMember" xlink:label="loc_us-gaap_SeriesAPreferredStockMember_D3C8BDB32E486BD8E8BE0163F663401E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_608785D24E732F36D6330163F6631682" xlink:to="loc_us-gaap_SeriesAPreferredStockMember_D3C8BDB32E486BD8E8BE0163F663401E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareRepurchaseProgramAxis" xlink:label="loc_us-gaap_ShareRepurchaseProgramAxis_69965B98FA6A4575AE230163F663F88C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_CCA538BFF23BD0F925360163F662E7F8" xlink:to="loc_us-gaap_ShareRepurchaseProgramAxis_69965B98FA6A4575AE230163F663F88C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="loc_us-gaap_ShareRepurchaseProgramDomain_CFF6F442157A677C71240163F6637B71_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_69965B98FA6A4575AE230163F663F88C" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_CFF6F442157A677C71240163F6637B71_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="loc_us-gaap_ShareRepurchaseProgramDomain_CFF6F442157A677C71240163F6637B71" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_69965B98FA6A4575AE230163F663F88C" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_CFF6F442157A677C71240163F6637B71" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_CapitalPurchaseProgramMember" xlink:label="loc_fnlc_CapitalPurchaseProgramMember_C4B7BC17EE7F44E2DDB30163F663F92A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareRepurchaseProgramDomain_CFF6F442157A677C71240163F6637B71" xlink:to="loc_fnlc_CapitalPurchaseProgramMember_C4B7BC17EE7F44E2DDB30163F663F92A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromIssuanceOfPreferredStockAndPreferenceStock" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfPreferredStockAndPreferenceStock_B485B9857AE4A0A4CEBD0163F663A79C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_5211EC75150C629B85710163F663893B" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfPreferredStockAndPreferenceStock_B485B9857AE4A0A4CEBD0163F663A79C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfWarrantOrRightOutstanding" xlink:label="loc_us-gaap_ClassOfWarrantOrRightOutstanding_1FBB18668EF216D165460163F6633B24" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_5211EC75150C629B85710163F663893B" xlink:to="loc_us-gaap_ClassOfWarrantOrRightOutstanding_1FBB18668EF216D165460163F6633B24" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1" xlink:label="loc_us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1_A89B0F0F150737911E880163F6638A58" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_5211EC75150C629B85710163F663893B" xlink:to="loc_us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1_A89B0F0F150737911E880163F6638A58" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_ClassofWarrantorRightTerm" xlink:label="loc_fnlc_ClassofWarrantorRightTerm_D627C43E2341BFB01DA80163F6637F05" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_5211EC75150C629B85710163F663893B" xlink:to="loc_fnlc_ClassofWarrantorRightTerm_D627C43E2341BFB01DA80163F6637F05" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForRepurchaseOfWarrants" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfWarrants_B2C87D9F26F3918E1B1E0163F663D03C" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_5211EC75150C629B85710163F663893B" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfWarrants_B2C87D9F26F3918E1B1E0163F663D03C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_0DB8B20F8306E8AAE97A0163F6636747" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_5211EC75150C629B85710163F663893B" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_0DB8B20F8306E8AAE97A0163F6636747" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.thefirst.com/role/Reclassifications" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/StockBasedCompensation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.thefirst.com/role/StockBasedCompensationNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_14462CE9ABA161A85D83970F623151F9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_F30E6E7BF1DB0696B0B2970F623006CC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_14462CE9ABA161A85D83970F623151F9" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_F30E6E7BF1DB0696B0B2970F623006CC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_C56B1C4E7B80C618BC42970F6231CFA3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_F30E6E7BF1DB0696B0B2970F623006CC" xlink:to="loc_us-gaap_PlanNameAxis_C56B1C4E7B80C618BC42970F6231CFA3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_5E98F0E43107729067CB970F623142AA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_C56B1C4E7B80C618BC42970F6231CFA3" xlink:to="loc_us-gaap_PlanNameDomain_5E98F0E43107729067CB970F623142AA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_5E98F0E43107729067CB970F623142AA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_C56B1C4E7B80C618BC42970F6231CFA3" xlink:to="loc_us-gaap_PlanNameDomain_5E98F0E43107729067CB970F623142AA" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_Plan2010Member" xlink:label="loc_fnlc_Plan2010Member_6172DB30EBB6A36F853E970F62312D63" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_5E98F0E43107729067CB970F623142AA" xlink:to="loc_fnlc_Plan2010Member_6172DB30EBB6A36F853E970F62312D63" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_587199DBB85C637034A4970F6231CD89" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_F30E6E7BF1DB0696B0B2970F623006CC" xlink:to="loc_us-gaap_AwardTypeAxis_587199DBB85C637034A4970F6231CD89" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_FE5F9079398CFBD58E2E970F62315FCD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_587199DBB85C637034A4970F6231CD89" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_FE5F9079398CFBD58E2E970F62315FCD_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_FE5F9079398CFBD58E2E970F62315FCD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_587199DBB85C637034A4970F6231CD89" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_FE5F9079398CFBD58E2E970F62315FCD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_83F2EEE5142C19E36B3B970F623194F5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_FE5F9079398CFBD58E2E970F62315FCD" xlink:to="loc_us-gaap_RestrictedStockMember_83F2EEE5142C19E36B3B970F623194F5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockCapitalSharesReservedForFutureIssuance" xlink:label="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_42113F9E41985CA6FB76970F62311B4E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_14462CE9ABA161A85D83970F623151F9" xlink:to="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_42113F9E41985CA6FB76970F62311B4E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_2B892B798E13B4932B9C970F62315C11" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_14462CE9ABA161A85D83970F623151F9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_2B892B798E13B4932B9C970F62315C11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_D5638A927A742FCE1835970F6231997A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_14462CE9ABA161A85D83970F623151F9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_D5638A927A742FCE1835970F6231997A" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostRecognizedAndNotYetRecognized" xlink:label="loc_fnlc_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostRecognizedAndNotYetRecognized_A413756159980D7AAF9A970F62314EBF" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_14462CE9ABA161A85D83970F623151F9" xlink:to="loc_fnlc_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostRecognizedAndNotYetRecognized_A413756159980D7AAF9A970F62314EBF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_973E299B20C70D339A74970F62318CEB" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_14462CE9ABA161A85D83970F623151F9" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_973E299B20C70D339A74970F62318CEB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_D6150FB2D2B6C69D66D5970F6231D9EB" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_14462CE9ABA161A85D83970F623151F9" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_D6150FB2D2B6C69D66D5970F6231D9EB" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.thefirst.com/role/StockBasedCompensationSharesOfRestrictedStockGrantedUnder2010PlanDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3B94A92D01B63C0021D0970F622E83AC" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_357623ADB6544B274AC0970F622D51F1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3B94A92D01B63C0021D0970F622E83AC" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_357623ADB6544B274AC0970F622D51F1" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardDateAxis" xlink:label="loc_us-gaap_AwardDateAxis_7C0766B436C9A5534728970F622D985A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_357623ADB6544B274AC0970F622D51F1" xlink:to="loc_us-gaap_AwardDateAxis_7C0766B436C9A5534728970F622D985A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardDateDomain" xlink:label="loc_us-gaap_AwardDateDomain_97F1FCDEB2E1A2AE55F9970F622D12C7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardDateAxis_7C0766B436C9A5534728970F622D985A" xlink:to="loc_us-gaap_AwardDateDomain_97F1FCDEB2E1A2AE55F9970F622D12C7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardDateDomain" xlink:label="loc_us-gaap_AwardDateDomain_97F1FCDEB2E1A2AE55F9970F622D12C7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardDateAxis_7C0766B436C9A5534728970F622D985A" xlink:to="loc_us-gaap_AwardDateDomain_97F1FCDEB2E1A2AE55F9970F622D12C7" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_YearAwarded2013Member" xlink:label="loc_fnlc_YearAwarded2013Member_C25387B71EE4FD43A0DE9719E04D6585" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AwardDateDomain_97F1FCDEB2E1A2AE55F9970F622D12C7" xlink:to="loc_fnlc_YearAwarded2013Member_C25387B71EE4FD43A0DE9719E04D6585" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_YearAwarded2014Member" xlink:label="loc_fnlc_YearAwarded2014Member_33DBBCFE0BEE41ADDD92970F622D2F5C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AwardDateDomain_97F1FCDEB2E1A2AE55F9970F622D12C7" xlink:to="loc_fnlc_YearAwarded2014Member_33DBBCFE0BEE41ADDD92970F622D2F5C" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_YearAwarded2015Member" xlink:label="loc_fnlc_YearAwarded2015Member_5AE8880D64016FDE582C970F622DEC90" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AwardDateDomain_97F1FCDEB2E1A2AE55F9970F622D12C7" xlink:to="loc_fnlc_YearAwarded2015Member_5AE8880D64016FDE582C970F622DEC90" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_YearAwarded2016Member" xlink:label="loc_fnlc_YearAwarded2016Member_10EBC21097E7612EC3FA970F622DBEBA" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AwardDateDomain_97F1FCDEB2E1A2AE55F9970F622D12C7" xlink:to="loc_fnlc_YearAwarded2016Member_10EBC21097E7612EC3FA970F622DBEBA" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_YearAwarded2017Member" xlink:label="loc_fnlc_YearAwarded2017Member_06B750100DF833728201970F622D3C04" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AwardDateDomain_97F1FCDEB2E1A2AE55F9970F622D12C7" xlink:to="loc_fnlc_YearAwarded2017Member_06B750100DF833728201970F622D3C04" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_BDEC7440B58B668C0EDC970F622D227A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_357623ADB6544B274AC0970F622D51F1" xlink:to="loc_us-gaap_PlanNameAxis_BDEC7440B58B668C0EDC970F622D227A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_ADBEDDF3CF43D7A069A6970F622DDC1A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_BDEC7440B58B668C0EDC970F622D227A" xlink:to="loc_us-gaap_PlanNameDomain_ADBEDDF3CF43D7A069A6970F622DDC1A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_ADBEDDF3CF43D7A069A6970F622DDC1A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_BDEC7440B58B668C0EDC970F622D227A" xlink:to="loc_us-gaap_PlanNameDomain_ADBEDDF3CF43D7A069A6970F622DDC1A" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_Plan2010Member" xlink:label="loc_fnlc_Plan2010Member_3D9CE556AEBC144F87BC970F622D51A5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_ADBEDDF3CF43D7A069A6970F622DDC1A" xlink:to="loc_fnlc_Plan2010Member_3D9CE556AEBC144F87BC970F622D51A5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingAxis" xlink:label="loc_us-gaap_VestingAxis_4F94EB330723DB907048970F622D69D4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_357623ADB6544B274AC0970F622D51F1" xlink:to="loc_us-gaap_VestingAxis_4F94EB330723DB907048970F622D69D4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_B97CF81A785E388C795A970F622D086A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_4F94EB330723DB907048970F622D69D4" xlink:to="loc_us-gaap_VestingDomain_B97CF81A785E388C795A970F622D086A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_B97CF81A785E388C795A970F622D086A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_4F94EB330723DB907048970F622D69D4" xlink:to="loc_us-gaap_VestingDomain_B97CF81A785E388C795A970F622D086A" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_FiveYearsMember" xlink:label="loc_fnlc_FiveYearsMember_30C792B920891EA2A8E0970F622D87A5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_B97CF81A785E388C795A970F622D086A" xlink:to="loc_fnlc_FiveYearsMember_30C792B920891EA2A8E0970F622D87A5" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_OneYearMember" xlink:label="loc_fnlc_OneYearMember_1AE3C502837C5811772C970F622D70AC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_B97CF81A785E388C795A970F622D086A" xlink:to="loc_fnlc_OneYearMember_1AE3C502837C5811772C970F622D70AC" xlink:type="arc" />
    <link:loc xlink:href="fnlc-20170930.xsd#fnlc_ThreeYearsMember" xlink:label="loc_fnlc_ThreeYearsMember_8A48079B97BF3760F9ED970F622D123A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_B97CF81A785E388C795A970F622D086A" xlink:to="loc_fnlc_ThreeYearsMember_8A48079B97BF3760F9ED970F622D123A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_A6B94D09413344B26A81970F622DF3D5" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_357623ADB6544B274AC0970F622D51F1" xlink:to="loc_us-gaap_AwardTypeAxis_A6B94D09413344B26A81970F622DF3D5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DE354CA971120D2D57BD970F622DFD39_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_A6B94D09413344B26A81970F622DF3D5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DE354CA971120D2D57BD970F622DFD39_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DE354CA971120D2D57BD970F622DFD39" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_A6B94D09413344B26A81970F622DF3D5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DE354CA971120D2D57BD970F622DFD39" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_7F3EF3EB3C88AA9E1E1D970F622EF3F5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DE354CA971120D2D57BD970F622DFD39" xlink:to="loc_us-gaap_RestrictedStockMember_7F3EF3EB3C88AA9E1E1D970F622EF3F5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_5E2FE388AC128C277CD4970F622E3E98" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3B94A92D01B63C0021D0970F622E83AC" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_5E2FE388AC128C277CD4970F622E3E98" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_11DC5B0CCF9AF8DFD92C970F622EE9EA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3B94A92D01B63C0021D0970F622E83AC" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_11DC5B0CCF9AF8DFD92C970F622EE9EA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_17C4153A4E806F77DA5A970F622EBD2F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3B94A92D01B63C0021D0970F622E83AC" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_17C4153A4E806F77DA5A970F622EBD2F" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.thefirst.com/role/StockBasedCompensationTables" xlink:type="extended" />
</link:linkbase>
