XML 11 R1.htm IDEA: XBRL DOCUMENT v3.10.0.1
Document and Entity Information - shares
9 Months Ended
Sep. 30, 2018
Nov. 06, 2018
Document And Entity Information    
Entity Registrant Name F&M BANK CORP  
Entity Central Index Key 0000740806  
Document Type 10-Q  
Document Period End Date Sep. 30, 2018  
Amendment Flag false  
Current Fiscal Year End Date --12-31  
Entity Filer Category Non-accelerated Filer  
Entity Emerging Growth Company false  
Entity Small Business true  
Entity Common Stock, Shares Outstanding   3,218,974
Document Fiscal Period Focus Q3  
Document Fiscal Year Focus 2018