XML 145 R126.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Derivative Financial Instruments - Information about Interest Rate Swap Agreements (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023
Derivative [Line Items] |  |
Notional Amount | $ 36,184 | $ 26,977
Average Maturity (in years) | 2 years 2 months 12 days | 2 years 2 months 12 days
Estimated Fair Value Gain (Loss) | $ (1) | $ 10
Interest Payments On Variable Rate Commercial Real Estate Loans | Cash Flow Hedges |  |
Derivative [Line Items] |  |
Notional Amount | $ 30,819 | $ 23,977
Average Maturity (in years) | 1 year 7 months 6 days | 1 year 8 months 12 days
Weighted-Average Rate, Fixed | 3.41% | 3.45%
Weighted-Average Rate, Variable | 4.47% | 5.36%
Estimated Fair Value Gain (Loss) | $ 1 | $ 11
Fixed Rate Long-Term Borrowings | Fair Value Hedges |  |
Derivative [Line Items] |  |
Notional Amount | $ 5,350 | $ 3,000
Average Maturity (in years) | 5 years 10 months 24 days | 5 years 9 months 18 days
Weighted-Average Rate, Fixed | 3.55% | 3.45%
Weighted-Average Rate, Variable | 4.71% | 5.62%
Estimated Fair Value Gain (Loss) | $ (2) | $ (1)
Fixed Rate Available For Sale Securities | Fair Value Hedges |  |
Derivative [Line Items] |  |
Notional Amount | $ 15 |
Average Maturity (in years) | 1 month 6 days |
Weighted-Average Rate, Fixed | 4.84% |
Weighted-Average Rate, Variable | 4.36% |
Estimated Fair Value Gain (Loss) | $ 0 |

X
- Definition Average fixed interest rate related to the group of interest rate derivatives. + References No definition available. + Details
Name: | us-gaap_DerivativeAverageFixedInterestRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Average remaining period until maturity of the derivative contract, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_DerivativeAverageRemainingMaturity1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Average variable interest rate related to the group of interest rate derivatives. + References No definition available. + Details
Name: | us-gaap_DerivativeAverageVariableInterestRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480237/815-40-50-5 + Details
Name: | us-gaap_DerivativeLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Nominal or face amount used to calculate payment on derivative. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-1B Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-1A + Details
Name: | us-gaap_DerivativeNotionalAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of unrealized gain (loss) related to the fair value of interest rate derivatives designated as fair value hedging instruments, as offset by the gain (loss) on the hedged item to the extent that the fair value hedge is determined to be effective. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4A -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4A Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C + Details
Name: | us-gaap_IncreaseDecreaseInFairValueOfInterestRateFairValueHedgingInstruments1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=mtb_InterestPaymentsOnVariableRateCommercialRealEstateLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis=us-gaap_CashFlowHedgingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TradingActivityByTypeAxis=mtb_FixedRateLongTermBorrowingsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis=us-gaap_FairValueHedgingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TradingActivityByTypeAxis=mtb_FixedRateAvailableForSaleSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |