XML 17 R1.htm IDEA: XBRL DOCUMENT v3.19.2
Document and Entity Information - shares
6 Months Ended
Jun. 30, 2019
Jul. 31, 2019
Cover [Abstract]    
Entity Registrant Name FARMERS & MERCHANTS BANCORP  
Entity Central Index Key 0001085913  
Current Fiscal Year End Date --12-31  
Entity Current Reporting Status Yes  
Entity Interactive Data Current Yes  
Entity Shell Company false  
Entity Filer Category Accelerated Filer  
Entity Small Business false  
Entity Emerging Growth Company false  
Entity Common Stock, Shares Outstanding   787,307
Document Type 10-Q  
Amendment Flag false  
Document Period End Date Jun. 30, 2019  
Document Fiscal Year Focus 2019  
Document Fiscal Period Focus Q2  
Entity Address, State or Province CA  
Entity Address, Country US