XML 79 R68.htm IDEA: XBRL DOCUMENT
v3.25.2

Derivative financial instruments - Additional Information (Detail) - USD ($) $ in Millions | 3 Months Ended | 6 Months Ended |  |
--- | --- | --- | --- | ---
Jun. 30, 2025 | Jun. 30, 2024 | Jun. 30, 2025 | Jun. 30, 2024 | Dec. 31, 2024 | Dec. 31, 2023
Derivative [Line Items] |  |  |  |  |  |
Notional Amount | $ 32,750 |  | $ 32,750 |  | $ 36,184 |
Aggregate fair value of derivative financial instruments in asset position | 72 |  | 72 |  | 157 |
Collateral relating to net asset positions | 76 |  | 76 |  | 157 |
Cash Flow Hedges |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |
Equity, attributable to parent, before tax | 85 | $ (330) | 85 | $ (330) | (135) | $ (203)
Clearinghouse Credit Facilities |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |
Amount of initial margin posted | 247 |  | 247 |  | 257 |
Interest Income |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |
Change in cash flow hedges derivative instruments, fair value net | (33) | (99) | (86) | (186) |  |
Interest Rate Contracts | Not Designated as Hedging Instrument |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |
Notional Amount | 42,700 |  | 42,700 |  | 40,500 |
Foreign exchange and other option and futures contracts | Not Designated as Hedging Instrument |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |
Notional Amount | 1,700 |  | 1,700 |  | $ 1,600 |
Interest rate swap agreements |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |
Cash flow hedge reclassification before tax | (44) | $ (113) | (106) | $ (213) |  |
Interest rate swap agreements | Maturity Period 2025 |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |
Equity, attributable to parent, before tax | (1) |  | (1) |  |  |
Interest rate swap agreements | Maturity Period 2026 |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |
Equity, attributable to parent, before tax | (5) |  | (5) |  |  |
Interest rate swap agreements | Maturity Period 2027 |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |
Equity, attributable to parent, before tax | 60 |  | 60 |  |  |
Interest rate swap agreements | Maturity Period 2028 |  |  |  |  |  |
Derivative [Line Items] |  |  |  |  |  |
Equity, attributable to parent, before tax | $ 31 |  | $ 31 |  |  |

X
- Definition Change in Cash Flow Hedges Derivative Instruments At Fair Value Net + References No definition available. + Details
Name: | mtb_ChangeInCashFlowHedgesDerivativeInstrumentsAtFairValueNet
Namespace Prefix: | mtb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Equity, Attributable to Parent, Before Tax + References No definition available. + Details
Name: | mtb_EquityAttributableToParentBeforeTax
Namespace Prefix: | mtb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The 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. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 185 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480401/815-10-55-185 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4H -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4H + Details
Name: | us-gaap_CollateralAlreadyPostedAggregateFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of securities received as collateral against derivative assets. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7A -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-7A Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483444/210-20-55-12 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (d)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483466/210-20-50-3 + Details
Name: | us-gaap_DerivativeAssetFairValueOfCollateral
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair value, after offset of derivative liability, of financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, before offset against an obligation to return collateral under a master netting arrangement. Includes assets elected not to be offset. Excludes assets not subject to a master netting arrangement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7A -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-7A Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-8 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483466/210-20-50-3 + Details
Name: | us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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/2009/role/commonPracticeRef -Topic 815 -SubTopic 20 -Name Accounting Standards Codification -Section 25 -Paragraph 6A -Publisher FASB -URI https://asc.fasb.org/1943274/2147480682/815-20-25-6A Reference 2: 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/2003/role/exampleRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 181 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480401/815-10-55-181 Reference 2: 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 3: 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, before tax, of reclassification of gain (loss) from accumulated other comprehensive income (AOCI) for derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 182 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480401/815-10-55-182 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482790/220-10-45-11 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 15 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482790/220-10-45-15 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_InterestIncomeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_NondesignatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=mtb_ForeignExchangeAndOtherOptionAndFuturesContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=mtb_MaturityPeriodOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=mtb_MaturityPeriodTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=mtb_MaturityPeriodThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=mtb_MaturityPeriodFourMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |