2.4.0.8181 - Disclosure - Relationship with Bayview Lending Group LLC and Bayview Financial Holdings, L.P. - 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_91_20120630_0http://www.sec.gov/CIK0000036270duration2012-04-01T00:00:002012-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3false USDfalsefalse$eol_PE16919---1310-Q0007_STD_181_20130630_0http://www.sec.gov/CIK0000036270duration2013-01-01T00:00:002013-06-30T00:00:00pureStandardhttp://www.xbrl.org/2003/instancepure0iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$4false USDfalsefalse$eol_PE16919---1310-Q0007_STD_182_20120630_0http://www.sec.gov/CIK0000036270duration2012-01-01T00:00:002012-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$5false 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_ScheduleOfEquityMethodInvestmentsJointVenturesLineItemsmtb_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 4mtb_MinorityInterestInPrivatelyHeldCompanymtb_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truetruefalse0.200.20falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsenum:percentItemTypepureMinority interest in privately held company.No definition available.false03false 4us-gaap_EquityMethodInvestmentsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse8400000084000000USD$falsetruefalse2falsefalsefalse00falsefalsefalse3truefalsefalse8400000084000000USD$falsetruefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the carrying amount on the entity's balance sheet of its investment in common stock of an equity method investee. This is not an indicator of the fair value of the investment, rather it is the initial cost adjusted for the entity's share of earnings and losses of the investee, adjusted for any distributions (dividends) and other than temporary impairment (OTTI) losses recognized.Reference 1: 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.12) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=16385135&loc=d3e33749-111570 false24false 4mtb_CommercialMortgageLoansOfPrivatelyHeldCompanymtb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse36000000003600000000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse36000000003600000000USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse38000000003800000000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryCommercial mortgage loans of privately held company.No definition available.false25false 4mtb_ResidentialMortgageLoansOfPrivatelyHeldCompanymtb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse25000000002500000000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse25000000002500000000USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse27000000002700000000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryResidential mortgage loans of privately held company.No definition available.false26false 4mtb_RevenuesFromServicingLoansOfPrivatelyHeldCompanymtb_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse80000008000000USD$falsefalsefalse2truefalsefalse90000009000000USD$falsefalsefalse3truefalsefalse1600000016000000USD$falsefalsefalse4truefalsefalse1800000018000000USD$falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryRevenues from servicing loans of privately held company.No definition available.false27false 4mtb_MortgageBackedSecuritiesSecuritizedByPrivatelyHeldCompanyAvailableForSalemtb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse50000005000000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse50000005000000USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse1100000011000000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryMortgage backed securities securitized by privately held company available for sale.No definition available.false28false 4mtb_HeldToMaturitySecuritiesSecuritizedByPrivatelyHeldCompanymtb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse231000000231000000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse231000000231000000USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse242000000242000000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryHeld to maturity securities securitized by privately held company.No definition available.false29false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6false USDtruefalse$eol_PE16919---1310-Q0007_STD_91_20130630_0_576298x615290http://www.sec.gov/CIK0000036270duration2013-04-01T00:00:002013-06-30T00:00:00falsefalseBayview and Colonial [Member]us-gaap_SubsequentEventTypeAxisxbrldihttp://xbrl.org/2006/xbrldimtb_BayviewAndColonialMemberus-gaap_SubsequentEventTypeAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse010true 3mtb_ScheduleOfEquityMethodInvestmentsJointVenturesLineItemsmtb_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse011false 4mtb_ResidentialMortgageLoansOfPrivatelyHeldCompanymtb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1040000000010400000000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse1040000000010400000000USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse1140000000011400000000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryResidential mortgage loans of privately held company.No definition available.false212false 4mtb_RevenuesFromServicingLoansOfPrivatelyHeldCompanymtb_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse20000002000000USD$falsetruefalse2truefalsefalse20000002000000USD$falsetruefalse3truefalsefalse40000004000000USD$falsetruefalse4truefalsefalse50000005000000USD$falsetruefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryRevenues from servicing loans of privately held company.No definition available.false2falseRelationship with Bayview Lending Group LLC and Bayview Financial Holdings, L.P. - Additional Information (Detail) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.mtb.com/taxonomy/role/DisclosureRelationshipWithBayviewLendingGroupLLCAndBayviewFinancialHoldingsLPAdditionalInformation512