<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019e45f3-1554-72af-93cb-fdb80e55e8b3,g:1cc62b5c-a599-492d-9768-b09b78c0de9a-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:mtb="http://www.mtb.com/20260630" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2024-01-31" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.mtb.com/20260630">
  <xs:import namespace="http://fasb.org/srt/2026" schemaLocation="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd"/>
  <xs:import namespace="http://fasb.org/us-gaap/2026" schemaLocation="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/dtr/type/2024-01-31" schemaLocation="https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"/>
  <xs:import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/dei/2026" schemaLocation="https://xbrl.sec.gov/dei/2026/dei-2026.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/ecd/2026" schemaLocation="https://xbrl.sec.gov/ecd/2026/ecd-2026.xsd"/>
  <xs:annotation>
    <xs:appinfo>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="mtb-20260630_pre.xml" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="mtb-20260630_def.xml" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="mtb-20260630_lab.xml" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="mtb-20260630_cal.xml" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef" xlink:type="simple"/>
      <link:roleType id="DocumentandEntityInformation" roleURI="http://www.mtb.com/role/DocumentandEntityInformation">
        <link:definition>0000001 - Document - Document and Entity Information</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ConsolidatedBalanceSheetUnaudited" roleURI="http://www.mtb.com/role/ConsolidatedBalanceSheetUnaudited">
        <link:definition>9952151 - Statement - Consolidated Balance Sheet (Unaudited)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ConsolidatedBalanceSheetUnauditedParenthetical" roleURI="http://www.mtb.com/role/ConsolidatedBalanceSheetUnauditedParenthetical">
        <link:definition>9952152 - Statement - Consolidated Balance Sheet (Unaudited) (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ConsolidatedStatementofIncomeUnaudited" roleURI="http://www.mtb.com/role/ConsolidatedStatementofIncomeUnaudited">
        <link:definition>9952153 - Statement - Consolidated Statement of Income (Unaudited)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ConsolidatedStatementofComprehensiveIncomeUnaudited" roleURI="http://www.mtb.com/role/ConsolidatedStatementofComprehensiveIncomeUnaudited">
        <link:definition>9952154 - Statement - Consolidated Statement of Comprehensive Income (Unaudited)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ConsolidatedStatementofCashFlowsUnaudited" roleURI="http://www.mtb.com/role/ConsolidatedStatementofCashFlowsUnaudited">
        <link:definition>9952155 - Statement - Consolidated Statement of Cash Flows (Unaudited)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ConsolidatedStatementofChangesinShareholdersEquity" roleURI="http://www.mtb.com/role/ConsolidatedStatementofChangesinShareholdersEquity">
        <link:definition>9952156 - Statement - Consolidated Statement of Changes in Shareholders' Equity</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ConsolidatedStatementofChangesinShareholdersEquityUnauditedParenthetical" roleURI="http://www.mtb.com/role/ConsolidatedStatementofChangesinShareholdersEquityUnauditedParenthetical">
        <link:definition>9952157 - Statement - Consolidated Statement of Changes in Shareholders' Equity (Unaudited) (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Significantaccountingpolicies" roleURI="http://www.mtb.com/role/Significantaccountingpolicies">
        <link:definition>9952158 - Disclosure - Significant accounting policies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Divestiture" roleURI="http://www.mtb.com/role/Divestiture">
        <link:definition>9952159 - Disclosure - Divestiture</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Investmentsecurities" roleURI="http://www.mtb.com/role/Investmentsecurities">
        <link:definition>9952160 - Disclosure - Investment securities</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Loansandallowanceforloanlosses" roleURI="http://www.mtb.com/role/Loansandallowanceforloanlosses">
        <link:definition>9952161 - Disclosure - Loans and allowance for loan losses</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Borrowings" roleURI="http://www.mtb.com/role/Borrowings">
        <link:definition>9952162 - Disclosure - Borrowings</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Shareholdersequity" roleURI="http://www.mtb.com/role/Shareholdersequity">
        <link:definition>9952163 - Disclosure - Shareholders' equity</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Revenuefromcontractswithcustomers" roleURI="http://www.mtb.com/role/Revenuefromcontractswithcustomers">
        <link:definition>9952164 - Disclosure - Revenue from contracts with customers</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Pensionplansandotherpostretirementbenefits" roleURI="http://www.mtb.com/role/Pensionplansandotherpostretirementbenefits">
        <link:definition>9952165 - Disclosure - Pension plans and other postretirement benefits</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Earningspercommonshare" roleURI="http://www.mtb.com/role/Earningspercommonshare">
        <link:definition>9952166 - Disclosure - Earnings per common share</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Comprehensiveincome" roleURI="http://www.mtb.com/role/Comprehensiveincome">
        <link:definition>9952167 - Disclosure - Comprehensive income</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Derivativefinancialinstruments" roleURI="http://www.mtb.com/role/Derivativefinancialinstruments">
        <link:definition>9952168 - Disclosure - Derivative financial instruments</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Variableinterestentitiesandassetsecuritizations" roleURI="http://www.mtb.com/role/Variableinterestentitiesandassetsecuritizations">
        <link:definition>9952169 - Disclosure - Variable interest entities and asset securitizations</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Fairvaluemeasurements" roleURI="http://www.mtb.com/role/Fairvaluemeasurements">
        <link:definition>9952170 - Disclosure - Fair value measurements</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Commitmentsandcontingencies" roleURI="http://www.mtb.com/role/Commitmentsandcontingencies">
        <link:definition>9952171 - Disclosure - Commitments and contingencies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Segmentinformation" roleURI="http://www.mtb.com/role/Segmentinformation">
        <link:definition>9952172 - Disclosure - Segment information</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RelationshipwithBLGandBayviewFinancial" roleURI="http://www.mtb.com/role/RelationshipwithBLGandBayviewFinancial">
        <link:definition>9952173 - Disclosure - Relationship with BLG and Bayview Financial</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SignificantaccountingpoliciesPolicies" roleURI="http://www.mtb.com/role/SignificantaccountingpoliciesPolicies">
        <link:definition>9955511 - Disclosure - Significant accounting policies (Policies)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SignificantaccountingpoliciesTables" roleURI="http://www.mtb.com/role/SignificantaccountingpoliciesTables">
        <link:definition>9955512 - Disclosure - Significant accounting policies (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentsecuritiesTables" roleURI="http://www.mtb.com/role/InvestmentsecuritiesTables">
        <link:definition>9955513 - Disclosure - Investment securities (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LoansandallowanceforloanlossesTables" roleURI="http://www.mtb.com/role/LoansandallowanceforloanlossesTables">
        <link:definition>9955514 - Disclosure - Loans and allowance for loan losses (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BorrowingsTables" roleURI="http://www.mtb.com/role/BorrowingsTables">
        <link:definition>9955515 - Disclosure - Borrowings (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ShareholdersequityTables" roleURI="http://www.mtb.com/role/ShareholdersequityTables">
        <link:definition>9955516 - Disclosure - Shareholders' equity (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenuefromcontractswithcustomersTables" roleURI="http://www.mtb.com/role/RevenuefromcontractswithcustomersTables">
        <link:definition>9955517 - Disclosure - Revenue from contracts with customers (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="PensionplansandotherpostretirementbenefitsTables" roleURI="http://www.mtb.com/role/PensionplansandotherpostretirementbenefitsTables">
        <link:definition>9955518 - Disclosure - Pension plans and other postretirement benefits (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EarningspercommonshareTables" roleURI="http://www.mtb.com/role/EarningspercommonshareTables">
        <link:definition>9955519 - Disclosure - Earnings per common share (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ComprehensiveincomeTables" roleURI="http://www.mtb.com/role/ComprehensiveincomeTables">
        <link:definition>9955520 - Disclosure - Comprehensive income (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DerivativefinancialinstrumentsTables" roleURI="http://www.mtb.com/role/DerivativefinancialinstrumentsTables">
        <link:definition>9955521 - Disclosure - Derivative financial instruments (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="VariableinterestentitiesandassetsecuritizationsTables" roleURI="http://www.mtb.com/role/VariableinterestentitiesandassetsecuritizationsTables">
        <link:definition>9955522 - Disclosure - Variable interest entities and asset securitizations (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairvaluemeasurementsTables" roleURI="http://www.mtb.com/role/FairvaluemeasurementsTables">
        <link:definition>9955523 - Disclosure - Fair value measurements (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsandcontingenciesTables" roleURI="http://www.mtb.com/role/CommitmentsandcontingenciesTables">
        <link:definition>9955524 - Disclosure - Commitments and contingencies (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentinformationTables" roleURI="http://www.mtb.com/role/SegmentinformationTables">
        <link:definition>9955525 - Disclosure - Segment information (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SignificantaccountingpoliciesAdditionalInformationDetails" roleURI="http://www.mtb.com/role/SignificantaccountingpoliciesAdditionalInformationDetails">
        <link:definition>9955526 - Disclosure - Significant accounting policies - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SignificantaccountingpoliciesScheduleofPriorPeriodAdjustmentsDetails" roleURI="http://www.mtb.com/role/SignificantaccountingpoliciesScheduleofPriorPeriodAdjustmentsDetails">
        <link:definition>9955527 - Disclosure - Significant accounting policies - Schedule of Prior Period Adjustments (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DivestitureAdditionalInformationDetails" roleURI="http://www.mtb.com/role/DivestitureAdditionalInformationDetails">
        <link:definition>9955528 - Disclosure - Divestiture - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentsecuritiesAmortizedCostandEstimatedFairValueofInvestmentSecuritiesDetail" roleURI="http://www.mtb.com/role/InvestmentsecuritiesAmortizedCostandEstimatedFairValueofInvestmentSecuritiesDetail">
        <link:definition>9955529 - Disclosure - Investment securities - Amortized Cost and Estimated Fair Value of Investment Securities (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentsecuritiesAdditionalInformationDetail" roleURI="http://www.mtb.com/role/InvestmentsecuritiesAdditionalInformationDetail">
        <link:definition>9955530 - Disclosure - Investment securities - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentsecuritiesInvestmentSecuritiesinContinuousUnrealizedLossPositionDetail" roleURI="http://www.mtb.com/role/InvestmentsecuritiesInvestmentSecuritiesinContinuousUnrealizedLossPositionDetail">
        <link:definition>9955531 - Disclosure - Investment securities - Investment Securities in Continuous Unrealized Loss Position (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentsecuritiesAmortizedCostandEstimatedFairValueofDebtSecuritiesbyContractualMaturityDetail" roleURI="http://www.mtb.com/role/InvestmentsecuritiesAmortizedCostandEstimatedFairValueofDebtSecuritiesbyContractualMaturityDetail">
        <link:definition>9955532 - Disclosure - Investment securities - Amortized Cost and Estimated Fair Value of Debt Securities by Contractual Maturity (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentsecuritiesInvestmentSecuritiesRealizedGainsandLossesDetail" roleURI="http://www.mtb.com/role/InvestmentsecuritiesInvestmentSecuritiesRealizedGainsandLossesDetail">
        <link:definition>9955533 - Disclosure - Investment securities - Investment Securities Realized Gains and Losses (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LoansandallowanceforloanlossesSummaryofCurrentPastDueandNonaccrualLoansDetail" roleURI="http://www.mtb.com/role/LoansandallowanceforloanlossesSummaryofCurrentPastDueandNonaccrualLoansDetail">
        <link:definition>9955534 - Disclosure - Loans and allowance for loan losses - Summary of Current, Past Due and Nonaccrual Loans (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LoansandallowanceforloanlossesSummaryofPledgedLoansDetail" roleURI="http://www.mtb.com/role/LoansandallowanceforloanlossesSummaryofPledgedLoansDetail">
        <link:definition>9955535 - Disclosure - Loans and allowance for loan losses - Summary of Pledged Loans (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LoansandallowanceforloanlossesAdditionalInformationDetail" roleURI="http://www.mtb.com/role/LoansandallowanceforloanlossesAdditionalInformationDetail">
        <link:definition>9955536 - Disclosure - Loans and allowance for loan losses - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LoansandallowanceforloanlossesSummaryofLoangradesappliedvariousclassesofCommercialandRealEstateLoansDetail" roleURI="http://www.mtb.com/role/LoansandallowanceforloanlossesSummaryofLoangradesappliedvariousclassesofCommercialandRealEstateLoansDetail">
        <link:definition>9955537 - Disclosure - Loans and allowance for loan losses - Summary of Loan grades applied various classes of Commercial and Real Estate Loans (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LoansandallowanceforloanlossesSummaryofloansinAccrualandNonaccrualStatusDetail" roleURI="http://www.mtb.com/role/LoansandallowanceforloanlossesSummaryofloansinAccrualandNonaccrualStatusDetail">
        <link:definition>9955538 - Disclosure - Loans and allowance for loan losses - Summary of loans in Accrual and Nonaccrual Status (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LoansandallowanceforloanlossesChangesinAllowanceforCreditLossesDetail" roleURI="http://www.mtb.com/role/LoansandallowanceforloanlossesChangesinAllowanceforCreditLossesDetail">
        <link:definition>9955539 - Disclosure - Loans and allowance for loan losses - Changes in Allowance for Credit Losses (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LoansandallowanceforloanlossesLoanandLeasesConsideredNonaccrualandInterestIncomeRecognizedonLoansDetail" roleURI="http://www.mtb.com/role/LoansandallowanceforloanlossesLoanandLeasesConsideredNonaccrualandInterestIncomeRecognizedonLoansDetail">
        <link:definition>9955540 - Disclosure - Loans and allowance for loan losses - Loan and Leases Considered Nonaccrual and Interest Income Recognized on Loans (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LoansandallowanceforloanlossesLoanModificationActivitiestoBorrowersExperiencingFinancialDifficultyonFinancingReceivablesDetail" roleURI="http://www.mtb.com/role/LoansandallowanceforloanlossesLoanModificationActivitiestoBorrowersExperiencingFinancialDifficultyonFinancingReceivablesDetail">
        <link:definition>9955541 - Disclosure - Loans and allowance for loan losses - Loan Modification Activities to Borrowers Experiencing Financial Difficulty on Financing Receivables (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LoansandallowanceforloanlossesEffectofLoanModificationonWeightedaverageRemainingLifeDetail" roleURI="http://www.mtb.com/role/LoansandallowanceforloanlossesEffectofLoanModificationonWeightedaverageRemainingLifeDetail">
        <link:definition>9955542 - Disclosure - Loans and allowance for loan losses - Effect of Loan Modification on Weighted-average Remaining Life (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LoansandallowanceforloanlossesSummaryofPaymentStatusofLoansModifiedDetail" roleURI="http://www.mtb.com/role/LoansandallowanceforloanlossesSummaryofPaymentStatusofLoansModifiedDetail">
        <link:definition>9955543 - Disclosure - Loans and allowance for loan losses - Summary of Payment Status of Loans Modified (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BorrowingsScheduleofBorrowingsDetails" roleURI="http://www.mtb.com/role/BorrowingsScheduleofBorrowingsDetails">
        <link:definition>9955544 - Disclosure - Borrowings - Schedule of Borrowings (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BorrowingsAdditionalInformationDetail" roleURI="http://www.mtb.com/role/BorrowingsAdditionalInformationDetail">
        <link:definition>9955545 - Disclosure - Borrowings - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ShareholdersequityAdditionalInformationDetail" roleURI="http://www.mtb.com/role/ShareholdersequityAdditionalInformationDetail">
        <link:definition>9955546 - Disclosure - Shareholders' equity - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ShareholdersequityIssuedandOutstandingPreferredStockDetail" roleURI="http://www.mtb.com/role/ShareholdersequityIssuedandOutstandingPreferredStockDetail">
        <link:definition>9955547 - Disclosure - Shareholders' equity - Issued and Outstanding Preferred Stock (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenuefromcontractswithcustomersAdditionalInformationDetails" roleURI="http://www.mtb.com/role/RevenuefromcontractswithcustomersAdditionalInformationDetails">
        <link:definition>9955548 - Disclosure - Revenue from contracts with customers - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenuefromcontractswithcustomersAdditionalInformationDetails_1" roleURI="http://www.mtb.com/role/RevenuefromcontractswithcustomersAdditionalInformationDetails_1">
        <link:definition>9955548 - Disclosure - Revenue from contracts with customers - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenuefromcontractswithcustomersSummaryofSourcesofNoninterestIncomethatareSubjecttoRevenueRecognitionAccountingGuidanceDetails" roleURI="http://www.mtb.com/role/RevenuefromcontractswithcustomersSummaryofSourcesofNoninterestIncomethatareSubjecttoRevenueRecognitionAccountingGuidanceDetails">
        <link:definition>9955549 - Disclosure - Revenue from contracts with customers - Summary of Sources of Noninterest Income that are Subject to Revenue Recognition Accounting Guidance (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="PensionplansandotherpostretirementbenefitsNetPeriodicDefinedBenefitCostforDefinedBenefitPlansDetail" roleURI="http://www.mtb.com/role/PensionplansandotherpostretirementbenefitsNetPeriodicDefinedBenefitCostforDefinedBenefitPlansDetail">
        <link:definition>9955550 - Disclosure - Pension plans and other postretirement benefits - Net Periodic Defined Benefit Cost for Defined Benefit Plans (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="PensionplansandotherpostretirementbenefitsAdditionalInformationDetails" roleURI="http://www.mtb.com/role/PensionplansandotherpostretirementbenefitsAdditionalInformationDetails">
        <link:definition>9955551 - Disclosure - Pension plans and other postretirement benefits - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EarningspercommonshareComputationsofBasicEarningsPerCommonShareDetail" roleURI="http://www.mtb.com/role/EarningspercommonshareComputationsofBasicEarningsPerCommonShareDetail">
        <link:definition>9955552 - Disclosure - Earnings per common share - Computations of Basic Earnings Per Common Share (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EarningspercommonshareComputationsofDilutedEarningsPerCommonShareDetail" roleURI="http://www.mtb.com/role/EarningspercommonshareComputationsofDilutedEarningsPerCommonShareDetail">
        <link:definition>9955553 - Disclosure - Earnings per common share - Computations of Diluted Earnings Per Common Share (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EarningspercommonshareAdditionalInformationDetail" roleURI="http://www.mtb.com/role/EarningspercommonshareAdditionalInformationDetail">
        <link:definition>9955554 - Disclosure - Earnings per common share - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ComprehensiveincomeComponentsofOtherComprehensiveIncomeLossandAmountsReclassifiedfromAccumulatedOtherComprehensiveIncomeLosstoNetIncomeDetail" roleURI="http://www.mtb.com/role/ComprehensiveincomeComponentsofOtherComprehensiveIncomeLossandAmountsReclassifiedfromAccumulatedOtherComprehensiveIncomeLosstoNetIncomeDetail">
        <link:definition>9955555 - Disclosure - Comprehensive income - Components of Other Comprehensive Income (Loss) and Amounts Reclassified from Accumulated Other Comprehensive Income (Loss) to Net Income (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ComprehensiveincomeAccumulatedOtherComprehensiveIncomeLossNetDetail" roleURI="http://www.mtb.com/role/ComprehensiveincomeAccumulatedOtherComprehensiveIncomeLossNetDetail">
        <link:definition>9955556 - Disclosure - Comprehensive income - Accumulated Other Comprehensive Income (Loss), Net (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DerivativefinancialinstrumentsInformationaboutInterestRateSwapAgreementsDetail" roleURI="http://www.mtb.com/role/DerivativefinancialinstrumentsInformationaboutInterestRateSwapAgreementsDetail">
        <link:definition>9955557 - Disclosure - Derivative financial instruments - Information about Interest Rate Swap Agreements (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DerivativefinancialinstrumentsAdditionalInformationDetail" roleURI="http://www.mtb.com/role/DerivativefinancialinstrumentsAdditionalInformationDetail">
        <link:definition>9955558 - Disclosure - Derivative financial instruments - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DerivativefinancialinstrumentsAdditionalInformationDetail_1" roleURI="http://www.mtb.com/role/DerivativefinancialinstrumentsAdditionalInformationDetail_1">
        <link:definition>9955558 - Disclosure - Derivative financial instruments - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DerivativefinancialinstrumentsInformationaboutFairValuesofDerivativeInstrumentsinConsolidatedBalanceSheetDetail" roleURI="http://www.mtb.com/role/DerivativefinancialinstrumentsInformationaboutFairValuesofDerivativeInstrumentsinConsolidatedBalanceSheetDetail">
        <link:definition>9955559 - Disclosure - Derivative financial instruments - Information about Fair Values of Derivative Instruments in Consolidated Balance Sheet (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DerivativefinancialinstrumentsInformationaboutFairValuesofDerivativeInstrumentsinConsolidatedStatementofIncomeDetail" roleURI="http://www.mtb.com/role/DerivativefinancialinstrumentsInformationaboutFairValuesofDerivativeInstrumentsinConsolidatedStatementofIncomeDetail">
        <link:definition>9955560 - Disclosure - Derivative financial instruments - Information about Fair Values of Derivative Instruments in Consolidated Statement of Income (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DerivativefinancialinstrumentsInformationaboutHedgedItemsIncludedinConsolidatedBalanceSheetDetail" roleURI="http://www.mtb.com/role/DerivativefinancialinstrumentsInformationaboutHedgedItemsIncludedinConsolidatedBalanceSheetDetail">
        <link:definition>9955561 - Disclosure - Derivative financial instruments - Information about Hedged Items Included in Consolidated Balance Sheet (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DerivativeFinancialInstrumentsScheduleofFairValuewithNettingDetails" roleURI="http://www.mtb.com/role/DerivativeFinancialInstrumentsScheduleofFairValuewithNettingDetails">
        <link:definition>9955562 - Disclosure - Derivative Financial Instruments - Schedule of Fair Value with Netting (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="VariableinterestentitiesandassetsecuritizationsAssetbackedNotesIssuedtoInvestorsDetails" roleURI="http://www.mtb.com/role/VariableinterestentitiesandassetsecuritizationsAssetbackedNotesIssuedtoInvestorsDetails">
        <link:definition>9955563 - Disclosure - Variable interest entities and asset securitizations - Asset-backed Notes Issued to Investors (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="VariableinterestentitiesandassetsecuritizationsAdditionalInformationDetail" roleURI="http://www.mtb.com/role/VariableinterestentitiesandassetsecuritizationsAdditionalInformationDetail">
        <link:definition>9955564 - Disclosure - Variable interest entities and asset securitizations - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="VariableinterestentitiesandassetsecuritizationsSummaryofCarryingAmountDetails" roleURI="http://www.mtb.com/role/VariableinterestentitiesandassetsecuritizationsSummaryofCarryingAmountDetails">
        <link:definition>9955565 - Disclosure - Variable interest entities and asset securitizations - Summary of Carrying Amount (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairvaluemeasurementsAssetsandLiabilitiesMeasuredatEstimatedFairValueonRecurringBasisDetail" roleURI="http://www.mtb.com/role/FairvaluemeasurementsAssetsandLiabilitiesMeasuredatEstimatedFairValueonRecurringBasisDetail">
        <link:definition>9955566 - Disclosure - Fair value measurements - Assets and Liabilities Measured at Estimated Fair Value on Recurring Basis (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairvaluemeasurementsAdditionalInformationDetail" roleURI="http://www.mtb.com/role/FairvaluemeasurementsAdditionalInformationDetail">
        <link:definition>9955567 - Disclosure - Fair value measurements - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairvaluemeasurementsMortgageServicingRightsatFairValueDetail" roleURI="http://www.mtb.com/role/FairvaluemeasurementsMortgageServicingRightsatFairValueDetail">
        <link:definition>9955568 - Disclosure - Fair value measurements - Mortgage Servicing Rights at Fair Value (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairvaluemeasurementsMortgageServicingRightsFairValueMeasurementInputsDetail" roleURI="http://www.mtb.com/role/FairvaluemeasurementsMortgageServicingRightsFairValueMeasurementInputsDetail">
        <link:definition>9955569 - Disclosure - Fair value measurements - Mortgage Servicing Rights Fair Value Measurement Inputs (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurementsAssetsandLiabilitiesMeasuredatEstimatedFairValueonNonrecurringBasisDetail" roleURI="http://www.mtb.com/role/FairValueMeasurementsAssetsandLiabilitiesMeasuredatEstimatedFairValueonNonrecurringBasisDetail">
        <link:definition>9955570 - Disclosure - Fair Value Measurements - Assets and Liabilities Measured at Estimated Fair Value on Nonrecurring Basis (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairvaluemeasurementsCarryingAmountsandEstimatedFairValueforFinancialInstrumentAssetsLiabilitiesDetail" roleURI="http://www.mtb.com/role/FairvaluemeasurementsCarryingAmountsandEstimatedFairValueforFinancialInstrumentAssetsLiabilitiesDetail">
        <link:definition>9955571 - Disclosure - Fair value measurements - Carrying Amounts and Estimated Fair Value for Financial Instrument Assets (Liabilities) (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsandcontingenciesCommitmentsandContingentLiabilitiesOutstandingDetail" roleURI="http://www.mtb.com/role/CommitmentsandcontingenciesCommitmentsandContingentLiabilitiesOutstandingDetail">
        <link:definition>9955572 - Disclosure - Commitments and contingencies - Commitments and Contingent Liabilities Outstanding (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsandcontingenciesAdditionalInformationDetail" roleURI="http://www.mtb.com/role/CommitmentsandcontingenciesAdditionalInformationDetail">
        <link:definition>9955573 - Disclosure - Commitments and contingencies - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentinformationInformationaboutCompanysSegmentsDetail" roleURI="http://www.mtb.com/role/SegmentinformationInformationaboutCompanysSegmentsDetail">
        <link:definition>9955574 - Disclosure - Segment information - Information about Company's Segments (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentinformationAdditionalInformationDetails" roleURI="http://www.mtb.com/role/SegmentinformationAdditionalInformationDetails">
        <link:definition>9955575 - Disclosure - Segment information - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RelationshipwithBLGandBayviewFinancialDetail" roleURI="http://www.mtb.com/role/RelationshipwithBLGandBayviewFinancialDetail">
        <link:definition>9955576 - Disclosure - Relationship with BLG and Bayview Financial (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RelationshipwithBLGandBayviewFinancialDetail_1" roleURI="http://www.mtb.com/role/RelationshipwithBLGandBayviewFinancialDetail_1">
        <link:definition>9955576 - Disclosure - Relationship with BLG and Bayview Financial (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
    </xs:appinfo>
  </xs:annotation>
  <xs:element id="mtb_SeriesJPreferredStockMember" abstract="true" name="SeriesJPreferredStockMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_SeriesKPreferredStockMember" abstract="true" name="SeriesKPreferredStockMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_SeriesLPreferredStockMember" abstract="true" name="SeriesLPreferredStockMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_EquityAndOtherSecuritiesEstimatedFairValue" abstract="false" name="EquityAndOtherSecuritiesEstimatedFairValue" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_SavingsAndInterestCheckingDeposits" abstract="false" name="SavingsAndInterestCheckingDeposits" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_MTBankMember" abstract="true" name="MTBankMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_MAndTMember" abstract="true" name="MAndTMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_EquityAndOtherSecuritiesAtCost" abstract="false" name="EquityAndOtherSecuritiesAtCost" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_InvestmentSecurities" abstract="false" name="InvestmentSecurities" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_InterestExpensesSavingsAndInterestCheckingDeposits" abstract="false" name="InterestExpensesSavingsAndInterestCheckingDeposits" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_FinancingReceivableAndUnfundedCommitmentsExcludingAccruedInterestCreditLossExpenseReversal" abstract="false" name="FinancingReceivableAndUnfundedCommitmentsExcludingAccruedInterestCreditLossExpenseReversal" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_NoninterestIncomeMortgageBanking" abstract="false" name="NoninterestIncomeMortgageBanking" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_FeesAndCommissionsDepositorAccounts1" abstract="false" name="FeesAndCommissionsDepositorAccounts1" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_NoninterestIncomeTrustIncome" abstract="false" name="NoninterestIncomeTrustIncome" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_NetChangeInAccruedInterestReceivablePayable" abstract="false" name="NetChangeInAccruedInterestReceivablePayable" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_ProceedsFromSaleOfEquityAndOtherSecuritiesInvestments" abstract="false" name="ProceedsFromSaleOfEquityAndOtherSecuritiesInvestments" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_PaymentsToAcquireEquityAndOtherSecuritiesInvestments" abstract="false" name="PaymentsToAcquireEquityAndOtherSecuritiesInvestments" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_NetIncreaseDecreaseInLoanServicingAdvances" abstract="false" name="NetIncreaseDecreaseInLoanServicingAdvances" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_NetIncreaseDecreaseInShortTermBorrowings" abstract="false" name="NetIncreaseDecreaseInShortTermBorrowings" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_FairValueElectionResidentialMortgageLoanServicingRightAssets" abstract="false" name="FairValueElectionResidentialMortgageLoanServicingRightAssets" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_ShareBasedCompensationExpenseNet" abstract="false" name="ShareBasedCompensationExpenseNet" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_VariableInterestEntitiesAndAssetSecuritizationsTextBlock" abstract="false" name="VariableInterestEntitiesAndAssetSecuritizationsTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="mtb_RelationshipWithOtherEntitiesTextBlock" abstract="false" name="RelationshipWithOtherEntitiesTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="mtb_AmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesTableTextBlock" abstract="false" name="AmortizedCostAndEstimatedFairValueOfInvestmentSecuritiesTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="mtb_InvestmentSecuritiesInContinuousUnrealizedLossPositionTableTextBlock" abstract="false" name="InvestmentSecuritiesInContinuousUnrealizedLossPositionTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="mtb_AmortizedCostAndEstimatedFairValueOfDebtSecuritiesByContractualMaturityTableTextBlock" abstract="false" name="AmortizedCostAndEstimatedFairValueOfDebtSecuritiesByContractualMaturityTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="mtb_LoansAndLeasesReceivableNetOfDeferredIncomeByAccrualStatusTableTextBlock" abstract="false" name="LoansAndLeasesReceivableNetOfDeferredIncomeByAccrualStatusTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="mtb_SummaryOfLoanGradesAppliedVariousClassesOfCommercialAndRealEstateLoansTableTextBlock" abstract="false" name="SummaryOfLoanGradesAppliedVariousClassesOfCommercialAndRealEstateLoansTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="mtb_SummaryOfLoansInAccrualAndNonaccrualStatusTableTextBlock" abstract="false" name="SummaryOfLoansInAccrualAndNonaccrualStatusTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="mtb_LoanAndLeasesConsideredNonaccrualAndInterestIncomeRecognizedOnLoansTableTextBlock" abstract="false" name="LoanAndLeasesConsideredNonaccrualAndInterestIncomeRecognizedOnLoansTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="mtb_ModificationsToBorrowersExperiencingFinancialDifficultyOnFinancingReceivablesTableTextBlock" abstract="false" name="ModificationsToBorrowersExperiencingFinancialDifficultyOnFinancingReceivablesTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="mtb_ComponentsOfOtherComprehensiveIncomeLossTableTextBlock" abstract="false" name="ComponentsOfOtherComprehensiveIncomeLossTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="mtb_CommitmentsTableTextBlock" abstract="false" name="CommitmentsTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="mtb_ServicingAssetAtFairValuePeriodIncreaseDecreaseNetOfTax" abstract="false" name="ServicingAssetAtFairValuePeriodIncreaseDecreaseNetOfTax" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_WilmingtonTrustSPServicesInc.Member" abstract="true" name="WilmingtonTrustSPServicesInc.Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_InvestmentInDebtSecuritiesAmortizedCost" abstract="false" name="InvestmentInDebtSecuritiesAmortizedCost" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_InvestmentInDebtSecuritiesGrossUnrealizedGains" abstract="false" name="InvestmentInDebtSecuritiesGrossUnrealizedGains" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_InvestmentInDebtSecuritiesGrossUnrealizedLosses" abstract="false" name="InvestmentInDebtSecuritiesGrossUnrealizedLosses" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_InvestmentInDebtSecuritiesEstimatedFairValue" abstract="false" name="InvestmentInDebtSecuritiesEstimatedFairValue" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_ReadilyMarketableSecuritiesAtFairValueAmortizedCost" abstract="false" name="ReadilyMarketableSecuritiesAtFairValueAmortizedCost" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_ReadilyMarketableSecuritiesAtFairValueGrossUnrealizedGains" abstract="false" name="ReadilyMarketableSecuritiesAtFairValueGrossUnrealizedGains" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_ReadilyMarketableSecuritiesAtFairValueGrossUnrealizedLosses" abstract="false" name="ReadilyMarketableSecuritiesAtFairValueGrossUnrealizedLosses" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_ReadilyMarketableSecuritiesAtEstimatedFairValue" abstract="false" name="ReadilyMarketableSecuritiesAtEstimatedFairValue" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_EquitySecuritiesGrossUnrealizedGains" abstract="false" name="EquitySecuritiesGrossUnrealizedGains" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_EquitySecuritiesGrossUnrealizedLosses" abstract="false" name="EquitySecuritiesGrossUnrealizedLosses" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_DebtSecuritiesAvailableForSaleSecuritiesTransferredToHeldToMaturity" abstract="false" name="DebtSecuritiesAvailableForSaleSecuritiesTransferredToHeldToMaturity" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_DebtSecuritiesAvailableForSaleTransferToHeldToMaturityGain" abstract="false" name="DebtSecuritiesAvailableForSaleTransferToHeldToMaturityGain" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_DebtSecuritiesAvailableForSaleTransferToHeldToMaturityLoss" abstract="false" name="DebtSecuritiesAvailableForSaleTransferToHeldToMaturityLoss" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_NumberOfDebtSecuritiesWithGrossLosses" abstract="false" name="NumberOfDebtSecuritiesWithGrossLosses" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="mtb_CarryingValueOfInvestmentSecuritiesPledged" abstract="false" name="CarryingValueOfInvestmentSecuritiesPledged" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_CarryingValueOfInvestmentSecuritiesPledgedRelatedToRepurchaseTransactions" abstract="false" name="CarryingValueOfInvestmentSecuritiesPledgedRelatedToRepurchaseTransactions" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_InvestmentSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" abstract="false" name="InvestmentSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_InvestmentSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsAggregateLosses" abstract="false" name="InvestmentSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsAggregateLosses" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_InvestmentSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" abstract="false" name="InvestmentSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_InvestmentSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerAggregateLosses" abstract="false" name="InvestmentSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerAggregateLosses" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_InvestmentSecuritiesContinuousUnrealizedLossPosition" abstract="false" name="InvestmentSecuritiesContinuousUnrealizedLossPosition" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_InvestmentSecuritiesContinuousUnrealizedLossPositionAggregateLosses" abstract="false" name="InvestmentSecuritiesContinuousUnrealizedLossPositionAggregateLosses" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_HeldToMaturitySecuritiesDebtMaturitiesWithSingleMaturityDateNetCarryingAmount" abstract="false" name="HeldToMaturitySecuritiesDebtMaturitiesWithSingleMaturityDateNetCarryingAmount" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_CommercialRealEstateExcludingResidentialBuilderAndDeveloperAndOtherConstructionMember" abstract="true" name="CommercialRealEstateExcludingResidentialBuilderAndDeveloperAndOtherConstructionMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_ResidentialBuilderAndDeveloperMember" abstract="true" name="ResidentialBuilderAndDeveloperMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_OtherCommercialConstructionMember" abstract="true" name="OtherCommercialConstructionMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_ResidentialRealEstateExcludingAltAMember" abstract="true" name="ResidentialRealEstateExcludingAltAMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_HomeEquityLinesAndLoansMember" abstract="true" name="HomeEquityLinesAndLoansMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_RecreationalFinanceMember" abstract="true" name="RecreationalFinanceMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_LoansAndLeasesReceivableTable" abstract="true" name="LoansAndLeasesReceivableTable" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:hypercubeItem" type="xbrli:stringItemType"/>
  <xs:element id="mtb_LoansAndLeasesReceivableLineItems" abstract="true" name="LoansAndLeasesReceivableLineItems" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="mtb_ResidentialMortgageLoansSecuredByResidentialRealEstateInProcessOfForeclosure" abstract="false" name="ResidentialMortgageLoansSecuredByResidentialRealEstateInProcessOfForeclosure" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_PercentageOfLoansInTheProcessOfForeclosureServicedByOtherEntitiesClassifiedAsGovernmentGuaranteed" abstract="false" name="PercentageOfLoansInTheProcessOfForeclosureServicedByOtherEntitiesClassifiedAsGovernmentGuaranteed" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="mtb_CriticizedAccrualMember" abstract="true" name="CriticizedAccrualMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_CriticizedNonaccrualMember" abstract="true" name="CriticizedNonaccrualMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_FinancialAsset30To89DaysPastDueMember" abstract="true" name="FinancialAsset30To89DaysPastDueMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_NonaccrualMember" abstract="true" name="NonaccrualMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_OtherLoansMember" abstract="true" name="OtherLoansMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_RevolvingLoansConvertedToTermLoansMember" abstract="true" name="RevolvingLoansConvertedToTermLoansMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_CommercialFinancialLeasingMember" abstract="true" name="CommercialFinancialLeasingMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_ReserveForUnfundedCreditCommitmentsMember" abstract="true" name="ReserveForUnfundedCreditCommitmentsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_FinancingReceivableExcludingAccruedInterestNonaccrualWithAllowance" abstract="false" name="FinancingReceivableExcludingAccruedInterestNonaccrualWithAllowance" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_ImpairedFinancingReceivableNonaccrualInterestIncome" abstract="false" name="ImpairedFinancingReceivableNonaccrualInterestIncome" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_CombinationOfModificationTypesMember" abstract="true" name="CombinationOfModificationTypesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_FinancingReceivableModificationsOtherThanTroubledDebtRestructuringLineItems" abstract="true" name="FinancingReceivableModificationsOtherThanTroubledDebtRestructuringLineItems" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="mtb_LoansAndLeasesWeightedAverageRemainingTerm" abstract="false" name="LoansAndLeasesWeightedAverageRemainingTerm" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="mtb_DelinquencyStatusOfLoansAndLeasesReceivableModifiedPastDueThirtyToEightyNineDays" abstract="false" name="DelinquencyStatusOfLoansAndLeasesReceivableModifiedPastDueThirtyToEightyNineDays" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_DelinquencyStatusOfLoansAndLeasesReceivableModifiedPastDueNinetyDaysOrMore" abstract="false" name="DelinquencyStatusOfLoansAndLeasesReceivableModifiedPastDueNinetyDaysOrMore" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_ScheduleOfBorrowingsTable" abstract="true" name="ScheduleOfBorrowingsTable" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:hypercubeItem" type="xbrli:stringItemType"/>
  <xs:element id="mtb_ScheduleOfBorrowingsLineItems" abstract="true" name="ScheduleOfBorrowingsLineItems" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="mtb_FrbOfNewYorkMember" abstract="true" name="FrbOfNewYorkMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_SeriesIPreferredStocksMember" abstract="true" name="SeriesIPreferredStocksMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_PreferredStockDividendRateSpreadPercent" abstract="false" name="PreferredStockDividendRateSpreadPercent" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="mtb_CommercialBankingMember" abstract="true" name="CommercialBankingMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_RetailBankingMember" abstract="true" name="RetailBankingMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_InstitutionalServicesAndWealthManagementMember" abstract="true" name="InstitutionalServicesAndWealthManagementMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_BrokerageServicesIncomeMember" abstract="true" name="BrokerageServicesIncomeMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_NetIncomeLossAvailableToCommonStockholdersBasicBeforeUnvestedStockBasedCompensationAwardsAdjustment" abstract="false" name="NetIncomeLossAvailableToCommonStockholdersBasicBeforeUnvestedStockBasedCompensationAwardsAdjustment" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_IncomeAttributableToUnvestedStockBasedCompensationAwardsBasic" abstract="false" name="IncomeAttributableToUnvestedStockBasedCompensationAwardsBasic" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_CommonSharesOutstandingIncludingCommonStockIssuableAndUnvestedStockBasedCompensationAwards" abstract="false" name="CommonSharesOutstandingIncludingCommonStockIssuableAndUnvestedStockBasedCompensationAwards" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:sharesItemType"/>
  <xs:element id="mtb_UnvestedStockBasedCompensationAwards" abstract="false" name="UnvestedStockBasedCompensationAwards" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:sharesItemType"/>
  <xs:element id="mtb_NetIncomeLossAvailableToCommonStockholdersDilutedBeforeUnvestedStockBasedCompensationAwardsAdjustment" abstract="false" name="NetIncomeLossAvailableToCommonStockholdersDilutedBeforeUnvestedStockBasedCompensationAwardsAdjustment" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_IncomeAttributableToUnvestedStockBasedCompensationAwardsDiluted" abstract="false" name="IncomeAttributableToUnvestedStockBasedCompensationAwardsDiluted" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_AccumulatedOtherMember" abstract="true" name="AccumulatedOtherMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_EquityAttributableToParentBeforeTax" abstract="false" name="EquityAttributableToParentBeforeTax" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_EquityAttributableToParentTax" abstract="false" name="EquityAttributableToParentTax" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_FixedRateLongTermBorrowingsMember" abstract="true" name="FixedRateLongTermBorrowingsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_InterestPaymentsOnVariableRateCommercialRealEstateLoansMember" abstract="true" name="InterestPaymentsOnVariableRateCommercialRealEstateLoansMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_ForwardStartingInterestRateSwapAgreementsMember" abstract="true" name="ForwardStartingInterestRateSwapAgreementsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_ImpactInEstimatedFairValueGainLossesOnHedgingInstruments" abstract="false" name="ImpactInEstimatedFairValueGainLossesOnHedgingInstruments" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_ForeignExchangeAndOtherOptionAndFuturesContractsMember" abstract="true" name="ForeignExchangeAndOtherOptionAndFuturesContractsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_MaturityPeriodTwoMember" abstract="true" name="MaturityPeriodTwoMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_ClearinghouseCreditFacilitiesMember" abstract="true" name="ClearinghouseCreditFacilitiesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_ChangeInCashFlowHedgesDerivativeInstrumentsAtFairValueNet" abstract="false" name="ChangeInCashFlowHedgesDerivativeInstrumentsAtFairValueNet" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_CommitmentsToSellRealEstateLoansMember" abstract="true" name="CommitmentsToSellRealEstateLoansMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_MortgageRelatedCommitmentsToOriginateRealEstateLoansForSaleMember" abstract="true" name="MortgageRelatedCommitmentsToOriginateRealEstateLoansForSaleMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_InterestRateContractForRealEstateLoansMember" abstract="true" name="InterestRateContractForRealEstateLoansMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_IncreaseDecreaseInEstimatedFairValueOfInterestRateContractsInAssetPosition" abstract="false" name="IncreaseDecreaseInEstimatedFairValueOfInterestRateContractsInAssetPosition" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_IncreaseDecreaseInEstimatedFairValueOfInterestRateContractsInLiabilityPosition" abstract="false" name="IncreaseDecreaseInEstimatedFairValueOfInterestRateContractsInLiabilityPosition" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_TradingAccountAndOtherNonHedgingDerivativesMember" abstract="true" name="TradingAccountAndOtherNonHedgingDerivativesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_MortgageBankingRevenuesMember" abstract="true" name="MortgageBankingRevenuesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_GainLossOnHedgedItemInFairValueHedge" abstract="false" name="GainLossOnHedgedItemInFairValueHedge" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_DerivativeAssetNotSubjectToMasterNettingArrangementCollateralRightToReclaimCashOffset" abstract="false" name="DerivativeAssetNotSubjectToMasterNettingArrangementCollateralRightToReclaimCashOffset" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_DerivativeAssetNotSubjectToMasterNettingArrangementAfterOffset" abstract="false" name="DerivativeAssetNotSubjectToMasterNettingArrangementAfterOffset" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_DerivativeLiabilityNotSubjectToMasterNettingArrangementCollateralRightToReclaimCashOffset" abstract="false" name="DerivativeLiabilityNotSubjectToMasterNettingArrangementCollateralRightToReclaimCashOffset" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_DerivativeLiabilityNotSubjectToMasterNettingArrangementAfterOffset" abstract="false" name="DerivativeLiabilityNotSubjectToMasterNettingArrangementAfterOffset" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_AssetBackedNotesAugust2023Member" abstract="true" name="AssetBackedNotesAugust2023Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_AssetBackedNotesMarch2024Member" abstract="true" name="AssetBackedNotesMarch2024Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_AssetBackedNotesAugust2024Member" abstract="true" name="AssetBackedNotesAugust2024Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_AssetBackedNotesFebruary2025Member" abstract="true" name="AssetBackedNotesFebruary2025Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_AssetBackedNotesMay2025Member" abstract="true" name="AssetBackedNotesMay2025Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_AssetBackedNotesFebruary2026Member" abstract="true" name="AssetBackedNotesFebruary2026Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_AssetBackedNotesMay2026Member" abstract="true" name="AssetBackedNotesMay2026Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_EquipmentFinanceLoansAndLeasesMember" abstract="true" name="EquipmentFinanceLoansAndLeasesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_AutomobileLoansMember" abstract="true" name="AutomobileLoansMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_RecreationalFinanceLoansMember" abstract="true" name="RecreationalFinanceLoansMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_RenewableEnergyMember" abstract="true" name="RenewableEnergyMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_OtherAssetsForItsInvestmentInCommonSecuritiesRecognizedByCompanyOfVariousTrusts" abstract="false" name="OtherAssetsForItsInvestmentInCommonSecuritiesRecognizedByCompanyOfVariousTrusts" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_MaximumExposureToLossOfInvestmentsInRealEstatePartnerships" abstract="false" name="MaximumExposureToLossOfInvestmentsInRealEstatePartnerships" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_AffordableHousingProjectsMember" abstract="true" name="AffordableHousingProjectsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_OtherProjectsMember" abstract="true" name="OtherProjectsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_InvestmentsInVariableInterestEntityCarryingAmount" abstract="false" name="InvestmentsInVariableInterestEntityCarryingAmount" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_UnfundedCommitmentsIncludesCarryingAmountOfItsInvestments" abstract="false" name="UnfundedCommitmentsIncludesCarryingAmountOfItsInvestments" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_ContingentCommitmentsToProvideAdditionalCapitalContributionsToPartnerships" abstract="false" name="ContingentCommitmentsToProvideAdditionalCapitalContributionsToPartnerships" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_IncreaseDecreaseInFairValueOfNonrecurringFairValueMeasuredLoansForChargeOffsAndImpairmentReserves" abstract="false" name="IncreaseDecreaseInFairValueOfNonrecurringFairValueMeasuredLoansForChargeOffsAndImpairmentReserves" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_ServicingAssetAtFairValueChangesInFairValue" abstract="false" name="ServicingAssetAtFairValueChangesInFairValue" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_TimeDepositsFairValueDisclosure" abstract="false" name="TimeDepositsFairValueDisclosure" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_CommitmentsToExtendCreditAbstract" abstract="true" name="CommitmentsToExtendCreditAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="mtb_CommitmentsToExtendCreditForCommercialAndIndustrial" abstract="false" name="CommitmentsToExtendCreditForCommercialAndIndustrial" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_CommitmentsToExtendCreditForCommercialRealEstateLoansToBeSold" abstract="false" name="CommitmentsToExtendCreditForCommercialRealEstateLoansToBeSold" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_CommitmentsToExtendCreditForOtherCommercialRealEstate" abstract="false" name="CommitmentsToExtendCreditForOtherCommercialRealEstate" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_CommitmentsToExtendCreditForResidentialRealEstateLoansToBeSold" abstract="false" name="CommitmentsToExtendCreditForResidentialRealEstateLoansToBeSold" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_CommitmentsToExtendCreditForOtherResidentialRealEstate" abstract="false" name="CommitmentsToExtendCreditForOtherResidentialRealEstate" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_CommitmentsToExtendCreditForHomeEquityLinesOfCredit" abstract="false" name="CommitmentsToExtendCreditForHomeEquityLinesOfCredit" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_CommitmentsToExtendCreditForCreditCards" abstract="false" name="CommitmentsToExtendCreditForCreditCards" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_CommitmentsToExtendCreditForCommercialAndOther" abstract="false" name="CommitmentsToExtendCreditForCommercialAndOther" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_CommitmentsRegardingCommercialLettersOfCredit" abstract="false" name="CommitmentsRegardingCommercialLettersOfCredit" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_CommitmentsRegardingFinancialGuaranteesAndIndemnificationContracts" abstract="false" name="CommitmentsRegardingFinancialGuaranteesAndIndemnificationContracts" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_CommitmentsToSellRealEstateLoansNotionalAmount" abstract="false" name="CommitmentsToSellRealEstateLoansNotionalAmount" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_TricolorHoldingsLLCMember" abstract="true" name="TricolorHoldingsLLCMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_CommitmentsToExtendCreditToCommercialCustomers" abstract="false" name="CommitmentsToExtendCreditToCommercialCustomers" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_MaximumCreditRiskForRecourseAssociatedWithLoansSoldUnderFederalNationalMortgageAssociationDelegatedUnderwritingAndServicingProgram" abstract="false" name="MaximumCreditRiskForRecourseAssociatedWithLoansSoldUnderFederalNationalMortgageAssociationDelegatedUnderwritingAndServicingProgram" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_CommitmentsAndContingenciesFictitiousLoans" abstract="false" name="CommitmentsAndContingenciesFictitiousLoans" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_OtherDirectExpenses" abstract="false" name="OtherDirectExpenses" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_IndirectExpenseIncome" abstract="false" name="IndirectExpenseIncome" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_TaxableEquivalentAdjustment" abstract="false" name="TaxableEquivalentAdjustment" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_BayviewLendingGroupMember" abstract="true" name="BayviewLendingGroupMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_BayviewLendingGroupAndBayviewFinancialMember" abstract="true" name="BayviewLendingGroupAndBayviewFinancialMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_BayviewFinancialMember" abstract="true" name="BayviewFinancialMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mtb_MortgageLoansOfPrivatelyHeldCompany" abstract="false" name="MortgageLoansOfPrivatelyHeldCompany" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_SubServicedResidentialMortgageLoansOfPrivatelyHeldCompany" abstract="false" name="SubServicedResidentialMortgageLoansOfPrivatelyHeldCompany" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_RevenuesFromSubservicing" abstract="false" name="RevenuesFromSubservicing" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_CommitmentsToExtendCreditAmount" abstract="false" name="CommitmentsToExtendCreditAmount" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mtb_ReneF.JonesMember" abstract="true" name="ReneF.JonesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
</xs:schema>
