Document and Entity Information - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2015
Mar. 03, 2016
Jun. 30, 2015
Document Documentand Entity Information [Abstract]      
Entity Registrant Name COMMUNITY FINANCIAL CORP /MD/    
Entity Central Index Key 0000855874    
Current Fiscal Year End Date --12-31    
Entity Filer Category Accelerated Filer    
Trading Symbol tcfc    
Entity Public Float     $ 84.2
Entity Common Stock Shares Outstanding   4,652,292  
Entity Current Reporting Status Yes    
Entity Voluntary Filers No    
Entity Well-known Seasoned Issuer No    
Document Type 10-K    
Amendment Flag false    
Document Period End Date Dec. 31, 2015    
Document Fiscal Period Focus FY    
Document Fiscal Year Focus 2015