<?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.acnb.com/role/AccumulatedOtherComprehensiveLoss" xlink:href="acnb-20170331.xsd#AccumulatedOtherComprehensiveLoss" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/AccumulatedOtherComprehensiveLossDetails" xlink:href="acnb-20170331.xsd#AccumulatedOtherComprehensiveLossDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/AccumulatedOtherComprehensiveLossTables" xlink:href="acnb-20170331.xsd#AccumulatedOtherComprehensiveLossTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/BasisOfPresentationAndNatureOfOperations" xlink:href="acnb-20170331.xsd#BasisOfPresentationAndNatureOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/BasisOfPresentationAndNatureOfOperationsDetails" xlink:href="acnb-20170331.xsd#BasisOfPresentationAndNatureOfOperationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/ConsolidatedStatementsOfCashFlowsUnaudited" xlink:href="acnb-20170331.xsd#ConsolidatedStatementsOfCashFlowsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/ConsolidatedStatementsOfChangesInStockholdersEquityUnaudited" xlink:href="acnb-20170331.xsd#ConsolidatedStatementsOfChangesInStockholdersEquityUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/ConsolidatedStatementsOfChangesInStockholdersEquityUnauditedParenthetical" xlink:href="acnb-20170331.xsd#ConsolidatedStatementsOfChangesInStockholdersEquityUnauditedParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/ConsolidatedStatementsOfComprehensiveIncomeUnaudited" xlink:href="acnb-20170331.xsd#ConsolidatedStatementsOfComprehensiveIncomeUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/ConsolidatedStatementsOfComprehensiveIncomeUnauditedParenthetical" xlink:href="acnb-20170331.xsd#ConsolidatedStatementsOfComprehensiveIncomeUnauditedParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/ConsolidatedStatementsOfConditionUnaudited" xlink:href="acnb-20170331.xsd#ConsolidatedStatementsOfConditionUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/ConsolidatedStatementsOfConditionUnauditedParenthetical" xlink:href="acnb-20170331.xsd#ConsolidatedStatementsOfConditionUnauditedParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/ConsolidatedStatementsOfIncomeUnaudited" xlink:href="acnb-20170331.xsd#ConsolidatedStatementsOfIncomeUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/DocumentAndEntityInformation" xlink:href="acnb-20170331.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/EarningsPerShareAndRestrictedStockPlan" xlink:href="acnb-20170331.xsd#EarningsPerShareAndRestrictedStockPlan" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/EarningsPerShareAndRestrictedStockPlanDetails" xlink:href="acnb-20170331.xsd#EarningsPerShareAndRestrictedStockPlanDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/FairValueMeasurements" xlink:href="acnb-20170331.xsd#FairValueMeasurements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/FairValueMeasurementsNarrativeDetails" xlink:href="acnb-20170331.xsd#FairValueMeasurementsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/FairValueMeasurementsScheduleOfAdditionalQuantitativeInformationdetails" xlink:href="acnb-20170331.xsd#FairValueMeasurementsScheduleOfAdditionalQuantitativeInformationdetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/FairValueMeasurementsScheduleOfCarryingAmountFairValueAndPlacementInFairValueHierarchyDetails" xlink:href="acnb-20170331.xsd#FairValueMeasurementsScheduleOfCarryingAmountFairValueAndPlacementInFairValueHierarchyDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/FairValueMeasurementsScheduleOfFairValueMeasurementsDetails" xlink:href="acnb-20170331.xsd#FairValueMeasurementsScheduleOfFairValueMeasurementsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/FairValueMeasurementsTables" xlink:href="acnb-20170331.xsd#FairValueMeasurementsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/Guarantees" xlink:href="acnb-20170331.xsd#Guarantees" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/GuaranteesDetails" xlink:href="acnb-20170331.xsd#GuaranteesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/Loans" xlink:href="acnb-20170331.xsd#Loans" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/LoansNarrativeDetails" xlink:href="acnb-20170331.xsd#LoansNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/LoansScheduleOfAllowanceForLoanLossesAndRecordedInvestmentInFinancingReceivablesDetails" xlink:href="acnb-20170331.xsd#LoansScheduleOfAllowanceForLoanLossesAndRecordedInvestmentInFinancingReceivablesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/LoansScheduleOfClassesOfLoanPortfolioSummarizedByAggregateRiskRatingDetails" xlink:href="acnb-20170331.xsd#LoansScheduleOfClassesOfLoanPortfolioSummarizedByAggregateRiskRatingDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/LoansScheduleOfLoanPortfolioSummarizedByPastDueStatusDetails" xlink:href="acnb-20170331.xsd#LoansScheduleOfLoanPortfolioSummarizedByPastDueStatusDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/LoansScheduleOfNonaccrualLoansByClassesOfLoanPortfolioDetails" xlink:href="acnb-20170331.xsd#LoansScheduleOfNonaccrualLoansByClassesOfLoanPortfolioDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/LoansScheduleOfTroubledDebtRestructuringsDetails" xlink:href="acnb-20170331.xsd#LoansScheduleOfTroubledDebtRestructuringsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/LoansSummaryOfAverageOfImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails" xlink:href="acnb-20170331.xsd#LoansSummaryOfAverageOfImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/LoansSummaryOfImpairedLoansByLoanPortfolioClassDetails" xlink:href="acnb-20170331.xsd#LoansSummaryOfImpairedLoansByLoanPortfolioClassDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/LoansTables" xlink:href="acnb-20170331.xsd#LoansTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/NewAccountingPronouncements" xlink:href="acnb-20170331.xsd#NewAccountingPronouncements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/NewAccountingPronouncementsPolicies" xlink:href="acnb-20170331.xsd#NewAccountingPronouncementsPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/RetirementBenefits" xlink:href="acnb-20170331.xsd#RetirementBenefits" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/RetirementBenefitsDetails" xlink:href="acnb-20170331.xsd#RetirementBenefitsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/RetirementBenefitsTables" xlink:href="acnb-20170331.xsd#RetirementBenefitsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/Securities" xlink:href="acnb-20170331.xsd#Securities" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/SecuritiesNarrativeDetails" xlink:href="acnb-20170331.xsd#SecuritiesNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/SecuritiesScheduleOfAmortizedCostAndFairValueByContractualMaturityDetails" xlink:href="acnb-20170331.xsd#SecuritiesScheduleOfAmortizedCostAndFairValueByContractualMaturityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/SecuritiesScheduleOfAmortizedCostAndFairValueOfSecuritiesDetails" xlink:href="acnb-20170331.xsd#SecuritiesScheduleOfAmortizedCostAndFairValueOfSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/SecuritiesScheduleOfUnrealizedLossesAndFairValueDetails" xlink:href="acnb-20170331.xsd#SecuritiesScheduleOfUnrealizedLossesAndFairValueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/SecuritiesSoldUnderAgreementsToRepurchaseRepurchaseAgreements" xlink:href="acnb-20170331.xsd#SecuritiesSoldUnderAgreementsToRepurchaseRepurchaseAgreements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/SecuritiesSoldUnderAgreementsToRepurchaseRepurchaseAgreementsDetails" xlink:href="acnb-20170331.xsd#SecuritiesSoldUnderAgreementsToRepurchaseRepurchaseAgreementsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/SecuritiesSoldUnderAgreementsToRepurchaseRepurchaseAgreementsTables" xlink:href="acnb-20170331.xsd#SecuritiesSoldUnderAgreementsToRepurchaseRepurchaseAgreementsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/SecuritiesTables" xlink:href="acnb-20170331.xsd#SecuritiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/SegmentReporting" xlink:href="acnb-20170331.xsd#SegmentReporting" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/SegmentReportingDetails" xlink:href="acnb-20170331.xsd#SegmentReportingDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.acnb.com/role/SegmentReportingTables" xlink:href="acnb-20170331.xsd#SegmentReportingTables" 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.acnb.com/role/AccumulatedOtherComprehensiveLoss" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.acnb.com/role/AccumulatedOtherComprehensiveLossDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_8B7DDD6F1DB5317F9BC16D9277F53511" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_69C28C7AFEE99F5A9F1C6D9277F5DFBB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_8B7DDD6F1DB5317F9BC16D9277F53511" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_69C28C7AFEE99F5A9F1C6D9277F5DFBB" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_F6390539965C756ECF4F6D9277F5560A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_69C28C7AFEE99F5A9F1C6D9277F5DFBB" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_F6390539965C756ECF4F6D9277F5560A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_CC0114CEAFE4647CA4C06D9277F518C9_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_F6390539965C756ECF4F6D9277F5560A" xlink:to="loc_us-gaap_EquityComponentDomain_CC0114CEAFE4647CA4C06D9277F518C9_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_CC0114CEAFE4647CA4C06D9277F518C9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_F6390539965C756ECF4F6D9277F5560A" xlink:to="loc_us-gaap_EquityComponentDomain_CC0114CEAFE4647CA4C06D9277F518C9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember" xlink:label="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_72FCC8FA0A430E2FE6D06D9277F58AA3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_CC0114CEAFE4647CA4C06D9277F518C9" xlink:to="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_72FCC8FA0A430E2FE6D06D9277F58AA3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember" xlink:label="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_A68CB81AF178C75003766D9277F549D3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_CC0114CEAFE4647CA4C06D9277F518C9" xlink:to="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_A68CB81AF178C75003766D9277F549D3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_4FC569D42DFAAFBA5A1E6D9277F561B0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_CC0114CEAFE4647CA4C06D9277F518C9" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_4FC569D42DFAAFBA5A1E6D9277F561B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_3F98EA62E0EF256473C26D9277F53551" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_8B7DDD6F1DB5317F9BC16D9277F53511" xlink:to="loc_us-gaap_StockholdersEquity_3F98EA62E0EF256473C26D9277F53551" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.acnb.com/role/AccumulatedOtherComprehensiveLossTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.acnb.com/role/BasisOfPresentationAndNatureOfOperations" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.acnb.com/role/BasisOfPresentationAndNatureOfOperationsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_9631F550E0A3F7EDADE0AA69F50D3FE7" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_432735CF00E3E804AE06AA69F50C59FE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9631F550E0A3F7EDADE0AA69F50D3FE7" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_432735CF00E3E804AE06AA69F50C59FE" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_CDC54964330EAE09EE44AA69F50CC15B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_432735CF00E3E804AE06AA69F50C59FE" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_CDC54964330EAE09EE44AA69F50CC15B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1D9A027F06ACB0A23D88AA69F50CDF92_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_CDC54964330EAE09EE44AA69F50CC15B" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1D9A027F06ACB0A23D88AA69F50CDF92_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1D9A027F06ACB0A23D88AA69F50CDF92" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_CDC54964330EAE09EE44AA69F50CC15B" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1D9A027F06ACB0A23D88AA69F50CDF92" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_NewWindsorMember" xlink:label="loc_acnb_NewWindsorMember_6A1466D8AB94DA065C77AA69F50D1BFF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1D9A027F06ACB0A23D88AA69F50CDF92" xlink:to="loc_acnb_NewWindsorMember_6A1466D8AB94DA065C77AA69F50D1BFF" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_BusinessCombinationNumberofDirectorsJoiningBoardofDirectors" xlink:label="loc_acnb_BusinessCombinationNumberofDirectorsJoiningBoardofDirectors_AD049BBB929DFAF9782FAA69F50DD3A2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9631F550E0A3F7EDADE0AA69F50D3FE7" xlink:to="loc_acnb_BusinessCombinationNumberofDirectorsJoiningBoardofDirectors_AD049BBB929DFAF9782FAA69F50DD3A2" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_BusinessAcquisitionProFormaAssets" xlink:label="loc_acnb_BusinessAcquisitionProFormaAssets_F3F127711E5F335CB764AA69F50D43C1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9631F550E0A3F7EDADE0AA69F50D3FE7" xlink:to="loc_acnb_BusinessAcquisitionProFormaAssets_F3F127711E5F335CB764AA69F50D43C1" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_BusinessAcquisitionProFormaDeposits" xlink:label="loc_acnb_BusinessAcquisitionProFormaDeposits_ED84CACA8C19A9941173AA69F50DF228" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9631F550E0A3F7EDADE0AA69F50D3FE7" xlink:to="loc_acnb_BusinessAcquisitionProFormaDeposits_ED84CACA8C19A9941173AA69F50DF228" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_BusinessAcquisitionProFormaLoans" xlink:label="loc_acnb_BusinessAcquisitionProFormaLoans_7BA53FCB18D3D1286810AA69F50D874C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9631F550E0A3F7EDADE0AA69F50D3FE7" xlink:to="loc_acnb_BusinessAcquisitionProFormaLoans_7BA53FCB18D3D1286810AA69F50D874C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts" xlink:label="loc_us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts_8F75A566006836FB241EAA69F50D319A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_9631F550E0A3F7EDADE0AA69F50D3FE7" xlink:to="loc_us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts_8F75A566006836FB241EAA69F50D319A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.acnb.com/role/ConsolidatedStatementsOfCashFlowsUnaudited" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.acnb.com/role/ConsolidatedStatementsOfChangesInStockholdersEquityUnaudited" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_8B2196241B575B29310B5E20790DB163" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_CA5E290F5F5A780E2E025E2079073FB1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_8B2196241B575B29310B5E20790DB163" xlink:to="loc_us-gaap_StatementTable_CA5E290F5F5A780E2E025E2079073FB1" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_7D3AC3F51F7BDDBAA8D05E2079089DEF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_CA5E290F5F5A780E2E025E2079073FB1" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_7D3AC3F51F7BDDBAA8D05E2079089DEF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_B4BAF31565FFDF8DDCD85E2079082C7E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_7D3AC3F51F7BDDBAA8D05E2079089DEF" xlink:to="loc_us-gaap_EquityComponentDomain_B4BAF31565FFDF8DDCD85E2079082C7E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_B4BAF31565FFDF8DDCD85E2079082C7E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_7D3AC3F51F7BDDBAA8D05E2079089DEF" xlink:to="loc_us-gaap_EquityComponentDomain_B4BAF31565FFDF8DDCD85E2079082C7E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_A2CAB661690A7713645E5E20790DA283" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_B4BAF31565FFDF8DDCD85E2079082C7E" xlink:to="loc_us-gaap_CommonStockMember_A2CAB661690A7713645E5E20790DA283" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="loc_us-gaap_TreasuryStockMember_600A229D3DCE989DAB735E20790DFEB2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_B4BAF31565FFDF8DDCD85E2079082C7E" xlink:to="loc_us-gaap_TreasuryStockMember_600A229D3DCE989DAB735E20790DFEB2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_3E6B1C67C89C8A10CB215E20790DE47B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_B4BAF31565FFDF8DDCD85E2079082C7E" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_3E6B1C67C89C8A10CB215E20790DE47B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_4F98BA235D6DF168AB7E5E20790D1FD3" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_B4BAF31565FFDF8DDCD85E2079082C7E" xlink:to="loc_us-gaap_RetainedEarningsMember_4F98BA235D6DF168AB7E5E20790D1FD3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_3FBF9DD5F69E3DA662EE5E20790D0515" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_B4BAF31565FFDF8DDCD85E2079082C7E" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_3FBF9DD5F69E3DA662EE5E20790D0515" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_18D67C43A17AB6014C2E5E20790D3CFB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8B2196241B575B29310B5E20790DB163" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_18D67C43A17AB6014C2E5E20790D3CFB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_9D351A25BBAF4F7709895E20790D4A69" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_18D67C43A17AB6014C2E5E20790D3CFB" xlink:to="loc_us-gaap_StockholdersEquity_9D351A25BBAF4F7709895E20790D4A69" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_88BB1089CC34ABBFE1615E20790E214C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_18D67C43A17AB6014C2E5E20790D3CFB" xlink:to="loc_us-gaap_NetIncomeLoss_88BB1089CC34ABBFE1615E20790E214C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_0F871E2C0E6CF5D7EE045E20790E13C0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_18D67C43A17AB6014C2E5E20790D3CFB" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_0F871E2C0E6CF5D7EE045E20790E13C0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_FC2AAEA23027622A494F5E20790E4FEA" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_18D67C43A17AB6014C2E5E20790D3CFB" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_FC2AAEA23027622A494F5E20790E4FEA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationRestrictedStockUnitsRequisiteServicePeriodRecognition" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationRestrictedStockUnitsRequisiteServicePeriodRecognition_777BC0C58F373EF8E8B25E20790EE95C" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_18D67C43A17AB6014C2E5E20790D3CFB" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationRestrictedStockUnitsRequisiteServicePeriodRecognition_777BC0C58F373EF8E8B25E20790EE95C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DividendsCommonStockCash" xlink:label="loc_us-gaap_DividendsCommonStockCash_61B7C0D24AE918D663525E20790E7E13" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_18D67C43A17AB6014C2E5E20790D3CFB" xlink:to="loc_us-gaap_DividendsCommonStockCash_61B7C0D24AE918D663525E20790E7E13" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.acnb.com/role/ConsolidatedStatementsOfChangesInStockholdersEquityUnauditedParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.acnb.com/role/ConsolidatedStatementsOfComprehensiveIncomeUnaudited" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.acnb.com/role/ConsolidatedStatementsOfComprehensiveIncomeUnauditedParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.acnb.com/role/ConsolidatedStatementsOfConditionUnaudited" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.acnb.com/role/ConsolidatedStatementsOfConditionUnauditedParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.acnb.com/role/ConsolidatedStatementsOfIncomeUnaudited" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.acnb.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.acnb.com/role/EarningsPerShareAndRestrictedStockPlan" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.acnb.com/role/EarningsPerShareAndRestrictedStockPlanDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DDF6AA5C208F19A18DC491CBE6E0CA71" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_E51FE89BCB5B3D4748C291CBE6E03180" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DDF6AA5C208F19A18DC491CBE6E0CA71" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_E51FE89BCB5B3D4748C291CBE6E03180" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_18872737DD9167A2C29C91CBE6E0ED19" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_E51FE89BCB5B3D4748C291CBE6E03180" xlink:to="loc_us-gaap_AwardTypeAxis_18872737DD9167A2C29C91CBE6E0ED19" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_CB0FCC76F3786E68C67F91CBE6E086D0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_18872737DD9167A2C29C91CBE6E0ED19" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_CB0FCC76F3786E68C67F91CBE6E086D0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_CB0FCC76F3786E68C67F91CBE6E086D0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_18872737DD9167A2C29C91CBE6E0ED19" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_CB0FCC76F3786E68C67F91CBE6E086D0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_43878495E93C1CE008B391CBE6E021CA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_CB0FCC76F3786E68C67F91CBE6E086D0" xlink:to="loc_us-gaap_RestrictedStockMember_43878495E93C1CE008B391CBE6E021CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_F449B8D1BE3637507A9B91CBE6E02A27" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DDF6AA5C208F19A18DC491CBE6E0CA71" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_F449B8D1BE3637507A9B91CBE6E02A27" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_AEBBB66B5E5DC70114A591CBE6E0D0C4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DDF6AA5C208F19A18DC491CBE6E0CA71" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_AEBBB66B5E5DC70114A591CBE6E0D0C4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_E052E0B9A4F520C6018191CBE6E0946B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DDF6AA5C208F19A18DC491CBE6E0CA71" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_E052E0B9A4F520C6018191CBE6E0946B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_17274B1363F39E3CF3BF91CBE6E05F10" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DDF6AA5C208F19A18DC491CBE6E0CA71" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_17274B1363F39E3CF3BF91CBE6E05F10" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.acnb.com/role/FairValueMeasurements" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.acnb.com/role/FairValueMeasurementsNarrativeDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.acnb.com/role/FairValueMeasurementsScheduleOfAdditionalQuantitativeInformationdetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsAssetsQuantitativeInformationLineItems" xlink:label="loc_us-gaap_FairValueInputsAssetsQuantitativeInformationLineItems_8B7834331231760BB953480439A99A5F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsAssetsQuantitativeInformationTable" xlink:label="loc_us-gaap_FairValueInputsAssetsQuantitativeInformationTable_C1AE1F39E25A0E49D0E4480439A87FD0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueInputsAssetsQuantitativeInformationLineItems_8B7834331231760BB953480439A99A5F" xlink:to="loc_us-gaap_FairValueInputsAssetsQuantitativeInformationTable_C1AE1F39E25A0E49D0E4480439A87FD0" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByAssetClassAxis" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_F2B95728CFEECD38602E480439A83ED4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueInputsAssetsQuantitativeInformationTable_C1AE1F39E25A0E49D0E4480439A87FD0" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_F2B95728CFEECD38602E480439A83ED4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_9AB09140554E7A8B3420480439A8E90C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_F2B95728CFEECD38602E480439A83ED4" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_9AB09140554E7A8B3420480439A8E90C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_9AB09140554E7A8B3420480439A8E90C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_F2B95728CFEECD38602E480439A83ED4" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_9AB09140554E7A8B3420480439A8E90C" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_ImpairedLoanMember" xlink:label="loc_acnb_ImpairedLoanMember_F164D7AE72DD5DFA1A0B480439A895AE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_9AB09140554E7A8B3420480439A8E90C" xlink:to="loc_acnb_ImpairedLoanMember_F164D7AE72DD5DFA1A0B480439A895AE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_6DB0B05F16F9ADB72727480439A89535" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueInputsAssetsQuantitativeInformationTable_C1AE1F39E25A0E49D0E4480439A87FD0" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_6DB0B05F16F9ADB72727480439A89535" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B4EBD23F39C35182DA2B480439A82C9E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_6DB0B05F16F9ADB72727480439A89535" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B4EBD23F39C35182DA2B480439A82C9E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B4EBD23F39C35182DA2B480439A82C9E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_6DB0B05F16F9ADB72727480439A89535" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B4EBD23F39C35182DA2B480439A82C9E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_E80EFF258D6049DD8604480439A8F39E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B4EBD23F39C35182DA2B480439A82C9E" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_E80EFF258D6049DD8604480439A8F39E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_720908819582BD51983E480439A93485" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueInputsAssetsQuantitativeInformationTable_C1AE1F39E25A0E49D0E4480439A87FD0" xlink:to="loc_us-gaap_RangeAxis_720908819582BD51983E480439A93485" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_CBCEC735AC03023139A4480439A900A7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_720908819582BD51983E480439A93485" xlink:to="loc_us-gaap_RangeMember_CBCEC735AC03023139A4480439A900A7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_CBCEC735AC03023139A4480439A900A7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_720908819582BD51983E480439A93485" xlink:to="loc_us-gaap_RangeMember_CBCEC735AC03023139A4480439A900A7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_4300897FC323EF76481D480439A97815" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_CBCEC735AC03023139A4480439A900A7" xlink:to="loc_us-gaap_MinimumMember_4300897FC323EF76481D480439A97815" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_C1E67964F467855A6A6F480439A954BE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_CBCEC735AC03023139A4480439A900A7" xlink:to="loc_us-gaap_MaximumMember_C1E67964F467855A6A6F480439A954BE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsFairValueDisclosureNonrecurring" xlink:label="loc_us-gaap_AssetsFairValueDisclosureNonrecurring_6B3988EE5BF4185DCE38480439A9866E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueInputsAssetsQuantitativeInformationLineItems_8B7834331231760BB953480439A99A5F" xlink:to="loc_us-gaap_AssetsFairValueDisclosureNonrecurring_6B3988EE5BF4185DCE38480439A9866E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsDiscountRate" xlink:label="loc_us-gaap_FairValueInputsDiscountRate_F9E5AC60E874B310B7DD480439A9E00A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueInputsAssetsQuantitativeInformationLineItems_8B7834331231760BB953480439A99A5F" xlink:to="loc_us-gaap_FairValueInputsDiscountRate_F9E5AC60E874B310B7DD480439A9E00A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.acnb.com/role/FairValueMeasurementsScheduleOfCarryingAmountFairValueAndPlacementInFairValueHierarchyDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A3CECADCC1E7E5776F56480439C5C819" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_2705F7E3569D64EFFCCC480439C4BF09" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A3CECADCC1E7E5776F56480439C5C819" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_2705F7E3569D64EFFCCC480439C4BF09" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_A0A6E843CB680B8D8106480439C556A5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_2705F7E3569D64EFFCCC480439C4BF09" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_A0A6E843CB680B8D8106480439C556A5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_8FF4616AECFB62F1D2EB480439C58F29_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_A0A6E843CB680B8D8106480439C556A5" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_8FF4616AECFB62F1D2EB480439C58F29_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_F232D3A76668EE33199A480439C5FD0B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_A0A6E843CB680B8D8106480439C556A5" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_F232D3A76668EE33199A480439C5FD0B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_8FF4616AECFB62F1D2EB480439C58F29" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_F232D3A76668EE33199A480439C5FD0B" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_8FF4616AECFB62F1D2EB480439C58F29" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember" xlink:label="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_B8960D35BABB62385F58480439C5EB5B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_8FF4616AECFB62F1D2EB480439C58F29" xlink:to="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_B8960D35BABB62385F58480439C5EB5B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_DCC296A6FDE95A726867480439C525C4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_8FF4616AECFB62F1D2EB480439C58F29" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_DCC296A6FDE95A726867480439C525C4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7EB0A4B535377C0DD40D480439C5C063" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_2705F7E3569D64EFFCCC480439C4BF09" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7EB0A4B535377C0DD40D480439C5C063" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_881E31D1B9FEE94E8D81480439C5CFAC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7EB0A4B535377C0DD40D480439C5C063" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_881E31D1B9FEE94E8D81480439C5CFAC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_881E31D1B9FEE94E8D81480439C5CFAC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7EB0A4B535377C0DD40D480439C5C063" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_881E31D1B9FEE94E8D81480439C5CFAC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_A7AE6650DECFF27DC29B480439C55132" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_881E31D1B9FEE94E8D81480439C5CFAC" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_A7AE6650DECFF27DC29B480439C55132" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_C1662587A395F5105870480439C519DC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_881E31D1B9FEE94E8D81480439C5CFAC" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_C1662587A395F5105870480439C519DC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_469C7E0149586D053725480439C5D7CB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_881E31D1B9FEE94E8D81480439C5CFAC" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_469C7E0149586D053725480439C5D7CB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:label="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_719A2A73632950DD1276480439C59701" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A3CECADCC1E7E5776F56480439C5C819" xlink:to="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_719A2A73632950DD1276480439C59701" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_3DB7A2EBB8F3FE36F26A480439C50302" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_719A2A73632950DD1276480439C59701" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_3DB7A2EBB8F3FE36F26A480439C50302" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestBearingDepositsInBanks" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_FE87C97B6226CA5FD7C4480439C59581" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_719A2A73632950DD1276480439C59701" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_FE87C97B6226CA5FD7C4480439C59581" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_CD4D53F571B44C648FBB480439C5E5FE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_719A2A73632950DD1276480439C59701" xlink:to="loc_us-gaap_AvailableForSaleSecurities_CD4D53F571B44C648FBB480439C5E5FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_071538B7BC33BFC60C23480439C60416" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_719A2A73632950DD1276480439C59701" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_071538B7BC33BFC60C23480439C60416" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoansHeldForSaleFairValueDisclosure" xlink:label="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_7CDF8F5451FB621CD2C8480439C6B68A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_719A2A73632950DD1276480439C59701" xlink:to="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_7CDF8F5451FB621CD2C8480439C6B68A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoansReceivableFairValueDisclosure" xlink:label="loc_us-gaap_LoansReceivableFairValueDisclosure_60F14BDA34ABE1E69605480439C6063A" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_719A2A73632950DD1276480439C59701" xlink:to="loc_us-gaap_LoansReceivableFairValueDisclosure_60F14BDA34ABE1E69605480439C6063A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestReceivable" xlink:label="loc_us-gaap_InterestReceivable_8BFFC1A63E835130A91E480439C60F94" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_719A2A73632950DD1276480439C59701" xlink:to="loc_us-gaap_InterestReceivable_8BFFC1A63E835130A91E480439C60F94" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_RestrictedInvestmentInBankStocks" xlink:label="loc_acnb_RestrictedInvestmentInBankStocks_E6ED4A61D96DA9F11AB3480439C6B064" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_719A2A73632950DD1276480439C59701" xlink:to="loc_acnb_RestrictedInvestmentInBankStocks_E6ED4A61D96DA9F11AB3480439C6B064" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" xlink:label="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_ED6C25AFC334E57B7E21480439C6AA5E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A3CECADCC1E7E5776F56480439C5C819" xlink:to="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_ED6C25AFC334E57B7E21480439C6AA5E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DepositsFairValueDisclosure" xlink:label="loc_us-gaap_DepositsFairValueDisclosure_AB18F57609A3BCD7AA0C480439C6187C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_ED6C25AFC334E57B7E21480439C6AA5E" xlink:to="loc_us-gaap_DepositsFairValueDisclosure_AB18F57609A3BCD7AA0C480439C6187C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShorttermDebtFairValue" xlink:label="loc_us-gaap_ShorttermDebtFairValue_F8184A1FBABFE8F2DAED480439C610B9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_ED6C25AFC334E57B7E21480439C6AA5E" xlink:to="loc_us-gaap_ShorttermDebtFairValue_F8184A1FBABFE8F2DAED480439C610B9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LongTermDebtFairValue" xlink:label="loc_us-gaap_LongTermDebtFairValue_39E9522426AD0133152D480439C6235D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_ED6C25AFC334E57B7E21480439C6AA5E" xlink:to="loc_us-gaap_LongTermDebtFairValue_39E9522426AD0133152D480439C6235D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestPayableCurrentAndNoncurrent" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_AF843067AA1A8B0A51EB480439C6C8A6" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_ED6C25AFC334E57B7E21480439C6AA5E" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_AF843067AA1A8B0A51EB480439C6C8A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueDisclosureOffbalanceSheetRisksFaceAmountLiability" xlink:label="loc_us-gaap_FairValueDisclosureOffbalanceSheetRisksFaceAmountLiability_7BD9C33445CA3FC531A8480439C6261B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A3CECADCC1E7E5776F56480439C5C819" xlink:to="loc_us-gaap_FairValueDisclosureOffbalanceSheetRisksFaceAmountLiability_7BD9C33445CA3FC531A8480439C6261B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.acnb.com/role/FairValueMeasurementsScheduleOfFairValueMeasurementsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_67A6F3B5F021BC19E79543778CDCB6C7" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_B6153988BE5A2079507943778CD83397" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_67A6F3B5F021BC19E79543778CDCB6C7" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_B6153988BE5A2079507943778CD83397" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_44AFF61610A4FA8EDA3843778CD9BBCC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_B6153988BE5A2079507943778CD83397" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_44AFF61610A4FA8EDA3843778CD9BBCC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_042AC98780461B2FB14043778CD9075F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_44AFF61610A4FA8EDA3843778CD9BBCC" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_042AC98780461B2FB14043778CD9075F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_3301144A7CC64F8F61BD43778CD95FA3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_44AFF61610A4FA8EDA3843778CD9BBCC" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_3301144A7CC64F8F61BD43778CD95FA3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_042AC98780461B2FB14043778CD9075F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_3301144A7CC64F8F61BD43778CD95FA3" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_042AC98780461B2FB14043778CD9075F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_13009C4B92BA995F96F343778CD9DFE8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_042AC98780461B2FB14043778CD9075F" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_13009C4B92BA995F96F343778CD9DFE8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_4A8C7AE881DE47731D0A43778CD94135" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_B6153988BE5A2079507943778CD83397" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_4A8C7AE881DE47731D0A43778CD94135" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_10FF3A86F21ED63F629543778CD91BEA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_4A8C7AE881DE47731D0A43778CD94135" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_10FF3A86F21ED63F629543778CD91BEA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_10FF3A86F21ED63F629543778CD91BEA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_4A8C7AE881DE47731D0A43778CD94135" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_10FF3A86F21ED63F629543778CD91BEA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_DD5C41D3B4D9014DE78143778CD94DC3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_10FF3A86F21ED63F629543778CD91BEA" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_DD5C41D3B4D9014DE78143778CD94DC3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_AFE9302E0516595ECB4643778CDBB86E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_B6153988BE5A2079507943778CD83397" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_AFE9302E0516595ECB4643778CDBB86E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_EEB5F094314108A1081343778CDB7901_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_AFE9302E0516595ECB4643778CDBB86E" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_EEB5F094314108A1081343778CDB7901_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_EEB5F094314108A1081343778CDB7901" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_AFE9302E0516595ECB4643778CDBB86E" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_EEB5F094314108A1081343778CDB7901" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USTreasuryAndGovernmentMember" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_2E4FD4FA19A57A22F6A743778CDB2616" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_EEB5F094314108A1081343778CDB7901" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_2E4FD4FA19A57A22F6A743778CDB2616" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ResidentialMortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_469BF3BE7886E6F73EA543778CDC7C42" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_EEB5F094314108A1081343778CDB7901" xlink:to="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_469BF3BE7886E6F73EA543778CDC7C42" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember" xlink:label="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_43EDE31CDC0B6CEBBF8F43778CDC8DF4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_EEB5F094314108A1081343778CDB7901" xlink:to="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_43EDE31CDC0B6CEBBF8F43778CDC8DF4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_C638984F4E581A50D17643778CDCFC56" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_EEB5F094314108A1081343778CDB7901" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_C638984F4E581A50D17643778CDCFC56" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_CraMutualFundMember" xlink:label="loc_acnb_CraMutualFundMember_88C52675E79C0D8616BC43778CDCCCD1" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_EEB5F094314108A1081343778CDB7901" xlink:to="loc_acnb_CraMutualFundMember_88C52675E79C0D8616BC43778CDCCCD1" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_StockInOtherBanksMember" xlink:label="loc_acnb_StockInOtherBanksMember_C1085B0B2CC7D278A92C43778CDCF36E" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_EEB5F094314108A1081343778CDB7901" xlink:to="loc_acnb_StockInOtherBanksMember_C1085B0B2CC7D278A92C43778CDCF36E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByAssetClassAxis" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_733A6CD2033791EDD08643778CDCB83A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_B6153988BE5A2079507943778CD83397" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_733A6CD2033791EDD08643778CDCB83A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_18C3DFA9D7405928AE9C43778CDCB762_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_733A6CD2033791EDD08643778CDCB83A" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_18C3DFA9D7405928AE9C43778CDCB762_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_18C3DFA9D7405928AE9C43778CDCB762" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_733A6CD2033791EDD08643778CDCB83A" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_18C3DFA9D7405928AE9C43778CDCB762" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_ImpairedLoanMember" xlink:label="loc_acnb_ImpairedLoanMember_6C9735CA5A2CC7DCEFC343778CDC0053" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_18C3DFA9D7405928AE9C43778CDCB762" xlink:to="loc_acnb_ImpairedLoanMember_6C9735CA5A2CC7DCEFC343778CDC0053" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_CE5A32001C01C03A795743778CDC842C" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_B6153988BE5A2079507943778CD83397" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_CE5A32001C01C03A795743778CDC842C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_FC2C24464520B2DB7F8D43778CDCF68A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_CE5A32001C01C03A795743778CDC842C" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_FC2C24464520B2DB7F8D43778CDCF68A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_FC2C24464520B2DB7F8D43778CDCF68A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_CE5A32001C01C03A795743778CDC842C" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_FC2C24464520B2DB7F8D43778CDCF68A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_430FBAB27184FB69E61143778CDC7FA9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_FC2C24464520B2DB7F8D43778CDCF68A" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_430FBAB27184FB69E61143778CDC7FA9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_5804D9B1937EBA25588743778CDCF0D0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_FC2C24464520B2DB7F8D43778CDCF68A" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_5804D9B1937EBA25588743778CDCF0D0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_917FDF6EFBFB77291C0343778CDCD4E9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_FC2C24464520B2DB7F8D43778CDCF68A" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_917FDF6EFBFB77291C0343778CDCD4E9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_651E3DB689B4828B72D643778CDDC0CF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_67A6F3B5F021BC19E79543778CDCB6C7" xlink:to="loc_us-gaap_AvailableForSaleSecurities_651E3DB689B4828B72D643778CDDC0CF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsFairValueDisclosureNonrecurring" xlink:label="loc_us-gaap_AssetsFairValueDisclosureNonrecurring_77DE9A29CFF0A9BC73E343778CDD09A1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_67A6F3B5F021BC19E79543778CDCB6C7" xlink:to="loc_us-gaap_AssetsFairValueDisclosureNonrecurring_77DE9A29CFF0A9BC73E343778CDD09A1" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.acnb.com/role/FairValueMeasurementsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.acnb.com/role/Guarantees" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.acnb.com/role/GuaranteesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuaranteeObligationsLineItems" xlink:label="loc_us-gaap_GuaranteeObligationsLineItems_CE5AAEF3719410CF62A7480439FB6E1C" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfGuaranteeObligationsTable" xlink:label="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_16F8F51EE5D203B4C123480439FB1788" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_CE5AAEF3719410CF62A7480439FB6E1C" xlink:to="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_16F8F51EE5D203B4C123480439FB1788" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuaranteeObligationsByNatureAxis" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis_C2E0532B3EA3AA213656480439FB65C9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_16F8F51EE5D203B4C123480439FB1788" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_C2E0532B3EA3AA213656480439FB65C9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_559D141E98B99BF309CC480439FBCFAD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_C2E0532B3EA3AA213656480439FB65C9" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_559D141E98B99BF309CC480439FBCFAD_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_559D141E98B99BF309CC480439FBCFAD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_C2E0532B3EA3AA213656480439FB65C9" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_559D141E98B99BF309CC480439FBCFAD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StandbyLettersOfCreditMember" xlink:label="loc_us-gaap_StandbyLettersOfCreditMember_13FC615822F1FAF0FEEF480439FB79FB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_559D141E98B99BF309CC480439FBCFAD" xlink:to="loc_us-gaap_StandbyLettersOfCreditMember_13FC615822F1FAF0FEEF480439FB79FB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LineOfCreditFacilityExpirationPeriod" xlink:label="loc_us-gaap_LineOfCreditFacilityExpirationPeriod_EB066DF5B0E77499DD8E480439FBADB0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_CE5AAEF3719410CF62A7480439FB6E1C" xlink:to="loc_us-gaap_LineOfCreditFacilityExpirationPeriod_EB066DF5B0E77499DD8E480439FBADB0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GuaranteesFairValueDisclosure" xlink:label="loc_us-gaap_GuaranteesFairValueDisclosure_E1E7D2FC753BE6775E4B480439FB4A9C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_CE5AAEF3719410CF62A7480439FB6E1C" xlink:to="loc_us-gaap_GuaranteesFairValueDisclosure_E1E7D2FC753BE6775E4B480439FB4A9C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.acnb.com/role/Loans" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.acnb.com/role/LoansNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_1DCB815C86460A7A2D906D927740372F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_46FF77378E9BF48B1C406D92772CE1EA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_1DCB815C86460A7A2D906D927740372F" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_46FF77378E9BF48B1C406D92772CE1EA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_AF5F956126DDFAC629D66D92772C61BF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_46FF77378E9BF48B1C406D92772CE1EA" xlink:to="loc_us-gaap_RangeAxis_AF5F956126DDFAC629D66D92772C61BF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_01AF6E8DA36F085EA8CE6D92772C98F6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_AF5F956126DDFAC629D66D92772C61BF" xlink:to="loc_us-gaap_RangeMember_01AF6E8DA36F085EA8CE6D92772C98F6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_01AF6E8DA36F085EA8CE6D92772C98F6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_AF5F956126DDFAC629D66D92772C61BF" xlink:to="loc_us-gaap_RangeMember_01AF6E8DA36F085EA8CE6D92772C98F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_320238184FA2AD48A6326D92772C7E34" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_01AF6E8DA36F085EA8CE6D92772C98F6" xlink:to="loc_us-gaap_MaximumMember_320238184FA2AD48A6326D92772C7E34" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoanRestructuringModificationNameAxis" xlink:label="loc_us-gaap_LoanRestructuringModificationNameAxis_73181C1F2BB891AFA6646D92772C630D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_46FF77378E9BF48B1C406D92772CE1EA" xlink:to="loc_us-gaap_LoanRestructuringModificationNameAxis_73181C1F2BB891AFA6646D92772C630D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoanRestructuringModificationNameDomain" xlink:label="loc_us-gaap_LoanRestructuringModificationNameDomain_A76E6B02EDE2D4F2F7AB6D92772CFD14_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LoanRestructuringModificationNameAxis_73181C1F2BB891AFA6646D92772C630D" xlink:to="loc_us-gaap_LoanRestructuringModificationNameDomain_A76E6B02EDE2D4F2F7AB6D92772CFD14_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoanRestructuringModificationNameDomain" xlink:label="loc_us-gaap_LoanRestructuringModificationNameDomain_A76E6B02EDE2D4F2F7AB6D92772CFD14" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LoanRestructuringModificationNameAxis_73181C1F2BB891AFA6646D92772C630D" xlink:to="loc_us-gaap_LoanRestructuringModificationNameDomain_A76E6B02EDE2D4F2F7AB6D92772CFD14" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EntityLoanModificationProgramMember" xlink:label="loc_us-gaap_EntityLoanModificationProgramMember_14946CCA033FDAF6F2116D92772C7745" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanRestructuringModificationNameDomain_A76E6B02EDE2D4F2F7AB6D92772CFD14" xlink:to="loc_us-gaap_EntityLoanModificationProgramMember_14946CCA033FDAF6F2116D92772C7745" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_6457335854D102E138EA6D92772CA897" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_46FF77378E9BF48B1C406D92772CE1EA" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_6457335854D102E138EA6D92772CA897" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_D442D4FEBD51F71940626D92772C0D69_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_6457335854D102E138EA6D92772CA897" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_D442D4FEBD51F71940626D92772C0D69_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_D442D4FEBD51F71940626D92772C0D69" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_6457335854D102E138EA6D92772CA897" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_D442D4FEBD51F71940626D92772C0D69" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_ResidentialMortgageandCommercialLoansMember" xlink:label="loc_acnb_ResidentialMortgageandCommercialLoansMember_7F1DA758CD742F023E506D9277402F08" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_D442D4FEBD51F71940626D92772C0D69" xlink:to="loc_acnb_ResidentialMortgageandCommercialLoansMember_7F1DA758CD742F023E506D9277402F08" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_E3FEEAE458657D0589E16D9277403576" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_D442D4FEBD51F71940626D92772C0D69" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_E3FEEAE458657D0589E16D9277403576" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_14D9D41A9BBD21BE1FB26D92774057D5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_D442D4FEBD51F71940626D92772C0D69" xlink:to="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_14D9D41A9BBD21BE1FB26D92774057D5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ResidentialMortgageMember" xlink:label="loc_us-gaap_ResidentialMortgageMember_DFF3F74F003262ACA7AD6D9277404224" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_D442D4FEBD51F71940626D92772C0D69" xlink:to="loc_us-gaap_ResidentialMortgageMember_DFF3F74F003262ACA7AD6D9277404224" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_HomeEquityLinesOfCreditPortfolioSegmentMember" xlink:label="loc_acnb_HomeEquityLinesOfCreditPortfolioSegmentMember_B727761381A35B78AAFD6DA0D517B01E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_D442D4FEBD51F71940626D92772C0D69" xlink:to="loc_acnb_HomeEquityLinesOfCreditPortfolioSegmentMember_B727761381A35B78AAFD6DA0D517B01E" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_ThresholdPeriodPastDuetoDiscontinueAccrualInterestonFinancingReceivable" xlink:label="loc_acnb_ThresholdPeriodPastDuetoDiscontinueAccrualInterestonFinancingReceivable_1197D77FE148D5E14FBB6D927740F05D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_1DCB815C86460A7A2D906D927740372F" xlink:to="loc_acnb_ThresholdPeriodPastDuetoDiscontinueAccrualInterestonFinancingReceivable_1197D77FE148D5E14FBB6D927740F05D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ThresholdPeriodPastDueForWriteoffOfFinancingReceivable" xlink:label="loc_us-gaap_ThresholdPeriodPastDueForWriteoffOfFinancingReceivable_842B84DBC196498738F66D927740A343" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_1DCB815C86460A7A2D906D927740372F" xlink:to="loc_us-gaap_ThresholdPeriodPastDueForWriteoffOfFinancingReceivable_842B84DBC196498738F66D927740A343" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_ThresholdPeriodPastDueforCorporationtoOrderUpdatedValuationonFinancingReceivable" xlink:label="loc_acnb_ThresholdPeriodPastDueforCorporationtoOrderUpdatedValuationonFinancingReceivable_0D5EA43AEADCF53F74BD6D927740E367" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_1DCB815C86460A7A2D906D927740372F" xlink:to="loc_acnb_ThresholdPeriodPastDueforCorporationtoOrderUpdatedValuationonFinancingReceivable_0D5EA43AEADCF53F74BD6D927740E367" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_NumberofPreviousMonthswithNoUpdatedValuationCompletedforCorporationtoUpdateValuation" xlink:label="loc_acnb_NumberofPreviousMonthswithNoUpdatedValuationCompletedforCorporationtoUpdateValuation_F675CA9DB13B819244EE6D9277408895" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_1DCB815C86460A7A2D906D927740372F" xlink:to="loc_acnb_NumberofPreviousMonthswithNoUpdatedValuationCompletedforCorporationtoUpdateValuation_F675CA9DB13B819244EE6D9277408895" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_NumberofMaximumDaysofLoanBeingClassifiedasImpairedforCorporationtoOrderThirdPartyValuation" xlink:label="loc_acnb_NumberofMaximumDaysofLoanBeingClassifiedasImpairedforCorporationtoOrderThirdPartyValuation_B401250A3C47BB3B58FE6D9277404760" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_1DCB815C86460A7A2D906D927740372F" xlink:to="loc_acnb_NumberofMaximumDaysofLoanBeingClassifiedasImpairedforCorporationtoOrderThirdPartyValuation_B401250A3C47BB3B58FE6D9277404760" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_NumberofMinimumMonthsforCorporationtoOrderUpdatedValuation" xlink:label="loc_acnb_NumberofMinimumMonthsforCorporationtoOrderUpdatedValuation_C307C0E70F0927607C7F6D92774041F4" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_1DCB815C86460A7A2D906D927740372F" xlink:to="loc_acnb_NumberofMinimumMonthsforCorporationtoOrderUpdatedValuation_C307C0E70F0927607C7F6D92774041F4" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_FinancingReceivableTerm" xlink:label="loc_acnb_FinancingReceivableTerm_26C08E7683CE2438EB566D9277408213" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_1DCB815C86460A7A2D906D927740372F" xlink:to="loc_acnb_FinancingReceivableTerm_26C08E7683CE2438EB566D9277408213" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_FinancingReceivableLoantoValueRatioofAppraisedValueofProperty" xlink:label="loc_acnb_FinancingReceivableLoantoValueRatioofAppraisedValueofProperty_0731AB5717902B5E720E6D927740B561" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_1DCB815C86460A7A2D906D927740372F" xlink:to="loc_acnb_FinancingReceivableLoantoValueRatioofAppraisedValueofProperty_0731AB5717902B5E720E6D927740B561" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_FinancingReceivableModificationsNumberofContractsPaidOff" xlink:label="loc_acnb_FinancingReceivableModificationsNumberofContractsPaidOff_C5974FC583EA5AF355006D927741CE96" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_1DCB815C86460A7A2D906D927740372F" xlink:to="loc_acnb_FinancingReceivableModificationsNumberofContractsPaidOff_C5974FC583EA5AF355006D927741CE96" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromLoans" xlink:label="loc_us-gaap_ProceedsFromLoans_6E209CA5682069F6C2BF6D92774170E3" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_1DCB815C86460A7A2D906D927740372F" xlink:to="loc_us-gaap_ProceedsFromLoans_6E209CA5682069F6C2BF6D92774170E3" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_FinancingReceivableModificationsSubsequentDefaultPeriodicLatePayments" xlink:label="loc_acnb_FinancingReceivableModificationsSubsequentDefaultPeriodicLatePayments_8F19A0E8E47A3E0E2CF16D927741C819" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_1DCB815C86460A7A2D906D927740372F" xlink:to="loc_acnb_FinancingReceivableModificationsSubsequentDefaultPeriodicLatePayments_8F19A0E8E47A3E0E2CF16D927741C819" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_FinancingReceivableModificationsSubsequentDefaultNumberofContractswithActiveForbearanceAgreements" xlink:label="loc_acnb_FinancingReceivableModificationsSubsequentDefaultNumberofContractswithActiveForbearanceAgreements_56EE14F877D829750B416D927741F595" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_1DCB815C86460A7A2D906D927740372F" xlink:to="loc_acnb_FinancingReceivableModificationsSubsequentDefaultNumberofContractswithActiveForbearanceAgreements_56EE14F877D829750B416D927741F595" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_ForbearanceAgreementNumberOfNegotiations" xlink:label="loc_acnb_ForbearanceAgreementNumberOfNegotiations_D3BF56E25E222D697B446D9277411DFE" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_1DCB815C86460A7A2D906D927740372F" xlink:to="loc_acnb_ForbearanceAgreementNumberOfNegotiations_D3BF56E25E222D697B446D9277411DFE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MortgageLoansInProcessOfForeclosureAmount" xlink:label="loc_us-gaap_MortgageLoansInProcessOfForeclosureAmount_30FC2E945DD0C1CEA1946D92774118D7" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_1DCB815C86460A7A2D906D927740372F" xlink:to="loc_us-gaap_MortgageLoansInProcessOfForeclosureAmount_30FC2E945DD0C1CEA1946D92774118D7" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.acnb.com/role/LoansScheduleOfAllowanceForLoanLossesAndRecordedInvestmentInFinancingReceivablesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_6988AAAE9C02FA1955366DD895AA6EA7" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_DFED1018E5D73932F36A6DD895A8933B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_6988AAAE9C02FA1955366DD895AA6EA7" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_DFED1018E5D73932F36A6DD895A8933B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_CE8675C286DF1A3608BA6DD895A9D6AD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_DFED1018E5D73932F36A6DD895A8933B" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_CE8675C286DF1A3608BA6DD895A9D6AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_64ED3F624849354950DD6DD895A90080_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_CE8675C286DF1A3608BA6DD895A9D6AD" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_64ED3F624849354950DD6DD895A90080_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_64ED3F624849354950DD6DD895A90080" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_CE8675C286DF1A3608BA6DD895A9D6AD" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_64ED3F624849354950DD6DD895A90080" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_1CDC1FDC7C0A62CE8C656DD895A9E051" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_64ED3F624849354950DD6DD895A90080" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_1CDC1FDC7C0A62CE8C656DD895A9E051" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_514BFFDF8C91AE84657C6DD895A9E52F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_64ED3F624849354950DD6DD895A90080" xlink:to="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_514BFFDF8C91AE84657C6DD895A9E52F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_474D2C15055ACE8750466DD895A9C7AE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_64ED3F624849354950DD6DD895A90080" xlink:to="loc_us-gaap_ConstructionLoansMember_474D2C15055ACE8750466DD895A9C7AE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_786AB703D263EE6E39606DD895AA015A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_64ED3F624849354950DD6DD895A90080" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_786AB703D263EE6E39606DD895AA015A" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_HomeEquityLinesOfCreditPortfolioSegmentMember" xlink:label="loc_acnb_HomeEquityLinesOfCreditPortfolioSegmentMember_3A5379BF41DB793E8B746DD895AA82E3" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_64ED3F624849354950DD6DD895A90080" xlink:to="loc_acnb_HomeEquityLinesOfCreditPortfolioSegmentMember_3A5379BF41DB793E8B746DD895AA82E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_5004382E412181D3A7466DD895AAC151" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_64ED3F624849354950DD6DD895A90080" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_5004382E412181D3A7466DD895AAC151" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UnallocatedFinancingReceivablesMember" xlink:label="loc_us-gaap_UnallocatedFinancingReceivablesMember_491229FA76E4EE07934F6DD895AAD7C2" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_64ED3F624849354950DD6DD895A90080" xlink:to="loc_us-gaap_UnallocatedFinancingReceivablesMember_491229FA76E4EE07934F6DD895AAD7C2" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_AllowanceForLoanLossesRollForward" xlink:label="loc_acnb_AllowanceForLoanLossesRollForward_A5630603B384D6FBA9DF6DD895AAAE79" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_6988AAAE9C02FA1955366DD895AA6EA7" xlink:to="loc_acnb_AllowanceForLoanLossesRollForward_A5630603B384D6FBA9DF6DD895AAAE79" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_34525CA5D79209E911556DD895AAA1FB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_acnb_AllowanceForLoanLossesRollForward_A5630603B384D6FBA9DF6DD895AAAE79" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_34525CA5D79209E911556DD895AAA1FB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs_0CB54CD58BF4709BEE7D6DD895AA3A0F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_acnb_AllowanceForLoanLossesRollForward_A5630603B384D6FBA9DF6DD895AAAE79" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs_0CB54CD58BF4709BEE7D6DD895AA3A0F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery_B420AB2587D73E6213D16DD895AAB769" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_acnb_AllowanceForLoanLossesRollForward_A5630603B384D6FBA9DF6DD895AAAE79" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery_B420AB2587D73E6213D16DD895AAB769" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProvisionForLoanAndLeaseLosses" xlink:label="loc_us-gaap_ProvisionForLoanAndLeaseLosses_B0DEC296AD47B99CD7366DD895AAEA59" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_acnb_AllowanceForLoanLossesRollForward_A5630603B384D6FBA9DF6DD895AAAE79" xlink:to="loc_us-gaap_ProvisionForLoanAndLeaseLosses_B0DEC296AD47B99CD7366DD895AAEA59" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1_2386A20F4AF17FBE95CA6DD895AB0278" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_6988AAAE9C02FA1955366DD895AA6EA7" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1_2386A20F4AF17FBE95CA6DD895AB0278" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment_63491250CC015EA1590C6DD895ABA131" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_6988AAAE9C02FA1955366DD895AA6EA7" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment_63491250CC015EA1590C6DD895ABA131" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:label="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_3D14613B2BAE858C67E36DD895ABC3D0" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_6988AAAE9C02FA1955366DD895AA6EA7" xlink:to="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_3D14613B2BAE858C67E36DD895ABC3D0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" xlink:label="loc_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment_CF57A92108E1D36656476DD895AB5B39" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_6988AAAE9C02FA1955366DD895AA6EA7" xlink:to="loc_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment_CF57A92108E1D36656476DD895AB5B39" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment" xlink:label="loc_us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment_52EBD7497EDDC7B06A8A6DD895AB9ABC" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_6988AAAE9C02FA1955366DD895AA6EA7" xlink:to="loc_us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment_52EBD7497EDDC7B06A8A6DD895AB9ABC" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.acnb.com/role/LoansScheduleOfClassesOfLoanPortfolioSummarizedByAggregateRiskRatingDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_FC54A0713A7D28EAF390489A95BA6382" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_0695EA71B789CF100C51489A95B9F716" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_FC54A0713A7D28EAF390489A95BA6382" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_0695EA71B789CF100C51489A95B9F716" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_EE6FD009F232D36CED2C489A95B9DAE0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_0695EA71B789CF100C51489A95B9F716" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_EE6FD009F232D36CED2C489A95B9DAE0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2E0CE760818B5800F2FC489A95B927CE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_EE6FD009F232D36CED2C489A95B9DAE0" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2E0CE760818B5800F2FC489A95B927CE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2E0CE760818B5800F2FC489A95B927CE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_EE6FD009F232D36CED2C489A95B9DAE0" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2E0CE760818B5800F2FC489A95B927CE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_166500E39F8B8849FDCE489A95B9A85B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2E0CE760818B5800F2FC489A95B927CE" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_166500E39F8B8849FDCE489A95B9A85B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_5CC5783173BAF20EF3A0489A95B9C024" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2E0CE760818B5800F2FC489A95B927CE" xlink:to="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_5CC5783173BAF20EF3A0489A95B9C024" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_F495AEFACC1599ED81E6489A95B90D5E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2E0CE760818B5800F2FC489A95B927CE" xlink:to="loc_us-gaap_ConstructionLoansMember_F495AEFACC1599ED81E6489A95B90D5E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_41CFC5DBAAA1D6778BDF489A95B96650" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2E0CE760818B5800F2FC489A95B927CE" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_41CFC5DBAAA1D6778BDF489A95B96650" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_HomeEquityLinesOfCreditPortfolioSegmentMember" xlink:label="loc_acnb_HomeEquityLinesOfCreditPortfolioSegmentMember_9E7B59B510BDC46F0787489A98607472" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2E0CE760818B5800F2FC489A95B927CE" xlink:to="loc_acnb_HomeEquityLinesOfCreditPortfolioSegmentMember_9E7B59B510BDC46F0787489A98607472" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_FF31B904716216B214AB489A95B9B141" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2E0CE760818B5800F2FC489A95B927CE" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_FF31B904716216B214AB489A95B9B141" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InternalCreditAssessmentAxis" xlink:label="loc_us-gaap_InternalCreditAssessmentAxis_5048D58C9B2CC6BE00D2489A95BAB766" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_0695EA71B789CF100C51489A95B9F716" xlink:to="loc_us-gaap_InternalCreditAssessmentAxis_5048D58C9B2CC6BE00D2489A95BAB766" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain_C3544520DA6012085823489A95BAAF2B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis_5048D58C9B2CC6BE00D2489A95BAB766" xlink:to="loc_us-gaap_InternalCreditAssessmentDomain_C3544520DA6012085823489A95BAAF2B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain_C3544520DA6012085823489A95BAAF2B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis_5048D58C9B2CC6BE00D2489A95BAB766" xlink:to="loc_us-gaap_InternalCreditAssessmentDomain_C3544520DA6012085823489A95BAAF2B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PassMember" xlink:label="loc_us-gaap_PassMember_008BD41132880910BA69489A95BA4A2C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_C3544520DA6012085823489A95BAAF2B" xlink:to="loc_us-gaap_PassMember_008BD41132880910BA69489A95BA4A2C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SpecialMentionMember" xlink:label="loc_us-gaap_SpecialMentionMember_1DC59DAE5FD772554E9F489A95BA1B24" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_C3544520DA6012085823489A95BAAF2B" xlink:to="loc_us-gaap_SpecialMentionMember_1DC59DAE5FD772554E9F489A95BA1B24" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubstandardMember" xlink:label="loc_us-gaap_SubstandardMember_95B734241B91075E2126489A95BA84D3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_C3544520DA6012085823489A95BAAF2B" xlink:to="loc_us-gaap_SubstandardMember_95B734241B91075E2126489A95BA84D3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DoubtfulMember" xlink:label="loc_us-gaap_DoubtfulMember_1601D2B6E27995928179489A95BAEC7B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_C3544520DA6012085823489A95BAAF2B" xlink:to="loc_us-gaap_DoubtfulMember_1601D2B6E27995928179489A95BAEC7B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:label="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_42F6FFA78C1C1AEA6D8D489A95BA345B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_FC54A0713A7D28EAF390489A95BA6382" xlink:to="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_42F6FFA78C1C1AEA6D8D489A95BA345B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.acnb.com/role/LoansScheduleOfLoanPortfolioSummarizedByPastDueStatusDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_E6372270746F99BBAFD3489C2F6D514A" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfFinancingReceivablesPastDueTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_424F44EC04071212231B489C2F6CEBC7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_E6372270746F99BBAFD3489C2F6D514A" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_424F44EC04071212231B489C2F6CEBC7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_4ECCFD4C4313358665BF489C2F6C5568" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_424F44EC04071212231B489C2F6CEBC7" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_4ECCFD4C4313358665BF489C2F6C5568" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_B121FC5A3782C80C45C2489C2F6C018E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_4ECCFD4C4313358665BF489C2F6C5568" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_B121FC5A3782C80C45C2489C2F6C018E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_B121FC5A3782C80C45C2489C2F6C018E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_4ECCFD4C4313358665BF489C2F6C5568" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_B121FC5A3782C80C45C2489C2F6C018E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_F444467BD7CDAE33B13C489C2F6C8046" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_B121FC5A3782C80C45C2489C2F6C018E" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_F444467BD7CDAE33B13C489C2F6C8046" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_3DC5B155C2453049187C489C2F6CB3F0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_B121FC5A3782C80C45C2489C2F6C018E" xlink:to="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_3DC5B155C2453049187C489C2F6CB3F0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_41BB2277B12E8D89086F489C2F6CF5FB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_B121FC5A3782C80C45C2489C2F6C018E" xlink:to="loc_us-gaap_ConstructionLoansMember_41BB2277B12E8D89086F489C2F6CF5FB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_02B152C5812DFB4539DE489C2F6C1ACD" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_B121FC5A3782C80C45C2489C2F6C018E" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_02B152C5812DFB4539DE489C2F6C1ACD" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_HomeEquityLinesOfCreditPortfolioSegmentMember" xlink:label="loc_acnb_HomeEquityLinesOfCreditPortfolioSegmentMember_6938321DE3058626DAC6489DC65B0A13" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_B121FC5A3782C80C45C2489C2F6C018E" xlink:to="loc_acnb_HomeEquityLinesOfCreditPortfolioSegmentMember_6938321DE3058626DAC6489DC65B0A13" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_C30C88D9A9635A342682489C2F6CCD95" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_B121FC5A3782C80C45C2489C2F6C018E" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_C30C88D9A9635A342682489C2F6CCD95" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablesPeriodPastDueAxis" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_7015226A976D08C8AEC5489C2F6C18D8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_424F44EC04071212231B489C2F6CEBC7" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_7015226A976D08C8AEC5489C2F6C18D8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_550A0840B9FD5ECEA63E489C2F6C9607_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_7015226A976D08C8AEC5489C2F6C18D8" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_550A0840B9FD5ECEA63E489C2F6C9607_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_550A0840B9FD5ECEA63E489C2F6C9607" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_7015226A976D08C8AEC5489C2F6C18D8" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_550A0840B9FD5ECEA63E489C2F6C9607" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivables30To59DaysPastDueMember" xlink:label="loc_us-gaap_FinancingReceivables30To59DaysPastDueMember_DAAF7B8191BAD87C6B7B489C2F6CD872" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_550A0840B9FD5ECEA63E489C2F6C9607" xlink:to="loc_us-gaap_FinancingReceivables30To59DaysPastDueMember_DAAF7B8191BAD87C6B7B489C2F6CD872" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivables60To89DaysPastDueMember" xlink:label="loc_us-gaap_FinancingReceivables60To89DaysPastDueMember_C96BCE6839D7CA7B9935489C2F6CE1E7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_550A0840B9FD5ECEA63E489C2F6C9607" xlink:to="loc_us-gaap_FinancingReceivables60To89DaysPastDueMember_C96BCE6839D7CA7B9935489C2F6CE1E7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" xlink:label="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_A4DA93F6F1F574A3DAA6489C2F6CD9C3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_550A0840B9FD5ECEA63E489C2F6C9607" xlink:to="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_A4DA93F6F1F574A3DAA6489C2F6CD9C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDue" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDue_B594EBF374FBD26B5571489C2F6D92FD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_E6372270746F99BBAFD3489C2F6D514A" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDue_B594EBF374FBD26B5571489C2F6D92FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentCurrent" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentCurrent_822DB3265791EC799032489C2F6DCECF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_E6372270746F99BBAFD3489C2F6D514A" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentCurrent_822DB3265791EC799032489C2F6DCECF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:label="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_A58EDC732AA0D09E8B44489C2F6D5348" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_E6372270746F99BBAFD3489C2F6D514A" xlink:to="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_A58EDC732AA0D09E8B44489C2F6D5348" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing_74F8CD648CADFE8C9558489C2F6D9213" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_E6372270746F99BBAFD3489C2F6D514A" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing_74F8CD648CADFE8C9558489C2F6D9213" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.acnb.com/role/LoansScheduleOfNonaccrualLoansByClassesOfLoanPortfolioDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_435CFDFB890162FE72966D92771A10D7" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfFinancingReceivablesPastDueTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_A599C7F6DF443802C0BB6D92771AD47E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_435CFDFB890162FE72966D92771A10D7" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_A599C7F6DF443802C0BB6D92771AD47E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_3AE64F2E8240B256C73F6D92771A86FC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_A599C7F6DF443802C0BB6D92771AD47E" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_3AE64F2E8240B256C73F6D92771A86FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2160B771AB84109540AA6D92771A6223_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_3AE64F2E8240B256C73F6D92771A86FC" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2160B771AB84109540AA6D92771A6223_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2160B771AB84109540AA6D92771A6223" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_3AE64F2E8240B256C73F6D92771A86FC" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2160B771AB84109540AA6D92771A6223" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_8AAA49396B218635981F6D92771A375E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2160B771AB84109540AA6D92771A6223" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_8AAA49396B218635981F6D92771A375E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_D3A6D738C6E80CC03F7D6D92771AE4D8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2160B771AB84109540AA6D92771A6223" xlink:to="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_D3A6D738C6E80CC03F7D6D92771AE4D8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_6879123DD9C0B925FFB56D92771A76B9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2160B771AB84109540AA6D92771A6223" xlink:to="loc_us-gaap_ConstructionLoansMember_6879123DD9C0B925FFB56D92771A76B9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_089388DC6C83613C77266D92771A7AC6" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2160B771AB84109540AA6D92771A6223" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_089388DC6C83613C77266D92771A7AC6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus_B4EF0086729C2BD195CF6D92771AA05D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_435CFDFB890162FE72966D92771A10D7" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus_B4EF0086729C2BD195CF6D92771AA05D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.acnb.com/role/LoansScheduleOfTroubledDebtRestructuringsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableModificationsLineItems" xlink:label="loc_us-gaap_FinancingReceivableModificationsLineItems_F697799DF21875389F2748043A74E0C7" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_0B0655DB8CCAC48A01C548043A738154" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_F697799DF21875389F2748043A74E0C7" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_0B0655DB8CCAC48A01C548043A738154" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_1394FAFF44DE3D491FE948043A73DD18" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_0B0655DB8CCAC48A01C548043A738154" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_1394FAFF44DE3D491FE948043A73DD18" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_AFD7B0C443D0307963D148043A7461E7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_1394FAFF44DE3D491FE948043A73DD18" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_AFD7B0C443D0307963D148043A7461E7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_AFD7B0C443D0307963D148043A7461E7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_1394FAFF44DE3D491FE948043A73DD18" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_AFD7B0C443D0307963D148043A7461E7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_B93EB35850FA3C64B16D48043A74344E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_AFD7B0C443D0307963D148043A7461E7" xlink:to="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_B93EB35850FA3C64B16D48043A74344E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_F750FD121B362FDE38CB48043A745F80" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_AFD7B0C443D0307963D148043A7461E7" xlink:to="loc_us-gaap_ConstructionLoansMember_F750FD121B362FDE38CB48043A745F80" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_961A20C751C8614543D048043A74E198" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_AFD7B0C443D0307963D148043A7461E7" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_961A20C751C8614543D048043A74E198" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_AB0E28836FFC935991E148043A74B7DB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_0B0655DB8CCAC48A01C548043A738154" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_AB0E28836FFC935991E148043A74B7DB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_7460907146CA0AE4649D48043A744637_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_AB0E28836FFC935991E148043A74B7DB" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_7460907146CA0AE4649D48043A744637_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_7460907146CA0AE4649D48043A744637" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_AB0E28836FFC935991E148043A74B7DB" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_7460907146CA0AE4649D48043A744637" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_NonaccrualMember" xlink:label="loc_acnb_NonaccrualMember_6EA205D38C55860F7E5B48043A74C584" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_7460907146CA0AE4649D48043A744637" xlink:to="loc_acnb_NonaccrualMember_6EA205D38C55860F7E5B48043A74C584" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_AccrualMember" xlink:label="loc_acnb_AccrualMember_520A1A48446B2BF2AE0B48043A74229B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_7460907146CA0AE4649D48043A744637" xlink:to="loc_acnb_AccrualMember_520A1A48446B2BF2AE0B48043A74229B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableModificationsPreModificationRecordedInvestment2" xlink:label="loc_us-gaap_FinancingReceivableModificationsPreModificationRecordedInvestment2_BE225AC6453C091347F448043A741A10" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_F697799DF21875389F2748043A74E0C7" xlink:to="loc_us-gaap_FinancingReceivableModificationsPreModificationRecordedInvestment2_BE225AC6453C091347F448043A741A10" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2" xlink:label="loc_us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2_90BC84A0E7D1FC38127348043A740B6B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_F697799DF21875389F2748043A74E0C7" xlink:to="loc_us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2_90BC84A0E7D1FC38127348043A740B6B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableModificationsRecordedInvestment" xlink:label="loc_us-gaap_FinancingReceivableModificationsRecordedInvestment_68C9C4689D8C7608A85D48043A7495BB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_F697799DF21875389F2748043A74E0C7" xlink:to="loc_us-gaap_FinancingReceivableModificationsRecordedInvestment_68C9C4689D8C7608A85D48043A7495BB" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.acnb.com/role/LoansSummaryOfAverageOfImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableImpairedLineItems" xlink:label="loc_us-gaap_FinancingReceivableImpairedLineItems_8500D43DAB52354554576D6D3026FDBA" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfImpairedFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfImpairedFinancingReceivableTable_04385363BF8DB42DBB9D6D6D3025D359" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_8500D43DAB52354554576D6D3026FDBA" xlink:to="loc_us-gaap_ScheduleOfImpairedFinancingReceivableTable_04385363BF8DB42DBB9D6D6D3025D359" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2323144DBF7380F1AFCF6D6D302526AD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfImpairedFinancingReceivableTable_04385363BF8DB42DBB9D6D6D3025D359" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2323144DBF7380F1AFCF6D6D302526AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_EB030A70772B74DF84B96D6D30254FE1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2323144DBF7380F1AFCF6D6D302526AD" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_EB030A70772B74DF84B96D6D30254FE1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_EB030A70772B74DF84B96D6D30254FE1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2323144DBF7380F1AFCF6D6D302526AD" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_EB030A70772B74DF84B96D6D30254FE1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_70C36F8348CE291716E16D6D3026A507" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_EB030A70772B74DF84B96D6D30254FE1" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_70C36F8348CE291716E16D6D3026A507" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_AC9E79F56F7CFB721DDC6D6D30265943" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_EB030A70772B74DF84B96D6D30254FE1" xlink:to="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_AC9E79F56F7CFB721DDC6D6D30265943" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_55CCA8DEF8994C0D77ED6D6D30263508" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_EB030A70772B74DF84B96D6D30254FE1" xlink:to="loc_us-gaap_ConstructionLoansMember_55CCA8DEF8994C0D77ED6D6D30263508" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_DD212EE702FF680745716D6D3026F003" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_EB030A70772B74DF84B96D6D30254FE1" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_DD212EE702FF680745716D6D3026F003" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment_AE38BBE177BC509A66866D6D30267782" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_8500D43DAB52354554576D6D3026FDBA" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment_AE38BBE177BC509A66866D6D30267782" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeCashBasisMethod" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeCashBasisMethod_A7B8256023931020CB466D6D3026CDE6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_8500D43DAB52354554576D6D3026FDBA" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeCashBasisMethod_A7B8256023931020CB466D6D3026CDE6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment_F4311C7836C8B1E1C5A16D6D3026F75B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_8500D43DAB52354554576D6D3026FDBA" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment_F4311C7836C8B1E1C5A16D6D3026F75B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeCashBasisMethod" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeCashBasisMethod_55DABC3CA79DCA70E0C96D6D30267F56" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_8500D43DAB52354554576D6D3026FDBA" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeCashBasisMethod_55DABC3CA79DCA70E0C96D6D30267F56" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.acnb.com/role/LoansSummaryOfImpairedLoansByLoanPortfolioClassDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableImpairedLineItems" xlink:label="loc_us-gaap_FinancingReceivableImpairedLineItems_A34F5619F0F38ADA1B6F480439E2CA85" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfImpairedFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfImpairedFinancingReceivableTable_4BB0E27579E1F05E6C98480439E2B132" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_A34F5619F0F38ADA1B6F480439E2CA85" xlink:to="loc_us-gaap_ScheduleOfImpairedFinancingReceivableTable_4BB0E27579E1F05E6C98480439E2B132" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_0502D91334E97E241793480439E2D0D8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfImpairedFinancingReceivableTable_4BB0E27579E1F05E6C98480439E2B132" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_0502D91334E97E241793480439E2D0D8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_4E122B1A1B4365C49556480439E264B9_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_0502D91334E97E241793480439E2D0D8" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_4E122B1A1B4365C49556480439E264B9_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_4E122B1A1B4365C49556480439E264B9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_0502D91334E97E241793480439E2D0D8" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_4E122B1A1B4365C49556480439E264B9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_D8B759B64D2D7BB825E5480439E2F27D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_4E122B1A1B4365C49556480439E264B9" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_D8B759B64D2D7BB825E5480439E2F27D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_E60FFAFC486D0C6D2C5B480439E200E7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_4E122B1A1B4365C49556480439E264B9" xlink:to="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_E60FFAFC486D0C6D2C5B480439E200E7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_FE7D9DD59B33A2C03451480439E29040" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_4E122B1A1B4365C49556480439E264B9" xlink:to="loc_us-gaap_ConstructionLoansMember_FE7D9DD59B33A2C03451480439E29040" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_18C12222B4263D2B7F24480439E28EF2" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_4E122B1A1B4365C49556480439E264B9" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_18C12222B4263D2B7F24480439E28EF2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment_2E2D71728CCAADB88DDA480439E2BAD3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_A34F5619F0F38ADA1B6F480439E2CA85" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment_2E2D71728CCAADB88DDA480439E2BAD3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance_7504C02E5381A4ADA992480439E2E451" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_A34F5619F0F38ADA1B6F480439E2CA85" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance_7504C02E5381A4ADA992480439E2E451" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ImpairedFinancingReceivableRelatedAllowance" xlink:label="loc_us-gaap_ImpairedFinancingReceivableRelatedAllowance_77F9529336D9E5E951AE480439E25CC9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_A34F5619F0F38ADA1B6F480439E2CA85" xlink:to="loc_us-gaap_ImpairedFinancingReceivableRelatedAllowance_77F9529336D9E5E951AE480439E25CC9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment_22BE844C1F56DC0A3166480439E26DDE" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_A34F5619F0F38ADA1B6F480439E2CA85" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment_22BE844C1F56DC0A3166480439E26DDE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance_95371B2D97A148A89BBE480439E203EC" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_A34F5619F0F38ADA1B6F480439E2CA85" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance_95371B2D97A148A89BBE480439E203EC" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.acnb.com/role/LoansTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.acnb.com/role/NewAccountingPronouncements" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.acnb.com/role/NewAccountingPronouncementsPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.acnb.com/role/RetirementBenefits" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.acnb.com/role/RetirementBenefitsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.acnb.com/role/RetirementBenefitsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.acnb.com/role/Securities" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.acnb.com/role/SecuritiesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_535EF5A538FA12C4E97D6DDA9BF6B8BA" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_8F3538DA901EF966D3516DDA9BF5ECCC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_535EF5A538FA12C4E97D6DDA9BF6B8BA" xlink:to="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_8F3538DA901EF966D3516DDA9BF5ECCC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_631014E72F30F54D2E336DDA9BF50A93" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_8F3538DA901EF966D3516DDA9BF5ECCC" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_631014E72F30F54D2E336DDA9BF50A93" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_CD652B9496610B8E133F6DDA9BF6F112_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_631014E72F30F54D2E336DDA9BF50A93" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_CD652B9496610B8E133F6DDA9BF6F112_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_CD652B9496610B8E133F6DDA9BF6F112" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_631014E72F30F54D2E336DDA9BF50A93" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_CD652B9496610B8E133F6DDA9BF6F112" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USTreasuryAndGovernmentMember" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_24C046C19F6CD29C44B56DDA9BF6F875" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_CD652B9496610B8E133F6DDA9BF6F112" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_24C046C19F6CD29C44B56DDA9BF6F875" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ResidentialMortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_B0C774D8463050F8342E6DDA9BF6EA09" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_CD652B9496610B8E133F6DDA9BF6F112" xlink:to="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_B0C774D8463050F8342E6DDA9BF6EA09" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember" xlink:label="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_05A21EAF262B750A25DD6DDA9BF67784" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_CD652B9496610B8E133F6DDA9BF6F112" xlink:to="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_05A21EAF262B750A25DD6DDA9BF67784" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_CraMutualFundMember" xlink:label="loc_acnb_CraMutualFundMember_40D62A1DAA792A5ED5516DDA9BF60152" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_CD652B9496610B8E133F6DDA9BF6F112" xlink:to="loc_acnb_CraMutualFundMember_40D62A1DAA792A5ED5516DDA9BF60152" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsLessThanOneYear" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsLessThanOneYear_ECF0F3336288BA3932EE6DDA9BF6B927" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_535EF5A538FA12C4E97D6DDA9BF6B8BA" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsLessThanOneYear_ECF0F3336288BA3932EE6DDA9BF6B927" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_AvailableforsaleSecuritiesinUnrealizedLossPositionsUnrealizedLossesasPercentageofAmortizedCost" xlink:label="loc_acnb_AvailableforsaleSecuritiesinUnrealizedLossPositionsUnrealizedLossesasPercentageofAmortizedCost_315B4D9CFC0B770F67F66DDA9BF66852" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_535EF5A538FA12C4E97D6DDA9BF6B8BA" xlink:to="loc_acnb_AvailableforsaleSecuritiesinUnrealizedLossPositionsUnrealizedLossesasPercentageofAmortizedCost_315B4D9CFC0B770F67F66DDA9BF66852" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesGrossRealizedGains" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesGrossRealizedGains_7C7182E8FE5B891AA7156DDA9BF609A6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_535EF5A538FA12C4E97D6DDA9BF6B8BA" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesGrossRealizedGains_7C7182E8FE5B891AA7156DDA9BF609A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesGrossRealizedLosses" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesGrossRealizedLosses_26FB8A6F87C91E858F416DDA9BF6A0E1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_535EF5A538FA12C4E97D6DDA9BF6B8BA" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesGrossRealizedLosses_26FB8A6F87C91E858F416DDA9BF6A0E1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesPledgedAsCollateral" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesPledgedAsCollateral_FF2C5605C313611E2FC96DDA9BF68D13" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_535EF5A538FA12C4E97D6DDA9BF6B8BA" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesPledgedAsCollateral_FF2C5605C313611E2FC96DDA9BF68D13" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_D8D613F62D62FF9081A36DDA9BF6A8B4" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfHeldToMaturitySecuritiesTable" xlink:label="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesTable_9120C2EFC81DBEF68F496DDA9BF672E2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_D8D613F62D62FF9081A36DDA9BF6A8B4" xlink:to="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesTable_9120C2EFC81DBEF68F496DDA9BF672E2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_ADADB223B4CA2686BF256DDA9BF69BEE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesTable_9120C2EFC81DBEF68F496DDA9BF672E2" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_ADADB223B4CA2686BF256DDA9BF69BEE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions_2E442DA380D468E4E8036DDA9BF7762E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_D8D613F62D62FF9081A36DDA9BF6A8B4" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions_2E442DA380D468E4E8036DDA9BF7762E" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_HeldtomaturitySecuritiesinUnrealizedLossPositionsUnrealizedLossesasPercentageofAmortizedCost" xlink:label="loc_acnb_HeldtomaturitySecuritiesinUnrealizedLossPositionsUnrealizedLossesasPercentageofAmortizedCost_9CA2197F5BE3D702D7FB6DDA9BF7CB6C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_D8D613F62D62FF9081A36DDA9BF6A8B4" xlink:to="loc_acnb_HeldtomaturitySecuritiesinUnrealizedLossPositionsUnrealizedLossesasPercentageofAmortizedCost_9CA2197F5BE3D702D7FB6DDA9BF7CB6C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.acnb.com/role/SecuritiesScheduleOfAmortizedCostAndFairValueByContractualMaturityDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfInvestmentsLineItems" xlink:label="loc_us-gaap_ScheduleOfInvestmentsLineItems_B1BCB91879FECF2BD40A48043AADA340" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfInvestmentsTable" xlink:label="loc_us-gaap_ScheduleOfInvestmentsTable_9FD306A2873AA8340C1848043AACEB3F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_B1BCB91879FECF2BD40A48043AADA340" xlink:to="loc_us-gaap_ScheduleOfInvestmentsTable_9FD306A2873AA8340C1848043AACEB3F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_70215AC1155095BE866248043AAC4CD1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_9FD306A2873AA8340C1848043AACEB3F" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_70215AC1155095BE866248043AAC4CD1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_DA92C0512479F5C1EB1048043AAC6A86_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_70215AC1155095BE866248043AAC4CD1" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_DA92C0512479F5C1EB1048043AAC6A86_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_DA92C0512479F5C1EB1048043AAC6A86" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_70215AC1155095BE866248043AAC4CD1" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_DA92C0512479F5C1EB1048043AAC6A86" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ResidentialMortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_DD4886909CCE29103B5E48043AACA3B3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_DA92C0512479F5C1EB1048043AAC6A86" xlink:to="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_DD4886909CCE29103B5E48043AACA3B3" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_CraMutualFundMember" xlink:label="loc_acnb_CraMutualFundMember_435B879228AFC76F6D2E48043AAD057E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_DA92C0512479F5C1EB1048043AAC6A86" xlink:to="loc_acnb_CraMutualFundMember_435B879228AFC76F6D2E48043AAD057E" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_StockInOtherBanksMember" xlink:label="loc_acnb_StockInOtherBanksMember_E9CB5886D427DAAF3A0B48043AAD75AD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_DA92C0512479F5C1EB1048043AAC6A86" xlink:to="loc_acnb_StockInOtherBanksMember_E9CB5886D427DAAF3A0B48043AAD75AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_DABEB60E86CADC3B11DA48043AAD7250" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_B1BCB91879FECF2BD40A48043AADA340" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_DABEB60E86CADC3B11DA48043AAD7250" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_0B4DBF3982B820D6047848043AAD4EE0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_DABEB60E86CADC3B11DA48043AAD7250" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_0B4DBF3982B820D6047848043AAD4EE0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_1B98466AD750637D37A348043AADAAA4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_DABEB60E86CADC3B11DA48043AAD7250" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_1B98466AD750637D37A348043AADAAA4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_C7FC58AA4D57EAFCC98948043AADE1C1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_DABEB60E86CADC3B11DA48043AAD7250" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_C7FC58AA4D57EAFCC98948043AADE1C1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_293E04EC77EB2D16806F48043AADD434" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_DABEB60E86CADC3B11DA48043AAD7250" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_293E04EC77EB2D16806F48043AADD434" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost_9B61599FE8D78ED3A9D548043AAD1C11" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_DABEB60E86CADC3B11DA48043AAD7250" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost_9B61599FE8D78ED3A9D548043AAD1C11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_ED64F4877DD1AD18268748043AAD743B" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_DABEB60E86CADC3B11DA48043AAD7250" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_ED64F4877DD1AD18268748043AAD743B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_537FF2C6A3235265FEE648043AADF72F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_B1BCB91879FECF2BD40A48043AADA340" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_537FF2C6A3235265FEE648043AADF72F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_5F686C7BE7B4CBC5F2A848043AAD523F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_537FF2C6A3235265FEE648043AADF72F" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_5F686C7BE7B4CBC5F2A848043AAD523F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_F69BCD53DE23DD8BABD648043AAD4A8C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_537FF2C6A3235265FEE648043AADF72F" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_F69BCD53DE23DD8BABD648043AAD4A8C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_9D11520F4B45E8E7E76A48043AADCB6D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_537FF2C6A3235265FEE648043AADF72F" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_9D11520F4B45E8E7E76A48043AADCB6D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_334CAB3C919C2CF5118248043AAEDED2" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_537FF2C6A3235265FEE648043AADF72F" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_334CAB3C919C2CF5118248043AAEDED2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue_A73210448056AD41F9DA48043AAEA7AF" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_537FF2C6A3235265FEE648043AADF72F" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue_A73210448056AD41F9DA48043AAEA7AF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_275855BC852ADD85D66F48043AAE3BF7" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_537FF2C6A3235265FEE648043AADF72F" xlink:to="loc_us-gaap_AvailableForSaleSecurities_275855BC852ADD85D66F48043AAE3BF7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_A25B055985DFF2B65DBB48043AB36287" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_B1BCB91879FECF2BD40A48043AADA340" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_A25B055985DFF2B65DBB48043AB36287" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount_B231F7CBAA2D033A240F48043AB3F0FF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_A25B055985DFF2B65DBB48043AB36287" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount_B231F7CBAA2D033A240F48043AB3F0FF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount_DF9E6156B493E3758D4A48043AB33DCC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_A25B055985DFF2B65DBB48043AB36287" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount_DF9E6156B493E3758D4A48043AB33DCC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsNetCarryingAmount" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsNetCarryingAmount_D517E54FC2C3617519A048043AB34349" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_A25B055985DFF2B65DBB48043AB36287" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsNetCarryingAmount_D517E54FC2C3617519A048043AB34349" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount_55E14C25F2324030DB3048043AB3B01A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_A25B055985DFF2B65DBB48043AB36287" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount_55E14C25F2324030DB3048043AB3B01A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithoutSingleMaturityDateNetCarryingAmount" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithoutSingleMaturityDateNetCarryingAmount_DEBF7797CD2C1CBD685048043AB4DE66" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_A25B055985DFF2B65DBB48043AB36287" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithoutSingleMaturityDateNetCarryingAmount_DEBF7797CD2C1CBD685048043AB4DE66" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecurities" xlink:label="loc_us-gaap_HeldToMaturitySecurities_73E6B1FD4C2050DB17A948043AB4BD5E" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_A25B055985DFF2B65DBB48043AB36287" xlink:to="loc_us-gaap_HeldToMaturitySecurities_73E6B1FD4C2050DB17A948043AB4BD5E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesFairValueAbstract" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesFairValueAbstract_61A51479BDFD5704A82848043AB465DC" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_B1BCB91879FECF2BD40A48043AADA340" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesFairValueAbstract_61A51479BDFD5704A82848043AB465DC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue_472D90D09D9C7C3AE76148043AB489E1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesFairValueAbstract_61A51479BDFD5704A82848043AB465DC" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue_472D90D09D9C7C3AE76148043AB489E1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_7CC5B3281DEAF0AA279D48043AB4975F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesFairValueAbstract_61A51479BDFD5704A82848043AB465DC" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_7CC5B3281DEAF0AA279D48043AB4975F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_D6EC174FE7C664CE5C6E48043AB47F86" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesFairValueAbstract_61A51479BDFD5704A82848043AB465DC" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_D6EC174FE7C664CE5C6E48043AB47F86" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue_7DECAA39C8A212174A8248043AB4C1D3" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesFairValueAbstract_61A51479BDFD5704A82848043AB465DC" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue_7DECAA39C8A212174A8248043AB4C1D3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue_23FA60FA6D537CCA49BA48043AB4582A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesFairValueAbstract_61A51479BDFD5704A82848043AB465DC" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue_23FA60FA6D537CCA49BA48043AB4582A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_A01E287779BCBD3A1FF448043AB417DC" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesFairValueAbstract_61A51479BDFD5704A82848043AB465DC" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_A01E287779BCBD3A1FF448043AB417DC" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.acnb.com/role/SecuritiesScheduleOfAmortizedCostAndFairValueOfSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfInvestmentsLineItems" xlink:label="loc_us-gaap_ScheduleOfInvestmentsLineItems_42F06C2E115A94AB169248043A35C99F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfInvestmentsTable" xlink:label="loc_us-gaap_ScheduleOfInvestmentsTable_4F74414E4EDDDE4657F948043A34517E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_42F06C2E115A94AB169248043A35C99F" xlink:to="loc_us-gaap_ScheduleOfInvestmentsTable_4F74414E4EDDDE4657F948043A34517E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_6C412F3642994AF6FF7448043A34C411" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_4F74414E4EDDDE4657F948043A34517E" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_6C412F3642994AF6FF7448043A34C411" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_AEAB8CAB130CF91BB8D948043A34B735_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_6C412F3642994AF6FF7448043A34C411" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_AEAB8CAB130CF91BB8D948043A34B735_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_AEAB8CAB130CF91BB8D948043A34B735" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_6C412F3642994AF6FF7448043A34C411" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_AEAB8CAB130CF91BB8D948043A34B735" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USTreasuryAndGovernmentMember" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_4359BCC3B5065A9DD8DE48043A35233D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_AEAB8CAB130CF91BB8D948043A34B735" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_4359BCC3B5065A9DD8DE48043A35233D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ResidentialMortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_38C674021EAE91A1798648043A350A5E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_AEAB8CAB130CF91BB8D948043A34B735" xlink:to="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_38C674021EAE91A1798648043A350A5E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember" xlink:label="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_65E806AB8AD7A3D172B148043A359557" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_AEAB8CAB130CF91BB8D948043A34B735" xlink:to="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_65E806AB8AD7A3D172B148043A359557" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_AD315930073D9117002948043A358698" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_AEAB8CAB130CF91BB8D948043A34B735" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_AD315930073D9117002948043A358698" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_CraMutualFundMember" xlink:label="loc_acnb_CraMutualFundMember_F87F3C0DA299BC57D2DA48043A356289" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_AEAB8CAB130CF91BB8D948043A34B735" xlink:to="loc_acnb_CraMutualFundMember_F87F3C0DA299BC57D2DA48043A356289" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_StockInOtherBanksMember" xlink:label="loc_acnb_StockInOtherBanksMember_B6F16C1714B432E3EEBC48043A35A37E" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_AEAB8CAB130CF91BB8D948043A34B735" xlink:to="loc_acnb_StockInOtherBanksMember_B6F16C1714B432E3EEBC48043A35A37E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract_5AF041ED90DE7FDE7ED448043A35025B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_42F06C2E115A94AB169248043A35C99F" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract_5AF041ED90DE7FDE7ED448043A35025B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_A5A0578A3B8177558D4B48043A3518BF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract_5AF041ED90DE7FDE7ED448043A35025B" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_A5A0578A3B8177558D4B48043A3518BF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_85C74B3AF51C6449789C48043A35070C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract_5AF041ED90DE7FDE7ED448043A35025B" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_85C74B3AF51C6449789C48043A35070C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_7B0891FCDED82309B8AF48043A35D257" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract_5AF041ED90DE7FDE7ED448043A35025B" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_7B0891FCDED82309B8AF48043A35D257" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_3F42F862D62DAE4338E048043A356EF9" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract_5AF041ED90DE7FDE7ED448043A35025B" xlink:to="loc_us-gaap_AvailableForSaleSecurities_3F42F862D62DAE4338E048043A356EF9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAbstract" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAbstract_8D071DF157C3EA87C6E248043A354C67" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_42F06C2E115A94AB169248043A35C99F" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAbstract_8D071DF157C3EA87C6E248043A354C67" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecurities" xlink:label="loc_us-gaap_HeldToMaturitySecurities_C701AA67CBFB2B6B7F8248043A35994C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAbstract_8D071DF157C3EA87C6E248043A354C67" xlink:to="loc_us-gaap_HeldToMaturitySecurities_C701AA67CBFB2B6B7F8248043A35994C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_FF7F712BE962BB814D2D48043A357BDA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAbstract_8D071DF157C3EA87C6E248043A354C67" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_FF7F712BE962BB814D2D48043A357BDA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_01BBDCB0305474657DA748043A3605B3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAbstract_8D071DF157C3EA87C6E248043A354C67" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_01BBDCB0305474657DA748043A3605B3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_FFE309D7149A6ED6E47148043A36A424" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAbstract_8D071DF157C3EA87C6E248043A354C67" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_FFE309D7149A6ED6E47148043A36A424" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.acnb.com/role/SecuritiesScheduleOfUnrealizedLossesAndFairValueDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfInvestmentsLineItems" xlink:label="loc_us-gaap_ScheduleOfInvestmentsLineItems_8CDA70AA1BDCEA4E04116D6D3045FD4F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfInvestmentsTable" xlink:label="loc_us-gaap_ScheduleOfInvestmentsTable_AA12322D2372FE0CC2BA6D6D304406DD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_8CDA70AA1BDCEA4E04116D6D3045FD4F" xlink:to="loc_us-gaap_ScheduleOfInvestmentsTable_AA12322D2372FE0CC2BA6D6D304406DD" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_EDF91DCF18C9317CE3096D6D304407FD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_AA12322D2372FE0CC2BA6D6D304406DD" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_EDF91DCF18C9317CE3096D6D304407FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_96340993CC9C1D55FEDB6D6D3044B940_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_EDF91DCF18C9317CE3096D6D304407FD" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_96340993CC9C1D55FEDB6D6D3044B940_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_96340993CC9C1D55FEDB6D6D3044B940" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_EDF91DCF18C9317CE3096D6D304407FD" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_96340993CC9C1D55FEDB6D6D3044B940" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USTreasuryAndGovernmentMember" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_8CE47D87394F4FCE269A6D6D30455996" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_96340993CC9C1D55FEDB6D6D3044B940" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_8CE47D87394F4FCE269A6D6D30455996" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ResidentialMortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_FCE5E4ABAC133D3C3D996D6D3045A7F2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_96340993CC9C1D55FEDB6D6D3044B940" xlink:to="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_FCE5E4ABAC133D3C3D996D6D3045A7F2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember" xlink:label="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_69E32B396E8EDB20F2406D6D30459C9B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_96340993CC9C1D55FEDB6D6D3044B940" xlink:to="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_69E32B396E8EDB20F2406D6D30459C9B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_1684616CC9040D9C4AB66D6D30456B01" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_96340993CC9C1D55FEDB6D6D3044B940" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_1684616CC9040D9C4AB66D6D30456B01" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_CraMutualFundMember" xlink:label="loc_acnb_CraMutualFundMember_07D1C4A40769E46FEB136D6D30454684" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_96340993CC9C1D55FEDB6D6D3044B940" xlink:to="loc_acnb_CraMutualFundMember_07D1C4A40769E46FEB136D6D30454684" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_StockInOtherBanksMember" xlink:label="loc_acnb_StockInOtherBanksMember_875674D13E63D3D749836D6D3045113C" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_96340993CC9C1D55FEDB6D6D3044B940" xlink:to="loc_acnb_StockInOtherBanksMember_875674D13E63D3D749836D6D3045113C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract_5527E16D4CFC4ED9A1E66D6D304547AD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_8CDA70AA1BDCEA4E04116D6D3045FD4F" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract_5527E16D4CFC4ED9A1E66D6D304547AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_E8EDDC410BE7380BF7976D6D30454F1F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract_5527E16D4CFC4ED9A1E66D6D304547AD" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_E8EDDC410BE7380BF7976D6D30454F1F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_E61DD5A31A5F05E79E2C6D6D30453265" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract_5527E16D4CFC4ED9A1E66D6D304547AD" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_E61DD5A31A5F05E79E2C6D6D30453265" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_2652C31FB56A4E50F16C6D6D3045E167" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract_5527E16D4CFC4ED9A1E66D6D304547AD" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_2652C31FB56A4E50F16C6D6D3045E167" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_D76BADC5D5F8E836C50D6D6D3045CC24" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract_5527E16D4CFC4ED9A1E66D6D304547AD" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_D76BADC5D5F8E836C50D6D6D3045CC24" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue_2B3DB005597AD9F435D76D6D3045E59A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract_5527E16D4CFC4ED9A1E66D6D304547AD" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue_2B3DB005597AD9F435D76D6D3045E59A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_A0D50959DD3ABF568F836D6D3045A96B" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract_5527E16D4CFC4ED9A1E66D6D304547AD" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_A0D50959DD3ABF568F836D6D3045A96B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAbstract" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAbstract_940B27DC8CD5396571836D6D3045C4D8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_8CDA70AA1BDCEA4E04116D6D3045FD4F" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAbstract_940B27DC8CD5396571836D6D3045C4D8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_7B5FF1C883C1A991872A6D6D304514F9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAbstract_940B27DC8CD5396571836D6D3045C4D8" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_7B5FF1C883C1A991872A6D6D304514F9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_D2C445052D9557F646AF6D6D3046C644" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAbstract_940B27DC8CD5396571836D6D3045C4D8" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_D2C445052D9557F646AF6D6D3046C644" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_03AB80D38649B9C364206D6D30468DBE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAbstract_940B27DC8CD5396571836D6D3045C4D8" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_03AB80D38649B9C364206D6D30468DBE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_0D7F984876212E4FD1B86D6D3046E7BE" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAbstract_940B27DC8CD5396571836D6D3045C4D8" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_0D7F984876212E4FD1B86D6D3046E7BE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue_8314CD352136D6985C176D6D3046FD75" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAbstract_940B27DC8CD5396571836D6D3045C4D8" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue_8314CD352136D6985C176D6D3046FD75" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_B2ECA5A7B04AC73FB3556D6D3046112F" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAbstract_940B27DC8CD5396571836D6D3045C4D8" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_B2ECA5A7B04AC73FB3556D6D3046112F" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.acnb.com/role/SecuritiesSoldUnderAgreementsToRepurchaseRepurchaseAgreements" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.acnb.com/role/SecuritiesSoldUnderAgreementsToRepurchaseRepurchaseAgreementsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsLineItems" xlink:label="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsLineItems_802664452A8955751CB648043AE2CD3F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsTable" xlink:label="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsTable_9C8A9CEAE39318724D8448043AE1F3D2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsLineItems_802664452A8955751CB648043AE2CD3F" xlink:to="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsTable_9C8A9CEAE39318724D8448043AE1F3D2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodsAxis" xlink:label="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodsAxis_572172B04DD0ABEF475C48043AE162AC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsTable_9C8A9CEAE39318724D8448043AE1F3D2" xlink:to="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodsAxis_572172B04DD0ABEF475C48043AE162AC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodDomain" xlink:label="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodDomain_48E8CE7A3AFFCDCF459748043AE1F92E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodsAxis_572172B04DD0ABEF475C48043AE162AC" xlink:to="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodDomain_48E8CE7A3AFFCDCF459748043AE1F92E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodDomain" xlink:label="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodDomain_48E8CE7A3AFFCDCF459748043AE1F92E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodsAxis_572172B04DD0ABEF475C48043AE162AC" xlink:to="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodDomain_48E8CE7A3AFFCDCF459748043AE1F92E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MaturityOvernightAndOnDemandMember" xlink:label="loc_us-gaap_MaturityOvernightAndOnDemandMember_28B73CE621775FB6EF9E48043AE1CA8B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodDomain_48E8CE7A3AFFCDCF459748043AE1F92E" xlink:to="loc_us-gaap_MaturityOvernightAndOnDemandMember_28B73CE621775FB6EF9E48043AE1CA8B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MaturityUpTo30DaysMember" xlink:label="loc_us-gaap_MaturityUpTo30DaysMember_68D5C3EC23FD3E26E7DC48043AE1B51A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodDomain_48E8CE7A3AFFCDCF459748043AE1F92E" xlink:to="loc_us-gaap_MaturityUpTo30DaysMember_68D5C3EC23FD3E26E7DC48043AE1B51A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Maturity30To90DaysMember" xlink:label="loc_us-gaap_Maturity30To90DaysMember_3167911DE71A2F80653348043AE19A1A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodDomain_48E8CE7A3AFFCDCF459748043AE1F92E" xlink:to="loc_us-gaap_Maturity30To90DaysMember_3167911DE71A2F80653348043AE19A1A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MaturityOver90DaysMember" xlink:label="loc_us-gaap_MaturityOver90DaysMember_8CCC84B47504407615E948043AE2626D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodDomain_48E8CE7A3AFFCDCF459748043AE1F92E" xlink:to="loc_us-gaap_MaturityOver90DaysMember_8CCC84B47504407615E948043AE2626D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_5A0D50867DA67029FEA948043AE235B0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsTable_9C8A9CEAE39318724D8448043AE1F3D2" xlink:to="loc_us-gaap_FinancialInstrumentAxis_5A0D50867DA67029FEA948043AE235B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_A670C8E25AC60B466EED48043AE254BF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_5A0D50867DA67029FEA948043AE235B0" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_A670C8E25AC60B466EED48043AE254BF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_A670C8E25AC60B466EED48043AE254BF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_5A0D50867DA67029FEA948043AE235B0" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_A670C8E25AC60B466EED48043AE254BF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USTreasuryAndGovernmentMember" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_A5D240E4072591CA2CA748043AE2D930" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_A670C8E25AC60B466EED48043AE254BF" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_A5D240E4072591CA2CA748043AE2D930" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseGross" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseGross_802879E624A9FCAC028D48043AE2B70C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsLineItems_802664452A8955751CB648043AE2CD3F" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseGross_802879E624A9FCAC028D48043AE2B70C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAsset" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAsset_ACC53F8E29DAD098EBE948043AE28F5F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsLineItems_802664452A8955751CB648043AE2CD3F" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAsset_ACC53F8E29DAD098EBE948043AE28F5F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchase" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase_C787487F14D2BE4A503448043AE28623" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsLineItems_802664452A8955751CB648043AE2CD3F" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase_C787487F14D2BE4A503448043AE28623" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimSecurities" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimSecurities_AA62245447DC75C23DA148043AE2AA71" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsLineItems_802664452A8955751CB648043AE2CD3F" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimSecurities_AA62245447DC75C23DA148043AE2AA71" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimCash" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimCash_5A22E7512D1B677199CD48043AE2D913" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsLineItems_802664452A8955751CB648043AE2CD3F" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimCash_5A22E7512D1B677199CD48043AE2D913" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAmountOffsetAgainstCollateral" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAmountOffsetAgainstCollateral_C848C4F9C4F11B19F41348043AE22F4A" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsLineItems_802664452A8955751CB648043AE2CD3F" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAmountOffsetAgainstCollateral_C848C4F9C4F11B19F41348043AE22F4A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancialAssetsSoldUnderAgreementsToRepurchaseGrossIncludingNotSubjectToMasterNettingArrangement" xlink:label="loc_us-gaap_FinancialAssetsSoldUnderAgreementsToRepurchaseGrossIncludingNotSubjectToMasterNettingArrangement_52167A1C3E03FE9076C548043AE2CC43" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransferOfCertainFinancialAssetsAccountedForAsSecuredBorrowingsLineItems_802664452A8955751CB648043AE2CD3F" xlink:to="loc_us-gaap_FinancialAssetsSoldUnderAgreementsToRepurchaseGrossIncludingNotSubjectToMasterNettingArrangement_52167A1C3E03FE9076C548043AE2CC43" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.acnb.com/role/SecuritiesSoldUnderAgreementsToRepurchaseRepurchaseAgreementsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.acnb.com/role/SecuritiesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.acnb.com/role/SegmentReporting" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.acnb.com/role/SegmentReportingDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_ED4C6B1412F9FF648CD86D6D304E6FCE" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_E87A33AB58C5C32D91D66D6D304DD3AF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_ED4C6B1412F9FF648CD86D6D304E6FCE" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_E87A33AB58C5C32D91D66D6D304DD3AF" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_67E840BC38A7549512B16D6D304D9B24" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_E87A33AB58C5C32D91D66D6D304DD3AF" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_67E840BC38A7549512B16D6D304D9B24" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_0E4ED1D072467D7A75C76D6D304E4BCA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_67E840BC38A7549512B16D6D304D9B24" xlink:to="loc_us-gaap_SegmentDomain_0E4ED1D072467D7A75C76D6D304E4BCA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_0E4ED1D072467D7A75C76D6D304E4BCA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_67E840BC38A7549512B16D6D304D9B24" xlink:to="loc_us-gaap_SegmentDomain_0E4ED1D072467D7A75C76D6D304E4BCA" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_BankingMember" xlink:label="loc_acnb_BankingMember_8B02BC83E9AEE15E6C166D6D304E85A9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_0E4ED1D072467D7A75C76D6D304E4BCA" xlink:to="loc_acnb_BankingMember_8B02BC83E9AEE15E6C166D6D304E85A9" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_InsuranceReportingSegmentMember" xlink:label="loc_acnb_InsuranceReportingSegmentMember_ABB36E8A456E9A215BA76D6D304E6BFB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_0E4ED1D072467D7A75C76D6D304E4BCA" xlink:to="loc_acnb_InsuranceReportingSegmentMember_ABB36E8A456E9A215BA76D6D304E6BFB" xlink:type="arc" />
    <link:loc xlink:href="acnb-20170331.xsd#acnb_NetInterestIncomeAndOtherIncomeFromExternalCustomers" xlink:label="loc_acnb_NetInterestIncomeAndOtherIncomeFromExternalCustomers_161EACB7385B5697C4296D6D304E0559" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_ED4C6B1412F9FF648CD86D6D304E6FCE" xlink:to="loc_acnb_NetInterestIncomeAndOtherIncomeFromExternalCustomers_161EACB7385B5697C4296D6D304E0559" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_478404F8384BBFBB61386D6D304ED101" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_ED4C6B1412F9FF648CD86D6D304E6FCE" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_478404F8384BBFBB61386D6D304ED101" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_F05A9DBC70EB9746730D6D6D304E35AB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_ED4C6B1412F9FF648CD86D6D304E6FCE" xlink:to="loc_us-gaap_Assets_F05A9DBC70EB9746730D6D6D304E35AB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_92D0DDD7A8FA26E285876D6D304E0B61" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_ED4C6B1412F9FF648CD86D6D304E6FCE" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_92D0DDD7A8FA26E285876D6D304E0B61" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.acnb.com/role/SegmentReportingTables" xlink:type="extended" />
</link:linkbase>
