<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.2.0.727</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>250</ContextCount>
  <ElementCount>332</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>59</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>8</UnitCount>
  <MyReports>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>100000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - Consolidated Balance Sheets (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/StatementConsolidatedBalanceSheetsUnaudited</Role>
      <ShortName>Consolidated Balance Sheets (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100020 - Statement - Consolidated Balance Sheets (Parenthetical) (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/StatementConsolidatedBalanceSheetsParentheticalUnaudited</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical) (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100030 - Statement - Consolidated Statements of Income (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/StatementConsolidatedStatementsOfIncomeUnaudited</Role>
      <ShortName>Consolidated Statements of Income (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100040 - Statement - Consolidated Statements of Comprehensive Income (Loss) (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLossUnaudited</Role>
      <ShortName>Consolidated Statements of Comprehensive Income (Loss) (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100050 - Statement - Consolidated Statements of Changes in Shareholders' Equity (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquityUnaudited</Role>
      <ShortName>Consolidated Statements of Changes in Shareholders' Equity (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100060 - Statement - Consolidated Statements of Changes in Shareholders' Equity (Parenthetical) (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquityParentheticalUnaudited</Role>
      <ShortName>Consolidated Statements of Changes in Shareholders' Equity (Parenthetical) (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100070 - Statement - Consolidated Statements of Cash Flows (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/StatementConsolidatedStatementsOfCashFlowsUnaudited</Role>
      <ShortName>Consolidated Statements of Cash Flows (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>100080 - Disclosure - Basis of Presentation and Reclassifications</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureBasisOfPresentationAndReclassifications</Role>
      <ShortName>Basis of Presentation and Reclassifications</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>100090 - Disclosure - Authoritative Accounting Guidance</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureAuthoritativeAccountingGuidance</Role>
      <ShortName>Authoritative Accounting Guidance</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>100100 - Disclosure - Investment Securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureInvestmentSecurities</Role>
      <ShortName>Investment Securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>100110 - Disclosure - Loans and Allowance for Loan Losses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureLoansAndAllowanceForLoanLosses</Role>
      <ShortName>Loans and Allowance for Loan Losses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>100120 - Disclosure - Legal Proceedings</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureLegalProceedings</Role>
      <ShortName>Legal Proceedings</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>100130 - Disclosure - Earnings Per Share and Capital Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureEarningsPerShareAndCapitalTransactions</Role>
      <ShortName>Earnings Per Share and Capital Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>100140 - Disclosure - Subordinated Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureSubordinatedDebt</Role>
      <ShortName>Subordinated Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>100150 - Disclosure - Commitments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureCommitments</Role>
      <ShortName>Commitments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>100160 - Disclosure - Fair Value of Assets and Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureFairValueOfAssetsAndLiabilities</Role>
      <ShortName>Fair Value of Assets and Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>100170 - Disclosure - Accumulated Other Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureAccumulatedOtherComprehensiveIncomeLoss</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>100180 - Disclosure - Post-Retirement Obligations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosurePostRetirementObligations</Role>
      <ShortName>Post-Retirement Obligations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>100190 - Disclosure - Stock Repurchase Program</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureStockRepurchaseProgram</Role>
      <ShortName>Stock Repurchase Program</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>100200 - Disclosure - Short-Term Borrowings</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureShortTermBorrowings</Role>
      <ShortName>Short-Term Borrowings</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>100210 - Disclosure - Authoritative Accounting Guidance (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureAuthoritativeAccountingGuidancePolicies</Role>
      <ShortName>Authoritative Accounting Guidance (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureAuthoritativeAccountingGuidance</ParentRole>
      <Position>22</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>100220 - Disclosure - Accumulated Other Comprehensive Income (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureAccumulatedOtherComprehensiveIncomeTables</Role>
      <ShortName>Accumulated Other Comprehensive Income (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureAccumulatedOtherComprehensiveIncomeLoss</ParentRole>
      <Position>23</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>100230 - Disclosure - Investment Securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureInvestmentSecuritiesTables</Role>
      <ShortName>Investment Securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureInvestmentSecurities</ParentRole>
      <Position>24</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>100240 - Disclosure - Loans and Allowance for Loan Losses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureLoansAndAllowanceForLoanLossesTables</Role>
      <ShortName>Loans and Allowance for Loan Losses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureLoansAndAllowanceForLoanLosses</ParentRole>
      <Position>25</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>100250 - Disclosure - Earnings Per Share and Capital Transactions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureEarningsPerShareAndCapitalTransactionsTables</Role>
      <ShortName>Earnings Per Share and Capital Transactions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureEarningsPerShareAndCapitalTransactions</ParentRole>
      <Position>26</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>100260 - Disclosure - Commitments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureCommitmentsTables</Role>
      <ShortName>Commitments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureCommitments</ParentRole>
      <Position>27</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>100270 - Disclosure - Fair Value of Assets and Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureFairValueOfAssetsAndLiabilitiesTables</Role>
      <ShortName>Fair Value of Assets and Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureFairValueOfAssetsAndLiabilities</ParentRole>
      <Position>28</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>100280 - Disclosure - Post-Retirement Obligations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosurePostRetirementObligationsTables</Role>
      <ShortName>Post-Retirement Obligations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosurePostRetirementObligations</ParentRole>
      <Position>29</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>100290 - Disclosure - Short-Term Borrowings (Table)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureShortTermBorrowingsTable</Role>
      <ShortName>Short-Term Borrowings (Table)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureShortTermBorrowings</ParentRole>
      <Position>30</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>100300 - Disclosure - Investment Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureInvestmentSecuritiesDetails</Role>
      <ShortName>Investment Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureInvestmentSecuritiesTables</ParentRole>
      <Position>31</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>100310 - Disclosure - Investment Securities (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureInvestmentSecuritiesDetailsTextual</Role>
      <ShortName>Investment Securities (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureInvestmentSecuritiesTables</ParentRole>
      <Position>32</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>100320 - Disclosure - Investment Securities (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureInvestmentSecuritiesDetails1</Role>
      <ShortName>Investment Securities (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureInvestmentSecuritiesTables</ParentRole>
      <Position>33</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>100340 - Disclosure - Investment Securities (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureInvestmentSecuritiesDetails2</Role>
      <ShortName>Investment Securities (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureInvestmentSecuritiesTables</ParentRole>
      <Position>34</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>100350 - Disclosure - Investment Securities (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureInvestmentSecuritiesDetails3</Role>
      <ShortName>Investment Securities (Details 3)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureInvestmentSecuritiesTables</ParentRole>
      <Position>35</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>100360 - Disclosure - Investment Securities (Details 4)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureInvestmentSecuritiesDetails4</Role>
      <ShortName>Investment Securities (Details 4)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureInvestmentSecuritiesTables</ParentRole>
      <Position>36</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>100370 - Disclosure - Loans and Allowance for Loan Losses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureLoansAndAllowanceForLoanLossesDetails</Role>
      <ShortName>Loans and Allowance for Loan Losses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureLoansAndAllowanceForLoanLossesTables</ParentRole>
      <Position>37</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>100380 - Disclosure - Loans and Allowance for Loan Losses (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureLoansAndAllowanceForLoanLossesDetails1</Role>
      <ShortName>Loans and Allowance for Loan Losses (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureLoansAndAllowanceForLoanLossesTables</ParentRole>
      <Position>38</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>100390 - Disclosure - Loans and Allowance for Loan Losses (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureLoansAndAllowanceForLoanLossesDetails2</Role>
      <ShortName>Loans and Allowance for Loan Losses (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureLoansAndAllowanceForLoanLossesTables</ParentRole>
      <Position>39</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>100400 - Disclosure - Loans and Allowance for Loan Losses (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureLoansAndAllowanceForLoanLossesDetails3</Role>
      <ShortName>Loans and Allowance for Loan Losses (Details 3)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureLoansAndAllowanceForLoanLossesTables</ParentRole>
      <Position>40</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>100410 - Disclosure - Loans and Allowance for Loan Losses (Details 4)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureLoansAndAllowanceForLoanLossesDetails4</Role>
      <ShortName>Loans and Allowance for Loan Losses (Details 4)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureLoansAndAllowanceForLoanLossesTables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>100420 - Disclosure - Loans and Allowance for Loan Losses (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureLoansAndAllowanceForLoanLossesDetailsTextual</Role>
      <ShortName>Loans and Allowance for Loan Losses (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureLoansAndAllowanceForLoanLossesTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>100430 - Disclosure - Loans and Allowance for Loan Losses (Details 5)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureLoansAndAllowanceForLoanLossesDetails5</Role>
      <ShortName>Loans and Allowance for Loan Losses (Details 5)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureLoansAndAllowanceForLoanLossesTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>100440 - Disclosure - Loans and Allowance for Loan Losses (Details 6)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureLoansAndAllowanceForLoanLossesDetails6</Role>
      <ShortName>Loans and Allowance for Loan Losses (Details 6)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureLoansAndAllowanceForLoanLossesTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>100450 - Disclosure - Loans and Allowance for Loan Losses (Details 7)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureLoansAndAllowanceForLoanLossesDetails7</Role>
      <ShortName>Loans and Allowance for Loan Losses (Details 7)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureLoansAndAllowanceForLoanLossesTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>100460 - Disclosure - Loans and Allowance for Loan Losses (Details 9)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureLoansAndAllowanceForLoanLossesDetails9</Role>
      <ShortName>Loans and Allowance for Loan Losses (Details 9)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureLoansAndAllowanceForLoanLossesTables</ParentRole>
      <Position>46</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>100470 - Disclosure - Loans and Allowance for Loan Losses (Details 10)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureLoansAndAllowanceForLoanLossesDetails10</Role>
      <ShortName>Loans and Allowance for Loan Losses (Details 10)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureLoansAndAllowanceForLoanLossesTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>100480 - Disclosure - Earnings Per Share and Capital Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureEarningsPerShareAndCapitalTransactionsDetails</Role>
      <ShortName>Earnings Per Share and Capital Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureEarningsPerShareAndCapitalTransactionsTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>100490 - Disclosure - Subordinated Debt (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureSubordinatedDebtDetailsTextual</Role>
      <ShortName>Subordinated Debt (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureSubordinatedDebt</ParentRole>
      <Position>49</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>100500 - Disclosure - Commitments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureCommitmentsDetails</Role>
      <ShortName>Commitments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureCommitmentsTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>100510 - Disclosure - Commitments (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureCommitmentsDetails1</Role>
      <ShortName>Commitments (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureCommitmentsTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>100520 - Disclosure - Commitments (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureCommitmentsDetailsTextual</Role>
      <ShortName>Commitments (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureCommitmentsTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>100530 - Disclosure - Commitments (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureCommitmentsDetails2</Role>
      <ShortName>Commitments (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureCommitmentsTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>100540 - Disclosure - Commitments (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureCommitmentsDetails3</Role>
      <ShortName>Commitments (Details 3)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureCommitmentsTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>100550 - Disclosure - Fair Value of Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureFairValueOfAssetsAndLiabilitiesDetails</Role>
      <ShortName>Fair Value of Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureFairValueOfAssetsAndLiabilitiesTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>100560 - Disclosure - Fair Value of Assets and Liabilities (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureFairValueOfAssetsAndLiabilitiesDetails1</Role>
      <ShortName>Fair Value of Assets and Liabilities (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureFairValueOfAssetsAndLiabilitiesTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>100570 - Disclosure - Fair Value of Assets and Liabilities (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureFairValueOfAssetsAndLiabilitiesDetailsTextual</Role>
      <ShortName>Fair Value of Assets and Liabilities (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureFairValueOfAssetsAndLiabilitiesTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>100580 - Disclosure - Fair Value of Assets and Liabilities (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureFairValueOfAssetsAndLiabilitiesDetails2</Role>
      <ShortName>Fair Value of Assets and Liabilities (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureFairValueOfAssetsAndLiabilitiesTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>100590 - Disclosure - Fair Value of Assets and Liabilities (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureFairValueOfAssetsAndLiabilitiesDetails3</Role>
      <ShortName>Fair Value of Assets and Liabilities (Details 3)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureFairValueOfAssetsAndLiabilitiesTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>100600 - Disclosure - Fair Value of Assets and Liabilities (Details 4)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureFairValueOfAssetsAndLiabilitiesDetails4</Role>
      <ShortName>Fair Value of Assets and Liabilities (Details 4)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureFairValueOfAssetsAndLiabilitiesTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>100610 - Disclosure - Fair Value of Assets and Liabilities (Details 5)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureFairValueOfAssetsAndLiabilitiesDetails5</Role>
      <ShortName>Fair Value of Assets and Liabilities (Details 5)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureFairValueOfAssetsAndLiabilitiesTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>100620 - Disclosure - Fair Value of Assets and Liabilities (Details 6)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureFairValueOfAssetsAndLiabilitiesDetails6</Role>
      <ShortName>Fair Value of Assets and Liabilities (Details 6)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureFairValueOfAssetsAndLiabilitiesTables</ParentRole>
      <Position>62</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>100630 - Disclosure - Fair Value of Assets and Liabilities (Details 7)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureFairValueOfAssetsAndLiabilitiesDetails7</Role>
      <ShortName>Fair Value of Assets and Liabilities (Details 7)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureFairValueOfAssetsAndLiabilitiesTables</ParentRole>
      <Position>63</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>100640 - Disclosure - Accumulated Other Comprehensive Income (loss) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureAccumulatedOtherComprehensiveIncomeLossDetails</Role>
      <ShortName>Accumulated Other Comprehensive Income (loss) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureAccumulatedOtherComprehensiveIncomeTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>100650 - Disclosure - Accumulated Other Comprehensive Income (loss) (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureAccumulatedOtherComprehensiveIncomeLossDetails1</Role>
      <ShortName>Accumulated Other Comprehensive Income (loss) (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureAccumulatedOtherComprehensiveIncomeTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>100660 - Disclosure - Post-Retirement Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosurePostRetirementObligationsDetails</Role>
      <ShortName>Post-Retirement Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosurePostRetirementObligationsTables</ParentRole>
      <Position>66</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>100670 - Disclosure - Stock Repurchase Program (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureStockRepurchaseProgramDetailsTextual</Role>
      <ShortName>Stock Repurchase Program (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureStockRepurchaseProgram</ParentRole>
      <Position>67</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>100680 - Disclosure - Short-Term Borrowings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureShortTermBorrowingsDetails</Role>
      <ShortName>Short-Term Borrowings (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cortland-banks.com/20150630/taxonomy/role/DisclosureShortTermBorrowingsTable</ParentRole>
      <Position>68</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9999.htm</HtmlFileName>
      <LongName>Uncategorized Items - cldb-20150630.xml</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/role/uncategorizedFacts</Role>
      <ShortName>Uncategorized Items - cldb-20150630.xml</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Info">In ''Consolidated Balance Sheets (Unaudited)'', column(s) 3, 4 are contained in other reports, so were removed by flow through suppression.</Log>
    <Log type="Info">In ''Consolidated Balance Sheets (Parenthetical) (Unaudited)'', column(s) 3 are contained in other reports, so were removed by flow through suppression.</Log>
    <Log type="Info">In ''Consolidated Statements of Changes in Shareholders' Equity (Parenthetical) (Unaudited)'', column(s) 1, 2, 5 are contained in other reports, so were removed by flow through suppression.</Log>
    <Log type="Warn">In ''Fair Value of Assets and Liabilities (Details 3)'', fact us-gaap:OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCreditLossesOnDebtSecuritiesHeld with value 140000 and preferred label periodStartLabel, was not shown because there are no facts in a duration starting at 2014-06-30. Change the preferred label role or add facts.</Log>
    <Log type="Warn">In ''Fair Value of Assets and Liabilities (Details 3)'', fact us-gaap:OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCreditLossesOnDebtSecuritiesHeld with value 140000 and preferred label periodStartLabel, was not shown because there are no facts in a duration starting at 2013-12-31. Change the preferred label role or add facts.</Log>
    <Log type="Warn">In ''Fair Value of Assets and Liabilities (Details 3)'', fact us-gaap:OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCreditLossesOnDebtSecuritiesHeld with value 140000 and preferred label periodEndLabel, was not shown because there are no facts in a duration ending at 2014-06-30. Change the preferred label role or add facts.</Log>
    <Log type="Warn">In ''Fair Value of Assets and Liabilities (Details 3)'', fact us-gaap:OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCreditLossesOnDebtSecuritiesHeld with value 140000 and preferred label periodEndLabel, was not shown because there are no facts in a duration ending at 2013-12-31. Change the preferred label role or add facts.</Log>
  </Logs>
  <InputFiles>
    <File>cldb-20150630.xml</File>
    <File>cldb-20150630_cal.xml</File>
    <File>cldb-20150630_def.xml</File>
    <File>cldb-20150630_lab.xml</File>
    <File>cldb-20150630_pre.xml</File>
    <File>cldb-20150630.xsd</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies/>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>

