XML 99 R80.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Loans and leases and allowance for credit losses - Leases Additional Information (Details) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
Leases [Abstract] |  |  |
Guaranteed amount included in the estimated residual value of leased assets associated with financing leases | $ 89 | $ 96 |
Lessor, asset under operating lease | 204 | 200 |
Lease income | $ 44 | $ 56 | $ 43
Operating Lease, Lease Income, Statement of Income or Comprehensive Income [Extensible Enumeration] | Other revenues from operations | Other revenues from operations | Other revenues from operations
Direct financing lease, interest income | $ 158 | $ 136 | $ 94

X
- Definition Capital Leases Net Investment In Financing Leases Guaranteed Residual Values Of Leased Property + References No definition available. + Details
Name: | mtb_CapitalLeasesNetInvestmentInFinancingLeasesGuaranteedResidualValuesOfLeasedProperty
Namespace Prefix: | mtb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of interest income from net investment in direct financing lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 270 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6A -Publisher FASB -URI https://asc.fasb.org/1943274/2147482964/270-10-50-6A Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479773/842-30-50-5 + Details
Name: | us-gaap_DirectFinancingLeaseInterestIncome
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Definition Indicates line item in statement of income or comprehensive income that includes operating lease income. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479016/842-30-45-3 + Details
Name: | us-gaap_OperatingLeaseIncomeComprehensiveIncomeExtensibleList
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of operating lease income from lease payments and variable lease payments paid and payable to lessor. Includes, but is not limited to, variable lease payments not included in measurement of lease receivable. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479773/842-30-50-5 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 270 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6A -Publisher FASB -URI https://asc.fasb.org/1943274/2147482964/270-10-50-6A Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479016/842-30-45-3 + Details
Name: | us-gaap_OperatingLeaseLeaseIncome
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount, after accumulated depreciation, of lessor's underlying asset for which right to use has been conveyed to lessee under operating lease. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 840 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481501/840-20-50-4 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479773/842-30-50-13 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 360 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482099/360-10-50-1 + Details
Name: | us-gaap_PropertySubjectToOrAvailableForOperatingLeaseNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant