2.4.0.8170 - Disclosure - Variable Interest Entities and Asset Securitizations - Additional Information (Detail)truefalsefalse1false USDfalsefalse$eol_PE16919---1310-Q0007_STD_91_20130630_0http://www.sec.gov/CIK0000036270duration2013-04-01T00:00:002013-06-30T00: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 1us-gaap_AccountingPoliciesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 2mtb_ResidentialMortgageLoansSecuritizedWithGovernmentSponsoredEntitiesmtb_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse923000000923000000USD$falsetruefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryResidential mortgage loans securitized with government sponsored entities.No definition available.false23false 2mtb_ResidentialMortgageLoansSecuritizedFormerlyHeldInLoanPortfoliomtb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse296000000296000000falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryResidential Mortgage Loans Securitized Formerly Held In Loan PortfolioNo definition available.false24false 2mtb_ResidentialMortgageLoansSecuritizedNewlyOriginatedmtb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse627000000627000000falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryResidential Mortgage Loans Securitized Newly OriginatedNo definition available.false25false 2mtb_AmountRetainedOfSecuritiesFromSecuritizationsmtb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse917000000917000000falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount Retained Of Securities From SecuritizationsNo definition available.false26false 2mtb_GainsLossesLoansHeldForInvestmentmtb_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse70000007000000falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryGains Losses Loans Held For InvestmentNo definition available.false27false 2mtb_GainsLossesResidentialMortgageLoansNewlyOriginatedmtb_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1000000010000000falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryGains Losses Residential Mortgage Loans Newly OriginatedNo definition available.false28false 2mtb_AmountOfLoansGuaranteedmtb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse10000000001000000000falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount Of Loans GuaranteedNo definition available.false29false 2mtb_CarryingValueOfLoansInSecuritizationTrustsmtb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse133000000133000000falsefalsefalse2truefalsefalse151000000151000000falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying value of loans in securitization trusts.No definition available.false210false 2mtb_CombinedOutstandingPrincipalAmountOfMortgageBackedSecuritiesIssuedByQualifiedSpecialPurposeTrustsHeldByUnrelatedPartiesmtb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2000000020000000falsefalsefalse2truefalsefalse2300000023000000falsefalsefalsexbrli:monetaryItemTypemonetaryCombined Outstanding Principal Amount Of Mortgage Backed Securities Issued By Qualified Special Purpose Trusts Held By Unrelated PartiesNo definition available.false211false 2mtb_OtherAssetsForItsInvestmentInCommonSecuritiesRecognizedByCompanyOfVariousTrustsmtb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse3400000034000000falsefalsefalse2truefalsefalse3400000034000000falsefalsefalsexbrli:monetaryItemTypemonetaryOther assets for its "investment" in the common securities recognized by the company of various trusts.No definition available.false212false 2us-gaap_VariableInterestEntityConsolidatedCarryingAmountAssetsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse14000000001400000000falsefalsefalse2truefalsefalse15000000001500000000falsefalsefalsexbrli:monetaryItemTypemonetaryThe carrying amount of the consolidated Variable Interest Entity's assets included in the reporting entity's statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (bb) -URI http://asc.fasb.org/extlink&oid=7880789&loc=d3e5710-111685 false213false 2mtb_MaximumExposureToLossOfInvestmentsInRealEstatePartnershipsmtb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse264000000264000000falsefalsefalse2truefalsefalse270000000270000000falsefalsefalsexbrli:monetaryItemTypemonetaryMaximum Exposure To Loss Of Investments In Real Estate Partnerships.No definition available.false214false 2mtb_UnfundedCommitmentsIncludedInCompanysMaximumExposureToLossOfInvestmentsInRealEstatePartnershipsmtb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse7500000075000000USD$falsetruefalse2truefalsefalse7100000071000000USD$falsetruefalsexbrli:monetaryItemTypemonetaryUnfunded Commitments Included In Company's Maximum Exposure To Loss Of Investments In Real Estate Partnerships.No definition available.false2falseVariable Interest Entities and Asset Securitizations - Additional Information (Detail) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.mtb.com/taxonomy/role/DisclosureVariableInterestEntitiesAndAssetSecuritizationsAdditionalInformation214