v3.26.1
Document And Entity Information - shares
3 Months Ended
Mar. 31, 2026
Apr. 30, 2026
Document Information Line Items    
Entity Central Index Key 0000350852  
Document Type 10-Q  
Document Quarterly Report true  
Document Period End Date Mar. 31, 2026  
Document Fiscal Year Focus 2026  
Document Transition Report false  
Entity File Number 001-31220  
Entity Registrant Name COMMUNITY TRUST BANCORP, INC.  
Entity Incorporation, State or Country Code KY  
Entity Tax Identification Number 61-0979818  
Entity Address, Address Line One 346 North Mayo Trail  
Entity Address, Address Line Two P.O. Box 2947  
Entity Address, City or Town Pikeville  
Entity Address, State or Province KY  
Entity Address, Postal Zip Code 41502  
City Area Code 606  
Local Phone Number 432-1414  
Title of 12(b) Security Common Stock  
Trading Symbol CTBI  
Security Exchange Name NASDAQ  
Entity Interactive Data Current Yes  
Entity Current Reporting Status Yes  
Entity Filer Category Large Accelerated Filer  
Entity Small Business false  
Entity Emerging Growth Company false  
Entity Shell Company false  
Entity Common Stock, Shares Outstanding   18,163,721
Amendment Flag false  
Document Fiscal Period Focus Q1  
Current Fiscal Year End Date --12-31