2.2.0.7trueComprehensive income (Details) (USD $)0609 - Disclosure - Comprehensive income (Details)truefalseIn Thousandsfalsefalse1USDfalsefalseUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170PureStandardhttp://www.xbrl.org/2003/instancepurexbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDEPSDividehttp://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_AvailableForSaleAfsInvestmentSecuritiesWithOttiAbstractmtbfalsenadurationAvailable for sale ("AFS") investment securities with OTTI.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringAvailable for sale ("AFS") investment securities with OTTI.false32mtb_TotalOtherThanTemporaryImpairmentOTTILossesmtbfalsecreditdurationTotal other-than-temporary impairment ("OTTI") losses.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1truetruefalsefalse-50566000-50566falsefalsefalse2truetruefalsefalse-138505000-138505falsefalsefalsexbrli:monetaryItemTypemonetaryTotal other-than-temporary impairment ("OTTI") losses.No authoritative reference available.false42mtb_OtherComprehensiveIncomeSecuritiesWithOttiChargesDuringPeriodIncomeTaxesAmountmtbfalsecreditdurationOther Comprehensive Income Securities with Otti Charges During The Period Income Taxes Amount.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse1960300019603falsefalsefalse2falsetruefalsefalse5425000054250falsefalsefalsexbrli:monetaryItemTypemonetaryOther Comprehensive Income Securities with Otti Charges During The Period Income Taxes Amount.No authoritative reference available.false52mtb_OtherComprehensiveIncomeSecuritiesWithOttiChargesDuringPeriodNetOfTaxmtbfalsecreditdurationOther Comprehensive Income Securities with Otti Charges During The Period Net Of Tax.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse-30963000-30963falsefalsefalse2falsetruefalsefalse-84255000-84255falsefalsefalsexbrli:monetaryItemTypemonetaryOther Comprehensive Income Securities with Otti Charges During The Period Net Of Tax.No authoritative reference available.false62mtb_NetOTTILossesRecognizedInEarningsmtbfalsecreditdurationNet OTTI losses recognized in earnings.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse-49182000-49182falsefalsefalse2falsetruefalsefalse-56968000-56968falsefalsefalsexbrli:monetaryItemTypemonetaryNet OTTI losses recognized in earnings.No authoritative reference available.true72mtb_LessOttiChargesRecognizedInNetIncomeTaxesAmountmtbfalsedebitdurationLess Otti Charges Recognized In Net Income Taxes Amount.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse1901700019017falsefalsefalse2falsetruefalsefalse2229200022292falsefalsefalsexbrli:monetaryItemTypemonetaryLess Otti Charges Recognized In Net Income Taxes Amount.No authoritative reference available.true82mtb_LessOttiChargesRecognizedInNetIncomeNetOfTaxAmountmtbfalsedebitdurationLess Otti Charges Recognized In Net Income Net Of Tax Amount.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse-30165000-30165falsefalsefalse2falsetruefalsefalse-34676000-34676falsefalsefalsexbrli:monetaryItemTypemonetaryLess Otti Charges Recognized In Net Income Net Of Tax Amount.No authoritative reference available.true92mtb_PortionOfOTTILossesRecognizedInOtherComprehensiveIncomeBeforeTaxesmtbfalsecreditdurationPortion of OTTI losses recognized in other comprehensive income (before taxes).falsefalsefalsefalsefalsefalsefalsefalsefalsefalsetruenegatedtotalfalse1falsetruefalsefalse-1384000-1384falsefalsefalse2falsetruefalsefalse-81537000-81537falsefalsefalsexbrli:monetaryItemTypemonetaryPortion of OTTI losses recognized in other comprehensive income (before taxes).No authoritative reference available.true102mtb_OtherComprehensiveIncomeNetUnrealizedLossesOnInvestmentSecuritiesWithOttiIncomeTaxAmountmtbfalsecreditdurationOther Comprehensive Income Net Unrealized Losses On Investment Securities With Otti Income Tax Amount.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse586000586falsefalsefalse2falsetruefalsefalse-31958000-31958falsefalsefalsexbrli:monetaryItemTypemonetaryOther Comprehensive Income Net Unrealized Losses On Investment Securities With Otti Income Tax Amount.No authoritative reference available.true112mtb_OtherComprehensiveIncomeNetUnrealizedLossesOnInvestmentSecuritiesWithOttiNetOfTaxAmountmtbfalsecreditdurationOther Comprehensive Income Net Unrealized Losses On Investment Securities With Otti Net Of Tax Amount.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse-798000-798falsefalsefalse2falsetruefalsefalse4957900049579falsefalsefalsexbrli:monetaryItemTypemonetaryOther Comprehensive Income Net Unrealized Losses On Investment Securities With Otti Net Of Tax Amount.No authoritative reference available.true122mtb_AfsInvestmentSecuritiesAllOtherAbstractmtbfalsenadurationAFS investment securities - all other.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringAFS investment securities - all other.false132us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTaxus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse170630000170630falsefalsefalse2falsetruefalsefalse180862000180862falsefalsefalsexbrli:monetaryItemTypemonetaryGross appreciation or the gross loss in value of the total of unsold available-for-sale securities during the period being reported (except when designated as a fair value hedge).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 24
-Subparagraph b
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 13
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph c(3)
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 17
false142us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTaxus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse-66783000-66783falsefalsefalse2falsetruefalsefalse-70508000-70508falsefalsefalsexbrli:monetaryItemTypemonetaryTax effect on gross appreciation or the gross loss in value of the total of unsold securities during the period being reported on.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph c(3)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 25
false152us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTaxus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse103847000103847falsefalsefalse2falsetruefalsefalse110354000110354falsefalsefalsexbrli:monetaryItemTypemonetaryAppreciation or loss in value (before reclassification adjustment) of the total of unsold securities during the period being reported on, net of tax. Reclassification adjustments include: (1) the unrealized holding gain or loss, net of tax, at the date of the transfer for a debt security from the held-to-maturity category transferred into the available-for-sale category. Also includes the unrealized gain or loss at the date of transfer for a debt security from the available-for-sale category transferred into the held-to-maturity category; (2) the unrealized gains or losses realized upon the sale of securities, after tax; and (3) the unrealized gains or losses realized upon the write-down of securities, after tax.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 17, 22
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 13
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph c(3)
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 24
-Subparagraph b
false162us-gaap_OtherComprehensiveIncomeReclassificationAdjustmentForSaleOfSecuritiesIncludedInNetIncomeBeforeTaxus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse-135000-135falsefalsefalse2falsetruefalsefalse-79000-79falsefalsefalsexbrli:monetaryItemTypemonetaryPre tax reclassification adjustment for gains or losses realized upon the sale of securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph c(3)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 24
-Subparagraph b
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 18, 19
false172us-gaap_OtherComprehensiveIncomeReclassificationAdjustmentForSaleOfSecuritiesIncludedInNetIncomeTaxus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse3900039falsefalsefalse2falsetruefalsefalse3200032falsefalsefalsexbrli:monetaryItemTypemonetaryTax effect on the reclassification adjustment for gains or losses realized upon the sale of securities during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph c(3)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 25
false182us-gaap_OtherComprehensiveIncomeReclassificationAdjustmentForSaleOfSecuritiesIncludedInNetIncomeNetOfTaxus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse-96000-96falsefalsefalse2falsetruefalsefalse-47000-47falsefalsefalsexbrli:monetaryItemTypemonetaryReclassification adjustment for unrealized gains or losses realized upon the sale of securities, after tax.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph c(3)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 24
-Subparagraph b
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 18, 19
false192mtb_TotalOtherThanTemporaryImpairmentOTTILossesmtbfalsecreditdurationTotal other-than-temporary impairment ("OTTI") losses.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse-50566000-50566falsefalsefalse2falsetruefalsefalse-138505000-138505falsefalsefalsexbrli:monetaryItemTypemonetaryTotal other-than-temporary impairment ("OTTI") losses.No authoritative reference available.false202mtb_OtherComprehensiveIncomeSecuritiesWithOttiChargesDuringPeriodIncomeTaxesAmountmtbfalsecreditdurationOther Comprehensive Income Securities with Otti Charges During The Period Income Taxes Amount.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse1960300019603falsefalsefalse2falsetruefalsefalse5425000054250falsefalsefalsexbrli:monetaryItemTypemonetaryOther Comprehensive Income Securities with Otti Charges During The Period Income Taxes Amount.No authoritative reference available.false212mtb_OtherComprehensiveIncomeSecuritiesWithOttiChargesDuringPeriodNetOfTaxmtbfalsecreditdurationOther Comprehensive Income Securities with Otti Charges During The Period Net Of Tax.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse-30963000-30963falsefalsefalse2falsetruefalsefalse-84255000-84255falsefalsefalsexbrli:monetaryItemTypemonetaryOther Comprehensive Income Securities with Otti Charges During The Period Net Of Tax.No authoritative reference available.false222mtb_TotalAvailableForSaleInvestmentSecuritiesAllOtherBeforeTaxAmountmtbfalsecreditdurationTotal Available For Sale Investment Securities All Other Before Tax Amount.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse221331000221331falsefalsefalse2falsetruefalsefalse319446000319446falsefalsefalsexbrli:monetaryItemTypemonetaryTotal Available For Sale Investment Securities All Other Before Tax Amount.No authoritative reference available.false232mtb_TotalAvailableForSaleInvestmentSecuritiesAllOtherIncomeTaxAmountmtbfalsedebitdurationTotal Available For Sale Investment Securities All Other, Income Tax Amount.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse-86425000-86425falsefalsefalse2falsetruefalsefalse-124790000-124790falsefalsefalsexbrli:monetaryItemTypemonetaryTotal Available For Sale Investment Securities All Other, Income Tax Amount.No authoritative reference available.false242mtb_TotalAvailableForSaleInvestmentSecuritiesAllOtherNetOfTaxAmountmtbfalsecreditdurationTotal Available For Sale Investment Securities All Other, Net Of Tax Amount.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse134906000134906falsefalsefalse2falsetruefalsefalse194656000194656falsefalsefalsexbrli:monetaryItemTypemonetaryTotal Available For Sale Investment Securities All Other, Net Of Tax Amount.No authoritative reference available.false252mtb_UnrealizedHoldingLossesOnInvestmentSecuritiesTransferredFromAvailableForSaleToHeldToMaturityAbstractmtbfalsenadurationUnrealized holding losses on investment securities transferred from AFS to HTM.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringUnrealized holding losses on investment securities transferred from AFS to HTM.false262mtb_OtherComprehensiveIncomeReclassificationAdjustmentTransferOfAfsSecuritiesToHtmUnrealizedHoldingLossesBeforeTaxmtbfalsecreditdurationTransfer of investment securities from AFS to HTM, unrealized holding losses transferred, before tax amountfalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse43740004374falsefalsefalse2falsetruefalsefalse59330005933falsefalsefalsexbrli:monetaryItemTypemonetaryTransfer of investment securities from AFS to HTM, unrealized holding losses transferred, before tax amountNo authoritative reference available.false272mtb_OtherComprehensiveIncomeReclassificationAdjustmentTransferOfAfsSecuritiesToHtmUnrealizedHoldingLossesTaxmtbfalsedebitdurationOther Comprehensive Income Reclassification Adjustment Transfer Of AFS Securities To HTM Unrealized Holding Losses Tax.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse-1716000-1716falsefalsefalse2falsetruefalsefalse-1612000-1612falsefalsefalsexbrli:monetaryItemTypemonetaryOther Comprehensive Income Reclassification Adjustment Transfer Of AFS Securities To HTM Unrealized Holding Losses Tax.No authoritative reference available.false282mtb_OtherComprehensiveIncomeReclassificationAdjustmentTransferOfAfsSecuritiesToHtmUnrealizedHoldingLossesNetOfTaxmtbfalsedebitdurationOther Comprehensive Income Reclassification Adjustment Transfer Of AFS Securities To HTM Unrealized Holding Losses Net Of...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse26580002658falsefalsefalse2falsetruefalsefalse43210004321falsefalsefalsexbrli:monetaryItemTypemonetaryOther Comprehensive Income Reclassification Adjustment Transfer Of AFS Securities To HTM Unrealized Holding Losses Net Of Tax.No authoritative reference available.false292us-gaap_AvailableForSaleSecuritiesChangeInNetUnrealizedHoldingGainLossus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse224321000224321falsefalsefalse2falsetruefalsefalse243842000243842falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the change in net unrealized holding gain or loss on available-for-sale securities that has been included in accumulated other comprehensive income, a separate component of shareholders' equity, during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 21
-Subparagraph d
false302us-gaap_OtherComprehensiveIncomeAvailableForSaleSecuritiesTaxus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse-87555000-87555falsefalsefalse2falsetruefalsefalse-94444000-94444falsefalsefalsexbrli:monetaryItemTypemonetaryTax effect of the gross appreciation or the gross loss, net of reclassification adjustment, in the change in value of available for sale securities during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph c(3)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 25
false312us-gaap_OtherComprehensiveIncomeAvailableForSaleSecuritiesAdjustmentNetOfTaxPeriodIncreaseDecreaseus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse136766000136766falsefalsefalse2falsetruefalsefalse149398000149398falsefalsefalsexbrli:monetaryItemTypemonetaryGross appreciation or the gross loss in value of the total unsold securities at the end of an accounting period, after tax.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 14, 17, 19, 22, 26
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 13
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph c(3)
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 24
-Subparagraph b
false322us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPeriodIncreaseDecreaseAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false332us-gaap_OtherComprehensiveIncomeReclassificationAdjustmentOnDerivativesIncludedInNetIncomeBeforeTaxus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse-224000-224falsefalsefalse2falsetruefalsefalse98300009830falsefalsefalsexbrli:monetaryItemTypemonetaryPre tax reclassification adjustment for accumulated gains and losses from derivative instrument designated and qualifying as the effective portion of cash flow hedges included in accumulated comprehensive income that was realized in net income during the period. A cash flow hedge is a hedge of the exposure to variability in the cash flows of a recognized asset or liability or a forecasted transaction that is attributable to a particular risk.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 18, 19
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph c(3)
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 24
-Subparagraph b
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 31, 46
true342us-gaap_OtherComprehensiveIncomeReclassificationAdjustmentOnDerivativesIncludedInNetIncomeTaxus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse8300083falsefalsefalse2falsetruefalsefalse-3838000-3838falsefalsefalsexbrli:monetaryItemTypemonetaryTax effect on reclassification adjustment for accumulated gains and losses from derivative instrument designated and qualifying as the effective portion of cash flow hedges included in accumulated comprehensive income that was realized in net income during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph c(3)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 25
true352us-gaap_OtherComprehensiveIncomeReclassificationAdjustmentOnDerivativesIncludedInNetIncomeNetOfTaxus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse-141000-141falsefalsefalse2falsetruefalsefalse59920005992falsefalsefalsexbrli:monetaryItemTypemonetaryNet of tax effect of the reclassification adjustment for accumulated gains and losses from derivative instrument designated and qualifying as the effective portion of cash flow hedges included in accumulated comprehensive income that was realized in net income during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 18, 19
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph c(3)
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 24
-Subparagraph b
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 31, 46
true362us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPeriodIncreaseDecreaseus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse35800003580falsefalsefalse2falsetruefalsefalse16810001681falsefalsefalsexbrli:monetaryItemTypemonetaryAmounts recognized in other comprehensive income (but not yet recognized in net periodic benefit cost), including the net gain (loss) and net prior service cost (credit) arising during the period. Also includes reclassification adjustments out of other comprehensive income as a result of being recognized as components of net periodic benefit cost for the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 132R
-Paragraph C3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 14, 17, 22, 26
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph c(3)
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 158
-Paragraph 7
-Subparagraph a
true372us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTaxus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse-1405000-1405falsefalsefalse2falsetruefalsefalse-946000-946falsefalsefalsexbrli:monetaryItemTypemonetaryTax effects of the net changes to accumulated comprehensive income during the period related to benefit plans.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph c(3)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 25
true382us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPeriodIncreaseDecreaseus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse21750002175falsefalsefalse2falsetruefalsefalse735000735falsefalsefalsexbrli:monetaryItemTypemonetaryNet changes to accumulated comprehensive income during the period related to benefit plans, after tax.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 158
-Paragraph 7
-Subparagraph c
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph c(3)
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 14, 17, 22, 26
true392us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParentus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse227677000227677falsefalsefalse2falsetruefalsefalse255353000255353falsefalsefalsexbrli:monetaryItemTypemonetaryPre-tax change in accumulated gains and losses from derivative instruments designated and qualifying as the effective portion of cash flow hedges, net of reclassifications into earnings during the period, attributable to the parent entity. A cash flow hedge is a hedge of the exposure to variability in the cash flows of a recognized asset or liability or a forecasted transaction that is attributable to a particular risk. Includes an entity's share of an equity investee's increase (decrease) in deferred hedging gains or losses.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph c(3)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 29, 30
true402us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParentus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse-88877000-88877falsefalsefalse2falsetruefalsefalse-99228000-99228falsefalsefalsexbrli:monetaryItemTypemonetaryTax effect of the change in accumulated other comprehensive income, that is, the tax effect on items included in other comprehensive income during the period that is attributable to the parent entity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph c(3)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 29, 30
true412us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse138800000138800falsefalsefalse2falsetruefalsefalse156125000156125falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents Other Comprehensive Income (Loss), Net of Tax, for the period attributable to the parent entity. Includes deferred gains (losses) on qualifying hedges, unrealized holding gains (losses) on available-for-sale securities, minimum pension liability, and cumulative translation adjustment.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph c(3)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 29, 30
true422us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false432us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsetruefalsefalseperiodstartlabelfalse1falsetruefalsefalse-335997000-335997falsefalsefalse2falsetruefalsefalse-736881000-736881falsefalsefalsexbrli:monetaryItemTypemonetaryAccumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at fiscal year-end. Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners. Includes foreign currency translation items, certain pension adjustments, and unrealized gains and losses on certain investments in debt and equity securities as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Principles Board Opinion (APB)
-Number 12
-Paragraph 10
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 14, 17, 26
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 31
-Article 5
false442us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse138800000138800falsefalsefalse2falsetruefalsefalse156125000156125falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents Other Comprehensive Income (Loss), Net of Tax, for the period attributable to the parent entity. Includes deferred gains (losses) on qualifying hedges, unrealized holding gains (losses) on available-for-sale securities, minimum pension liability, and cumulative translation adjustment.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph c(3)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 29, 30
false452us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsetruefalseperiodendlabelfalse1falsetruefalsefalse-197197000-197197falsefalsefalse2falsetruefalsefalse-580756000-580756falsefalsefalsexbrli:monetaryItemTypemonetaryAccumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at fiscal year-end. Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners. Includes foreign currency translation items, certain pension adjustments, and unrealized gains and losses on certain investments in debt and equity securities as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Principles Board Opinion (APB)
-Number 12
-Paragraph 10
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 14, 17, 26
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 31
-Article 5
false460natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://mtb.com/role/comprehensiveincomedetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse5USDtruefalsefalsefalsemtb_AccumulatedNetUnrealizedInvestmentGainLossWithOttiMemberus-gaap_InvestmentTypeAxisxbrldihttp://xbrl.org/2006/xbrldimtb_AccumulatedNetUnrealizedInvestmentGainLossWithOttiMemberus-gaap_InvestmentTypeAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false6USDtruefalsefalsefalsemtb_AccumulatedNetUnrealizedInvestmentGainLossWithOttiMemberus-gaap_InvestmentTypeAxisxbrldihttp://xbrl.org/2006/xbrldimtb_AccumulatedNetUnrealizedInvestmentGainLossWithOttiMemberus-gaap_InvestmentTypeAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false772us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPeriodIncreaseDecreaseAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false862us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse-798000-798falsefalsefalse2falsetruefalsefalse-49579000-49579falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents Other Comprehensive Income (Loss), Net of Tax, for the period attributable to the parent entity. Includes deferred gains (losses) on qualifying hedges, unrealized holding gains (losses) on available-for-sale securities, minimum pension liability, and cumulative translation adjustment.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph c(3)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 29, 30
true872us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false882us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsetruefalsefalseperiodstartlabelfalse1falsetruefalsefalse-76772000-76772falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAccumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at fiscal year-end. Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners. Includes foreign currency translation items, certain pension adjustments, and unrealized gains and losses on certain investments in debt and equity securities as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Principles Board Opinion (APB)
-Number 12
-Paragraph 10
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 14, 17, 26
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 31
-Article 5
false892us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse-798000-798falsefalsefalse2falsetruefalsefalse-49579000-49579falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents Other Comprehensive Income (Loss), Net of Tax, for the period attributable to the parent entity. Includes deferred gains (losses) on qualifying hedges, unrealized holding gains (losses) on available-for-sale securities, minimum pension liability, and cumulative translation adjustment.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph c(3)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 29, 30
false902us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsetruefalseperiodendlabelfalse1falsetruefalsefalse-77570000-77570falsefalsefalse2falsetruefalsefalse-49579000-49579falsefalsefalsexbrli:monetaryItemTypemonetaryAccumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at fiscal year-end. Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners. Includes foreign currency translation items, certain pension adjustments, and unrealized gains and losses on certain investments in debt and equity securities as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Principles Board Opinion (APB)
-Number 12
-Paragraph 10
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 14, 17, 26
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 31
-Article 5
false910natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://mtb.com/role/comprehensiveincomedetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse7USDtruefalsefalsefalsemtb_AccumulatedNetUnrealizedInvestmentGainLossAllOtherMemberus-gaap_InvestmentTypeAxisxbrldihttp://xbrl.org/2006/xbrldimtb_AccumulatedNetUnrealizedInvestmentGainLossAllOtherMemberus-gaap_InvestmentTypeAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false8USDtruefalsefalsefalsemtb_AccumulatedNetUnrealizedInvestmentGainLossAllOtherMemberus-gaap_InvestmentTypeAxisxbrldihttp://xbrl.org/2006/xbrldimtb_AccumulatedNetUnrealizedInvestmentGainLossAllOtherMemberus-gaap_InvestmentTypeAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false1222us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPeriodIncreaseDecreaseAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false1312us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse137564000137564falsefalsefalse2falsetruefalsefalse198977000198977falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents Other Comprehensive Income (Loss), Net of Tax, for the period attributable to the parent entity. Includes deferred gains (losses) on qualifying hedges, unrealized holding gains (losses) on available-for-sale securities, minimum pension liability, and cumulative translation adjustment.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph c(3)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 29, 30
true1322us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false1332us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsetruefalsefalseperiodstartlabelfalse1falsetruefalsefalse-142853000-142853falsefalsefalse2falsetruefalsefalse-556668000-556668falsefalsefalsexbrli:monetaryItemTypemonetaryAccumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at fiscal year-end. Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners. Includes foreign currency translation items, certain pension adjustments, and unrealized gains and losses on certain investments in debt and equity securities as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Principles Board Opinion (APB)
-Number 12
-Paragraph 10
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 14, 17, 26
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 31
-Article 5
false1342us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse137564000137564falsefalsefalse2falsetruefalsefalse198977000198977falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents Other Comprehensive Income (Loss), Net of Tax, for the period attributable to the parent entity. Includes deferred gains (losses) on qualifying hedges, unrealized holding gains (losses) on available-for-sale securities, minimum pension liability, and cumulative translation adjustment.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph c(3)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 29, 30
false1352us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsetruefalseperiodendlabelfalse1falsetruefalsefalse-5289000-5289falsefalsefalse2falsetruefalsefalse-357691000-357691falsefalsefalsexbrli:monetaryItemTypemonetaryAccumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at fiscal year-end. Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners. Includes foreign currency translation items, certain pension adjustments, and unrealized gains and losses on certain investments in debt and equity securities as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Principles Board Opinion (APB)
-Number 12
-Paragraph 10
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 14, 17, 26
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 31
-Article 5
false1360natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://mtb.com/role/comprehensiveincomedetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse9USDtruefalsefalsefalseus-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMemberus-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMemberus-gaap_StatementEquityComponentsAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false10USDtruefalsefalsefalseus-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMemberus-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMemberus-gaap_StatementEquityComponentsAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false1672us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPeriodIncreaseDecreaseAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false1762us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse-141000-141falsefalsefalse2falsetruefalsefalse59920005992falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents Other Comprehensive Income (Loss), Net of Tax, for the period attributable to the parent entity. Includes deferred gains (losses) on qualifying hedges, unrealized holding gains (losses) on available-for-sale securities, minimum pension liability, and cumulative translation adjustment.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph c(3)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 29, 30
true1772us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false1782us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsetruefalsefalseperiodstartlabelfalse1falsetruefalsefalse674000674falsefalsefalse2falsetruefalsefalse-5883000-5883falsefalsefalsexbrli:monetaryItemTypemonetaryAccumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at fiscal year-end. Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners. Includes foreign currency translation items, certain pension adjustments, and unrealized gains and losses on certain investments in debt and equity securities as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Principles Board Opinion (APB)
-Number 12
-Paragraph 10
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 14, 17, 26
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 31
-Article 5
false1792us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse-141000-141falsefalsefalse2falsetruefalsefalse59920005992falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents Other Comprehensive Income (Loss), Net of Tax, for the period attributable to the parent entity. Includes deferred gains (losses) on qualifying hedges, unrealized holding gains (losses) on available-for-sale securities, minimum pension liability, and cumulative translation adjustment.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph c(3)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 29, 30
false1802us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsetruefalseperiodendlabelfalse1falsetruefalsefalse533000533falsefalsefalse2falsetruefalsefalse109000109falsefalsefalsexbrli:monetaryItemTypemonetaryAccumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at fiscal year-end. Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners. Includes foreign currency translation items, certain pension adjustments, and unrealized gains and losses on certain investments in debt and equity securities as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Principles Board Opinion (APB)
-Number 12
-Paragraph 10
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 14, 17, 26
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 31
-Article 5
false1810natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://mtb.com/role/comprehensiveincomedetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse11USDtruefalsefalsefalseus-gaap_AccumulatedDefinedBenefitPlansAdjustmentMemberus-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_AccumulatedDefinedBenefitPlansAdjustmentMemberus-gaap_StatementEquityComponentsAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false12USDtruefalsefalsefalseus-gaap_AccumulatedDefinedBenefitPlansAdjustmentMemberus-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_AccumulatedDefinedBenefitPlansAdjustmentMemberus-gaap_StatementEquityComponentsAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false2122us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPeriodIncreaseDecreaseAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false2212us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse21750002175falsefalsefalse2falsetruefalsefalse735000735falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents Other Comprehensive Income (Loss), Net of Tax, for the period attributable to the parent entity. Includes deferred gains (losses) on qualifying hedges, unrealized holding gains (losses) on available-for-sale securities, minimum pension liability, and cumulative translation adjustment.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph c(3)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 29, 30
true2222us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false2232us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsetruefalsefalseperiodstartlabelfalse1falsetruefalsefalse-117046000-117046falsefalsefalse2falsetruefalsefalse-174330000-174330falsefalsefalsexbrli:monetaryItemTypemonetaryAccumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at fiscal year-end. Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners. Includes foreign currency translation items, certain pension adjustments, and unrealized gains and losses on certain investments in debt and equity securities as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Principles Board Opinion (APB)
-Number 12
-Paragraph 10
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 14, 17, 26
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 31
-Article 5
false2242us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse21750002175falsefalsefalse2falsetruefalsefalse735000735falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents Other Comprehensive Income (Loss), Net of Tax, for the period attributable to the parent entity. Includes deferred gains (losses) on qualifying hedges, unrealized holding gains (losses) on available-for-sale securities, minimum pension liability, and cumulative translation adjustment.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph c(3)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 29, 30
false2252us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsetruefalseperiodendlabelfalse1truetruefalsefalse-114871000-114871falsefalsefalse2truetruefalsefalse-173595000-173595falsefalsefalsexbrli:monetaryItemTypemonetaryAccumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at fiscal year-end. Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners. Includes foreign currency translation items, certain pension adjustments, and unrealized gains and losses on certain investments in debt and equity securities as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Principles Board Opinion (APB)
-Number 12
-Paragraph 10
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 130
-Paragraph 14, 17, 26
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 31
-Article 5
false272falseThousandsUnKnownUnKnownfalsetrue