<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.7.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>326</ContextCount>
  <ElementCount>287</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>51</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>10</UnitCount>
  <MyReports>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1002000 - Statement - CONSOLIDATED STATEMENTS OF CONDITION (UNAUDITED)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/ConsolidatedStatementsOfConditionUnaudited</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CONDITION (UNAUDITED)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1002501 - Statement - CONSOLIDATED STATEMENTS OF CONDITION (UNAUDITED) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/ConsolidatedStatementsOfConditionUnauditedParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CONDITION (UNAUDITED) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1003000 - Statement - CONSOLIDATED STATEMENTS OF INCOME (UNAUDITED)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/ConsolidatedStatementsOfIncomeUnaudited</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF INCOME (UNAUDITED)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1004000 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (UNAUDITED)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/ConsolidatedStatementsOfComprehensiveIncomeUnaudited</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (UNAUDITED)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1004501 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (UNAUDITED) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/ConsolidatedStatementsOfComprehensiveIncomeUnauditedParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (UNAUDITED) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1005000 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY (UNAUDITED)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/ConsolidatedStatementsOfChangesInStockholdersEquityUnaudited</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY (UNAUDITED)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>1005501 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY (UNAUDITED) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/ConsolidatedStatementsOfChangesInStockholdersEquityUnauditedParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY (UNAUDITED) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>1006000 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/ConsolidatedStatementsOfCashFlowsUnaudited</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2101100 - Disclosure - Basis of Presentation and Nature of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/BasisOfPresentationAndNatureOfOperations</Role>
      <ShortName>Basis of Presentation and Nature of Operations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2102100 - Disclosure - Earnings Per Share and Restricted Stock Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/EarningsPerShareAndRestrictedStockPlan</Role>
      <ShortName>Earnings Per Share and Restricted Stock Plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2103100 - Disclosure - Retirement Benefits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/RetirementBenefits</Role>
      <ShortName>Retirement Benefits</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2104100 - Disclosure - Guarantees</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/Guarantees</Role>
      <ShortName>Guarantees</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2105100 - Disclosure - Accumulated Other Comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/AccumulatedOtherComprehensiveLoss</Role>
      <ShortName>Accumulated Other Comprehensive Loss</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2106100 - Disclosure - Segment Reporting</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/SegmentReporting</Role>
      <ShortName>Segment Reporting</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2107100 - Disclosure - Securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/Securities</Role>
      <ShortName>Securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2108100 - Disclosure - Loans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/Loans</Role>
      <ShortName>Loans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2109100 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2110100 - Disclosure - Securities Sold Under Agreements to Repurchase (Repurchase Agreements)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/SecuritiesSoldUnderAgreementsToRepurchaseRepurchaseAgreements</Role>
      <ShortName>Securities Sold Under Agreements to Repurchase (Repurchase Agreements)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2111100 - Disclosure - New Accounting Pronouncements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/NewAccountingPronouncements</Role>
      <ShortName>New Accounting Pronouncements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2211201 - Disclosure - New Accounting Pronouncements (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/NewAccountingPronouncementsPolicies</Role>
      <ShortName>New Accounting Pronouncements (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.acnb.com/role/NewAccountingPronouncements</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2303301 - Disclosure - Retirement Benefits (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/RetirementBenefitsTables</Role>
      <ShortName>Retirement Benefits (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.acnb.com/role/RetirementBenefits</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2305301 - Disclosure - Accumulated Other Comprehensive Loss (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/AccumulatedOtherComprehensiveLossTables</Role>
      <ShortName>Accumulated Other Comprehensive Loss (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.acnb.com/role/AccumulatedOtherComprehensiveLoss</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2306301 - Disclosure - Segment Reporting (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/SegmentReportingTables</Role>
      <ShortName>Segment Reporting (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.acnb.com/role/SegmentReporting</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2307301 - Disclosure - Securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/SecuritiesTables</Role>
      <ShortName>Securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.acnb.com/role/Securities</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2308301 - Disclosure - Loans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/LoansTables</Role>
      <ShortName>Loans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.acnb.com/role/Loans</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2309301 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.acnb.com/role/FairValueMeasurements</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2310301 - Disclosure - Securities Sold Under Agreements to Repurchase (Repurchase Agreements) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/SecuritiesSoldUnderAgreementsToRepurchaseRepurchaseAgreementsTables</Role>
      <ShortName>Securities Sold Under Agreements to Repurchase (Repurchase Agreements) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.acnb.com/role/SecuritiesSoldUnderAgreementsToRepurchaseRepurchaseAgreements</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2401401 - Disclosure - Basis of Presentation and Nature of Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/BasisOfPresentationAndNatureOfOperationsDetails</Role>
      <ShortName>Basis of Presentation and Nature of Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.acnb.com/role/BasisOfPresentationAndNatureOfOperations</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2402401 - Disclosure - Earnings Per Share and Restricted Stock Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/EarningsPerShareAndRestrictedStockPlanDetails</Role>
      <ShortName>Earnings Per Share and Restricted Stock Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.acnb.com/role/EarningsPerShareAndRestrictedStockPlan</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2403402 - Disclosure - Retirement Benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/RetirementBenefitsDetails</Role>
      <ShortName>Retirement Benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.acnb.com/role/RetirementBenefitsTables</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2404401 - Disclosure - Guarantees (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/GuaranteesDetails</Role>
      <ShortName>Guarantees (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.acnb.com/role/Guarantees</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2405402 - Disclosure - Accumulated Other Comprehensive Loss (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/AccumulatedOtherComprehensiveLossDetails</Role>
      <ShortName>Accumulated Other Comprehensive Loss (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.acnb.com/role/AccumulatedOtherComprehensiveLossTables</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2406402 - Disclosure - Segment Reporting (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/SegmentReportingDetails</Role>
      <ShortName>Segment Reporting (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.acnb.com/role/SegmentReportingTables</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2407402 - Disclosure - Securities - Schedule of Amortized Cost and Fair Value of Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/SecuritiesScheduleOfAmortizedCostAndFairValueOfSecuritiesDetails</Role>
      <ShortName>Securities - Schedule of Amortized Cost and Fair Value of Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2407403 - Disclosure - Securities - Schedule of Unrealized Losses and Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/SecuritiesScheduleOfUnrealizedLossesAndFairValueDetails</Role>
      <ShortName>Securities - Schedule of Unrealized Losses and Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2407404 - Disclosure - Securities - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/SecuritiesNarrativeDetails</Role>
      <ShortName>Securities - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2407405 - Disclosure - Securities - Schedule of Amortized Cost and Fair Value by Contractual Maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/SecuritiesScheduleOfAmortizedCostAndFairValueByContractualMaturityDetails</Role>
      <ShortName>Securities - Schedule of Amortized Cost and Fair Value by Contractual Maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2408402 - Disclosure - Loans - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/LoansNarrativeDetails</Role>
      <ShortName>Loans - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2408403 - Disclosure - Loans - Schedule of Classes Of The Loan Portfolio Summarized By The Aggregate Risk Rating (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/LoansScheduleOfClassesOfLoanPortfolioSummarizedByAggregateRiskRatingDetails</Role>
      <ShortName>Loans - Schedule of Classes Of The Loan Portfolio Summarized By The Aggregate Risk Rating (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2408404 - Disclosure - Loans - Summary of Impaired Loans By Loan Portfolio Class (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/LoansSummaryOfImpairedLoansByLoanPortfolioClassDetails</Role>
      <ShortName>Loans - Summary of Impaired Loans By Loan Portfolio Class (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2408405 - Disclosure - Loans - Summary of Average Of Impaired Loans And Related Interest Income By Loan Portfolio Class (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/LoansSummaryOfAverageOfImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails</Role>
      <ShortName>Loans - Summary of Average Of Impaired Loans And Related Interest Income By Loan Portfolio Class (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2408406 - Disclosure - Loans - Schedule of Nonaccrual Loans By Classes Of The Loan Portfolio (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/LoansScheduleOfNonaccrualLoansByClassesOfLoanPortfolioDetails</Role>
      <ShortName>Loans - Schedule of Nonaccrual Loans By Classes Of The Loan Portfolio (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2408407 - Disclosure - Loans - Schedule of Troubled Debt Restructurings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/LoansScheduleOfTroubledDebtRestructuringsDetails</Role>
      <ShortName>Loans - Schedule of Troubled Debt Restructurings (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2408408 - Disclosure - Loans - Schedule of Loan Portfolio Summarized By The Past Due Status (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/LoansScheduleOfLoanPortfolioSummarizedByPastDueStatusDetails</Role>
      <ShortName>Loans - Schedule of Loan Portfolio Summarized By The Past Due Status (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2408409 - Disclosure - Loans - Schedule of Allowance For Loan Losses And Recorded Investment In Financing Receivables (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/LoansScheduleOfAllowanceForLoanLossesAndRecordedInvestmentInFinancingReceivablesDetails</Role>
      <ShortName>Loans - Schedule of Allowance For Loan Losses And Recorded Investment In Financing Receivables (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2409402 - Disclosure - Fair Value Measurements - Schedule of Fair Value Measurements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/FairValueMeasurementsScheduleOfFairValueMeasurementsDetails</Role>
      <ShortName>Fair Value Measurements - Schedule of Fair Value Measurements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2409403 - Disclosure - Fair Value Measurements - Schedule of Additional Quantitative Information(Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/FairValueMeasurementsScheduleOfAdditionalQuantitativeInformationdetails</Role>
      <ShortName>Fair Value Measurements - Schedule of Additional Quantitative Information(Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2409404 - Disclosure - Fair Value Measurements - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/FairValueMeasurementsNarrativeDetails</Role>
      <ShortName>Fair Value Measurements - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2409405 - Disclosure - Fair Value Measurements - Schedule of Carrying Amount, Fair Value and Placement in Fair Value Hierarchy (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/FairValueMeasurementsScheduleOfCarryingAmountFairValueAndPlacementInFairValueHierarchyDetails</Role>
      <ShortName>Fair Value Measurements - Schedule of Carrying Amount, Fair Value and Placement in Fair Value Hierarchy (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="acnb-20170331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2410402 - Disclosure - Securities Sold Under Agreements to Repurchase (Repurchase Agreements) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acnb.com/role/SecuritiesSoldUnderAgreementsToRepurchaseRepurchaseAgreementsDetails</Role>
      <ShortName>Securities Sold Under Agreements to Repurchase (Repurchase Agreements) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.acnb.com/role/SecuritiesSoldUnderAgreementsToRepurchaseRepurchaseAgreementsTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>acnb-20170331.xml</File>
    <File>acnb-20170331.xsd</File>
    <File>acnb-20170331_cal.xml</File>
    <File>acnb-20170331_def.xml</File>
    <File>acnb-20170331_lab.xml</File>
    <File>acnb-20170331_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies/>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
