XML 92 R81.htm IDEA: XBRL DOCUMENT
v3.25.2

Segment information - Additional Information (Details) - USD ($) $ in Millions | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2025 | Jun. 30, 2024 | Jun. 30, 2025 | Jun. 30, 2024
Segment Reporting [Abstract] |  |  |  |
Taxable-equivalent adjustment | $ 9 | $ 13 | $ 21 | $ 25

X
- Definition Taxable equivalent adjustment. + References No definition available. + Details
Name: | mtb_TaxableEquivalentAdjustment
Namespace Prefix: | mtb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_SegmentReportingAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration