2.4.0.8156 - Disclosure - Shareholders' Equity - Additional Information (Detail)truefalsefalse1falseUSDfalsefalseeol_PE16919---1310-Q0007_STD_181_20130630_0_577130x735776http://www.sec.gov/CIK0000036270duration2013-01-01T00:00:002013-06-30T00:00:00sharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_EquityUnitDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.mtb.com/20130630EquityUnitmtb0$2falseUSDfalsefalse$eol_PE16919---1310-Q0007_STD_0_20121231_0_577130x735776http://www.sec.gov/CIK0000036270instant2012-12-31T00:00:000001-01-01T00:00:00sharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_EquityUnitDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.mtb.com/20130630EquityUnitmtb0USDUSD$1true3us-gaap_ClassOfStockLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false4us-gaap_PreferredStockSharesAuthorizedus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse10000001000000falsefalsefalse2truefalsefalse10000001000000falsefalsefalsexbrli:sharesItemTypesharesThe maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29
-Article 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.28)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 129
-Paragraph 2, 3, 4, 5, 6, 7, 8
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
false13false4us-gaap_PreferredStockParOrStatedValuePerShareus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1.001.00USD$falsetruefalse2truefalsefalse1.001.00USD$falsetruefalsenum:perShareItemTypedecimalFace amount or stated value per share of nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer); generally not indicative of the fair market value per share.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Principles Board Opinion (APB)
-Number 12
-Paragraph 10
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29
-Article 5
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.28)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 129
-Paragraph 2, 3, 4, 5, 6, 7, 8
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
false34false4us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRightsus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse26.5026.50falsefalsefalseus-types:perUnitItemTypedecimalThe exercise price of each class of warrants or rights outstanding.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 235
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.4-08.(i)(4))
-URI http://asc.fasb.org/extlink&oid=6881521&loc=d3e23780-122690
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 08
-Paragraph i
-Subparagraph 4
-Article 4
false05false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falseUSDtruefalseeol_PE16919---1310-Q0007_STD_181_20130630_0_577130x735776http://www.sec.gov/CIK0000036270duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseTen Year Warrant Series D Preferred [Member]us-gaap_StatementClassOfStockAxisxbrldihttp://xbrl.org/2006/xbrldimtb_TenYearWarrantSeriesDPreferredMemberus-gaap_StatementClassOfStockAxisexplicitMembersharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_EquityUnitDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.mtb.com/20130630EquityUnitmtb0$nanafalse06true3us-gaap_ClassOfStockLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse07false4us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRightsus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse518.96518.96falsefalsefalse2truefalsefalse518.96518.96falsefalsefalseus-types:perUnitItemTypedecimalThe exercise price of each class of warrants or rights outstanding.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 235
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.4-08.(i)(4))
-URI http://asc.fasb.org/extlink&oid=6881521&loc=d3e23780-122690
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 08
-Paragraph i
-Subparagraph 4
-Article 4
false08false4us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRightsus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse9538395383falsefalsefalse2truefalsefalse9538395383falsefalsefalsexbrli:sharesItemTypesharesThe specified number of securities that each class of warrants or rights outstanding give the holder the right but not the obligation to purchase from the issuer at a specific price, on or before a certain date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 235
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.4-08.(i)(2))
-URI http://asc.fasb.org/extlink&oid=6881521&loc=d3e23780-122690
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 08
-Paragraph i
-Subparagraph 2
-Article 4
false19false4mtb_WarrantExpiryDate1mtb_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse002021-05-16falsefalsetrue2falsefalsefalse00falsefalsefalsexbrli:dateItemTypedateWarrant Expiry Date 1No definition available.false0falseShareholders' Equity - Additional Information (Detail) (USD $)UnKnownNoRoundingNoRoundingUnKnowntruefalsefalseSheethttp://www.mtb.com/taxonomy/role/DisclosureShareholdersEquityAdditionalInformation29