<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.7.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>557</ContextCount>
  <ElementCount>351</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>71</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>9</UnitCount>
  <MyReports>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>000100 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>010000 - Statement - Condensed Consolidated Balance Sheets (unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/CondensedConsolidatedBalanceSheetsUnaudited</Role>
      <ShortName>Condensed Consolidated Balance Sheets (unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>010100 - Statement - Condensed Consolidated Balance Sheets (unaudited) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/CondensedConsolidatedBalanceSheetsUnauditedParenthetical</Role>
      <ShortName>Condensed Consolidated Balance Sheets (unaudited) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>020000 - Statement - Condensed Consolidated Statements of Income and Comprehensive Income (unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/CondensedConsolidatedStatementsOfIncomeAndComprehensiveIncomeUnaudited</Role>
      <ShortName>Condensed Consolidated Statements of Income and Comprehensive Income (unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>030000 - Statement - Condensed Consolidated Statements of Cash Flows (unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/CondensedConsolidatedStatementsOfCashFlowsUnaudited</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows (unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>060100 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/SummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>060200 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/StockbasedCompensation</Role>
      <ShortName>Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>060300 - Disclosure - Securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/Securities</Role>
      <ShortName>Securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>060400 - Disclosure - Loans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/Loans</Role>
      <ShortName>Loans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>060500 - Disclosure - Allowance for Loan and Lease Losses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/AllowanceForLoanAndLeaseLosses</Role>
      <ShortName>Allowance for Loan and Lease Losses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>060600 - Disclosure - Other Real Estate Owned</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/OtherRealEstateOwned</Role>
      <ShortName>Other Real Estate Owned</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>060700 - Disclosure - Repurchase Agreements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/RepurchaseAgreements</Role>
      <ShortName>Repurchase Agreements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>060800 - Disclosure - Fair Market Value of Financial Assets and Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/FairMarketValueOfFinancialAssetsAndLiabilities</Role>
      <ShortName>Fair Market Value of Financial Assets and Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>060900 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/EarningsPerShare</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>061000 - Disclosure - Accumulated Other Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/AccumulatedOtherComprehensiveIncome</Role>
      <ShortName>Accumulated Other Comprehensive Income</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>061100 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/CommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>070100 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/SummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://ctbi.com/role/SummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>17</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>080200 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/StockbasedCompensationTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://ctbi.com/role/StockbasedCompensation</ParentRole>
      <Position>18</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>080300 - Disclosure - Securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/SecuritiesTables</Role>
      <ShortName>Securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://ctbi.com/role/Securities</ParentRole>
      <Position>19</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>080400 - Disclosure - Loans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/LoansTables</Role>
      <ShortName>Loans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://ctbi.com/role/Loans</ParentRole>
      <Position>20</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>080500 - Disclosure - Allowance for Loan and Lease Losses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/AllowanceForLoanAndLeaseLossesTables</Role>
      <ShortName>Allowance for Loan and Lease Losses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://ctbi.com/role/AllowanceForLoanAndLeaseLosses</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>080600 - Disclosure - Other Real Estate Owned (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/OtherRealEstateOwnedTables</Role>
      <ShortName>Other Real Estate Owned (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://ctbi.com/role/OtherRealEstateOwned</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>080700 - Disclosure - Repurchase Agreements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/RepurchaseAgreementsTables</Role>
      <ShortName>Repurchase Agreements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://ctbi.com/role/RepurchaseAgreements</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>080800 - Disclosure - Fair Market Value of Financial Assets and Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/FairMarketValueOfFinancialAssetsAndLiabilitiesTables</Role>
      <ShortName>Fair Market Value of Financial Assets and Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://ctbi.com/role/FairMarketValueOfFinancialAssetsAndLiabilities</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>080900 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/EarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://ctbi.com/role/EarningsPerShare</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>081000 - Disclosure - Accumulated Other Comprehensive Income (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/AccumulatedOtherComprehensiveIncomeTables</Role>
      <ShortName>Accumulated Other Comprehensive Income (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://ctbi.com/role/AccumulatedOtherComprehensiveIncome</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>090100 - Disclosure - Summary of Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/SummaryOfSignificantAccountingPoliciesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ctbi.com/role/SummaryOfSignificantAccountingPoliciesPolicies</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>090200 - Disclosure - Stock-Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/StockbasedCompensationDetails</Role>
      <ShortName>Stock-Based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ctbi.com/role/StockbasedCompensationTables</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>090300 - Disclosure - Securities, Amortized Cost and Fair Value of Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/SecuritiesAmortizedCostAndFairValueOfSecuritiesDetails</Role>
      <ShortName>Securities, Amortized Cost and Fair Value of Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>090302 - Disclosure - Securities, Amortized Cost and Fair Value of Securities by Contractual Maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/SecuritiesAmortizedCostAndFairValueOfSecuritiesByContractualMaturityDetails</Role>
      <ShortName>Securities, Amortized Cost and Fair Value of Securities by Contractual Maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>090304 - Disclosure - Securities, Gains (Loss) on Sales of Securities, Securities Pledged, and Securities Sold Under Agreements to Repurchase (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/SecuritiesGainsLossOnSalesOfSecuritiesSecuritiesPledgedAndSecuritiesSoldUnderAgreementsToRepurchaseDetails</Role>
      <ShortName>Securities, Gains (Loss) on Sales of Securities, Securities Pledged, and Securities Sold Under Agreements to Repurchase (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>090306 - Disclosure - Securities, Securities in Continuous Unrealized Loss Position (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/SecuritiesSecuritiesInContinuousUnrealizedLossPositionDetails</Role>
      <ShortName>Securities, Securities in Continuous Unrealized Loss Position (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>090400 - Disclosure - Loans, Major Classifications of Loans, Net of Income and Deferred Loan Origination Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/LoansMajorClassificationsOfLoansNetOfIncomeAndDeferredLoanOriginationCostDetails</Role>
      <ShortName>Loans, Major Classifications of Loans, Net of Income and Deferred Loan Origination Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>090402 - Disclosure - Loans, Nonaccrual Loans Segregated by Class of Loans and Loan Portfolio Aging Analysis, Segregated by Class (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/LoansNonaccrualLoansSegregatedByClassOfLoansAndLoanPortfolioAgingAnalysisSegregatedByClassDetails</Role>
      <ShortName>Loans, Nonaccrual Loans Segregated by Class of Loans and Loan Portfolio Aging Analysis, Segregated by Class (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>090404 - Disclosure - Loans, Credit Risk Profile Based on Rating Category and Payment Activity and on Performing and Nonperforming Status, Segregated by Class (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/LoansCreditRiskProfileBasedOnRatingCategoryAndPaymentActivityAndOnPerformingAndNonperformingStatusSegregatedByClassDetails</Role>
      <ShortName>Loans, Credit Risk Profile Based on Rating Category and Payment Activity and on Performing and Nonperforming Status, Segregated by Class (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>090406 - Disclosure - Loans, Impaired Loans, Average Investments in Impaired Loans, and Interest Income Recognized on Impaired Loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/LoansImpairedLoansAverageInvestmentsInImpairedLoansAndInterestIncomeRecognizedOnImpairedLoansDetails</Role>
      <ShortName>Loans, Impaired Loans, Average Investments in Impaired Loans, and Interest Income Recognized on Impaired Loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>090408 - Disclosure - Loans, Troubled Debt Restructurings Segregated by Class (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/LoansTroubledDebtRestructuringsSegregatedByClassDetails</Role>
      <ShortName>Loans, Troubled Debt Restructurings Segregated by Class (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>090500 - Disclosure - Allowance for Loan and Lease Losses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/AllowanceForLoanAndLeaseLossesDetails</Role>
      <ShortName>Allowance for Loan and Lease Losses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ctbi.com/role/AllowanceForLoanAndLeaseLossesTables</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>090600 - Disclosure - Other Real Estate Owned (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/OtherRealEstateOwnedDetails</Role>
      <ShortName>Other Real Estate Owned (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ctbi.com/role/OtherRealEstateOwnedTables</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>090602 - Disclosure - Other Real Estate Owned, Major Classifications of Foreclosed Properties (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/OtherRealEstateOwnedMajorClassificationsOfForeclosedPropertiesDetails</Role>
      <ShortName>Other Real Estate Owned, Major Classifications of Foreclosed Properties (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>090700 - Disclosure - Repurchase Agreements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/RepurchaseAgreementsDetails</Role>
      <ShortName>Repurchase Agreements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ctbi.com/role/RepurchaseAgreementsTables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>090800 - Disclosure - Fair Market Value of Financial Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/FairMarketValueOfFinancialAssetsAndLiabilitiesDetails</Role>
      <ShortName>Fair Market Value of Financial Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ctbi.com/role/FairMarketValueOfFinancialAssetsAndLiabilitiesTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>090802 - Disclosure - Fair Market Value of Financial Assets and Liabilities, Quantitative Information about Level 3 Fair Value Measurements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/FairMarketValueOfFinancialAssetsAndLiabilitiesQuantitativeInformationAboutLevel3FairValueMeasurementsDetails</Role>
      <ShortName>Fair Market Value of Financial Assets and Liabilities, Quantitative Information about Level 3 Fair Value Measurements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>090804 - Disclosure - Fair Market Value of Financial Assets and Liabilities, Estimated Fair Value of Financial Instruments and Indication of Level Within Fair Value Hierarchy of Valuation Techniques (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/FairMarketValueOfFinancialAssetsAndLiabilitiesEstimatedFairValueOfFinancialInstrumentsAndIndicationOfLevelWithinFairValueHierarchyOfValuationTechniquesDetails</Role>
      <ShortName>Fair Market Value of Financial Assets and Liabilities, Estimated Fair Value of Financial Instruments and Indication of Level Within Fair Value Hierarchy of Valuation Techniques (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>090900 - Disclosure - Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/EarningsPerShareDetails</Role>
      <ShortName>Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ctbi.com/role/EarningsPerShareTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>091000 - Disclosure - Accumulated Other Comprehensive Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/AccumulatedOtherComprehensiveIncomeDetails</Role>
      <ShortName>Accumulated Other Comprehensive Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ctbi.com/role/AccumulatedOtherComprehensiveIncomeTables</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="ctbi-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>091100 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://ctbi.com/role/CommitmentsAndContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://ctbi.com/role/CommitmentsAndContingencies</ParentRole>
      <Position>47</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>ctbi-20170630.xml</File>
    <File>ctbi-20170630.xsd</File>
    <File>ctbi-20170630_cal.xml</File>
    <File>ctbi-20170630_def.xml</File>
    <File>ctbi-20170630_lab.xml</File>
    <File>ctbi-20170630_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies/>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
