XML 12 R1.htm IDEA: XBRL DOCUMENT v3.7.0.1
Document and Entity Information - shares
6 Months Ended
Jun. 30, 2017
Jul. 31, 2017
Document And Entity Information [Abstract]    
Document Type 10-Q  
Amendment Flag false  
Document Period End Date Jun. 30, 2017  
Document Fiscal Year Focus 2017  
Document Fiscal Period Focus Q2  
Trading Symbol MTB  
Entity Registrant Name M&T BANK CORP  
Entity Central Index Key 0000036270  
Current Fiscal Year End Date --12-31  
Entity Filer Category Large Accelerated Filer  
Entity Common Stock, Shares Outstanding   151,931,921