2.2.0.7 true Comprehensive income (Details) (USD $) 0609 - Disclosure - Comprehensive income (Details) true false In Thousands false false 1 USD false false USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 Pure Standard http://www.xbrl.org/2003/instance pure xbrli 0 Shares Standard http://www.xbrl.org/2003/instance shares xbrli 0 USDEPS Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares xbrli 0 $ false 2 USD false false USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 Shares Standard http://www.xbrl.org/2003/instance shares xbrli 0 USDEPS Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares xbrli 0 $ 2 2 mtb_AvailableForSaleAfsInvestmentSecuritiesWithOttiAbstract mtb false na duration Available for sale ("AFS") investment securities with OTTI. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false xbrli:stringItemType string Available for sale ("AFS") investment securities with OTTI. false 3 2 mtb_TotalOtherThanTemporaryImpairmentOTTILosses mtb false credit duration Total other-than-temporary impairment ("OTTI") losses. false false false false false false false false false false false terselabel false 1 true true false false -67052000 -67052 false false false 2 true true false false -202737000 -202737 false false false xbrli:monetaryItemType monetary Total other-than-temporary impairment ("OTTI") losses. No authoritative reference available. false 4 2 mtb_OtherComprehensiveIncomeSecuritiesWithOttiChargesDuringPeriodIncomeTaxesAmount mtb false credit duration Other Comprehensive Income Securities with Otti Charges During The Period Income Taxes Amount. false false false false false false false false false false false verboselabel false 1 false true false false 26074000 26074 false false false 2 false true false false 79296000 79296 false false false xbrli:monetaryItemType monetary Other Comprehensive Income Securities with Otti Charges During The Period Income Taxes Amount. No authoritative reference available. false 5 2 mtb_OtherComprehensiveIncomeSecuritiesWithOttiChargesDuringPeriodNetOfTax mtb false credit duration Other Comprehensive Income Securities with Otti Charges During The Period Net Of Tax. false false false false false false false false false false false verboselabel false 1 false true false false -40978000 -40978 false false false 2 false true false false -123441000 -123441 false false false xbrli:monetaryItemType monetary Other Comprehensive Income Securities with Otti Charges During The Period Net Of Tax. No authoritative reference available. false 6 2 mtb_NetOTTILossesRecognizedInEarnings mtb false credit duration Net OTTI losses recognized in earnings. false false false false false false false false false false false totallabel false 1 false true false false -58714000 -58714 false false false 2 false true false false -104001000 -104001 false false false xbrli:monetaryItemType monetary Net OTTI losses recognized in earnings. No authoritative reference available. true 7 2 mtb_LessOttiChargesRecognizedInNetIncomeTaxesAmount mtb false debit duration Less Otti Charges Recognized In Net Income Taxes Amount. false false false false false false false false false false false totallabel false 1 false true false false 22758000 22758 false false false 2 false true false false 40662000 40662 false false false xbrli:monetaryItemType monetary Less Otti Charges Recognized In Net Income Taxes Amount. No authoritative reference available. true 8 2 mtb_LessOttiChargesRecognizedInNetIncomeNetOfTaxAmount mtb false debit duration Less Otti Charges Recognized In Net Income Net Of Tax Amount. false false false false false false false false false false false totallabel false 1 false true false false -35956000 -35956 false false false 2 false true false false -63339000 -63339 false false false xbrli:monetaryItemType monetary Less Otti Charges Recognized In Net Income Net Of Tax Amount. No authoritative reference available. true 9 2 mtb_PortionOfOTTILossesRecognizedInOtherComprehensiveIncomeBeforeTaxes mtb false credit duration Portion of OTTI losses recognized in other comprehensive income (before taxes). false false false false false false false false false false true negated false 1 false true false false -8338000 -8338 false false false 2 false true false false -98736000 -98736 false false false xbrli:monetaryItemType monetary Portion of OTTI losses recognized in other comprehensive income (before taxes). No authoritative reference available. false 10 2 mtb_OtherComprehensiveIncomeNetUnrealizedLossesOnInvestmentSecuritiesWithOttiIncomeTaxAmount mtb false credit duration Other Comprehensive Income Net Unrealized Losses On Investment Securities With Otti Income Tax Amount. false false false false false false false false false false false totallabel false 1 false true false false 3316000 3316 false false false 2 false true false false 38634000 38634 false false false xbrli:monetaryItemType monetary Other Comprehensive Income Net Unrealized Losses On Investment Securities With Otti Income Tax Amount. No authoritative reference available. true 11 2 mtb_OtherComprehensiveIncomeNetUnrealizedLossesOnInvestmentSecuritiesWithOttiNetOfTaxAmount mtb false credit duration Other Comprehensive Income Net Unrealized Losses On Investment Securities With Otti Net Of Tax Amount. false false false false false false false false false false false totallabel false 1 false true false false -5022000 -5022 false false false 2 false true false false -60102000 -60102 false false false xbrli:monetaryItemType monetary Other Comprehensive Income Net Unrealized Losses On Investment Securities With Otti Net Of Tax Amount. No authoritative reference available. true 12 2 mtb_AfsInvestmentSecuritiesAllOtherAbstract mtb false na duration AFS investment securities - all other. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false xbrli:stringItemType string AFS investment securities - all other. false 13 2 us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax us-gaap true credit duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 166122000 166122 false false false 2 false true false false 389609000 389609 false false false xbrli:monetaryItemType monetary Gross 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 false 14 2 us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax us-gaap true debit duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false -64944000 -64944 false false false 2 false true false false -149651000 -149651 false false false xbrli:monetaryItemType monetary Tax 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 false 15 2 us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax us-gaap true credit duration No definition available. false false false false false false false false false false false terselabel false 1 false true false false 101178000 101178 false false false 2 false true false false 239958000 239958 false false false xbrli:monetaryItemType monetary Appreciation 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 false 16 2 us-gaap_OtherComprehensiveIncomeReclassificationAdjustmentForSaleOfSecuritiesIncludedInNetIncomeBeforeTax us-gaap true debit duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 1023000 1023 false false false 2 false true false false -135000 -135 false false false xbrli:monetaryItemType monetary Pre 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 false 17 2 us-gaap_OtherComprehensiveIncomeReclassificationAdjustmentForSaleOfSecuritiesIncludedInNetIncomeTax us-gaap true credit duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false -392000 -392 false false false 2 false true false false 54000 54 false false false xbrli:monetaryItemType monetary Tax 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 false 18 2 us-gaap_OtherComprehensiveIncomeReclassificationAdjustmentForSaleOfSecuritiesIncludedInNetIncomeNetOfTax us-gaap true debit duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 631000 631 false false false 2 false true false false -81000 -81 false false false xbrli:monetaryItemType monetary Reclassification 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 false 19 2 mtb_TotalOtherThanTemporaryImpairmentOTTILosses mtb false credit duration Total other-than-temporary impairment ("OTTI") losses. false false false false false false false false false false false terselabel false 1 false true false false -67052000 -67052 false false false 2 false true false false -202737000 -202737 false false false xbrli:monetaryItemType monetary Total other-than-temporary impairment ("OTTI") losses. No authoritative reference available. false 20 2 mtb_OtherComprehensiveIncomeSecuritiesWithOttiChargesDuringPeriodIncomeTaxesAmount mtb false credit duration Other Comprehensive Income Securities with Otti Charges During The Period Income Taxes Amount. false false false false false false false false false false false verboselabel false 1 false true false false 26074000 26074 false false false 2 false true false false 79296000 79296 false false false xbrli:monetaryItemType monetary Other Comprehensive Income Securities with Otti Charges During The Period Income Taxes Amount. No authoritative reference available. false 21 2 mtb_OtherComprehensiveIncomeSecuritiesWithOttiChargesDuringPeriodNetOfTax mtb false credit duration Other Comprehensive Income Securities with Otti Charges During The Period Net Of Tax. false false false false false false false false false false false verboselabel false 1 false true false false -40978000 -40978 false false false 2 false true false false -123441000 -123441 false false false xbrli:monetaryItemType monetary Other Comprehensive Income Securities with Otti Charges During The Period Net Of Tax. No authoritative reference available. false 22 2 mtb_TotalAvailableForSaleInvestmentSecuritiesAllOtherBeforeTaxAmount mtb false credit duration Total Available For Sale Investment Securities All Other Before Tax Amount. false false false false false false false false false false false verboselabel false 1 false true false false 232151000 232151 false false false 2 false true false false 592481000 592481 false false false xbrli:monetaryItemType monetary Total Available For Sale Investment Securities All Other Before Tax Amount. No authoritative reference available. false 23 2 mtb_TotalAvailableForSaleInvestmentSecuritiesAllOtherIncomeTaxAmount mtb false debit duration Total Available For Sale Investment Securities All Other, Income Tax Amount. false false false false false false false false false false false verboselabel false 1 false true false false -90626000 -90626 false false false 2 false true false false -229001000 -229001 false false false xbrli:monetaryItemType monetary Total Available For Sale Investment Securities All Other, Income Tax Amount. No authoritative reference available. false 24 2 mtb_TotalAvailableForSaleInvestmentSecuritiesAllOtherNetOfTaxAmount mtb false credit duration Total Available For Sale Investment Securities All Other, Net Of Tax Amount. false false false false false false false false false false false verboselabel false 1 false true false false 141525000 141525 false false false 2 false true false false 363480000 363480 false false false xbrli:monetaryItemType monetary Total Available For Sale Investment Securities All Other, Net Of Tax Amount. No authoritative reference available. false 25 2 mtb_OtherComprehensiveIncomeReclassificationAdjustmentTransferOfAfsSecuritiesToHtmUnrealizedHoldingLossesBeforeTax mtb false credit duration Transfer of investment securities from AFS to HTM, unrealized holding losses transferred, before tax amount false false false false false false false false false false false verboselabel false 1 false true false false 6400000 6400 false false false 2 false true false false 7955000 7955 false false false xbrli:monetaryItemType monetary Transfer of investment securities from AFS to HTM, unrealized holding losses transferred, before tax amount No authoritative reference available. false 26 2 mtb_OtherComprehensiveIncomeReclassificationAdjustmentTransferOfAfsSecuritiesToHtmUnrealizedHoldingLossesTax mtb false debit duration Other Comprehensive Income Reclassification Adjustment Transfer Of AFS Securities To HTM Unrealized Holding Losses Tax. false false false false false false false false false false false verboselabel false 1 false true false false -2511000 -2511 false false false 2 false true false false -2183000 -2183 false false false xbrli:monetaryItemType monetary Other Comprehensive Income Reclassification Adjustment Transfer Of AFS Securities To HTM Unrealized Holding Losses Tax. No authoritative reference available. false 27 2 mtb_OtherComprehensiveIncomeReclassificationAdjustmentTransferOfAfsSecuritiesToHtmUnrealizedHoldingLossesNetOfTax mtb false debit duration Other Comprehensive Income Reclassification Adjustment Transfer Of AFS Securities To HTM Unrealized Holding Losses Net Of... false false false false false false false false false false false verboselabel false 1 false true false false 3889000 3889 false false false 2 false true false false 5772000 5772 false false false xbrli:monetaryItemType monetary Other Comprehensive Income Reclassification Adjustment Transfer Of AFS Securities To HTM Unrealized Holding Losses Net Of Tax. No authoritative reference available. false 28 2 us-gaap_AvailableForSaleSecuritiesChangeInNetUnrealizedHoldingGainLoss us-gaap true credit duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 230213000 230213 false false false 2 false true false false 501700000 501700 false false false xbrli:monetaryItemType monetary This 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 false 29 2 us-gaap_OtherComprehensiveIncomeAvailableForSaleSecuritiesTax us-gaap true na duration No definition available. false false false false false false false false false false false terselabel false 1 false true false false -89821000 -89821 false false false 2 false true false false -192550000 -192550 false false false xbrli:monetaryItemType monetary Tax 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 false 30 2 us-gaap_OtherComprehensiveIncomeAvailableForSaleSecuritiesAdjustmentNetOfTaxPeriodIncreaseDecrease us-gaap true na duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 140392000 140392 false false false 2 false true false false 309150000 309150 false false false xbrli:monetaryItemType monetary Gross 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 false 31 2 us-gaap_OtherComprehensiveIncomeReclassificationAdjustmentOnDerivativesIncludedInNetIncomeBeforeTax us-gaap true debit duration No definition available. false false false false false false false false false false false totallabel false 1 false true false false -336000 -336 false false false 2 false true false false 10873000 10873 false false false xbrli:monetaryItemType monetary Pre 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 true 32 2 us-gaap_OtherComprehensiveIncomeReclassificationAdjustmentOnDerivativesIncludedInNetIncomeTax us-gaap true credit duration No definition available. false false false false false false false false false false false totallabel false 1 false true false false 125000 125 false false false 2 false true false false -4246000 -4246 false false false xbrli:monetaryItemType monetary Tax 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 true 33 2 us-gaap_OtherComprehensiveIncomeReclassificationAdjustmentOnDerivativesIncludedInNetIncomeNetOfTax us-gaap true debit duration No definition available. false false false false false false false false false false false totallabel false 1 false true false false -211000 -211 false false false 2 false true false false 6627000 6627 false false false xbrli:monetaryItemType monetary Net 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 true 34 2 us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPeriodIncreaseDecrease us-gaap true na duration No definition available. false false false false false false false false false false false totallabel false 1 false true false false 5370000 5370 false false false 2 false true false false 2521000 2521 false false false xbrli:monetaryItemType monetary Amounts 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 true 35 2 us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansTax us-gaap true na duration No definition available. false false false false false false false false false false false totallabel false 1 false true false false -2108000 -2108 false false false 2 false true false false -703000 -703 false false false xbrli:monetaryItemType monetary Tax 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 true 36 2 us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPeriodIncreaseDecrease us-gaap true na duration No definition available. false false false false false false false false false false false totallabel false 1 false true false false 3262000 3262 false false false 2 false true false false 1818000 1818 false false false xbrli:monetaryItemType monetary Net 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 true 37 2 us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent us-gaap true credit duration No definition available. false false false false false false false false false false false totallabel false 1 false true false false 235247000 235247 false false false 2 false true false false 515094000 515094 false false false xbrli:monetaryItemType monetary Pre-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 true 38 2 us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent us-gaap true na duration No definition available. false false false false false false false false false false false totallabel false 1 false true false false -91804000 -91804 false false false 2 false true false false -197499000 -197499 false false false xbrli:monetaryItemType monetary Tax 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 true 39 2 us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent us-gaap true credit duration No definition available. false false false false false false false false false false false totallabel false 1 false true false false 143443000 143443 false false false 2 false true false false 317595000 317595 false false false xbrli:monetaryItemType monetary This 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 true 40 2 us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxAbstract us-gaap true na duration No definition available. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false xbrli:stringItemType string No definition available. false 41 2 us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax us-gaap true credit instant No definition available. false false false false false false false false true false false periodstartlabel false 1 false true false false -335997000 -335997 false false false 2 false true false false -736881000 -736881 false false false xbrli:monetaryItemType monetary Accumulated 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 false 42 2 us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent us-gaap true credit duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 143443000 143443 false false false 2 false true false false 317595000 317595 false false false xbrli:monetaryItemType monetary This 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 false 43 2 us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax us-gaap true credit instant No definition available. false false false false false false false false false true false periodendlabel false 1 false true false false -192554000 -192554 false false false 2 false true false false -419286000 -419286 false false false xbrli:monetaryItemType monetary Accumulated 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 false 44 0 na true na na No definition available. false true false false false false false false false false false http://mtb.com/role/comprehensiveincomedetails false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false false 5 USD true false false false us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember us-gaap_StatementEquityComponentsAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember us-gaap_StatementEquityComponentsAxis explicitMember USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 6 USD true false false false us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember us-gaap_StatementEquityComponentsAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember us-gaap_StatementEquityComponentsAxis explicitMember USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 55 2 mtb_AfsInvestmentSecuritiesAllOtherAbstract mtb false na duration AFS investment securities - all other. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false xbrli:stringItemType string AFS investment securities - all other. false 82 2 us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent us-gaap true credit duration No definition available. false false false false false false false false false false false totallabel false 1 false true false false -211000 -211 false false false 2 false true false false 6627000 6627 false false false xbrli:monetaryItemType monetary This 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 true 83 2 us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxAbstract us-gaap true na duration No definition available. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false xbrli:stringItemType string No definition available. false 84 2 us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax us-gaap true credit instant No definition available. false false false false false false false false true false false periodstartlabel false 1 false true false false 674000 674 false false false 2 false true false false -5883000 -5883 false false false xbrli:monetaryItemType monetary Accumulated 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 false 85 2 us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent us-gaap true credit duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false -211000 -211 false false false 2 false true false false 6627000 6627 false false false xbrli:monetaryItemType monetary This 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 false 86 2 us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax us-gaap true credit instant No definition available. false false false false false false false false false true false periodendlabel false 1 false true false false 463000 463 false false false 2 false true false false 744000 744 false false false xbrli:monetaryItemType monetary Accumulated 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 false 87 0 na true na na No definition available. false true false false false false false false false false false http://mtb.com/role/comprehensiveincomedetails false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false false 7 USD true false false false mtb_AccumulatedNetUnrealizedInvestmentGainLossWithOttiMember us-gaap_InvestmentTypeAxis xbrldi http://xbrl.org/2006/xbrldi mtb_AccumulatedNetUnrealizedInvestmentGainLossWithOttiMember us-gaap_InvestmentTypeAxis explicitMember USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 8 USD true false false false mtb_AccumulatedNetUnrealizedInvestmentGainLossWithOttiMember us-gaap_InvestmentTypeAxis xbrldi http://xbrl.org/2006/xbrldi mtb_AccumulatedNetUnrealizedInvestmentGainLossWithOttiMember us-gaap_InvestmentTypeAxis explicitMember USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 98 2 mtb_AfsInvestmentSecuritiesAllOtherAbstract mtb false na duration AFS investment securities - all other. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false xbrli:stringItemType string AFS investment securities - all other. false 125 2 us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent us-gaap true credit duration No definition available. false false false false false false false false false false false totallabel false 1 false true false false -5022000 -5022 false false false 2 false true false false -60102000 -60102 false false false xbrli:monetaryItemType monetary This 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 true 126 2 us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxAbstract us-gaap true na duration No definition available. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false xbrli:stringItemType string No definition available. false 127 2 us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax us-gaap true credit instant No definition available. false false false false false false false false true false false periodstartlabel false 1 false true false false -76772000 -76772 false false false 2 false false false false 0 0 false false false xbrli:monetaryItemType monetary Accumulated 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 false 128 2 us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent us-gaap true credit duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false -5022000 -5022 false false false 2 false true false false -60102000 -60102 false false false xbrli:monetaryItemType monetary This 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 false 129 2 us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax us-gaap true credit instant No definition available. false false false false false false false false false true false periodendlabel false 1 false true false false -81794000 -81794 false false false 2 false true false false -60102000 -60102 false false false xbrli:monetaryItemType monetary Accumulated 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 false 130 0 na true na na No definition available. false true false false false false false false false false false http://mtb.com/role/comprehensiveincomedetails false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false false 9 USD true false false false mtb_AccumulatedNetUnrealizedInvestmentGainLossAllOtherMember us-gaap_InvestmentTypeAxis xbrldi http://xbrl.org/2006/xbrldi mtb_AccumulatedNetUnrealizedInvestmentGainLossAllOtherMember us-gaap_InvestmentTypeAxis explicitMember USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 10 USD true false false false mtb_AccumulatedNetUnrealizedInvestmentGainLossAllOtherMember us-gaap_InvestmentTypeAxis xbrldi http://xbrl.org/2006/xbrldi mtb_AccumulatedNetUnrealizedInvestmentGainLossAllOtherMember us-gaap_InvestmentTypeAxis explicitMember USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 141 2 mtb_AfsInvestmentSecuritiesAllOtherAbstract mtb false na duration AFS investment securities - all other. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false xbrli:stringItemType string AFS investment securities - all other. false 168 2 us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent us-gaap true credit duration No definition available. false false false false false false false false false false false totallabel false 1 false true false false 145414000 145414 false false false 2 false true false false 369252000 369252 false false false xbrli:monetaryItemType monetary This 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 true 169 2 us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxAbstract us-gaap true na duration No definition available. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false xbrli:stringItemType string No definition available. false 170 2 us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax us-gaap true credit instant No definition available. false false false false false false false false true false false periodstartlabel false 1 false true false false -142853000 -142853 false false false 2 false true false false -556668000 -556668 false false false xbrli:monetaryItemType monetary Accumulated 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 false 171 2 us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent us-gaap true credit duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 145414000 145414 false false false 2 false true false false 369252000 369252 false false false xbrli:monetaryItemType monetary This 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 false 172 2 us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax us-gaap true credit instant No definition available. false false false false false false false false false true false periodendlabel false 1 false true false false 2561000 2561 false false false 2 false true false false -187416000 -187416 false false false xbrli:monetaryItemType monetary Accumulated 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 false 173 0 na true na na No definition available. false true false false false false false false false false false http://mtb.com/role/comprehensiveincomedetails false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false false 11 USD true false false false us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember us-gaap_StatementEquityComponentsAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember us-gaap_StatementEquityComponentsAxis explicitMember USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 12 USD true false false false us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember us-gaap_StatementEquityComponentsAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember us-gaap_StatementEquityComponentsAxis explicitMember USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 184 2 mtb_AfsInvestmentSecuritiesAllOtherAbstract mtb false na duration AFS investment securities - all other. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false xbrli:stringItemType string AFS investment securities - all other. false 211 2 us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent us-gaap true credit duration No definition available. false false false false false false false false false false false totallabel false 1 false true false false 3262000 3262 false false false 2 false true false false 1818000 1818 false false false xbrli:monetaryItemType monetary This 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 true 212 2 us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxAbstract us-gaap true na duration No definition available. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false xbrli:stringItemType string No definition available. false 213 2 us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax us-gaap true credit instant No definition available. false false false false false false false false true false false periodstartlabel false 1 false true false false -117046000 -117046 false false false 2 false true false false -174330000 -174330 false false false xbrli:monetaryItemType monetary Accumulated 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 false 214 2 us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent us-gaap true credit duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 3262000 3262 false false false 2 false true false false 1818000 1818 false false false xbrli:monetaryItemType monetary This 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 false 215 2 us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax us-gaap true credit instant No definition available. false false false false false false false false false true false periodendlabel false 1 true true false false -113784000 -113784 false false false 2 true true false false -172512000 -172512 false false false xbrli:monetaryItemType monetary Accumulated 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 false 2 70 false Thousands UnKnown UnKnown false true