XML 13 R1.htm IDEA: XBRL DOCUMENT v3.19.1
Document and Entity Information - USD ($)
12 Months Ended
Dec. 31, 2018
Feb. 28, 2019
Jun. 30, 2018
Document and Entity Information [Abstract]      
Entity Registrant Name FARMERS & MERCHANTS BANCORP    
Entity Central Index Key 0001085913    
Current Fiscal Year End Date --12-31    
Entity Well-known Seasoned Issuer No    
Entity Voluntary Filers No    
Entity Current Reporting Status Yes    
Entity Shell Company false    
Entity Filer Category Accelerated Filer    
Entity Small Business false    
Entity Emerging Growth Company false    
Entity Ex Transition Period false    
Entity Public Float     $ 584,604,000
Entity Common Stock, Shares Outstanding   783,721  
Document Type 10-K    
Amendment Flag false    
Document Period End Date Dec. 31, 2018    
Document Fiscal Year Focus 2018    
Document Fiscal Period Focus FY