XML 14 R1.htm IDEA: XBRL DOCUMENT v3.24.0.1
Document And Entity Information - USD ($)
12 Months Ended
Dec. 31, 2023
Feb. 26, 2024
Jun. 30, 2023
Document and Entity Information      
Document Type 10-K    
Document Annual Report true    
Document Period End Date Dec. 31, 2023    
Document Transition Report false    
Entity File Number 000-23423    
Entity Registrant Name C & F FINANCIAL CORPORATION    
Entity Incorporation, State or Country Code VA    
Entity Address, Address Line One 3600 La Grange Parkway    
Entity Tax Identification Number 54-1680165    
Entity Address, City or Town Toano    
Entity Address, State or Province VA    
Entity Address, Postal Zip Code 23168    
City Area Code 804    
Local Phone Number 843-2360    
Title of 12(b) Security Common Stock, $1.00 par value per share    
Trading Symbol CFFI    
Security Exchange Name NASDAQ    
Entity Well-known Seasoned Issuer No    
Entity Voluntary Filers No    
Entity Current Reporting Status Yes    
Entity Interactive Data Current Yes    
Entity Filer Category Accelerated Filer    
Entity Small Business true    
Entity Emerging Growth Company false    
ICFR Auditor Attestation Flag true    
Document Financial Statement Error Correction [Flag] false    
Entity Shell Company false    
Entity Public Float     $ 170,815,028
Entity Common Stock, Shares Outstanding   3,373,503  
Entity Central Index Key 0000913341    
Current Fiscal Year End Date --12-31    
Document Fiscal Year Focus 2023    
Document Fiscal Period Focus FY    
Amendment Flag false    
Auditor Name Yount, Hyde & Barbour, P.C.    
Auditor Firm ID 613    
Auditor Location Richmond, Virginia