2.2.0.7trueCommitments and contingencies (Details) (USD $)0613 - Disclosure - Commitments and contingencies (Details)truefalsefalsefalse1USDfalsefalseUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0PureStandardhttp://www.xbrl.org/2003/instancepurexbrli0USDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0$false2USDfalsefalseUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0$22mtb_CommitmentsToExtendCreditAbstractmtbfalsenadurationCommitments to Extend Credit.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringCommitments to Extend Credit.false32mtb_CommitmentsToExtendCreditForHomeEquityLinesOfCreditmtbfalsecreditinstantCommitments to extend credit for Home equity lines of credit.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1truetruefalsefalse64443810006444381000falsefalsefalse2truetruefalsefalse64829870006482987000falsefalsefalsexbrli:monetaryItemTypemonetaryCommitments to extend credit for Home equity lines of credit.No authoritative reference available.false42mtb_CommitmentsToExtendCreditForCommercialRealEstateLoansToBeSoldmtbfalsecreditinstantCommitments to extend credit for Commercial real estate loans to be sold.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse120758000120758000falsefalsefalse2falsetruefalsefalse180498000180498000falsefalsefalsexbrli:monetaryItemTypemonetaryCommitments to extend credit for Commercial real estate loans to be sold.No authoritative reference available.false52mtb_CommitmentsToExtendCreditForOtherCommercialRealEstateAndConstructionmtbfalsecreditinstantCommitments to extend credit for Other commercial real estate and construction.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse14425600001442560000falsefalsefalse2falsetruefalsefalse13608050001360805000falsefalsefalsexbrli:monetaryItemTypemonetaryCommitments to extend credit for Other commercial real estate and construction.No authoritative reference available.false62mtb_CommitmentsToExtendCreditForResidentialRealEstateLoansToBeSoldmtbfalsecreditinstantCommitments to extend credit for Residential real estate loans to be sold.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse684325000684325000falsefalsefalse2falsetruefalsefalse631090000631090000falsefalsefalsexbrli:monetaryItemTypemonetaryCommitments to extend credit for Residential real estate loans to be sold.No authoritative reference available.false72mtb_CommitmentsToExtendCreditForOtherResidentialRealEstatemtbfalsecreditinstantCommitments to extend credit for Other residential real estate.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse129234000129234000falsefalsefalse2falsetruefalsefalse127788000127788000falsefalsefalsexbrli:monetaryItemTypemonetaryCommitments to extend credit for Other residential real estate.No authoritative reference available.false82mtb_CommitmentsToExtendCreditForCommercialAndOthermtbfalsecreditinstantCommitments to extend credit for Commercial and other.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse71471370007147137000falsefalsefalse2falsetruefalsefalse71551880007155188000falsefalsefalsexbrli:monetaryItemTypemonetaryCommitments to extend credit for Commercial and other.No authoritative reference available.false92mtb_CommitmentsRegardingStandbyLettersOfCreditmtbfalsecreditinstantCommitments regarding Standby letters of credit.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse38109580003810958000falsefalsefalse2falsetruefalsefalse38285860003828586000falsefalsefalsexbrli:monetaryItemTypemonetaryCommitments regarding Standby letters of credit.No authoritative reference available.false102mtb_CommitmentsRegardingCommercialLettersOfCreditmtbfalsecreditinstantCommitments regarding Commercial letters of credit.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse7149700071497000falsefalsefalse2falsetruefalsefalse6637700066377000falsefalsefalsexbrli:monetaryItemTypemonetaryCommitments regarding Commercial letters of credit.No authoritative reference available.false112mtb_CommitmentsRegardingFinancialGuaranteesAndIndemnificationContractsmtbfalsecreditinstantCommitments regarding Financial guarantees and indemnification contracts.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse17590080001759008000falsefalsefalse2falsetruefalsefalse16335490001633549000falsefalsefalsexbrli:monetaryItemTypemonetaryCommitments regarding Financial guarantees and indemnification contracts.No authoritative reference available.false122mtb_CommitmentsToSellRealEstateLoansNotionalAmountmtbfalsecreditinstantCommitments To Sell Real Estate Loans Notional Amount.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse979309000979309000falsefalsefalse2falsetruefalsefalse12390010001239001000falsefalsefalsexbrli:monetaryItemTypemonetaryCommitments To Sell Real Estate Loans Notional Amount.No authoritative reference available.false132mtb_CommitmentsAndContingenciesTextualsAbstractmtbfalsenadurationCommitments and contingencies Textuals .falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringCommitments and contingencies Textuals .false142mtb_MaximumCreditRiskForRecourseAssociatedWithLoansSoldUnderFederalNationalMortgageAssociationDelegatedUnderwritingAndServicingProgrammtbfalsecreditinstantMaximum credit risk for recourse associated with loans sold under Federal National Mortgage Association Delegated...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse15000000001500000000falsefalsefalse2falsetruefalsefalse13000000001300000000falsefalsefalsexbrli:monetaryItemTypemonetaryMaximum credit risk for recourse associated with loans sold under Federal National Mortgage Association Delegated Underwriting and Servicing program.No authoritative reference available.false162mtb_OutstandingLoanPrincipalBalancesReinsuredmtbfalsecreditinstantOutstanding loan principal balances reinsured.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse9100000091000000falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryOutstanding loan principal balances reinsured.No authoritative reference available.false172mtb_AssetsOfSubsidiariesProvidingReinsuranceToSatisfyClaimsmtbfalsedebitinstantAssets of subsidiaries providing reinsurance to satisfy claims.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse7300000073000000falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAssets of subsidiaries providing reinsurance to satisfy claims.No authoritative reference available.false180natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://mtb.com/role/commitmentsandcontingenciesdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse3USDtruefalsefalsefalse2009 - 2013 [Member]us-gaap_ProductOrServiceAxisxbrldihttp://xbrl.org/2006/xbrldimtb_PeriodOneMemberus-gaap_ProductOrServiceAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false302mtb_CommitmentsAndContingenciesTextualsAbstractmtbfalsenadurationCommitments and contingencies Textuals .falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringCommitments and contingencies Textuals .false322mtb_NamingRightsOfFootballStadiumPerYearmtbfalsedebitdurationNaming Rights Of Football Stadium Per Year.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse50000005000000falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryNaming Rights Of Football Stadium Per Year.No authoritative reference available.false350natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://mtb.com/role/commitmentsandcontingenciesdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse4USDtruefalsefalsefalse2014 - 2017 [Member]us-gaap_ProductOrServiceAxisxbrldihttp://xbrl.org/2006/xbrldimtb_PeriodTwoMemberus-gaap_ProductOrServiceAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false472mtb_CommitmentsAndContingenciesTextualsAbstractmtbfalsenadurationCommitments and contingencies Textuals .falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringCommitments and contingencies Textuals .false492mtb_NamingRightsOfFootballStadiumPerYearmtbfalsedebitdurationNaming Rights Of Football Stadium Per Year.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1truetruefalsefalse60000006000000falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryNaming Rights Of Football Stadium Per Year.No authoritative reference available.false221falseNoRoundingUnKnownUnKnownfalsetrue