2.4.0.8177 - Disclosure - Commitments and Contingencies - Additional Information (Detail)truefalsefalse1false USDfalsefalse$eol_PE16919---1310-Q0007_STD_0_20130630_0http://www.sec.gov/CIK0000036270instant2013-06-30T00:00:000001-01-01T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false USDfalsefalse$eol_PE16919---1310-Q0007_STD_0_20121231_0http://www.sec.gov/CIK0000036270instant2012-12-31T00:00:000001-01-01T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true 3mtb_SignificantCommitmentsLineItemsmtb_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 4mtb_MaximumCreditRiskForRecourseAssociatedWithLoansSoldUnderFederalNationalMortgageAssociationDelegatedUnderwritingAndServicingProgrammtb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse21000000002100000000USD$falsetruefalse2truefalsefalse20000000002000000000USD$falsetruefalsexbrli:monetaryItemTypemonetaryMaximum credit risk for recourse associated with loans sold under Federal National Mortgage Association Delegated Underwriting and Servicing program.No definition available.false23false 4mtb_OutstandingLoanPrincipalBalancesReinsuredmtb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse5400000054000000USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryOutstanding loan principal balances reinsured.No definition available.false24false 4mtb_AssetsOfSubsidiariesProvidingReinsuranceToSatisfyClaimsmtb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse3900000039000000USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAssets of subsidiaries providing reinsurance to satisfy claims.No definition available.false25false 4us-gaap_LossContingencyRangeOfPossibleLossMinimumus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe estimated minimum amount of possible loss from the contingency.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Interpretation (FIN) -Number 14 -Paragraph 3 -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 FASB -Name Statement of Financial Accounting Standard (FAS) -Number 5 -Paragraph 9, 10, 11, 12 -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 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6952336&loc=d3e14435-108349 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 9 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6952336&loc=d3e14557-108349 false26false 4us-gaap_LossContingencyRangeOfPossibleLossMaximumus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse7000000070000000USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe estimated maximum amount of possible loss from the contingency.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Interpretation (FIN) -Number 14 -Paragraph 3 -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 FASB -Name Statement of Financial Accounting Standard (FAS) -Number 5 -Paragraph 9, 10, 11, 12 -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 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6952336&loc=d3e14435-108349 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 9 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6952336&loc=d3e14557-108349 false27false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3false USDtruefalse$eol_PE16919---1310-Q0007_STD_0_20130630_0_565943x694606http://www.sec.gov/CIK0000036270instant2013-06-30T00:00:000001-01-01T00:00:00falsefalse2011 - 2013 [Member]us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxisxbrldihttp://xbrl.org/2006/xbrldimtb_PeriodOneMemberus-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse08true 3mtb_SignificantCommitmentsLineItemsmtb_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse09false 4mtb_NamingRightsOfFootballStadiumPerYearmtb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse50000005000000USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryNaming rights of football stadium per year.No definition available.false210false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse4false USDtruefalse$eol_PE16919---1310-Q0007_STD_0_20130630_0_565943x694607http://www.sec.gov/CIK0000036270instant2013-06-30T00:00:000001-01-01T00:00:00falsefalse2014 - 2017 [Member]us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxisxbrldihttp://xbrl.org/2006/xbrldimtb_PeriodTwoMemberus-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse011true 3mtb_SignificantCommitmentsLineItemsmtb_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse012false 4mtb_NamingRightsOfFootballStadiumPerYearmtb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse60000006000000USD$falsetruefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryNaming rights of football stadium per year.No definition available.false2falseCommitments and Contingencies - Additional Information (Detail) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.mtb.com/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformation212