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.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1truetruefalsefalse63461230006346123000falsefalsefalse2truetruefalsefalse64829870006482987000falsefalsefalsexbrli: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.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse157952000157952000falsefalsefalse2falsetruefalsefalse180498000180498000falsefalsefalsexbrli: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.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse15015640001501564000falsefalsefalse2falsetruefalsefalse13608050001360805000falsefalsefalsexbrli: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.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse930160000930160000falsefalsefalse2falsetruefalsefalse631090000631090000falsefalsefalsexbrli: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.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse217352000217352000falsefalsefalse2falsetruefalsefalse127788000127788000falsefalsefalsexbrli:monetaryItemTypemonetaryCommitments to extend credit for Other residential real estate.No authoritative reference available.false82mtb_CommitmentsToExtendCreditForCommercialAndOthermtbfalsecreditinstantCommitments to extend credit for Commercial and other.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse77311200007731120000falsefalsefalse2falsetruefalsefalse71551880007155188000falsefalsefalsexbrli:monetaryItemTypemonetaryCommitments to extend credit for Commercial and other.No authoritative reference available.false92mtb_CommitmentsRegardingStandbyLettersOfCreditmtbfalsecreditinstantCommitments regarding Standby letters of credit.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse37791660003779166000falsefalsefalse2falsetruefalsefalse38285860003828586000falsefalsefalsexbrli:monetaryItemTypemonetaryCommitments regarding Standby letters of credit.No authoritative reference available.false102mtb_CommitmentsRegardingCommercialLettersOfCreditmtbfalsecreditinstantCommitments regarding Commercial letters of credit.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse7219100072191000falsefalsefalse2falsetruefalsefalse6637700066377000falsefalsefalsexbrli:monetaryItemTypemonetaryCommitments regarding Commercial letters of credit.No authoritative reference available.false112mtb_CommitmentsRegardingFinancialGuaranteesAndIndemnificationContractsmtbfalsecreditinstantCommitments regarding Financial guarantees and indemnification contracts.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse15212750001521275000falsefalsefalse2falsetruefalsefalse16335490001633549000falsefalsefalsexbrli:monetaryItemTypemonetaryCommitments regarding Financial guarantees and indemnification contracts.No authoritative reference available.false122mtb_CommitmentsToSellRealEstateLoansNotionalAmountmtbfalsecreditinstantCommitments To Sell Real Estate Loans Notional Amount.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse13757050001375705000falsefalsefalse2falsetruefalsefalse12390010001239001000falsefalsefalsexbrli:monetaryItemTypemonetaryCommitments To Sell Real Estate Loans Notional Amount.No authoritative reference available.false152mtb_CommitmentsAndContingenciesTextualsAbstractmtbfalsenadurationCommitments and contingencies Textuals .falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringCommitments and contingencies Textuals .false162mtb_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.false172mtb_OutstandingLoanPrincipalBalancesReinsuredmtbfalsecreditinstantOutstanding loan principal balances reinsured.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse8900000089000000falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryOutstanding loan principal balances reinsured.No authoritative reference available.false182mtb_AssetsOfSubsidiariesProvidingReinsuranceToSatisfyClaimsmtbfalsedebitinstantAssets of subsidiaries providing reinsurance to satisfy claims.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse7400000074000000falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAssets of subsidiaries providing reinsurance to satisfy claims.No authoritative reference available.false190natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://mtb.com/role/commitmentsandcontingenciesdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse3USDtruefalsefalsefalse2010 - 2013 [Member]us-gaap_ProductOrServiceAxisxbrldihttp://xbrl.org/2006/xbrldimtb_PeriodOneMemberus-gaap_ProductOrServiceAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false312mtb_CompanySignificantCommitmentsAbstractmtbfalsenadurationCompany's significant commitments.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringCompany's significant commitments.false322mtb_NamingRightsOfFootballStadiumPerYearmtbfalsedebitdurationNaming Rights Of Football Stadium Per Year.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse50000005000000falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryNaming Rights Of Football Stadium Per Year.No authoritative reference available.false370natruenanaNo 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.false492mtb_CompanySignificantCommitmentsAbstractmtbfalsenadurationCompany's significant commitments.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringCompany's significant commitments.false502mtb_NamingRightsOfFootballStadiumPerYearmtbfalsedebitdurationNaming Rights Of Football Stadium Per Year.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1truetruefalsefalse60000006000000falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryNaming Rights Of Football Stadium Per Year.No authoritative reference available.false221falseNoRoundingUnKnownUnKnownfalsetrue