2.4.0.8173 - Disclosure - Fair Value Measurements - Changes in Level 3 Assets and Liabilities Measured at Estimated Fair Value on Recurring Basis (Detail)truefalseIn Thousands, unless otherwise specifiedfalse1falseUSDfalsefalse$eol_PE16919---1310-Q0007_STD_91_20130630_0_569824x735307http://www.sec.gov/CIK0000036270duration2013-04-01T00:00:002013-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDfalsefalse$eol_PE16919---1310-Q0007_STD_91_20120630_0_569824x735307http://www.sec.gov/CIK0000036270duration2012-04-01T00:00:002012-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3falseUSDfalsefalse$eol_PE16919---1310-Q0007_STD_181_20130630_0_569824x735307http://www.sec.gov/CIK0000036270duration2013-01-01T00:00:002013-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$4falseUSDfalsefalse$eol_PE16919---1310-Q0007_STD_182_20120630_0_569824x735307http://www.sec.gov/CIK0000036270duration2012-01-01T00:00:002012-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse1falseUSDtruefalse$eol_PE16919---1310-Q0007_STD_91_20130630_0_569824x735307http://www.sec.gov/CIK0000036270duration2013-04-01T00:00:002013-06-30T00:00:00falsefalseOther Assets and Other Liabilities [Member]us-gaap_FairValueByAssetClassAxisxbrldihttp://xbrl.org/2006/xbrldimtb_OtherAssetsAndOtherLiabilitiesMemberus-gaap_FairValueByAssetClassAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse02true3us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse03false4us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel1truefalsefalse3611900036119USD$falsetruefalse2truefalsefalse2043500020435USD$falsetruefalse3truefalsefalse4785900047859USD$falsetruefalse4truefalsefalse69230006923USD$falsetruefalsexbrli:monetaryItemTypemonetaryThis element represents an asset measured at fair value using significant unobservable inputs (Level 3) which is required for reconciliation purposes of beginning and ending balances.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=7578670&loc=d3e19207-110258
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 157
-Paragraph 32
-Subparagraph c
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
false24true4us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForwardus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse05false5us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1us-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse1550000015500USD$falsefalsefalse2truefalsefalse4548600045486USD$falsefalsefalse3truefalsefalse5881200058812USD$falsefalsefalse4truefalsefalse7251700072517USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of gain (loss) recognized in earnings, arising from assets measured at fair value on a recurring basis using unobservable inputs (level 3).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(1)
-URI http://asc.fasb.org/extlink&oid=7578670&loc=d3e19207-110258
false26false4us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNetus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-44211000-44211USD$falsefalsefalse2truefalsefalse-31870000-31870USD$falsefalsefalse3truefalsefalse-99263000-99263USD$falsefalsefalse4truefalsefalse-45389000-45389USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents [net] transfers in to and out of assets measured at fair value on a recurring basis using unobservable inputs (Level 3) which have taken place during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 157
-Paragraph 32
-Subparagraph c(3)
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
false27false4us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel1truefalsefalse74080007408USD$falsefalsefalse2truefalsefalse3405100034051USD$falsefalsefalse3truefalsefalse74080007408USD$falsefalsefalse4truefalsefalse3405100034051USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents an asset measured at fair value using significant unobservable inputs (Level 3) which is required for reconciliation purposes of beginning and ending balances.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=7578670&loc=d3e19207-110258
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 157
-Paragraph 32
-Subparagraph c
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
false28false4mtb_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisOtherAssetAndOtherLiabilityStillHeldGainLossInEarningsmtb_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse41230004123USD$falsefalsefalse2truefalsefalse2890400028904USD$falsefalsefalse3truefalsefalse51320005132USD$falsefalsefalse4truefalsefalse3364700033647USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value measurement with unobservable inputs reconciliation recurring basis other asset and other liability still held gain loss in earnings.No definition available.false29false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falseUSDtruefalse$eol_PE16919---1310-Q0007_STD_91_20130630_0_569824x582042http://www.sec.gov/CIK0000036270duration2013-04-01T00:00:002013-06-30T00:00:00falsefalsePrivately Issued [Member]us-gaap_FairValueByAssetClassAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMemberus-gaap_FairValueByAssetClassAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse010true3us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse011false4us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel1truefalsefalse993247000993247USD$falsefalsefalse2truefalsefalse11241300001124130USD$falsefalsefalse3truefalsefalse10238860001023886USD$falsefalsefalse4truefalsefalse11512850001151285USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents an asset measured at fair value using significant unobservable inputs (Level 3) which is required for reconciliation purposes of beginning and ending balances.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=7578670&loc=d3e19207-110258
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 157
-Paragraph 32
-Subparagraph c
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
false212true4us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForwardus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse013false5us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1us-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-46302000-46302USD$falsefalsefalse2truefalsefalse-14627000-14627USD$falsefalsefalse3truefalsefalse-56102000-56102USD$falsefalsefalse4truefalsefalse-22304000-22304USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of gain (loss) recognized in earnings, arising from assets measured at fair value on a recurring basis using unobservable inputs (level 3).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(1)
-URI http://asc.fasb.org/extlink&oid=7578670&loc=d3e19207-110258
false214false5us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInOtherComprehensiveIncomeLossus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse9020300090203USD$falsefalsefalse2truefalsefalse2337600023376USD$falsefalsefalse3truefalsefalse116584000116584USD$falsefalsefalse4truefalsefalse4879400048794USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of gain (loss) recognized in other comprehensive income, arising from assets measured at fair value on a recurring basis using unobservable inputs (level 3).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(1a)
-URI http://asc.fasb.org/extlink&oid=7578670&loc=d3e19207-110258
false215false4us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSalesus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-978608000-978608USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse-978608000-978608USD$falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetarySales that have taken place during the period in relation to assets measured at fair value and categorized within Level 3 of the fair value hierarchy.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(2)
-URI http://asc.fasb.org/extlink&oid=7578670&loc=d3e19207-110258
false216false4us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchasesSalesIssuancesSettlementsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-53268000-53268USD$falsefalsefalse2truefalsefalse-52360000-52360USD$falsefalsefalse3truefalsefalse-100488000-100488USD$falsefalsefalse4truefalsefalse-97256000-97256USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of purchases, sales, issues, and settlements (net) which have taken place in relation to assets measured at fair value on a recurring basis using unobservable inputs (level 3).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 157
-Paragraph 32
-Subparagraph c(2)
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
false217false4us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel1truefalsefalse52720005272USD$falsefalsefalse2truefalsefalse10805190001080519USD$falsefalsefalse3truefalsefalse52720005272USD$falsefalsefalse4truefalsefalse10805190001080519USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents an asset measured at fair value using significant unobservable inputs (Level 3) which is required for reconciliation purposes of beginning and ending balances.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=7578670&loc=d3e19207-110258
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 157
-Paragraph 32
-Subparagraph c
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
false218false4mtb_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisOtherAssetAndOtherLiabilityStillHeldGainLossInEarningsmtb_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse-14627000-14627USD$falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse-22304000-22304USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value measurement with unobservable inputs reconciliation recurring basis other asset and other liability still held gain loss in earnings.No definition available.false219false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse9falseUSDtruefalse$eol_PE16919---1310-Q0007_STD_91_20130630_0_569824x576010http://www.sec.gov/CIK0000036270duration2013-04-01T00:00:002013-06-30T00:00:00falsefalseCollateralized Debt Obligations [Member]us-gaap_FairValueByAssetClassAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CollateralizedDebtObligationsMemberus-gaap_FairValueByAssetClassAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse020true3us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse021false4us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel1truefalsefalse6171800061718USD$falsefalsefalse2truefalsefalse5818400058184USD$falsefalsefalse3truefalsefalse6186900061869USD$falsefalsefalse4truefalsefalse5250000052500USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents an asset measured at fair value using significant unobservable inputs (Level 3) which is required for reconciliation purposes of beginning and ending balances.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=7578670&loc=d3e19207-110258
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 157
-Paragraph 32
-Subparagraph c
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
false222true4us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForwardus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse023false5us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInOtherComprehensiveIncomeLossus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-1277000-1277USD$falsefalsefalse2truefalsefalse-2712000-2712USD$falsefalsefalse3truefalsefalse-537000-537USD$falsefalsefalse4truefalsefalse37110003711USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of gain (loss) recognized in other comprehensive income, arising from assets measured at fair value on a recurring basis using unobservable inputs (level 3).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(1a)
-URI http://asc.fasb.org/extlink&oid=7578670&loc=d3e19207-110258
false224false4us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchasesSalesIssuancesSettlementsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-525000-525USD$falsefalsefalse2truefalsefalse-374000-374USD$falsefalsefalse3truefalsefalse-1416000-1416USD$falsefalsefalse4truefalsefalse-1113000-1113USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of purchases, sales, issues, and settlements (net) which have taken place in relation to assets measured at fair value on a recurring basis using unobservable inputs (level 3).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 157
-Paragraph 32
-Subparagraph c(2)
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
false225false4us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel1truefalsefalse5991600059916USD$falsetruefalse2truefalsefalse5509800055098USD$falsetruefalse3truefalsefalse5991600059916USD$falsetruefalse4truefalsefalse5509800055098USD$falsetruefalsexbrli:monetaryItemTypemonetaryThis element represents an asset measured at fair value using significant unobservable inputs (Level 3) which is required for reconciliation purposes of beginning and ending balances.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=7578670&loc=d3e19207-110258
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 157
-Paragraph 32
-Subparagraph c
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
false2falseFair Value Measurements - Changes in Level 3 Assets and Liabilities Measured at Estimated Fair Value on Recurring Basis (Detail) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.mtb.com/taxonomy/role/DisclosureFairValueMeasurementsChangesInLevel3AssetsAndLiabilitiesMeasuredAtEstimatedFairValueOnRecurringBasis425