XML 63 R52.htm IDEA: XBRL DOCUMENT
v3.25.3

Loans and allowance for loan losses - Effect of Loan Modification on Weighted-average Remaining Life (Detail) | 3 Months Ended | 9 Months Ended
--- | --- | ---
Sep. 30, 2025 | Sep. 30, 2024 | Sep. 30, 2025 | Sep. 30, 2024
Commercial and industrial |  |  |  |
Financing Receivable, Modifications [Line Items] |  |  |  |
Weighted-average remaining term | 3 months 18 days | 1 year 3 months 18 days | 8 months 12 days | 1 year
Commercial Real Estate |  |  |  |
Financing Receivable, Modifications [Line Items] |  |  |  |
Weighted-average remaining term | 8 months 12 days | 7 months 6 days | 9 months 18 days | 9 months 18 days
Residential Real Estate |  |  |  |
Financing Receivable, Modifications [Line Items] |  |  |  |
Weighted-average remaining term | 9 years 10 months 24 days | 9 years 1 month 6 days | 10 years 1 month 6 days | 9 years 10 months 24 days

X
- Definition Loans and leases weighted-average remaining term + References No definition available. + Details
Name: | mtb_LoansAndLeasesWeightedAverageRemainingTerm
Namespace Prefix: | mtb_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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/exampleRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 12A -Publisher FASB -URI https://asc.fasb.org/1943274/2147481933/310-10-55-12A Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 34 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-34 Reference 3: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 33 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-33 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 42 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-42 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 42 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-42 + Details
Name: | us-gaap_FinancingReceivableModificationsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_CommercialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_CommercialRealEstatePortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_ResidentialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |