XML 52 R41.htm IDEA: XBRL DOCUMENT
v3.26.1

Significant accounting policies - Additional Information (Details) - Residential Mortgage Loans $ in Millions | Jan. 01, 2026 USD ($)
--- | ---
Servicing Assets at Fair Value [Line Items] |
Changes in fair value resulting from changes in assumptions | $ 263
Servicing asset at fair value, period increase, net of tax | $ 197

X
- Definition Servicing Asset At Fair Value, Period Increase (Decrease), Net Of Tax + References No definition available. + Details
Name: | mtb_ServicingAssetAtFairValuePeriodIncreaseDecreaseNetOfTax
Namespace Prefix: | mtb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of increase (decrease) in fair value from changes in the assumptions or model used to calculate the fair value of a contract to service financial assets under which the benefits of servicing are expected to more than adequately compensate the servicer. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 860 -SubTopic 50 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(4)(i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481229/860-50-50-3 + Details
Name: | us-gaap_AssetAtFairValueChangesInFairValueResultingFromChangesInAssumptions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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/disclosureRef -Topic 860 -SubTopic 50 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(4)(i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481229/860-50-50-3 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 860 -SubTopic 50 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481229/860-50-50-3 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 860 -SubTopic 50 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481229/860-50-50-3 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 860 -SubTopic 50 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481229/860-50-50-3 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 860 -SubTopic 50 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481229/860-50-50-4 + Details
Name: | us-gaap_ServicingAssetsAtFairValueLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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