2.2.0.7trueDerivative financial instruments (Details) (USD $)0610 - Disclosure - Derivative financial instruments (Details)truefalsefalsefalse1USDfalsefalseUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0PureStandardhttp://www.xbrl.org/2003/instancepurexbrli0$false2USDfalsefalseUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0$false3USDfalsefalseUSDStandardhttp://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$false4USDfalsefalseUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0$false5USDfalsefalseUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0PureStandardhttp://www.xbrl.org/2003/instancepurexbrli0$72mtb_DerivativeFinancialInstrumentsTextualsAbstractmtbfalsenadurationDerivative financial instruments.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringDerivative financial instruments.false102mtb_NotionalAmountOfForeignCurrencyAndOtherDerivativeInstrumentsNotDesignatedAsHedgingInstrumentsmtbfalsedebitinstantNotional amount of foreign currency and other derivative instruments not designated as hedging instruments.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1truetruefalsefalse622000000622000000falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3truetruefalsefalse622000000622000000falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5truetruefalsefalse608000000608000000falsefalsefalsexbrli:monetaryItemTypemonetaryNotional amount of foreign currency and other derivative instruments not designated as hedging instruments.No authoritative reference available.false112us-gaap_DerivativeFairValueOfDerivativeNetAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false122us-gaap_DerivativeAssetDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse140124000140124000falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse140124000140124000falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse6049500060495000falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false132us-gaap_DerivativeAssetNotDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse475243000475243000falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse475243000475243000falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse347280000347280000falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false142us-gaap_DerivativeLiabilityNotDesignatedAsHedgingInstrumentFairValueus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse434127000434127000falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse434127000434127000falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse308066000308066000falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative liability that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false152us-gaap_DerivativeLiabilityDesignatedAsHedgingInstrumentFairValueus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse29450002945000falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse29450002945000falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse171000171000falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative liability (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false162mtb_InformationAboutFairValuesOfDerivativeInstrumentsInConsolidatedBalanceSheetContinuedmtbfalsenadurationInformation about fair values of derivative instruments in consolidated balance sheet continuedfalsefalsefalsefalsefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringInformation about fair values of derivative instruments in consolidated balance sheet continuedfalse172us-gaap_DerivativeFairValueOfDerivativeAssetus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse615367000615367000falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse615367000615367000falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse407775000407775000falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of derivative asset, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
true182us-gaap_DerivativeFairValueOfDerivativeLiabilityus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse437072000437072000falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse437072000437072000falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse308237000308237000falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of derivative liability, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
true192us-gaap_EffectOfFairValueHedgesOnResultsOfOperationsAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false202us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstrumentsus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse2828100028281000falsefalsefalse2falsetruefalsefalse1913200019132000falsefalsefalse3falsetruefalsefalse8420500084205000falsefalsefalse4falsetruefalsefalse-63979000-63979000falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of the increase or decrease in fair value during the period of derivative or nonderivative instruments designated as fair value hedging instruments. Recognized in earnings and offsets the gain (loss) on the hedged item to the extent that the fair value hedge is determined to be effective.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 45
-Subparagraph a(1)
false212us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedgeus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse-27116000-27116000falsefalsefalse2falsetruefalsefalse-18216000-18216000falsefalsefalse3falsetruefalsefalse-80324000-80324000falsefalsefalse4falsetruefalsefalse5999600059996000falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of the increase or decrease in fair value during the period of the hedged item in a fair value hedge. Recognized in earnings and is offset by the gain (loss) on the hedging instrument to the extent that the fair value hedge is determined to be effective.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 45
-Subparagraph a(1)
false222us-gaap_GainLossOnDerivativeInstrumentsHeldForTradingPurposesNetus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse-719000-719000falsefalsefalse2falsetruefalsefalse-817000-817000falsefalsefalse3falsetruefalsefalse-880000-880000falsefalsefalse4falsetruefalsefalse-1242000-1242000falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate net gain and losses (whether realized or unrealized) on all derivative instruments held for trading purposes whether or not settled physically.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 02-3
-Paragraph 8
false232mtb_AdditonalDerivativeFinancialInstrumentsTextualsAbstractmtbfalsenadurationAdditonal Derivative financial instruments (Textuals) [Abstract]falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringAdditonal Derivative financial instruments (Textuals) [Abstract]false242mtb_NetUnrealizedPretaxGainsLossesRelatedToRealEstateLoansHedgedHeldForSaleAndOriginationAndSaleCommitmentsmtbfalsedebitdurationNet unrealized pre-tax gains losses related to real estate loans hedged held for sale and origination and sale commitments.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse3400000034000000falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse2000000020000000falsefalsefalsexbrli:monetaryItemTypemonetaryNet unrealized pre-tax gains losses related to real estate loans hedged held for sale and origination and sale commitments.No authoritative reference available.false252us-gaap_DerivativeNetLiabilityPositionAggregateFairValueus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse302000000302000000falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse302000000302000000falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe aggregate fair value amounts of derivative instruments that contain credit-risk-related contingent features that are in a net liability position at the end of the reporting period. For nonderivative instruments that are designated and qualify as hedging instruments, the fair value amounts are the carrying value of the nonderivative hedging instrument, including the adjustment for the foreign currency transaction gain or loss on that instrument.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44D
-Subparagraph b
false262us-gaap_CollateralAlreadyPostedAggregateFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse298000000298000000falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse298000000298000000falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe aggregate fair value of assets that are already posted, at the end of the reporting period, as collateral for derivative instruments with credit-risk-related contingent features.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44D
-Subparagraph c
false272mtb_InterestRateSwapCounterpartyCollateralPostingsmtbfalsedebitinstantInterest rate swap counterparty collateral postings.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse8000000080000000falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse8000000080000000falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryInterest rate swap counterparty collateral postings.No authoritative reference available.false280natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://mtb.com/role/derivativefinancialinstrumentsdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsefalse6USDtruefalsefalsefalseFair value hedges [Member]us-gaap_DerivativeByNatureAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueHedgingMemberus-gaap_DerivativeByNatureAxisexplicitMemberPureStandardhttp://www.xbrl.org/2003/instancepurexbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false292us-gaap_ScheduleOfDerivativeInstrumentsAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false302us-gaap_NotionalAmountOfFairValueHedgeInstrumentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse10622410001062241000falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all derivatives designated as a fair value hedging instrument. The notional amount relates to a number of currency units, shares, bushels, pounds, or other units specified in a derivative instrument.No authoritative reference available.false312us-gaap_DerivativeAverageRemainingMaturityus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse006.4falsefalsefalseus-types:durationStringItemTypenormalizedstringThe average time remaining until maturity on the group of derivatives identified.No authoritative reference available.false322us-gaap_DerivativeAverageFixedInterestRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse0.0630.063falsefalsefalseus-types:percentItemTypepureAverage fixed interest rate related to the group of interest rate derivatives.No authoritative reference available.false332us-gaap_DerivativeAverageVariableInterestRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse0.02070.0207falsefalsefalseus-types:percentItemTypepureAverage variable interest rate related to the group of interest rate derivatives.No authoritative reference available.false550natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://mtb.com/role/derivativefinancialinstrumentsdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsefalse7USDtruefalsefalsefalseFair value hedges [Member]us-gaap_DerivativeByNatureAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueHedgingMemberus-gaap_DerivativeByNatureAxisexplicitMemberfalsefalseFixed rate time deposits [Member]mtb_FixedRateInstrumentsAxisxbrldihttp://xbrl.org/2006/xbrldimtb_FixedRateTimeDepositsMembermtb_FixedRateInstrumentsAxisexplicitMemberPureStandardhttp://www.xbrl.org/2003/instancepurexbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false562us-gaap_ScheduleOfDerivativeInstrumentsAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false572us-gaap_NotionalAmountOfFairValueHedgeInstrumentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse2500000025000000[1]falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all derivatives designated as a fair value hedging instrument. The notional amount relates to a number of currency units, shares, bushels, pounds, or other units specified in a derivative instrument.No authoritative reference available.false582us-gaap_DerivativeAverageRemainingMaturityus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse003.7[1]falsefalsefalseus-types:durationStringItemTypenormalizedstringThe average time remaining until maturity on the group of derivatives identified.No authoritative reference available.false592us-gaap_DerivativeAverageFixedInterestRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse0.0530.053[1]falsefalsefalseus-types:percentItemTypepureAverage fixed interest rate related to the group of interest rate derivatives.No authoritative reference available.false602us-gaap_DerivativeAverageVariableInterestRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse0.00340.0034[1]falsefalsefalseus-types:percentItemTypepureAverage variable interest rate related to the group of interest rate derivatives.No authoritative reference available.false820natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://mtb.com/role/derivativefinancialinstrumentsdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsefalse8USDtruefalsefalsefalseFair value hedges [Member]us-gaap_DerivativeByNatureAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueHedgingMemberus-gaap_DerivativeByNatureAxisexplicitMemberfalsefalseFixed rate long-term borrowings [Member]mtb_FixedRateInstrumentsAxisxbrldihttp://xbrl.org/2006/xbrldimtb_FixedRateLongTermBorrowingsMembermtb_FixedRateInstrumentsAxisexplicitMemberPureStandardhttp://www.xbrl.org/2003/instancepurexbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false9USDtruefalsefalsefalseFair value hedges [Member]us-gaap_DerivativeByNatureAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueHedgingMemberus-gaap_DerivativeByNatureAxisexplicitMemberfalsefalseFixed rate long-term borrowings [Member]mtb_FixedRateInstrumentsAxisxbrldihttp://xbrl.org/2006/xbrldimtb_FixedRateLongTermBorrowingsMembermtb_FixedRateInstrumentsAxisexplicitMemberPureStandardhttp://www.xbrl.org/2003/instancepurexbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false832us-gaap_ScheduleOfDerivativeInstrumentsAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false842us-gaap_NotionalAmountOfFairValueHedgeInstrumentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse10372410001037241000[1]falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse10372410001037241000[1]falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all derivatives designated as a fair value hedging instrument. The notional amount relates to a number of currency units, shares, bushels, pounds, or other units specified in a derivative instrument.No authoritative reference available.false852us-gaap_DerivativeAverageRemainingMaturityus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse005.7[1]falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse006.5[1]falsefalsefalseus-types:durationStringItemTypenormalizedstringThe average time remaining until maturity on the group of derivatives identified.No authoritative reference available.false862us-gaap_DerivativeAverageFixedInterestRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse0.06330.0633[1]falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse0.06330.0633[1]falsefalsefalseus-types:percentItemTypepureAverage fixed interest rate related to the group of interest rate derivatives.No authoritative reference available.false872us-gaap_DerivativeAverageVariableInterestRateus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse0.02180.0218[1]falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse0.02120.0212[1]falsefalsefalseus-types:percentItemTypepureAverage variable interest rate related to the group of interest rate derivatives.No authoritative reference available.false1090natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://mtb.com/role/derivativefinancialinstrumentsdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsefalse10USDtruefalsefalsefalseInterest rate swap agreements [Member]us-gaap_DerivativeByNatureAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateSwapMemberus-gaap_DerivativeByNatureAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false11USDtruefalsefalsefalseInterest rate swap agreements [Member]us-gaap_DerivativeByNatureAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateSwapMemberus-gaap_DerivativeByNatureAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false12USDtruefalsefalsefalseInterest rate swap agreements [Member]us-gaap_DerivativeByNatureAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateSwapMemberus-gaap_DerivativeByNatureAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false13USDtruefalsefalsefalseInterest rate swap agreements [Member]us-gaap_DerivativeByNatureAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateSwapMemberus-gaap_DerivativeByNatureAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false1152mtb_DerivativeFinancialInstrumentsTextualsAbstractmtbfalsenadurationDerivative financial instruments.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringDerivative financial instruments.false1162mtb_IncreaseInNetInterestIncomeDueToInterestRateSwapAgreementsmtbfalsecreditdurationIncrease in net interest income due to interest rate swap agreements.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse1000000010000000falsefalsefalse2falsetruefalsefalse1000000010000000falsefalsefalse3falsetruefalsefalse3200000032000000falsefalsefalse4falsetruefalsefalse2700000027000000falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryIncrease in net interest income due to interest rate swap agreements.No authoritative reference available.false1360natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://mtb.com/role/derivativefinancialinstrumentsdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsefalse14USDtruefalsefalsefalseInterest rate contracts [Member]us-gaap_DerivativeByNatureAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateContractMemberus-gaap_DerivativeByNatureAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false15USDtruefalsefalsefalseInterest rate contracts [Member]us-gaap_DerivativeByNatureAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateContractMemberus-gaap_DerivativeByNatureAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false1422mtb_DerivativeFinancialInstrumentsTextualsAbstractmtbfalsenadurationDerivative financial instruments.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringDerivative financial instruments.false1442us-gaap_NotionalAmountOfInterestRateDerivativeInstrumentsNotDesignatedAsHedgingInstrumentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse1260000000012600000000falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse1390000000013900000000falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all interest rate derivatives not designated as hedging instruments. Notional amount refers to the monetary amount specified in the interest rate derivative contract.No authoritative reference available.false1630natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://mtb.com/role/derivativefinancialinstrumentsdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsefalse16USDtruefalsefalsefalseInterest rate swap agreements [Member]us-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateSwapMemberus-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisexplicitMemberfalsefalseFixed rate time deposits [Member]us-gaap_DerivativeInstrumentsGainLossByIncomeStatementLocationAxisxbrldihttp://xbrl.org/2006/xbrldimtb_FixedRateTimeDepositsMemberus-gaap_DerivativeInstrumentsGainLossByIncomeStatementLocationAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false17USDtruefalsefalsefalseInterest rate swap agreements [Member]us-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateSwapMemberus-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisexplicitMemberfalsefalseFixed rate time deposits [Member]us-gaap_DerivativeInstrumentsGainLossByIncomeStatementLocationAxisxbrldihttp://xbrl.org/2006/xbrldimtb_FixedRateTimeDepositsMemberus-gaap_DerivativeInstrumentsGainLossByIncomeStatementLocationAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false18USDtruefalsefalsefalseInterest rate swap agreements [Member]us-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateSwapMemberus-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisexplicitMemberfalsefalseFixed rate time deposits [Member]us-gaap_DerivativeInstrumentsGainLossByIncomeStatementLocationAxisxbrldihttp://xbrl.org/2006/xbrldimtb_FixedRateTimeDepositsMemberus-gaap_DerivativeInstrumentsGainLossByIncomeStatementLocationAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false19USDtruefalsefalsefalseInterest rate swap agreements [Member]us-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateSwapMemberus-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisexplicitMemberfalsefalseFixed rate time deposits [Member]us-gaap_DerivativeInstrumentsGainLossByIncomeStatementLocationAxisxbrldihttp://xbrl.org/2006/xbrldimtb_FixedRateTimeDepositsMemberus-gaap_DerivativeInstrumentsGainLossByIncomeStatementLocationAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false1812us-gaap_EffectOfFairValueHedgesOnResultsOfOperationsAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false1822us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstrumentsus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00[2]falsefalsefalse2falsetruefalsefalse-133000-133000[2]falsefalsefalse3falsetruefalsefalse-503000-503000[2]falsefalsefalse4falsetruefalsefalse-1527000-1527000[2]falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of the increase or decrease in fair value during the period of derivative or nonderivative instruments designated as fair value hedging instruments. Recognized in earnings and offsets the gain (loss) on the hedged item to the extent that the fair value hedge is determined to be effective.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 45
-Subparagraph a(1)
false1832us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedgeus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00[2]falsefalsefalse2falsetruefalsefalse133000133000[2]falsefalsefalse3falsetruefalsefalse503000503000[2]falsefalsefalse4falsetruefalsefalse15200001520000[2]falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of the increase or decrease in fair value during the period of the hedged item in a fair value hedge. Recognized in earnings and is offset by the gain (loss) on the hedging instrument to the extent that the fair value hedge is determined to be effective.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 45
-Subparagraph a(1)
false1900natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://mtb.com/role/derivativefinancialinstrumentsdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsefalse20USDtruefalsefalsefalseInterest rate swap agreements [Member]us-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateSwapMemberus-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisexplicitMemberfalsefalseFixed rate long-term borrowings [Member]us-gaap_DerivativeInstrumentsGainLossByIncomeStatementLocationAxisxbrldihttp://xbrl.org/2006/xbrldimtb_FixedRateLongTermBorrowingsMemberus-gaap_DerivativeInstrumentsGainLossByIncomeStatementLocationAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false21USDtruefalsefalsefalseInterest rate swap agreements [Member]us-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateSwapMemberus-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisexplicitMemberfalsefalseFixed rate long-term borrowings [Member]us-gaap_DerivativeInstrumentsGainLossByIncomeStatementLocationAxisxbrldihttp://xbrl.org/2006/xbrldimtb_FixedRateLongTermBorrowingsMemberus-gaap_DerivativeInstrumentsGainLossByIncomeStatementLocationAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false22USDtruefalsefalsefalseInterest rate swap agreements [Member]us-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateSwapMemberus-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisexplicitMemberfalsefalseFixed rate long-term borrowings [Member]us-gaap_DerivativeInstrumentsGainLossByIncomeStatementLocationAxisxbrldihttp://xbrl.org/2006/xbrldimtb_FixedRateLongTermBorrowingsMemberus-gaap_DerivativeInstrumentsGainLossByIncomeStatementLocationAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false23USDtruefalsefalsefalseInterest rate swap agreements [Member]us-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateSwapMemberus-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisexplicitMemberfalsefalseFixed rate long-term borrowings [Member]us-gaap_DerivativeInstrumentsGainLossByIncomeStatementLocationAxisxbrldihttp://xbrl.org/2006/xbrldimtb_FixedRateLongTermBorrowingsMemberus-gaap_DerivativeInstrumentsGainLossByIncomeStatementLocationAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false2082us-gaap_EffectOfFairValueHedgesOnResultsOfOperationsAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false2092us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstrumentsus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse2828100028281000[2]falsefalsefalse2falsetruefalsefalse1926500019265000[2]falsefalsefalse3falsetruefalsefalse8470800084708000[2]falsefalsefalse4falsetruefalsefalse-62452000-62452000[2]falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of the increase or decrease in fair value during the period of derivative or nonderivative instruments designated as fair value hedging instruments. Recognized in earnings and offsets the gain (loss) on the hedged item to the extent that the fair value hedge is determined to be effective.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 45
-Subparagraph a(1)
false2102us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedgeus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse-27116000-27116000[2]falsefalsefalse2falsetruefalsefalse-18349000-18349000[2]falsefalsefalse3falsetruefalsefalse-80827000-80827000[2]falsefalsefalse4falsetruefalsefalse5847600058476000[2]falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of the increase or decrease in fair value during the period of the hedged item in a fair value hedge. Recognized in earnings and is offset by the gain (loss) on the hedging instrument to the extent that the fair value hedge is determined to be effective.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 45
-Subparagraph a(1)
false2170natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://mtb.com/role/derivativefinancialinstrumentsdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsefalse24USDtruefalsefalsefalseInterest rate swap agreements [Member]us-gaap_DerivativesFairValueByDerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateSwapMemberus-gaap_DerivativesFairValueByDerivativeInstrumentRiskAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false25USDtruefalsefalsefalseInterest rate swap agreements [Member]us-gaap_DerivativesFairValueByDerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateSwapMemberus-gaap_DerivativesFairValueByDerivativeInstrumentRiskAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false2272us-gaap_DerivativeFairValueOfDerivativeNetAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false2282us-gaap_DerivativeAssetDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse139718000139718000[3]falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse5448600054486000[3]falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false2312us-gaap_DerivativeLiabilityDesignatedAsHedgingInstrumentFairValueus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00[3]falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse00[3]falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative liability (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false2440natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://mtb.com/role/derivativefinancialinstrumentsdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsefalse26USDtruefalsefalsefalseCommitments to sell real estate loans [Member]us-gaap_DerivativesFairValueByDerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldimtb_CommitmentsToSellRealEstateLoansMemberus-gaap_DerivativesFairValueByDerivativeInstrumentRiskAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false27USDtruefalsefalsefalseCommitments to sell real estate loans [Member]us-gaap_DerivativesFairValueByDerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldimtb_CommitmentsToSellRealEstateLoansMemberus-gaap_DerivativesFairValueByDerivativeInstrumentRiskAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false2542us-gaap_DerivativeFairValueOfDerivativeNetAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false2552us-gaap_DerivativeAssetDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse406000406000[3]falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse60090006009000[3]falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false2562us-gaap_DerivativeAssetNotDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse721000721000[3]falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse1329300013293000[3]falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false2572us-gaap_DerivativeLiabilityNotDesignatedAsHedgingInstrumentFairValueus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse89060008906000[3]falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse13600001360000[3]falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative liability that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false2582us-gaap_DerivativeLiabilityDesignatedAsHedgingInstrumentFairValueus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse29450002945000[3]falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse171000171000[3]falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative liability (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false2710natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://mtb.com/role/derivativefinancialinstrumentsdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsefalse28USDtruefalsefalsefalseMortgage-related commitments to originate real estate loans for sale [Member]us-gaap_DerivativesFairValueByDerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldimtb_MortgageRelatedCommitmentsToOriginateRealEstateLoansForSaleMemberus-gaap_DerivativesFairValueByDerivativeInstrumentRiskAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false29USDtruefalsefalsefalseMortgage-related commitments to originate real estate loans for sale [Member]us-gaap_DerivativesFairValueByDerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldimtb_MortgageRelatedCommitmentsToOriginateRealEstateLoansForSaleMemberus-gaap_DerivativesFairValueByDerivativeInstrumentRiskAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false2812us-gaap_DerivativeFairValueOfDerivativeNetAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false2832us-gaap_DerivativeAssetNotDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse2655400026554000[3]falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse44280004428000[3]falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false2842us-gaap_DerivativeLiabilityNotDesignatedAsHedgingInstrumentFairValueus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse137000137000[3]falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse45080004508000[3]falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative liability that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false2980natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://mtb.com/role/derivativefinancialinstrumentsdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsefalse30USDtruefalsefalsefalseInterest rate contracts [Member]us-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateContractMemberus-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false31USDtruefalsefalsefalseInterest rate contracts [Member]us-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateContractMemberus-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false32USDtruefalsefalsefalseInterest rate contracts [Member]us-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateContractMemberus-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false33USDtruefalsefalsefalseInterest rate contracts [Member]us-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateContractMemberus-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false3162us-gaap_EffectOfFairValueHedgesOnResultsOfOperationsAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false3192us-gaap_GainLossOnDerivativeInstrumentsHeldForTradingPurposesNetus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse813000813000[4]falsefalsefalse2falsetruefalsefalse-1421000-1421000[4]falsefalsefalse3falsetruefalsefalse-305000-305000[4]falsefalsefalse4falsetruefalsefalse-2778000-2778000[4]falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate net gain and losses (whether realized or unrealized) on all derivative instruments held for trading purposes whether or not settled physically.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 02-3
-Paragraph 8
false3250natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://mtb.com/role/derivativefinancialinstrumentsdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsefalse34USDtruefalsefalsefalseInterest rate contracts [Member]us-gaap_DerivativesFairValueByDerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateContractMemberus-gaap_DerivativesFairValueByDerivativeInstrumentRiskAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false35USDtruefalsefalsefalseInterest rate contracts [Member]us-gaap_DerivativesFairValueByDerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateContractMemberus-gaap_DerivativesFairValueByDerivativeInstrumentRiskAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false3352us-gaap_DerivativeFairValueOfDerivativeNetAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false3372us-gaap_DerivativeAssetNotDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse439386000439386000[5]falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse317651000317651000[5]falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false3382us-gaap_DerivativeLiabilityNotDesignatedAsHedgingInstrumentFairValueus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse415741000415741000[5]falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse290104000290104000[5]falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative liability that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false3520natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://mtb.com/role/derivativefinancialinstrumentsdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsefalse36USDtruefalsefalsefalseForeign exchange and other option and futures contracts [Member]us-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldimtb_ForeignExchangeAndOtherOptionAndFuturesContractsMemberus-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false37USDtruefalsefalsefalseForeign exchange and other option and futures contracts [Member]us-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldimtb_ForeignExchangeAndOtherOptionAndFuturesContractsMemberus-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false38USDtruefalsefalsefalseForeign exchange and other option and futures contracts [Member]us-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldimtb_ForeignExchangeAndOtherOptionAndFuturesContractsMemberus-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false39USDtruefalsefalsefalseForeign exchange and other option and futures contracts [Member]us-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldimtb_ForeignExchangeAndOtherOptionAndFuturesContractsMemberus-gaap_DerivativeInstrumentsGainLossByDerivativeInstrumentRiskAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false3702us-gaap_EffectOfFairValueHedgesOnResultsOfOperationsAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false3732us-gaap_GainLossOnDerivativeInstrumentsHeldForTradingPurposesNetus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse-1532000-1532000[4]falsefalsefalse2falsetruefalsefalse604000604000[4]falsefalsefalse3falsetruefalsefalse-575000-575000[4]falsefalsefalse4falsetruefalsefalse15360001536000[4]falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate net gain and losses (whether realized or unrealized) on all derivative instruments held for trading purposes whether or not settled physically.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 02-3
-Paragraph 8
false3790natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://mtb.com/role/derivativefinancialinstrumentsdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsefalse40USDtruefalsefalsefalseForeign exchange and other option and futures contracts [Member]us-gaap_DerivativesFairValueByDerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldimtb_ForeignExchangeAndOtherOptionAndFuturesContractsMemberus-gaap_DerivativesFairValueByDerivativeInstrumentRiskAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false41USDtruefalsefalsefalseForeign exchange and other option and futures contracts [Member]us-gaap_DerivativesFairValueByDerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldimtb_ForeignExchangeAndOtherOptionAndFuturesContractsMemberus-gaap_DerivativesFairValueByDerivativeInstrumentRiskAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false3892us-gaap_DerivativeFairValueOfDerivativeNetAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false3912us-gaap_DerivativeAssetNotDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse85820008582000[5]falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5falsetruefalsefalse1190800011908000[5]falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false3922us-gaap_DerivativeLiabilityNotDesignatedAsHedgingInstrumentFairValueus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1truetruefalsefalse93430009343000[5]falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalse5truetruefalsefalse1209400012094000[5]falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative liability that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false1Under the terms of these agreements, the Company receives settlement amounts at a fixed rate and pays at a variable rate.2Reported as other revenues from operations.3Asset derivatives are reported in other assets and liability derivatives are reported in other liabilities.4Reported as trading account and foreign exchange gains.5Asset derivatives are reported in trading account assets and liability derivatives are reported in other liabilities.579falseNoRoundingUnKnownUnKnownfalsetrue