<?xml version="1.0" encoding="utf-8"?>
<!--Generated by DFIN XBRL Instance Document - http://www.dfinsolutions.com/ - Version R3.0 - on 05-August-2026 [09:20:17] {PM}-->
<schema targetNamespace="http://www.ubsi-inc.com/20260630" elementFormDefault="qualified" xmlns:ubsi="http://www.ubsi-inc.com/20260630" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xl="http://www.xbrl.org/2003/XLink" xmlns:us-gaap="http://fasb.org/us-gaap/2026" xmlns:country="http://xbrl.sec.gov/country/2026" xmlns:currency="http://xbrl.sec.gov/currency/2026" xmlns:dei="http://xbrl.sec.gov/dei/2026" xmlns:exch="http://xbrl.sec.gov/exch/2026" xmlns:naics="http://xbrl.sec.gov/naics/2026" xmlns:sic="http://xbrl.sec.gov/sic/2026" xmlns:us-types="http://fasb.org/us-types/2026" xmlns:stpr="http://xbrl.sec.gov/stpr/2026" xmlns:deprecated="http://www.xbrl.org/2009/arcrole/fact-explanatoryFact" xmlns:srt="http://fasb.org/srt/2026" xmlns:srt-types="http://fasb.org/srt-types/2026" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2024-01-31">
  <annotation>
    <appinfo>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/CoverPage" id="CoverPage">
        <link:definition>1001 - Document - Cover Page</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/ConsolidatedBalanceSheets" id="ConsolidatedBalanceSheets">
        <link:definition>1002 - Statement - Consolidated Balance Sheets</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/ConsolidatedBalanceSheetsParenthetical" id="ConsolidatedBalanceSheetsParenthetical">
        <link:definition>1003 - Statement - Consolidated Balance Sheets (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/ConsolidatedStatementsOfIncome" id="ConsolidatedStatementsOfIncome">
        <link:definition>1004 - Statement - Consolidated Statements of Income</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/ConsolidatedStatementsOfComprehensiveIncome" id="ConsolidatedStatementsOfComprehensiveIncome">
        <link:definition>1005 - Statement - Consolidated Statements of Comprehensive Income</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/ConsolidatedStatementOfChangesInShareholdersEquity" id="ConsolidatedStatementOfChangesInShareholdersEquity">
        <link:definition>1006 - Statement - Consolidated Statement of Changes in Shareholders' Equity</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/ConsolidatedStatementOfChangesInShareholdersEquityParenthetical" id="ConsolidatedStatementOfChangesInShareholdersEquityParenthetical">
        <link:definition>1007 - Statement - Consolidated Statement of Changes in Shareholders' Equity (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/ConsolidatedStatementsOfCashFlows" id="ConsolidatedStatementsOfCashFlows">
        <link:definition>1008 - Statement - Consolidated Statements of Cash Flows</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/SummaryOfSignificantAccountingPolicies" id="SummaryOfSignificantAccountingPolicies">
        <link:definition>999001 - Disclosure - Summary of Significant Accounting Policies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/InvestmentSecurities" id="InvestmentSecurities">
        <link:definition>999002 - Disclosure - Investment Securities</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/LoansAndLeases" id="LoansAndLeases">
        <link:definition>999003 - Disclosure - Loans and Leases</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/CreditQuality" id="CreditQuality">
        <link:definition>999004 - Disclosure - Credit Quality</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/AllowanceForCreditLosses" id="AllowanceForCreditLosses">
        <link:definition>999005 - Disclosure - Allowance for Credit Losses</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/IntangibleAssets" id="IntangibleAssets">
        <link:definition>999006 - Disclosure - Intangible Assets</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/Leases" id="Leases">
        <link:definition>999007 - Disclosure - Leases</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/ShortTermBorrowings" id="ShortTermBorrowings">
        <link:definition>999008 - Disclosure - Short-Term Borrowings</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/LongTermBorrowings" id="LongTermBorrowings">
        <link:definition>999009 - Disclosure - Long-Term Borrowings</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/CommitmentsAndContingentLiabilities" id="CommitmentsAndContingentLiabilities">
        <link:definition>999010 - Disclosure - Commitments and Contingent Liabilities</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/DerivativeFinancialInstruments" id="DerivativeFinancialInstruments">
        <link:definition>999011 - Disclosure - Derivative Financial Instruments</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/FairValueMeasurements" id="FairValueMeasurements">
        <link:definition>999012 - Disclosure - Fair Value Measurements</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/StockBasedCompensation" id="StockBasedCompensation">
        <link:definition>999013 - Disclosure - Stock Based Compensation</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/EmployeeBenefitPlans" id="EmployeeBenefitPlans">
        <link:definition>999014 - Disclosure - Employee Benefit Plans</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/IncomeTaxes" id="IncomeTaxes">
        <link:definition>999015 - Disclosure - Income Taxes</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/ComprehensiveIncome" id="ComprehensiveIncome">
        <link:definition>999016 - Disclosure - Comprehensive Income</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/EarningsPerShare" id="EarningsPerShare">
        <link:definition>999017 - Disclosure - Earnings Per Share</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/VariableInterestEntities" id="VariableInterestEntities">
        <link:definition>999018 - Disclosure - Variable Interest Entities</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/SegmentInformation" id="SegmentInformation">
        <link:definition>999019 - Disclosure - Segment Information</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/SummaryOfSignificantAccountingPoliciesPolicies" id="SummaryOfSignificantAccountingPoliciesPolicies">
        <link:definition>999020 - Disclosure - Summary of Significant Accounting Policies (Policies)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/InvestmentSecuritiesTables" id="InvestmentSecuritiesTables">
        <link:definition>999021 - Disclosure - Investment Securities (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/LoansAndLeasesTables" id="LoansAndLeasesTables">
        <link:definition>999022 - Disclosure - Loans and Leases (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/CreditQualityTables" id="CreditQualityTables">
        <link:definition>999023 - Disclosure - Credit Quality (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/AllowanceForCreditLossesTables" id="AllowanceForCreditLossesTables">
        <link:definition>999024 - Disclosure - Allowance for Credit Losses (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/IntangibleAssetsTables" id="IntangibleAssetsTables">
        <link:definition>999025 - Disclosure - Intangible Assets (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/LeasesTables" id="LeasesTables">
        <link:definition>999026 - Disclosure - Leases (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/ShortTermBorrowingsTables" id="ShortTermBorrowingsTables">
        <link:definition>999027 - Disclosure - Short-Term Borrowings (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/DerivativeFinancialInstrumentsTables" id="DerivativeFinancialInstrumentsTables">
        <link:definition>999028 - Disclosure - Derivative Financial Instruments (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/FairValueMeasurementsTables" id="FairValueMeasurementsTables">
        <link:definition>999029 - Disclosure - Fair Value Measurements (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/StockBasedCompensationTables" id="StockBasedCompensationTables">
        <link:definition>999030 - Disclosure - Stock Based Compensation (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/EmployeeBenefitPlansTables" id="EmployeeBenefitPlansTables">
        <link:definition>999031 - Disclosure - Employee Benefit Plans (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/ComprehensiveIncomeTables" id="ComprehensiveIncomeTables">
        <link:definition>999032 - Disclosure - Comprehensive Income (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/EarningsPerShareTables" id="EarningsPerShareTables">
        <link:definition>999033 - Disclosure - Earnings Per Share (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/VariableInterestEntitiesTables" id="VariableInterestEntitiesTables">
        <link:definition>999034 - Disclosure - Variable Interest Entities (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/SegmentInformationTables" id="SegmentInformationTables">
        <link:definition>999035 - Disclosure - Segment Information (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/InvestmentSecuritiesSummaryOfAmortizedCostAndEstimatedFairValuesOfAvailableForSaleSecuritiesDetail" id="InvestmentSecuritiesSummaryOfAmortizedCostAndEstimatedFairValuesOfAvailableForSaleSecuritiesDetail">
        <link:definition>999036 - Disclosure - Investment Securities - Summary of Amortized Cost and Estimated Fair Values of Available for Sale Securities (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/InvestmentSecuritiesSummaryOfSecuritiesAvailableForSaleInAnUnrealizedLossPositionDetail" id="InvestmentSecuritiesSummaryOfSecuritiesAvailableForSaleInAnUnrealizedLossPositionDetail">
        <link:definition>999037 - Disclosure - Investment Securities - Summary of Securities Available for Sale in an Unrealized Loss Position (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/InvestmentSecuritiesSummaryOfGainsOrLossesOnProceedsFromMaturitiesSalesAndCallsOfAvailableForSaleSecuritiesBySpecificIdentificationMethodDetail" id="InvestmentSecuritiesSummaryOfGainsOrLossesOnProceedsFromMaturitiesSalesAndCallsOfAvailableForSaleSecuritiesBySpecificIdentificationMethodDetail">
        <link:definition>999038 - Disclosure - Investment Securities - Summary of Gains or Losses on Proceeds from Maturities, Sales and Calls of Available for Sale Securities by Specific Identification Method (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/InvestmentSecuritiesAdditionalInformationDetail" id="InvestmentSecuritiesAdditionalInformationDetail">
        <link:definition>999039 - Disclosure - Investment Securities - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/InvestmentSecuritiesSummaryOfMaturitiesOfSecuritiesAvailableForSaleByAmortizedCostAndEstimatedFairValueDetail" id="InvestmentSecuritiesSummaryOfMaturitiesOfSecuritiesAvailableForSaleByAmortizedCostAndEstimatedFairValueDetail">
        <link:definition>999040 - Disclosure - Investment Securities - Summary of Maturities of Securities Available for Sale by Amortized Cost and Estimated Fair Value (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/InvestmentSecuritiesSummaryOfEquitySecuritiesDetail" id="InvestmentSecuritiesSummaryOfEquitySecuritiesDetail">
        <link:definition>999041 - Disclosure - Investment Securities - Summary of Equity Securities (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/LoansAndLeasesMajorClassesOfLoansAndLeasesDetail" id="LoansAndLeasesMajorClassesOfLoansAndLeasesDetail">
        <link:definition>999042 - Disclosure - Loans and Leases - Major Classes of Loans And Leases (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/LoansAndLeasesAdditionalInformationDetail" id="LoansAndLeasesAdditionalInformationDetail">
        <link:definition>999043 - Disclosure - Loans and Leases - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/CreditQualityAdditionalInformationDetail" id="CreditQualityAdditionalInformationDetail">
        <link:definition>999044 - Disclosure - Credit Quality - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/CreditQualityScheduleOfAgeAnalysisOfItsPastDueLoansSegregatedByClassOfLoansAndLeasesDetail" id="CreditQualityScheduleOfAgeAnalysisOfItsPastDueLoansSegregatedByClassOfLoansAndLeasesDetail">
        <link:definition>999045 - Disclosure - Credit Quality - Schedule of Age Analysis of its Past Due Loans, Segregated by Class of Loans and Leases (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/CreditQualityScheduleOfNonaccrualLoansSegregatedByClassOfLoansAndLeasesDetail" id="CreditQualityScheduleOfNonaccrualLoansSegregatedByClassOfLoansAndLeasesDetail">
        <link:definition>999046 - Disclosure - Credit Quality - Schedule of Nonaccrual Loans, Segregated by Class of Loans and Leases (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/CreditQualityScheduleOfAmortizedCostBasisOfLoanModificationsMadeToBorrowersDetail" id="CreditQualityScheduleOfAmortizedCostBasisOfLoanModificationsMadeToBorrowersDetail">
        <link:definition>999047 - Disclosure - Credit Quality - Schedule of Amortized Cost Basis of Loan Modifications Made to Borrowers (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/CreditQualityScheduleOfAmortizedCostBasisPaymentStatusDetail" id="CreditQualityScheduleOfAmortizedCostBasisPaymentStatusDetail">
        <link:definition>999048 - Disclosure - Credit Quality -  Schedule of Amortized Cost Basis Payment Status (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/CreditQualityScheduleOfFinancialEffectOfLoanAndLeaseModificationsDetail" id="CreditQualityScheduleOfFinancialEffectOfLoanAndLeaseModificationsDetail">
        <link:definition>999049 - Disclosure - Credit Quality - Schedule of Financial Effect of Loan and Lease Modifications (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/CreditQualityScheduleOfAmortizedCostLoansAndLeasesPledgedAsCollateralDetail" id="CreditQualityScheduleOfAmortizedCostLoansAndLeasesPledgedAsCollateralDetail">
        <link:definition>999050 - Disclosure - Credit Quality - Schedule of Amortized Cost Loans and Leases Pledged As Collateral (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/CreditQualityScheduleOfRiskCategoryOfLoansByClassOfLoansAndLeasesDetail" id="CreditQualityScheduleOfRiskCategoryOfLoansByClassOfLoansAndLeasesDetail">
        <link:definition>999051 - Disclosure - Credit Quality - Schedule of Risk Category of Loans by Class of Loans and Leases (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/AllowanceForCreditLossesAdditionalInformationDetail" id="AllowanceForCreditLossesAdditionalInformationDetail">
        <link:definition>999052 - Disclosure - Allowance for Credit Losses - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/AllowanceForCreditLossesScheduleOfCreditLossesRelatedToAccruedInterestReceivablesAndWrittenOffDetail" id="AllowanceForCreditLossesScheduleOfCreditLossesRelatedToAccruedInterestReceivablesAndWrittenOffDetail">
        <link:definition>999053 - Disclosure - Allowance for Credit Losses - Schedule Of Credit Losses Related To Accrued Interest Receivables and Written Off (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/AllowanceForCreditLossesScheduleOfAccruedInterestReceivablesWrittenOffByReversingInterestDetail" id="AllowanceForCreditLossesScheduleOfAccruedInterestReceivablesWrittenOffByReversingInterestDetail">
        <link:definition>999054 - Disclosure - Allowance for Credit Losses - Schedule of Accrued Interest Receivables Written off by Reversing Interest (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/AllowanceForCreditLossesScheduleOfAllowanceForLoanLossesAndCarryingAmountOfLoansDetail" id="AllowanceForCreditLossesScheduleOfAllowanceForLoanLossesAndCarryingAmountOfLoansDetail">
        <link:definition>999055 - Disclosure - Allowance for Credit Losses - Schedule of Allowance for Loan Losses and Carrying Amount of Loans (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/IntangibleAssetsSummaryOfIntangibleAssetsDetail" id="IntangibleAssetsSummaryOfIntangibleAssetsDetail">
        <link:definition>999056 - Disclosure - Intangible Assets - Summary of Intangible Assets (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/IntangibleAssetsAdditionalInformationDetail" id="IntangibleAssetsAdditionalInformationDetail">
        <link:definition>999057 - Disclosure - Intangible Assets - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/IntangibleAssetsScheduleOfAnticipatedAmortizationExpenseDetail" id="IntangibleAssetsScheduleOfAnticipatedAmortizationExpenseDetail">
        <link:definition>999058 - Disclosure - Intangible Assets - Schedule of Anticipated Amortization Expense (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/LeasesAdditionalInformationDetail" id="LeasesAdditionalInformationDetail">
        <link:definition>999059 - Disclosure - Leases - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/LeasesComponentsOfLeaseExpenseDetail" id="LeasesComponentsOfLeaseExpenseDetail">
        <link:definition>999060 - Disclosure - Leases - Components of Lease Expense (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/LeasesSupplementalBalanceSheetInformationRelatedToLeasesDetail" id="LeasesSupplementalBalanceSheetInformationRelatedToLeasesDetail">
        <link:definition>999061 - Disclosure - Leases - Supplemental Balance Sheet Information Related to Leases (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/LeasesOtherInformationRelatedToLeasesDetail" id="LeasesOtherInformationRelatedToLeasesDetail">
        <link:definition>999062 - Disclosure - Leases - Other Information Related to Leases (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/LeasesSupplementalCashFlowInformationRelatedToLeasesDetail" id="LeasesSupplementalCashFlowInformationRelatedToLeasesDetail">
        <link:definition>999063 - Disclosure - Leases - Supplemental Cash Flow Information Related to Leases (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/LeasesMaturitiesOfLeaseLiabilitiesByYearDetail" id="LeasesMaturitiesOfLeaseLiabilitiesByYearDetail">
        <link:definition>999064 - Disclosure - Leases - Maturities of Lease Liabilities by Year (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/ShortTermBorrowingsShortTermBorrowingsAndTheRelatedWeightedAverageInterestRatesDetail" id="ShortTermBorrowingsShortTermBorrowingsAndTheRelatedWeightedAverageInterestRatesDetail">
        <link:definition>999065 - Disclosure - Short-Term Borrowings - Short-Term Borrowings and the Related Weighted-Average Interest Rates (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/ShortTermBorrowingsAdditionalInformationDetail" id="ShortTermBorrowingsAdditionalInformationDetail">
        <link:definition>999066 - Disclosure - Short-Term Borrowings - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/LongTermBorrowingsAdditionalInformationDetail" id="LongTermBorrowingsAdditionalInformationDetail">
        <link:definition>999067 - Disclosure - Long-Term Borrowings - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/CommitmentsAndContingentLiabilitiesAdditionalInformationDetail" id="CommitmentsAndContingentLiabilitiesAdditionalInformationDetail">
        <link:definition>999068 - Disclosure - Commitments and Contingent Liabilities - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/DerivativeFinancialInstrumentsAdditionalInformationDetail" id="DerivativeFinancialInstrumentsAdditionalInformationDetail">
        <link:definition>999069 - Disclosure - Derivative Financial Instruments - Additional information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/DerivativeFinancialInstrumentsScheduleOfNotionalAmountAndFairValueDerivativeFinancialInstrumentsDetail" id="DerivativeFinancialInstrumentsScheduleOfNotionalAmountAndFairValueDerivativeFinancialInstrumentsDetail">
        <link:definition>999070 - Disclosure - Derivative Financial Instruments - Schedule of Notional Amount and Fair Value Derivative Financial Instruments (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/DerivativeFinancialInstrumentsSummaryOfCarryingAmountHedgedAssetsLiabilitiesDetail" id="DerivativeFinancialInstrumentsSummaryOfCarryingAmountHedgedAssetsLiabilitiesDetail">
        <link:definition>999071 - Disclosure - Derivative Financial Instruments - Summary of Carrying Amount Hedged Assets/(Liabilities) (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/DerivativeFinancialInstrumentsScheduleOfDerivativeFinancialInstrumentsOnStatementsOfIncomeDetail" id="DerivativeFinancialInstrumentsScheduleOfDerivativeFinancialInstrumentsOnStatementsOfIncomeDetail">
        <link:definition>999072 - Disclosure - Derivative Financial Instruments - Schedule of Derivative Financial Instruments on Statements of Income (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetail" id="FairValueMeasurementsSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetail">
        <link:definition>999073 - Disclosure - Fair Value Measurements - Summary of Estimated Fair Values of Financial Instruments (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueOnNonrecurringBasisDetail" id="FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueOnNonrecurringBasisDetail">
        <link:definition>999074 - Disclosure - Fair Value Measurements - Summary of Financial Assets Measured at Fair Value on Nonrecurring Basis (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfDifferenceBetweenAggregateFairValueAndRemainingContractualPrincipalOutstandingForFinancialInstrumentsForWhichFairValueOptionHasBeenElectedDetail" id="FairValueMeasurementsSummaryOfDifferenceBetweenAggregateFairValueAndRemainingContractualPrincipalOutstandingForFinancialInstrumentsForWhichFairValueOptionHasBeenElectedDetail">
        <link:definition>999075 - Disclosure - Fair Value Measurements - Summary of Difference Between Aggregate Fair Value and Remaining Contractual Principal Outstanding for Financial Instruments for which Fair Value Option has been Elected (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/FairValueMeasurementsScheduleOfChangesInFairValueIncludedInEarningsOfFinancialInstrumentsForWhichFairValueOptionHasBeenElectedDetail" id="FairValueMeasurementsScheduleOfChangesInFairValueIncludedInEarningsOfFinancialInstrumentsForWhichFairValueOptionHasBeenElectedDetail">
        <link:definition>999076 - Disclosure - Fair Value Measurements - Schedule of Changes in Fair Value Included in Earnings of Financial Instruments for which Fair Value Option has been Elected (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/FairValueMeasurementsScheduleOfAdditionalInformationAboutFinancialAssetsAndLiabilitiesMeasuredAtFairValueUtilizedLevel3Detail" id="FairValueMeasurementsScheduleOfAdditionalInformationAboutFinancialAssetsAndLiabilitiesMeasuredAtFairValueUtilizedLevel3Detail">
        <link:definition>999077 - Disclosure - Fair Value Measurements - Schedule of Additional Information about Financial Assets and Liabilities Measured at Fair Value Utilized Level 3 (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/FairValueMeasurementsScheduleOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueDetail" id="FairValueMeasurementsScheduleOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueDetail">
        <link:definition>999078 - Disclosure - Fair Value Measurements - Schedule of Financial Assets and Liabilities Measured at Fair Value (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/FairValueMeasurementsAdditionalInformationDetail" id="FairValueMeasurementsAdditionalInformationDetail">
        <link:definition>999079 - Disclosure - Fair Value Measurements - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/StockBasedCompensationAdditionalInformationDetail" id="StockBasedCompensationAdditionalInformationDetail">
        <link:definition>999080 - Disclosure - Stock Based Compensation - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/StockBasedCompensationSummaryOfStockOptionPlansDetail" id="StockBasedCompensationSummaryOfStockOptionPlansDetail">
        <link:definition>999081 - Disclosure - Stock Based Compensation - Summary of Stock Option Plans (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/StockBasedCompensationSummaryOfChangesToUnitedsRestrictedCommonSharesDetail" id="StockBasedCompensationSummaryOfChangesToUnitedsRestrictedCommonSharesDetail">
        <link:definition>999082 - Disclosure - Stock Based Compensation - Summary of Changes to United's Restricted Common Shares (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/StockBasedCompensationSummaryOfStatusOfUnitedsNonvestedStockOptionAwardsDetail" id="StockBasedCompensationSummaryOfStatusOfUnitedsNonvestedStockOptionAwardsDetail">
        <link:definition>999083 - Disclosure - Stock Based Compensation - Summary of Status of United's Nonvested Stock Option Awards (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/EmployeeBenefitPlansAdditionalInformationDetail" id="EmployeeBenefitPlansAdditionalInformationDetail">
        <link:definition>999084 - Disclosure - Employee Benefit Plans - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/EmployeeBenefitPlansNetPeriodicPensionCostDetail" id="EmployeeBenefitPlansNetPeriodicPensionCostDetail">
        <link:definition>999085 - Disclosure - Employee Benefit Plans - Net Periodic Pension Cost (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/IncomeTaxesAdditionalInformationDetail" id="IncomeTaxesAdditionalInformationDetail">
        <link:definition>999086 - Disclosure - Income Taxes - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/ComprehensiveIncomeComponentsOfTotalComprehensiveIncomeDetail" id="ComprehensiveIncomeComponentsOfTotalComprehensiveIncomeDetail">
        <link:definition>999087 - Disclosure - Comprehensive Income - Components of Total Comprehensive Income (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/ComprehensiveIncomeComponentsOfAccumulatedOtherComprehensiveIncomeDetail" id="ComprehensiveIncomeComponentsOfAccumulatedOtherComprehensiveIncomeDetail">
        <link:definition>999088 - Disclosure - Comprehensive Income - Components of Accumulated Other Comprehensive Income (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/ComprehensiveIncomeReclassificationsOutOfAccumulatedOtherComprehensiveIncomeDetail" id="ComprehensiveIncomeReclassificationsOutOfAccumulatedOtherComprehensiveIncomeDetail">
        <link:definition>999089 - Disclosure - Comprehensive Income - Reclassifications Out of Accumulated Other Comprehensive Income (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/EarningsPerShareReconciliationOfNumeratorAndDenominatorOfBasicEarningsPerShareWithThatOfDilutedEarningsPerShareDetail" id="EarningsPerShareReconciliationOfNumeratorAndDenominatorOfBasicEarningsPerShareWithThatOfDilutedEarningsPerShareDetail">
        <link:definition>999090 - Disclosure - Earnings Per Share - Reconciliation of Numerator and Denominator of Basic Earnings Per Share with that of Diluted Earnings Per Share (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/EarningsPerShareAdditionalInformationDetail" id="EarningsPerShareAdditionalInformationDetail">
        <link:definition>999091 - Disclosure - Earnings Per Share - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/VariableInterestEntitiesAdditionalInformationDetail" id="VariableInterestEntitiesAdditionalInformationDetail">
        <link:definition>999092 - Disclosure - Variable Interest Entities - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/VariableInterestEntitiesInformationRelatedToStatutoryTrustsDetail" id="VariableInterestEntitiesInformationRelatedToStatutoryTrustsDetail">
        <link:definition>999093 - Disclosure - Variable Interest Entities - Information Related to Statutory Trusts (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/SegmentInformationAdditionalInformationDetail" id="SegmentInformationAdditionalInformationDetail">
        <link:definition>999094 - Disclosure - Segment Information - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/SegmentInformationSummaryOfCommunityBankingSegmentInformationDetail" id="SegmentInformationSummaryOfCommunityBankingSegmentInformationDetail">
        <link:definition>999095 - Disclosure - Segment Information - Summary Of Community Banking Segment Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/SegmentInformationSummaryOfCommunityBankingSegmentTotalAssetsDetail" id="SegmentInformationSummaryOfCommunityBankingSegmentTotalAssetsDetail">
        <link:definition>999096 - Disclosure - Segment Information - Summary of Community Banking Segment Total Assets (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:linkbase id="lnk" >
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#CoverPage" roleURI="http://www.ubsi-inc.com/role/CoverPage"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#ConsolidatedBalanceSheets" roleURI="http://www.ubsi-inc.com/role/ConsolidatedBalanceSheets"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#ConsolidatedBalanceSheetsParenthetical" roleURI="http://www.ubsi-inc.com/role/ConsolidatedBalanceSheetsParenthetical"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#ConsolidatedStatementsOfIncome" roleURI="http://www.ubsi-inc.com/role/ConsolidatedStatementsOfIncome"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#ConsolidatedStatementsOfComprehensiveIncome" roleURI="http://www.ubsi-inc.com/role/ConsolidatedStatementsOfComprehensiveIncome"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#ConsolidatedStatementOfChangesInShareholdersEquity" roleURI="http://www.ubsi-inc.com/role/ConsolidatedStatementOfChangesInShareholdersEquity"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#ConsolidatedStatementOfChangesInShareholdersEquityParenthetical" roleURI="http://www.ubsi-inc.com/role/ConsolidatedStatementOfChangesInShareholdersEquityParenthetical"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#ConsolidatedStatementsOfCashFlows" roleURI="http://www.ubsi-inc.com/role/ConsolidatedStatementsOfCashFlows"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#SummaryOfSignificantAccountingPolicies" roleURI="http://www.ubsi-inc.com/role/SummaryOfSignificantAccountingPolicies"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#InvestmentSecurities" roleURI="http://www.ubsi-inc.com/role/InvestmentSecurities"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#LoansAndLeases" roleURI="http://www.ubsi-inc.com/role/LoansAndLeases"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#CreditQuality" roleURI="http://www.ubsi-inc.com/role/CreditQuality"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#AllowanceForCreditLosses" roleURI="http://www.ubsi-inc.com/role/AllowanceForCreditLosses"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#IntangibleAssets" roleURI="http://www.ubsi-inc.com/role/IntangibleAssets"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#Leases" roleURI="http://www.ubsi-inc.com/role/Leases"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#ShortTermBorrowings" roleURI="http://www.ubsi-inc.com/role/ShortTermBorrowings"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#LongTermBorrowings" roleURI="http://www.ubsi-inc.com/role/LongTermBorrowings"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#CommitmentsAndContingentLiabilities" roleURI="http://www.ubsi-inc.com/role/CommitmentsAndContingentLiabilities"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#DerivativeFinancialInstruments" roleURI="http://www.ubsi-inc.com/role/DerivativeFinancialInstruments"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#FairValueMeasurements" roleURI="http://www.ubsi-inc.com/role/FairValueMeasurements"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#StockBasedCompensation" roleURI="http://www.ubsi-inc.com/role/StockBasedCompensation"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#EmployeeBenefitPlans" roleURI="http://www.ubsi-inc.com/role/EmployeeBenefitPlans"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#IncomeTaxes" roleURI="http://www.ubsi-inc.com/role/IncomeTaxes"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#ComprehensiveIncome" roleURI="http://www.ubsi-inc.com/role/ComprehensiveIncome"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#EarningsPerShare" roleURI="http://www.ubsi-inc.com/role/EarningsPerShare"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#VariableInterestEntities" roleURI="http://www.ubsi-inc.com/role/VariableInterestEntities"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#SegmentInformation" roleURI="http://www.ubsi-inc.com/role/SegmentInformation"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#SummaryOfSignificantAccountingPoliciesPolicies" roleURI="http://www.ubsi-inc.com/role/SummaryOfSignificantAccountingPoliciesPolicies"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#InvestmentSecuritiesTables" roleURI="http://www.ubsi-inc.com/role/InvestmentSecuritiesTables"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#LoansAndLeasesTables" roleURI="http://www.ubsi-inc.com/role/LoansAndLeasesTables"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#CreditQualityTables" roleURI="http://www.ubsi-inc.com/role/CreditQualityTables"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#AllowanceForCreditLossesTables" roleURI="http://www.ubsi-inc.com/role/AllowanceForCreditLossesTables"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#IntangibleAssetsTables" roleURI="http://www.ubsi-inc.com/role/IntangibleAssetsTables"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#LeasesTables" roleURI="http://www.ubsi-inc.com/role/LeasesTables"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#ShortTermBorrowingsTables" roleURI="http://www.ubsi-inc.com/role/ShortTermBorrowingsTables"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#DerivativeFinancialInstrumentsTables" roleURI="http://www.ubsi-inc.com/role/DerivativeFinancialInstrumentsTables"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#FairValueMeasurementsTables" roleURI="http://www.ubsi-inc.com/role/FairValueMeasurementsTables"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#StockBasedCompensationTables" roleURI="http://www.ubsi-inc.com/role/StockBasedCompensationTables"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#EmployeeBenefitPlansTables" roleURI="http://www.ubsi-inc.com/role/EmployeeBenefitPlansTables"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#ComprehensiveIncomeTables" roleURI="http://www.ubsi-inc.com/role/ComprehensiveIncomeTables"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#EarningsPerShareTables" roleURI="http://www.ubsi-inc.com/role/EarningsPerShareTables"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#VariableInterestEntitiesTables" roleURI="http://www.ubsi-inc.com/role/VariableInterestEntitiesTables"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#SegmentInformationTables" roleURI="http://www.ubsi-inc.com/role/SegmentInformationTables"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#InvestmentSecuritiesSummaryOfAmortizedCostAndEstimatedFairValuesOfAvailableForSaleSecuritiesDetail" roleURI="http://www.ubsi-inc.com/role/InvestmentSecuritiesSummaryOfAmortizedCostAndEstimatedFairValuesOfAvailableForSaleSecuritiesDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#InvestmentSecuritiesSummaryOfSecuritiesAvailableForSaleInAnUnrealizedLossPositionDetail" roleURI="http://www.ubsi-inc.com/role/InvestmentSecuritiesSummaryOfSecuritiesAvailableForSaleInAnUnrealizedLossPositionDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#InvestmentSecuritiesSummaryOfGainsOrLossesOnProceedsFromMaturitiesSalesAndCallsOfAvailableForSaleSecuritiesBySpecificIdentificationMethodDetail" roleURI="http://www.ubsi-inc.com/role/InvestmentSecuritiesSummaryOfGainsOrLossesOnProceedsFromMaturitiesSalesAndCallsOfAvailableForSaleSecuritiesBySpecificIdentificationMethodDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#InvestmentSecuritiesAdditionalInformationDetail" roleURI="http://www.ubsi-inc.com/role/InvestmentSecuritiesAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#InvestmentSecuritiesSummaryOfMaturitiesOfSecuritiesAvailableForSaleByAmortizedCostAndEstimatedFairValueDetail" roleURI="http://www.ubsi-inc.com/role/InvestmentSecuritiesSummaryOfMaturitiesOfSecuritiesAvailableForSaleByAmortizedCostAndEstimatedFairValueDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#InvestmentSecuritiesSummaryOfEquitySecuritiesDetail" roleURI="http://www.ubsi-inc.com/role/InvestmentSecuritiesSummaryOfEquitySecuritiesDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#LoansAndLeasesMajorClassesOfLoansAndLeasesDetail" roleURI="http://www.ubsi-inc.com/role/LoansAndLeasesMajorClassesOfLoansAndLeasesDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#LoansAndLeasesAdditionalInformationDetail" roleURI="http://www.ubsi-inc.com/role/LoansAndLeasesAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#CreditQualityAdditionalInformationDetail" roleURI="http://www.ubsi-inc.com/role/CreditQualityAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#CreditQualityScheduleOfAgeAnalysisOfItsPastDueLoansSegregatedByClassOfLoansAndLeasesDetail" roleURI="http://www.ubsi-inc.com/role/CreditQualityScheduleOfAgeAnalysisOfItsPastDueLoansSegregatedByClassOfLoansAndLeasesDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#CreditQualityScheduleOfNonaccrualLoansSegregatedByClassOfLoansAndLeasesDetail" roleURI="http://www.ubsi-inc.com/role/CreditQualityScheduleOfNonaccrualLoansSegregatedByClassOfLoansAndLeasesDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#CreditQualityScheduleOfAmortizedCostBasisOfLoanModificationsMadeToBorrowersDetail" roleURI="http://www.ubsi-inc.com/role/CreditQualityScheduleOfAmortizedCostBasisOfLoanModificationsMadeToBorrowersDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#CreditQualityScheduleOfAmortizedCostBasisPaymentStatusDetail" roleURI="http://www.ubsi-inc.com/role/CreditQualityScheduleOfAmortizedCostBasisPaymentStatusDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#CreditQualityScheduleOfFinancialEffectOfLoanAndLeaseModificationsDetail" roleURI="http://www.ubsi-inc.com/role/CreditQualityScheduleOfFinancialEffectOfLoanAndLeaseModificationsDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#CreditQualityScheduleOfAmortizedCostLoansAndLeasesPledgedAsCollateralDetail" roleURI="http://www.ubsi-inc.com/role/CreditQualityScheduleOfAmortizedCostLoansAndLeasesPledgedAsCollateralDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#CreditQualityScheduleOfRiskCategoryOfLoansByClassOfLoansAndLeasesDetail" roleURI="http://www.ubsi-inc.com/role/CreditQualityScheduleOfRiskCategoryOfLoansByClassOfLoansAndLeasesDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#AllowanceForCreditLossesAdditionalInformationDetail" roleURI="http://www.ubsi-inc.com/role/AllowanceForCreditLossesAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#AllowanceForCreditLossesScheduleOfCreditLossesRelatedToAccruedInterestReceivablesAndWrittenOffDetail" roleURI="http://www.ubsi-inc.com/role/AllowanceForCreditLossesScheduleOfCreditLossesRelatedToAccruedInterestReceivablesAndWrittenOffDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#AllowanceForCreditLossesScheduleOfAccruedInterestReceivablesWrittenOffByReversingInterestDetail" roleURI="http://www.ubsi-inc.com/role/AllowanceForCreditLossesScheduleOfAccruedInterestReceivablesWrittenOffByReversingInterestDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#AllowanceForCreditLossesScheduleOfAllowanceForLoanLossesAndCarryingAmountOfLoansDetail" roleURI="http://www.ubsi-inc.com/role/AllowanceForCreditLossesScheduleOfAllowanceForLoanLossesAndCarryingAmountOfLoansDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#IntangibleAssetsSummaryOfIntangibleAssetsDetail" roleURI="http://www.ubsi-inc.com/role/IntangibleAssetsSummaryOfIntangibleAssetsDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#IntangibleAssetsAdditionalInformationDetail" roleURI="http://www.ubsi-inc.com/role/IntangibleAssetsAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#IntangibleAssetsScheduleOfAnticipatedAmortizationExpenseDetail" roleURI="http://www.ubsi-inc.com/role/IntangibleAssetsScheduleOfAnticipatedAmortizationExpenseDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#LeasesAdditionalInformationDetail" roleURI="http://www.ubsi-inc.com/role/LeasesAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#LeasesComponentsOfLeaseExpenseDetail" roleURI="http://www.ubsi-inc.com/role/LeasesComponentsOfLeaseExpenseDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#LeasesSupplementalBalanceSheetInformationRelatedToLeasesDetail" roleURI="http://www.ubsi-inc.com/role/LeasesSupplementalBalanceSheetInformationRelatedToLeasesDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#LeasesOtherInformationRelatedToLeasesDetail" roleURI="http://www.ubsi-inc.com/role/LeasesOtherInformationRelatedToLeasesDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#LeasesSupplementalCashFlowInformationRelatedToLeasesDetail" roleURI="http://www.ubsi-inc.com/role/LeasesSupplementalCashFlowInformationRelatedToLeasesDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#LeasesMaturitiesOfLeaseLiabilitiesByYearDetail" roleURI="http://www.ubsi-inc.com/role/LeasesMaturitiesOfLeaseLiabilitiesByYearDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#ShortTermBorrowingsShortTermBorrowingsAndTheRelatedWeightedAverageInterestRatesDetail" roleURI="http://www.ubsi-inc.com/role/ShortTermBorrowingsShortTermBorrowingsAndTheRelatedWeightedAverageInterestRatesDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#ShortTermBorrowingsAdditionalInformationDetail" roleURI="http://www.ubsi-inc.com/role/ShortTermBorrowingsAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#LongTermBorrowingsAdditionalInformationDetail" roleURI="http://www.ubsi-inc.com/role/LongTermBorrowingsAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#CommitmentsAndContingentLiabilitiesAdditionalInformationDetail" roleURI="http://www.ubsi-inc.com/role/CommitmentsAndContingentLiabilitiesAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#DerivativeFinancialInstrumentsAdditionalInformationDetail" roleURI="http://www.ubsi-inc.com/role/DerivativeFinancialInstrumentsAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#DerivativeFinancialInstrumentsScheduleOfNotionalAmountAndFairValueDerivativeFinancialInstrumentsDetail" roleURI="http://www.ubsi-inc.com/role/DerivativeFinancialInstrumentsScheduleOfNotionalAmountAndFairValueDerivativeFinancialInstrumentsDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#DerivativeFinancialInstrumentsSummaryOfCarryingAmountHedgedAssetsLiabilitiesDetail" roleURI="http://www.ubsi-inc.com/role/DerivativeFinancialInstrumentsSummaryOfCarryingAmountHedgedAssetsLiabilitiesDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#DerivativeFinancialInstrumentsScheduleOfDerivativeFinancialInstrumentsOnStatementsOfIncomeDetail" roleURI="http://www.ubsi-inc.com/role/DerivativeFinancialInstrumentsScheduleOfDerivativeFinancialInstrumentsOnStatementsOfIncomeDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#FairValueMeasurementsSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetail" roleURI="http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueOnNonrecurringBasisDetail" roleURI="http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueOnNonrecurringBasisDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#FairValueMeasurementsSummaryOfDifferenceBetweenAggregateFairValueAndRemainingContractualPrincipalOutstandingForFinancialInstrumentsForWhichFairValueOptionHasBeenElectedDetail" roleURI="http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfDifferenceBetweenAggregateFairValueAndRemainingContractualPrincipalOutstandingForFinancialInstrumentsForWhichFairValueOptionHasBeenElectedDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#FairValueMeasurementsScheduleOfChangesInFairValueIncludedInEarningsOfFinancialInstrumentsForWhichFairValueOptionHasBeenElectedDetail" roleURI="http://www.ubsi-inc.com/role/FairValueMeasurementsScheduleOfChangesInFairValueIncludedInEarningsOfFinancialInstrumentsForWhichFairValueOptionHasBeenElectedDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#FairValueMeasurementsScheduleOfAdditionalInformationAboutFinancialAssetsAndLiabilitiesMeasuredAtFairValueUtilizedLevel3Detail" roleURI="http://www.ubsi-inc.com/role/FairValueMeasurementsScheduleOfAdditionalInformationAboutFinancialAssetsAndLiabilitiesMeasuredAtFairValueUtilizedLevel3Detail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#FairValueMeasurementsScheduleOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueDetail" roleURI="http://www.ubsi-inc.com/role/FairValueMeasurementsScheduleOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#FairValueMeasurementsAdditionalInformationDetail" roleURI="http://www.ubsi-inc.com/role/FairValueMeasurementsAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#StockBasedCompensationAdditionalInformationDetail" roleURI="http://www.ubsi-inc.com/role/StockBasedCompensationAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#StockBasedCompensationSummaryOfStockOptionPlansDetail" roleURI="http://www.ubsi-inc.com/role/StockBasedCompensationSummaryOfStockOptionPlansDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#StockBasedCompensationSummaryOfChangesToUnitedsRestrictedCommonSharesDetail" roleURI="http://www.ubsi-inc.com/role/StockBasedCompensationSummaryOfChangesToUnitedsRestrictedCommonSharesDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#StockBasedCompensationSummaryOfStatusOfUnitedsNonvestedStockOptionAwardsDetail" roleURI="http://www.ubsi-inc.com/role/StockBasedCompensationSummaryOfStatusOfUnitedsNonvestedStockOptionAwardsDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#EmployeeBenefitPlansAdditionalInformationDetail" roleURI="http://www.ubsi-inc.com/role/EmployeeBenefitPlansAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#EmployeeBenefitPlansNetPeriodicPensionCostDetail" roleURI="http://www.ubsi-inc.com/role/EmployeeBenefitPlansNetPeriodicPensionCostDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#IncomeTaxesAdditionalInformationDetail" roleURI="http://www.ubsi-inc.com/role/IncomeTaxesAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#ComprehensiveIncomeComponentsOfTotalComprehensiveIncomeDetail" roleURI="http://www.ubsi-inc.com/role/ComprehensiveIncomeComponentsOfTotalComprehensiveIncomeDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#ComprehensiveIncomeComponentsOfAccumulatedOtherComprehensiveIncomeDetail" roleURI="http://www.ubsi-inc.com/role/ComprehensiveIncomeComponentsOfAccumulatedOtherComprehensiveIncomeDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#ComprehensiveIncomeReclassificationsOutOfAccumulatedOtherComprehensiveIncomeDetail" roleURI="http://www.ubsi-inc.com/role/ComprehensiveIncomeReclassificationsOutOfAccumulatedOtherComprehensiveIncomeDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#EarningsPerShareReconciliationOfNumeratorAndDenominatorOfBasicEarningsPerShareWithThatOfDilutedEarningsPerShareDetail" roleURI="http://www.ubsi-inc.com/role/EarningsPerShareReconciliationOfNumeratorAndDenominatorOfBasicEarningsPerShareWithThatOfDilutedEarningsPerShareDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#EarningsPerShareAdditionalInformationDetail" roleURI="http://www.ubsi-inc.com/role/EarningsPerShareAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#VariableInterestEntitiesAdditionalInformationDetail" roleURI="http://www.ubsi-inc.com/role/VariableInterestEntitiesAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#VariableInterestEntitiesInformationRelatedToStatutoryTrustsDetail" roleURI="http://www.ubsi-inc.com/role/VariableInterestEntitiesInformationRelatedToStatutoryTrustsDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#SegmentInformationAdditionalInformationDetail" roleURI="http://www.ubsi-inc.com/role/SegmentInformationAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#SegmentInformationSummaryOfCommunityBankingSegmentInformationDetail" roleURI="http://www.ubsi-inc.com/role/SegmentInformationSummaryOfCommunityBankingSegmentInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20260630.xsd#SegmentInformationSummaryOfCommunityBankingSegmentTotalAssetsDetail" roleURI="http://www.ubsi-inc.com/role/SegmentInformationSummaryOfCommunityBankingSegmentTotalAssetsDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedLabel" roleURI="http://www.xbrl.org/2009/role/negatedLabel"  />
        <link:roleRef xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedTerseLabel" roleURI="http://www.xbrl.org/2009/role/negatedTerseLabel"  />
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/CoverPage" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_CoverAbstract" xlink:label="loc_dei_CoverAbstract_187796" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_DocumentType" xlink:label="loc_dei_DocumentType_494154" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_DocumentType_494154" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_AmendmentFlag" xlink:label="loc_dei_AmendmentFlag_2147472210" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_AmendmentFlag_2147472210" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_DocumentQuarterlyReport" xlink:label="loc_dei_DocumentQuarterlyReport_494155" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_DocumentQuarterlyReport_494155" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_DocumentTransitionReport" xlink:label="loc_dei_DocumentTransitionReport_494156" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_DocumentTransitionReport_494156" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_DocumentFiscalYearFocus" xlink:label="loc_dei_DocumentFiscalYearFocus_2147472212" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_DocumentFiscalYearFocus_2147472212" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_DocumentPeriodEndDate" xlink:label="loc_dei_DocumentPeriodEndDate_494157" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_DocumentPeriodEndDate_494157" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_DocumentFiscalPeriodFocus" xlink:label="loc_dei_DocumentFiscalPeriodFocus_2147472211" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_DocumentFiscalPeriodFocus_2147472211" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_CurrentFiscalYearEndDate" xlink:label="loc_dei_CurrentFiscalYearEndDate_2147472209" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_CurrentFiscalYearEndDate_2147472209" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityRegistrantName" xlink:label="loc_dei_EntityRegistrantName_494158" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_EntityRegistrantName_494158" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityCentralIndexKey" xlink:label="loc_dei_EntityCentralIndexKey_2147472208" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_EntityCentralIndexKey_2147472208" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityCurrentReportingStatus" xlink:label="loc_dei_EntityCurrentReportingStatus_494159" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_EntityCurrentReportingStatus_494159" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_TradingSymbol" xlink:label="loc_dei_TradingSymbol_494160" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_TradingSymbol_494160" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityFilerCategory" xlink:label="loc_dei_EntityFilerCategory_494166" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_EntityFilerCategory_494166" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityEmergingGrowthCompany" xlink:label="loc_dei_EntityEmergingGrowthCompany_494162" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_EntityEmergingGrowthCompany_494162" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityShellCompany" xlink:label="loc_dei_EntityShellCompany_494167" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_EntityShellCompany_494167" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntitySmallBusiness" xlink:label="loc_dei_EntitySmallBusiness_494163" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_EntitySmallBusiness_494163" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityCommonStockSharesOutstanding" xlink:label="loc_dei_EntityCommonStockSharesOutstanding_494164" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_EntityCommonStockSharesOutstanding_494164" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityInteractiveDataCurrent" xlink:label="loc_dei_EntityInteractiveDataCurrent_494165" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_EntityInteractiveDataCurrent_494165" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_Security12bTitle" xlink:label="loc_dei_Security12bTitle_494168" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_Security12bTitle_494168" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityFileNumber" xlink:label="loc_dei_EntityFileNumber_494161" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_EntityFileNumber_494161" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_SecurityExchangeName" xlink:label="loc_dei_SecurityExchangeName_494169" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_SecurityExchangeName_494169" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityTaxIdentificationNumber" xlink:label="loc_dei_EntityTaxIdentificationNumber_494170" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_EntityTaxIdentificationNumber_494170" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityAddressAddressLine1" xlink:label="loc_dei_EntityAddressAddressLine1_494171" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_EntityAddressAddressLine1_494171" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityAddressAddressLine2" xlink:label="loc_dei_EntityAddressAddressLine2_494172" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_EntityAddressAddressLine2_494172" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityAddressCityOrTown" xlink:label="loc_dei_EntityAddressCityOrTown_494173" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_EntityAddressCityOrTown_494173" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityAddressStateOrProvince" xlink:label="loc_dei_EntityAddressStateOrProvince_494174" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_EntityAddressStateOrProvince_494174" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityAddressPostalZipCode" xlink:label="loc_dei_EntityAddressPostalZipCode_494175" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_EntityAddressPostalZipCode_494175" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_CityAreaCode" xlink:label="loc_dei_CityAreaCode_494176" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_CityAreaCode_494176" use="optional" order="28" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_LocalPhoneNumber" xlink:label="loc_dei_LocalPhoneNumber_494177" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_LocalPhoneNumber_494177" use="optional" order="29" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityIncorporationStateCountryCode" xlink:label="loc_dei_EntityIncorporationStateCountryCode_494178" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_187796" xlink:to="loc_dei_EntityIncorporationStateCountryCode_494178" use="optional" order="30" preferredLabel="http://www.xbrl.org/2003/role/label" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ConsolidatedBalanceSheets" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementOfFinancialPositionAbstract" xlink:label="loc_us-gaap_StatementOfFinancialPositionAbstract_2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract_3" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_2" xlink:to="loc_us-gaap_AssetsAbstract_3" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndDueFromBanks" xlink:label="loc_us-gaap_CashAndDueFromBanks_8" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_3" xlink:to="loc_us-gaap_CashAndDueFromBanks_8" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestBearingDepositsInBanks" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_9" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_3" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_9" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FederalFundsSold" xlink:label="loc_us-gaap_FederalFundsSold_10" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_3" xlink:to="loc_us-gaap_FederalFundsSold_10" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsAndFederalFundsSold" xlink:label="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_11" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_3" xlink:to="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_11" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecurities" xlink:label="loc_us-gaap_DebtSecurities_12" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_3" xlink:to="loc_us-gaap_DebtSecurities_12" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HeldToMaturitySecurities" xlink:label="loc_us-gaap_HeldToMaturitySecurities_13" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_3" xlink:to="loc_us-gaap_HeldToMaturitySecurities_13" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent" xlink:label="loc_us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent_14" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_3" xlink:to="loc_us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent_14" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherInvestments" xlink:label="loc_us-gaap_OtherInvestments_15" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_3" xlink:to="loc_us-gaap_OtherInvestments_15" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_16" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_3" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_16" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NotesReceivableGross" xlink:label="loc_us-gaap_NotesReceivableGross_17" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_3" xlink:to="loc_us-gaap_NotesReceivableGross_17" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableDeferredIncome" xlink:label="loc_us-gaap_FinancingReceivableDeferredIncome_18" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_3" xlink:to="loc_us-gaap_FinancingReceivableDeferredIncome_18" use="optional" order="12" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancingReceivableNetOfDeferredIncome" xlink:label="loc_ubsi_FinancingReceivableNetOfDeferredIncome_19" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_3" xlink:to="loc_ubsi_FinancingReceivableNetOfDeferredIncome_19" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_20" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_3" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_20" use="optional" order="14" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NotesReceivableNet" xlink:label="loc_us-gaap_NotesReceivableNet_21" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_3" xlink:to="loc_us-gaap_NotesReceivableNet_21" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_22" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_3" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_22" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_23" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_3" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_23" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_24" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_3" xlink:to="loc_us-gaap_Goodwill_24" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BankOwnedLifeInsurance" xlink:label="loc_us-gaap_BankOwnedLifeInsurance_2147472414" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_3" xlink:to="loc_us-gaap_BankOwnedLifeInsurance_2147472414" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss" xlink:label="loc_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss_25" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_3" xlink:to="loc_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss_25" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssets" xlink:label="loc_us-gaap_OtherAssets_26" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_3" xlink:to="loc_us-gaap_OtherAssets_26" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_27" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_3" xlink:to="loc_us-gaap_Assets_27" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAbstract" xlink:label="loc_us-gaap_LiabilitiesAbstract_4" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_2" xlink:to="loc_us-gaap_LiabilitiesAbstract_4" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepositsAbstract" xlink:label="loc_us-gaap_DepositsAbstract_5" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesAbstract_4" xlink:to="loc_us-gaap_DepositsAbstract_5" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestBearingDepositLiabilities" xlink:label="loc_us-gaap_NoninterestBearingDepositLiabilities_28" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DepositsAbstract_5" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilities_28" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestBearingDepositLiabilities" xlink:label="loc_us-gaap_InterestBearingDepositLiabilities_29" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DepositsAbstract_5" xlink:to="loc_us-gaap_InterestBearingDepositLiabilities_29" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Deposits" xlink:label="loc_us-gaap_Deposits_30" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DepositsAbstract_5" xlink:to="loc_us-gaap_Deposits_30" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentsAbstract" xlink:label="loc_us-gaap_DebtInstrumentsAbstract_6" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesAbstract_4" xlink:to="loc_us-gaap_DebtInstrumentsAbstract_6" use="optional" order="28" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchase" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase_32" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentsAbstract_6" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase_32" use="optional" order="29" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdvancesFromFederalHomeLoanBanks" xlink:label="loc_us-gaap_AdvancesFromFederalHomeLoanBanks_33" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentsAbstract_6" xlink:to="loc_us-gaap_AdvancesFromFederalHomeLoanBanks_33" use="optional" order="30" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLongTermDebt" xlink:label="loc_us-gaap_OtherLongTermDebt_34" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentsAbstract_6" xlink:to="loc_us-gaap_OtherLongTermDebt_34" use="optional" order="31" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ReserveForLendingRelatedCommitments" xlink:label="loc_ubsi_ReserveForLendingRelatedCommitments_35" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentsAbstract_6" xlink:to="loc_ubsi_ReserveForLendingRelatedCommitments_35" use="optional" order="32" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaap_OperatingLeaseLiability_36" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentsAbstract_6" xlink:to="loc_us-gaap_OperatingLeaseLiability_36" use="optional" order="33" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities" xlink:label="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_37" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentsAbstract_6" xlink:to="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_37" use="optional" order="34" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_38" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesAbstract_4" xlink:to="loc_us-gaap_Liabilities_38" use="optional" order="35" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityAbstract" xlink:label="loc_us-gaap_StockholdersEquityAbstract_7" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_2" xlink:to="loc_us-gaap_StockholdersEquityAbstract_7" use="optional" order="36" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PreferredStockValue" xlink:label="loc_us-gaap_PreferredStockValue_39" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StockholdersEquityAbstract_7" xlink:to="loc_us-gaap_PreferredStockValue_39" use="optional" order="37" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_40" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StockholdersEquityAbstract_7" xlink:to="loc_us-gaap_CommonStockValue_40" use="optional" order="38" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapitalCommonStock" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_41" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StockholdersEquityAbstract_7" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_41" use="optional" order="39" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_42" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StockholdersEquityAbstract_7" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_42" use="optional" order="40" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_43" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StockholdersEquityAbstract_7" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_43" use="optional" order="41" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockValue" xlink:label="loc_us-gaap_TreasuryStockValue_44" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StockholdersEquityAbstract_7" xlink:to="loc_us-gaap_TreasuryStockValue_44" use="optional" order="42" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_45" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StockholdersEquityAbstract_7" xlink:to="loc_us-gaap_StockholdersEquity_45" use="optional" order="43" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_46" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_2" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_46" use="optional" order="44" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ConsolidatedBalanceSheetsParenthetical" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementOfFinancialPositionAbstract" xlink:label="loc_us-gaap_StatementOfFinancialPositionAbstract_48" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss_49" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_48" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss_49" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HeldToMaturitySecuritiesFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_50" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_48" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_50" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/positiveLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PreferredStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_52" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_48" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_52" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PreferredStockSharesAuthorized" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_53" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_48" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_53" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PreferredStockSharesIssued" xlink:label="loc_us-gaap_PreferredStockSharesIssued_54" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_48" xlink:to="loc_us-gaap_PreferredStockSharesIssued_54" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_55" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_48" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_55" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockSharesAuthorized" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_56" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_48" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_56" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockSharesIssued" xlink:label="loc_us-gaap_CommonStockSharesIssued_57" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_48" xlink:to="loc_us-gaap_CommonStockSharesIssued_57" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockCommonShares" xlink:label="loc_us-gaap_TreasuryStockCommonShares_58" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_48" xlink:to="loc_us-gaap_TreasuryStockCommonShares_58" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss_828371" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_48" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss_828371" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesHeldToMaturityAllowanceForCreditLoss" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityAllowanceForCreditLoss_828373" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_48" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityAllowanceForCreditLoss_828373" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ConsolidatedStatementsOfIncome" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeStatementAbstract" xlink:label="loc_us-gaap_IncomeStatementAbstract_60" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_61" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeStatementAbstract_60" xlink:to="loc_us-gaap_StatementTable_61" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis_62" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_61" xlink:to="loc_srt_ProductOrServiceAxis_62" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_63" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ProductOrServiceAxis_62" xlink:to="loc_srt_ProductsAndServicesDomain_63" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ServiceOtherMember" xlink:label="loc_us-gaap_ServiceOtherMember_72" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ProductsAndServicesDomain_63" xlink:to="loc_us-gaap_ServiceOtherMember_72" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiduciaryAndTrustMember" xlink:label="loc_us-gaap_FiduciaryAndTrustMember_73" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ProductsAndServicesDomain_63" xlink:to="loc_us-gaap_FiduciaryAndTrustMember_73" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepositAccountMember" xlink:label="loc_us-gaap_DepositAccountMember_74" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ProductsAndServicesDomain_63" xlink:to="loc_us-gaap_DepositAccountMember_74" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditCardMember" xlink:label="loc_us-gaap_CreditCardMember_75" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ProductsAndServicesDomain_63" xlink:to="loc_us-gaap_CreditCardMember_75" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialServiceOtherMember" xlink:label="loc_us-gaap_FinancialServiceOtherMember_76" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ProductsAndServicesDomain_63" xlink:to="loc_us-gaap_FinancialServiceOtherMember_76" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MortgageBankingMember" xlink:label="loc_us-gaap_MortgageBankingMember_77" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ProductsAndServicesDomain_63" xlink:to="loc_us-gaap_MortgageBankingMember_77" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_64" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_61" xlink:to="loc_us-gaap_StatementLineItems_64" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndDividendIncomeOperatingAbstract" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_65" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_64" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_65" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeases" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_2053472040" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_65" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_2053472040" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResell" xlink:label="loc_us-gaap_InterestIncomeFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResell_79" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_65" xlink:to="loc_us-gaap_InterestIncomeFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResell_79" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndDividendIncomeSecuritiesByTaxableStatusAbstract" xlink:label="loc_us-gaap_InterestAndDividendIncomeSecuritiesByTaxableStatusAbstract_66" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_65" xlink:to="loc_us-gaap_InterestAndDividendIncomeSecuritiesByTaxableStatusAbstract_66" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeSecuritiesTaxable" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxable_80" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InterestAndDividendIncomeSecuritiesByTaxableStatusAbstract_66" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxable_80" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeSecuritiesTaxExempt" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_81" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InterestAndDividendIncomeSecuritiesByTaxableStatusAbstract_66" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_81" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndDividendIncomeOperating" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_82" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_65" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_82" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseAbstract" xlink:label="loc_us-gaap_InterestExpenseAbstract_67" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_64" xlink:to="loc_us-gaap_InterestExpenseAbstract_67" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseDeposits" xlink:label="loc_us-gaap_InterestExpenseDeposits_83" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InterestExpenseAbstract_67" xlink:to="loc_us-gaap_InterestExpenseDeposits_83" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseShortTermBorrowings" xlink:label="loc_us-gaap_InterestExpenseShortTermBorrowings_84" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InterestExpenseAbstract_67" xlink:to="loc_us-gaap_InterestExpenseShortTermBorrowings_84" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseLongTermDebt" xlink:label="loc_us-gaap_InterestExpenseLongTermDebt_85" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InterestExpenseAbstract_67" xlink:to="loc_us-gaap_InterestExpenseLongTermDebt_85" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseOperating" xlink:label="loc_us-gaap_InterestExpenseOperating_86" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InterestExpenseAbstract_67" xlink:to="loc_us-gaap_InterestExpenseOperating_86" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseNet" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_87" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_64" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_87" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_88" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_64" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_88" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_89" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_64" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_89" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncomeAbstract" xlink:label="loc_us-gaap_NoninterestIncomeAbstract_68" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_64" xlink:to="loc_us-gaap_NoninterestIncomeAbstract_68" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_90" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_68" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_90" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BankOwnedLifeInsuranceIncome" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_91" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_68" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_91" use="optional" order="28" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnInvestments" xlink:label="loc_us-gaap_GainLossOnInvestments_92" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_68" xlink:to="loc_us-gaap_GainLossOnInvestments_92" use="optional" order="29" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_93" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_68" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_93" use="optional" order="30" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncome" xlink:label="loc_us-gaap_NoninterestIncome_94" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_68" xlink:to="loc_us-gaap_NoninterestIncome_94" use="optional" order="31" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestExpenseAbstract" xlink:label="loc_us-gaap_NoninterestExpenseAbstract_69" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_64" xlink:to="loc_us-gaap_NoninterestExpenseAbstract_69" use="optional" order="32" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SalariesWagesAndOfficersCompensation" xlink:label="loc_us-gaap_SalariesWagesAndOfficersCompensation_95" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_69" xlink:to="loc_us-gaap_SalariesWagesAndOfficersCompensation_95" use="optional" order="33" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionAndOtherPostretirementBenefitExpense" xlink:label="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense_96" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_69" xlink:to="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense_96" use="optional" order="34" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OccupancyNet" xlink:label="loc_us-gaap_OccupancyNet_97" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_69" xlink:to="loc_us-gaap_OccupancyNet_97" use="optional" order="35" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherRealEstateOwnedExpense" xlink:label="loc_ubsi_OtherRealEstateOwnedExpense_98" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_69" xlink:to="loc_ubsi_OtherRealEstateOwnedExpense_98" use="optional" order="36" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainsLossesOnSalesOfOtherRealEstate" xlink:label="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_2147472444" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_69" xlink:to="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_2147472444" use="optional" order="37" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquipmentExpense" xlink:label="loc_us-gaap_EquipmentExpense_99" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_69" xlink:to="loc_us-gaap_EquipmentExpense_99" use="optional" order="38" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InformationTechnologyAndDataProcessing" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing_100" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_69" xlink:to="loc_us-gaap_InformationTechnologyAndDataProcessing_100" use="optional" order="39" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BankcardProcessingExpense" xlink:label="loc_ubsi_BankcardProcessingExpense_101" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_69" xlink:to="loc_ubsi_BankcardProcessingExpense_101" use="optional" order="40" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FederalDepositInsuranceCorporationPremiumExpense" xlink:label="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_102" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_69" xlink:to="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_102" use="optional" order="41" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNoninterestExpense" xlink:label="loc_us-gaap_OtherNoninterestExpense_103" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_69" xlink:to="loc_us-gaap_OtherNoninterestExpense_103" use="optional" order="42" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestExpense" xlink:label="loc_us-gaap_NoninterestExpense_104" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_69" xlink:to="loc_us-gaap_NoninterestExpense_104" use="optional" order="43" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_105" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_64" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_105" use="optional" order="44" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_106" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_64" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_106" use="optional" order="45" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_107" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_64" xlink:to="loc_us-gaap_NetIncomeLoss_107" use="optional" order="46" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EarningsPerShareAbstract" xlink:label="loc_us-gaap_EarningsPerShareAbstract_70" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_64" xlink:to="loc_us-gaap_EarningsPerShareAbstract_70" use="optional" order="47" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EarningsPerShareBasic" xlink:label="loc_us-gaap_EarningsPerShareBasic_108" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_70" xlink:to="loc_us-gaap_EarningsPerShareBasic_108" use="optional" order="48" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="loc_us-gaap_EarningsPerShareDiluted_109" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_70" xlink:to="loc_us-gaap_EarningsPerShareDiluted_109" use="optional" order="49" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_71" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_64" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_71" use="optional" order="50" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_110" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_71" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_110" use="optional" order="51" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_111" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_71" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_111" use="optional" order="52" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ConsolidatedStatementsOfComprehensiveIncome" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract" xlink:label="loc_us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract_113" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_114" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract_113" xlink:to="loc_us-gaap_NetIncomeLoss_114" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/presentationGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_115" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract_113" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_115" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTaxParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTaxParent_826506" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract_113" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTaxParent_826506" use="optional" order="3" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_118" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract_113" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTax_118" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ConsolidatedStatementOfChangesInShareholdersEquity" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementOfStockholdersEquityAbstract" xlink:label="loc_us-gaap_StatementOfStockholdersEquityAbstract_120" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_121" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfStockholdersEquityAbstract_120" xlink:to="loc_us-gaap_StatementTable_121" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_122" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_121" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_122" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_123" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_122" xlink:to="loc_us-gaap_EquityComponentDomain_123" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_125" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityComponentDomain_123" xlink:to="loc_us-gaap_CommonStockMember_125" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_126" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityComponentDomain_123" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_126" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_127" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityComponentDomain_123" xlink:to="loc_us-gaap_RetainedEarningsMember_127" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_128" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityComponentDomain_123" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_128" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockCommonMember" xlink:label="loc_us-gaap_TreasuryStockCommonMember_129" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityComponentDomain_123" xlink:to="loc_us-gaap_TreasuryStockCommonMember_129" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_CumulativeEffectPeriodOfAdoptionAxis" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_828243" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_121" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_828243" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_828244" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_828243" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_828244" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RestatementAxis" xlink:label="loc_srt_RestatementAxis_828250" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_121" xlink:to="loc_srt_RestatementAxis_828250" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RestatementDomain" xlink:label="loc_srt_RestatementDomain_828251" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RestatementAxis_828250" xlink:to="loc_srt_RestatementDomain_828251" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_124" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_121" xlink:to="loc_us-gaap_StatementLineItems_124" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_130" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_us-gaap_StockholdersEquity_130" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharesIssued" xlink:label="loc_us-gaap_SharesIssued_131" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_us-gaap_SharesIssued_131" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_134" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_us-gaap_NetIncomeLoss_134" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/presentationGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_135" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_135" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_136" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTax_136" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodValueAcquisitions" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions_2145472112" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions_2145472112" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesAcquisitions" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions_2146472112" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions_2146472112" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_137" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_137" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross_140" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross_140" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_141" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_141" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_138" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_138" use="optional" order="24" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ExciseTaxOnNetStockRepurchases" xlink:label="loc_ubsi_ExciseTaxOnNetStockRepurchases_2039472038" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_ubsi_ExciseTaxOnNetStockRepurchases_2039472038" use="optional" order="25" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DividendsCommonStockCash" xlink:label="loc_us-gaap_DividendsCommonStockCash_139" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_us-gaap_DividendsCommonStockCash_139" use="optional" order="26" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_StockIssuedDuringPeriodValueIssuanceOfCommonStockUnderStockBasedCompensationPlan" xlink:label="loc_ubsi_StockIssuedDuringPeriodValueIssuanceOfCommonStockUnderStockBasedCompensationPlan_2147472460" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_ubsi_StockIssuedDuringPeriodValueIssuanceOfCommonStockUnderStockBasedCompensationPlan_2147472460" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_StockIssuedDuringPeriodSharesIssaunceOfCommonStockUnderStockBasedCompensationPlan" xlink:label="loc_ubsi_StockIssuedDuringPeriodSharesIssaunceOfCommonStockUnderStockBasedCompensationPlan_2147472461" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_ubsi_StockIssuedDuringPeriodSharesIssaunceOfCommonStockUnderStockBasedCompensationPlan_2147472461" use="optional" order="28" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_145" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_us-gaap_StockholdersEquity_145" use="optional" order="29" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharesIssued" xlink:label="loc_us-gaap_SharesIssued_146" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_us-gaap_SharesIssued_146" use="optional" order="30" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ConsolidatedStatementOfChangesInShareholdersEquityParenthetical" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementOfStockholdersEquityAbstract" xlink:label="loc_us-gaap_StatementOfStockholdersEquityAbstract_148" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_149" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfStockholdersEquityAbstract_148" xlink:to="loc_us-gaap_StatementTable_149" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_150" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_149" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_150" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_155" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_150" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_155" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis" xlink:label="loc_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis_151" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_149" xlink:to="loc_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis_151" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain" xlink:label="loc_us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain_156" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis_151" xlink:to="loc_us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain_156" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_152" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_149" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_152" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_153" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_152" xlink:to="loc_us-gaap_EquityComponentDomain_153" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_157" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityComponentDomain_153" xlink:to="loc_us-gaap_CommonStockMember_157" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockCommonMember" xlink:label="loc_us-gaap_TreasuryStockCommonMember_158" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityComponentDomain_153" xlink:to="loc_us-gaap_TreasuryStockCommonMember_158" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_154" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_149" xlink:to="loc_us-gaap_StatementLineItems_154" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ForfeitureOfNonVestedRestrictedStockShares" xlink:label="loc_ubsi_ForfeitureOfNonVestedRestrictedStockShares_162" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_154" xlink:to="loc_ubsi_ForfeitureOfNonVestedRestrictedStockShares_162" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockSharesAcquired" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_159" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_154" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_159" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockDividendsPerShareCashPaid" xlink:label="loc_us-gaap_CommonStockDividendsPerShareCashPaid_160" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_154" xlink:to="loc_us-gaap_CommonStockDividendsPerShareCashPaid_160" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_StockIssuedDuringPeriodSharesIssuanceOfCommonStockUnderStockBasedCompensationPlan" xlink:label="loc_ubsi_StockIssuedDuringPeriodSharesIssuanceOfCommonStockUnderStockBasedCompensationPlan_2147472473" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_154" xlink:to="loc_ubsi_StockIssuedDuringPeriodSharesIssuanceOfCommonStockUnderStockBasedCompensationPlan_2147472473" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesAcquisitions" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions_566476" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_154" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions_566476" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ConsolidatedStatementsOfCashFlows" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementOfCashFlowsAbstract" xlink:label="loc_us-gaap_StatementOfCashFlowsAbstract_165" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_828465" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfCashFlowsAbstract_165" xlink:to="loc_us-gaap_StatementTable_828465" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_828473" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_828465" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_828473" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_828474" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_828473" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_828474" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SeriesOfIndividuallySubsidiariesMember" xlink:label="loc_ubsi_SeriesOfIndividuallySubsidiariesMember_1291546" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_828474" xlink:to="loc_ubsi_SeriesOfIndividuallySubsidiariesMember_1291546" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_828468" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_828465" xlink:to="loc_us-gaap_StatementLineItems_828468" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_166" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_828468" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_166" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_172" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_166" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_172" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_828468" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_174" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_174" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_175" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_175" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireMarketableSecurities" xlink:label="loc_us-gaap_PaymentsToAcquireMarketableSecurities_1292575" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" xlink:to="loc_us-gaap_PaymentsToAcquireMarketableSecurities_1292575" use="optional" order="11" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ProceedsFromSalesOfEquitySecurities" xlink:label="loc_ubsi_ProceedsFromSalesOfEquitySecurities_177" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" xlink:to="loc_ubsi_ProceedsFromSalesOfEquitySecurities_177" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PaymentsToAcquireEquitySecurities" xlink:label="loc_ubsi_PaymentsToAcquireEquitySecurities_178" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" xlink:to="loc_ubsi_PaymentsToAcquireEquitySecurities_178" use="optional" order="13" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments_179" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments_179" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_180" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_180" use="optional" order="15" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_182" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_182" use="optional" order="16" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_183" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_183" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ProceedsFromBankOwnedLifeInsuranceDeathBenefits" xlink:label="loc_ubsi_ProceedsFromBankOwnedLifeInsuranceDeathBenefits_1988472008" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" xlink:to="loc_ubsi_ProceedsFromBankOwnedLifeInsuranceDeathBenefits_1988472008" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAcquiredFromAcquisition" xlink:label="loc_us-gaap_CashAcquiredFromAcquisition_2144472108" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" xlink:to="loc_us-gaap_CashAcquiredFromAcquisition_2144472108" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfOtherRealEstate" xlink:label="loc_us-gaap_ProceedsFromSaleOfOtherRealEstate_184" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" xlink:to="loc_us-gaap_ProceedsFromSaleOfOtherRealEstate_184" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForProceedsFromLoansAndLeases" xlink:label="loc_us-gaap_PaymentsForProceedsFromLoansAndLeases_185" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" xlink:to="loc_us-gaap_PaymentsForProceedsFromLoansAndLeases_185" use="optional" order="21" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_186" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_186" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_168" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_828468" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_168" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDividends" xlink:label="loc_us-gaap_PaymentsOfDividends_187" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_168" xlink:to="loc_us-gaap_PaymentsOfDividends_187" use="optional" order="24" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_188" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_168" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_188" use="optional" order="25" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromStockOptionsExercised" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_189" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_168" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_189" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings" xlink:label="loc_us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings_190" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_168" xlink:to="loc_us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings_190" use="optional" order="27" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_IncreaseDecreaseInDepositsAndShortTermBorrowingsAbstract" xlink:label="loc_ubsi_IncreaseDecreaseInDepositsAndShortTermBorrowingsAbstract_169" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_168" xlink:to="loc_ubsi_IncreaseDecreaseInDepositsAndShortTermBorrowingsAbstract_169" use="optional" order="28" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInDeposits" xlink:label="loc_us-gaap_IncreaseDecreaseInDeposits_2038472038" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_IncreaseDecreaseInDepositsAndShortTermBorrowingsAbstract_169" xlink:to="loc_us-gaap_IncreaseDecreaseInDeposits_2038472038" use="optional" order="29" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_IncreaseDecreaseInFederalFundsPurchasedSecuritiesSoldUnderAgreementsToRepurchaseAndOtherShortTermBorrowingsNet" xlink:label="loc_ubsi_IncreaseDecreaseInFederalFundsPurchasedSecuritiesSoldUnderAgreementsToRepurchaseAndOtherShortTermBorrowingsNet_194" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_IncreaseDecreaseInDepositsAndShortTermBorrowingsAbstract_169" xlink:to="loc_ubsi_IncreaseDecreaseInFederalFundsPurchasedSecuritiesSoldUnderAgreementsToRepurchaseAndOtherShortTermBorrowingsNet_194" use="optional" order="30" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_195" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_168" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_195" use="optional" order="31" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_196" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_828468" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_196" use="optional" order="32" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_197" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_828468" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_197" use="optional" order="33" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_198" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_828468" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_198" use="optional" order="34" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SupplementalCashFlowInformationAbstract" xlink:label="loc_us-gaap_SupplementalCashFlowInformationAbstract_170" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_828468" xlink:to="loc_us-gaap_SupplementalCashFlowInformationAbstract_170" use="optional" order="35" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract" xlink:label="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_171" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_170" xlink:to="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_171" use="optional" order="36" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransferToOtherRealEstate" xlink:label="loc_us-gaap_TransferToOtherRealEstate_199" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_171" xlink:to="loc_us-gaap_TransferToOtherRealEstate_199" use="optional" order="37" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability" xlink:label="loc_us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability_2147472223" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_171" xlink:to="loc_us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability_2147472223" use="optional" order="38" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NoncashExciseTaxOnNetStockRepurchases" xlink:label="loc_ubsi_NoncashExciseTaxOnNetStockRepurchases_2038472037" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_171" xlink:to="loc_ubsi_NoncashExciseTaxOnNetStockRepurchases_2038472037" use="optional" order="39" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumedAbstract" xlink:label="loc_us-gaap_NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumedAbstract_827603" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_170" xlink:to="loc_us-gaap_NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumedAbstract_827603" use="optional" order="40" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoncashOrPartNoncashAcquisitionValueOfAssetsAcquired1" xlink:label="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfAssetsAcquired1_827604" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumedAbstract_827603" xlink:to="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfAssetsAcquired1_827604" use="optional" order="41" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumed1" xlink:label="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumed1_827605" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumedAbstract_827603" xlink:to="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumed1_827605" use="optional" order="42" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillAcquiredDuringPeriod" xlink:label="loc_us-gaap_GoodwillAcquiredDuringPeriod_2142472108" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumedAbstract_827603" xlink:to="loc_us-gaap_GoodwillAcquiredDuringPeriod_2142472108" use="optional" order="43" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoncashOrPartNoncashAcquisitionNoncashFinancialOrEquityInstrumentConsiderationSharesIssued1" xlink:label="loc_us-gaap_NoncashOrPartNoncashAcquisitionNoncashFinancialOrEquityInstrumentConsiderationSharesIssued1_2141472108" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumedAbstract_827603" xlink:to="loc_us-gaap_NoncashOrPartNoncashAcquisitionNoncashFinancialOrEquityInstrumentConsiderationSharesIssued1_2141472108" use="optional" order="44" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/SummaryOfSignificantAccountingPolicies" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountingPoliciesAbstract" xlink:label="loc_us-gaap_AccountingPoliciesAbstract_202" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SignificantAccountingPoliciesTextBlock" xlink:label="loc_us-gaap_SignificantAccountingPoliciesTextBlock_203" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_202" xlink:to="loc_us-gaap_SignificantAccountingPoliciesTextBlock_203" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/InvestmentSecurities" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract" xlink:label="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_205" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock" xlink:label="loc_us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock_206" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_205" xlink:to="loc_us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock_206" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/LoansAndLeases" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivablesAbstract" xlink:label="loc_us-gaap_ReceivablesAbstract_208" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndLeasesReceivableTextBlock" xlink:label="loc_ubsi_LoansAndLeasesReceivableTextBlock_828604" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReceivablesAbstract_208" xlink:to="loc_ubsi_LoansAndLeasesReceivableTextBlock_828604" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/CreditQuality" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TextBlockAbstract" xlink:label="loc_us-gaap_TextBlockAbstract_211" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CreditQualityTextBlock" xlink:label="loc_ubsi_CreditQualityTextBlock_212" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TextBlockAbstract_211" xlink:to="loc_ubsi_CreditQualityTextBlock_212" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/AllowanceForCreditLosses" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivablesAbstract" xlink:label="loc_us-gaap_ReceivablesAbstract_214" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AllowanceForCreditLossesTextBlock" xlink:label="loc_us-gaap_AllowanceForCreditLossesTextBlock_215" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReceivablesAbstract_214" xlink:to="loc_us-gaap_AllowanceForCreditLossesTextBlock_215" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/IntangibleAssets" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_566921" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock_566922" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_566921" xlink:to="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock_566922" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/Leases" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeasesAbstract" xlink:label="loc_us-gaap_LeasesAbstract_220" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeasesTextBlock" xlink:label="loc_us-gaap_LesseeOperatingLeasesTextBlock_221" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_220" xlink:to="loc_us-gaap_LesseeOperatingLeasesTextBlock_221" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ShortTermBorrowings" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtDisclosureAbstract" xlink:label="loc_us-gaap_DebtDisclosureAbstract_223" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermDebtTextBlock" xlink:label="loc_us-gaap_ShortTermDebtTextBlock_224" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtDisclosureAbstract_223" xlink:to="loc_us-gaap_ShortTermDebtTextBlock_224" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/LongTermBorrowings" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtDisclosureAbstract" xlink:label="loc_us-gaap_DebtDisclosureAbstract_226" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtTextBlock" xlink:label="loc_us-gaap_LongTermDebtTextBlock_227" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtDisclosureAbstract_226" xlink:to="loc_us-gaap_LongTermDebtTextBlock_227" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/CommitmentsAndContingentLiabilities" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:label="loc_us-gaap_CommitmentsAndContingenciesDisclosureAbstract_229" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:label="loc_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_230" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CommitmentsAndContingenciesDisclosureAbstract_229" xlink:to="loc_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_230" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/DerivativeFinancialInstruments" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:label="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract_232" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock" xlink:label="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock_233" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract_232" xlink:to="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock_233" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/FairValueMeasurements" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueDisclosuresAbstract" xlink:label="loc_us-gaap_FairValueDisclosuresAbstract_235" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueDisclosuresTextBlock" xlink:label="loc_us-gaap_FairValueDisclosuresTextBlock_236" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueDisclosuresAbstract_235" xlink:to="loc_us-gaap_FairValueDisclosuresTextBlock_236" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/StockBasedCompensation" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:label="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_238" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock" xlink:label="loc_us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock_239" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_238" xlink:to="loc_us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock_239" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/EmployeeBenefitPlans" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CompensationAndRetirementDisclosureAbstract" xlink:label="loc_us-gaap_CompensationAndRetirementDisclosureAbstract_241" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock" xlink:label="loc_us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock_242" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CompensationAndRetirementDisclosureAbstract_241" xlink:to="loc_us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock_242" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/IncomeTaxes" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxDisclosureAbstract" xlink:label="loc_us-gaap_IncomeTaxDisclosureAbstract_244" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxDisclosureTextBlock" xlink:label="loc_us-gaap_IncomeTaxDisclosureTextBlock_245" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_244" xlink:to="loc_us-gaap_IncomeTaxDisclosureTextBlock_245" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ComprehensiveIncome" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityAbstract" xlink:label="loc_us-gaap_EquityAbstract_247" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNoteTextBlock" xlink:label="loc_us-gaap_ComprehensiveIncomeNoteTextBlock_248" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityAbstract_247" xlink:to="loc_us-gaap_ComprehensiveIncomeNoteTextBlock_248" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/EarningsPerShare" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EarningsPerShareAbstract" xlink:label="loc_us-gaap_EarningsPerShareAbstract_250" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EarningsPerShareTextBlock" xlink:label="loc_us-gaap_EarningsPerShareTextBlock_251" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_250" xlink:to="loc_us-gaap_EarningsPerShareTextBlock_251" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/VariableInterestEntities" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:label="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_253" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableInterestEntityDisclosureTextBlock" xlink:label="loc_us-gaap_VariableInterestEntityDisclosureTextBlock_254" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_253" xlink:to="loc_us-gaap_VariableInterestEntityDisclosureTextBlock_254" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/SegmentInformation" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingAbstract" xlink:label="loc_us-gaap_SegmentReportingAbstract_256" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingDisclosureTextBlock" xlink:label="loc_us-gaap_SegmentReportingDisclosureTextBlock_257" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SegmentReportingAbstract_256" xlink:to="loc_us-gaap_SegmentReportingDisclosureTextBlock_257" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/SummaryOfSignificantAccountingPoliciesPolicies" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountingPoliciesAbstract" xlink:label="loc_us-gaap_AccountingPoliciesAbstract_259" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingPolicyPolicyTextBlock" xlink:label="loc_us-gaap_SegmentReportingPolicyPolicyTextBlock_566503" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_259" xlink:to="loc_us-gaap_SegmentReportingPolicyPolicyTextBlock_566503" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BasisOfAccountingPolicyPolicyTextBlock" xlink:label="loc_us-gaap_BasisOfAccountingPolicyPolicyTextBlock_260" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_259" xlink:to="loc_us-gaap_BasisOfAccountingPolicyPolicyTextBlock_260" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" xlink:label="loc_us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock_261" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_259" xlink:to="loc_us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock_261" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/InvestmentSecuritiesTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract" xlink:label="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_263" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleTableTextBlock" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTableTextBlock_270" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_263" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleTableTextBlock_270" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnrealizedGainLossOnInvestmentsTableTextBlock" xlink:label="loc_us-gaap_UnrealizedGainLossOnInvestmentsTableTextBlock_271" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_263" xlink:to="loc_us-gaap_UnrealizedGainLossOnInvestmentsTableTextBlock_271" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfRealizedGainLossTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfRealizedGainLossTableTextBlock_272" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_263" xlink:to="loc_us-gaap_ScheduleOfRealizedGainLossTableTextBlock_272" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock" xlink:label="loc_us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock_274" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_263" xlink:to="loc_us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock_274" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock_276" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_263" xlink:to="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock_276" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/LoansAndLeasesTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivablesAbstract" xlink:label="loc_us-gaap_ReceivablesAbstract_278" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock_279" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReceivablesAbstract_278" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock_279" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/CreditQualityTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TextBlockAbstract" xlink:label="loc_us-gaap_TextBlockAbstract_282" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PastDueFinancingReceivablesTableTextBlock" xlink:label="loc_us-gaap_PastDueFinancingReceivablesTableTextBlock_284" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TextBlockAbstract_282" xlink:to="loc_us-gaap_PastDueFinancingReceivablesTableTextBlock_284" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock_285" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TextBlockAbstract_282" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock_285" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ScheduleOfAmortizedCostBasisOfLoanModificationsMadeToBorrowersTableTextBlock" xlink:label="loc_ubsi_ScheduleOfAmortizedCostBasisOfLoanModificationsMadeToBorrowersTableTextBlock_2147472330" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TextBlockAbstract_282" xlink:to="loc_ubsi_ScheduleOfAmortizedCostBasisOfLoanModificationsMadeToBorrowersTableTextBlock_2147472330" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ScheduleOfAmortizedCostBasisPaymentStatusTableTextBlock" xlink:label="loc_ubsi_ScheduleOfAmortizedCostBasisPaymentStatusTableTextBlock_2147472329" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TextBlockAbstract_282" xlink:to="loc_ubsi_ScheduleOfAmortizedCostBasisPaymentStatusTableTextBlock_2147472329" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ScheduleOfFinancialEffectOfLoanAndLeaseModificationsTableTextBlock" xlink:label="loc_ubsi_ScheduleOfFinancialEffectOfLoanAndLeaseModificationsTableTextBlock_2147472328" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TextBlockAbstract_282" xlink:to="loc_ubsi_ScheduleOfFinancialEffectOfLoanAndLeaseModificationsTableTextBlock_2147472328" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CollateralDependentLoansAndLeasesTableTextBlock" xlink:label="loc_ubsi_CollateralDependentLoansAndLeasesTableTextBlock_830012" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TextBlockAbstract_282" xlink:to="loc_ubsi_CollateralDependentLoansAndLeasesTableTextBlock_830012" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ScheduleOfTermLoansAndFinancingReceivableTableTextBlock" xlink:label="loc_ubsi_ScheduleOfTermLoansAndFinancingReceivableTableTextBlock_830019" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TextBlockAbstract_282" xlink:to="loc_ubsi_ScheduleOfTermLoansAndFinancingReceivableTableTextBlock_830019" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/AllowanceForCreditLossesTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivablesAbstract" xlink:label="loc_us-gaap_ReceivablesAbstract_289" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ScheduleRelatedToAccruedInterestReceivablesAndWrittenOff" xlink:label="loc_ubsi_ScheduleRelatedToAccruedInterestReceivablesAndWrittenOff_827241" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReceivablesAbstract_289" xlink:to="loc_ubsi_ScheduleRelatedToAccruedInterestReceivablesAndWrittenOff_827241" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ScheduleOfAccruedInterestReceivablesWrittenOffByReversingInterestTableTextBlock" xlink:label="loc_ubsi_ScheduleOfAccruedInterestReceivablesWrittenOffByReversingInterestTableTextBlock_1291155" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReceivablesAbstract_289" xlink:to="loc_ubsi_ScheduleOfAccruedInterestReceivablesWrittenOffByReversingInterestTableTextBlock_1291155" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock" xlink:label="loc_us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock_290" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReceivablesAbstract_289" xlink:to="loc_us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock_290" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/IntangibleAssetsTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_292" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock_293" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_292" xlink:to="loc_us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock_293" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock" xlink:label="loc_us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock_295" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_292" xlink:to="loc_us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock_295" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/LeasesTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeasesAbstract" xlink:label="loc_us-gaap_LeasesAbstract_297" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeaseCostTableTextBlock" xlink:label="loc_us-gaap_LeaseCostTableTextBlock_298" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_297" xlink:to="loc_us-gaap_LeaseCostTableTextBlock_298" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OperatingLeaseBalanceSheetLocationTableTextBlock" xlink:label="loc_ubsi_OperatingLeaseBalanceSheetLocationTableTextBlock_299" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_297" xlink:to="loc_ubsi_OperatingLeaseBalanceSheetLocationTableTextBlock_299" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OperatingLeaseTermAndDiscountRateTextBlock" xlink:label="loc_ubsi_OperatingLeaseTermAndDiscountRateTextBlock_300" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_297" xlink:to="loc_ubsi_OperatingLeaseTermAndDiscountRateTextBlock_300" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OperatingLeasesCashFlowInformationTextBlock" xlink:label="loc_ubsi_OperatingLeasesCashFlowInformationTextBlock_301" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_297" xlink:to="loc_ubsi_OperatingLeasesCashFlowInformationTextBlock_301" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock_302" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_297" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock_302" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ShortTermBorrowingsTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtDisclosureAbstract" xlink:label="loc_us-gaap_DebtDisclosureAbstract_566591" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_2012472021" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtDisclosureAbstract_566591" xlink:to="loc_us-gaap_StatementTable_2012472021" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_2011472021" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_2012472021" xlink:to="loc_us-gaap_StatementLineItems_2011472021" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShortTermDebtTextBlock" xlink:label="loc_us-gaap_ScheduleOfShortTermDebtTextBlock_566597" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_2011472021" xlink:to="loc_us-gaap_ScheduleOfShortTermDebtTextBlock_566597" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/DerivativeFinancialInstrumentsTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:label="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract_307" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock" xlink:label="loc_us-gaap_ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock_308" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract_307" xlink:to="loc_us-gaap_ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock_308" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock_309" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract_307" xlink:to="loc_us-gaap_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock_309" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock" xlink:label="loc_us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock_310" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract_307" xlink:to="loc_us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock_310" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/FairValueMeasurementsTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueDisclosuresAbstract" xlink:label="loc_us-gaap_FairValueDisclosuresAbstract_312" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock_313" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueDisclosuresAbstract_312" xlink:to="loc_us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock_313" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock_314" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueDisclosuresAbstract_312" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock_314" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueOptionTextBlock" xlink:label="loc_us-gaap_FairValueOptionTextBlock_315" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueDisclosuresAbstract_312" xlink:to="loc_us-gaap_FairValueOptionTextBlock_315" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueOptionQuantitativeDisclosuresTextBlock" xlink:label="loc_us-gaap_FairValueOptionQuantitativeDisclosuresTextBlock_316" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueDisclosuresAbstract_312" xlink:to="loc_us-gaap_FairValueOptionQuantitativeDisclosuresTextBlock_316" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueAssetsMeasuredOnNonrecurringBasisTextBlock" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnNonrecurringBasisTextBlock_317" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueDisclosuresAbstract_312" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnNonrecurringBasisTextBlock_317" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByBalanceSheetGroupingTextBlock" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTextBlock_318" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueDisclosuresAbstract_312" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTextBlock_318" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/StockBasedCompensationTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:label="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_1291260" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock_321" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_1291260" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock_321" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSharebasedCompensationRestrictedStockAndRestrictedStockUnitsActivityTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfSharebasedCompensationRestrictedStockAndRestrictedStockUnitsActivityTableTextBlock_322" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_1291260" xlink:to="loc_us-gaap_ScheduleOfSharebasedCompensationRestrictedStockAndRestrictedStockUnitsActivityTableTextBlock_322" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfNonvestedShareActivityTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfNonvestedShareActivityTableTextBlock_323" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_1291260" xlink:to="loc_us-gaap_ScheduleOfNonvestedShareActivityTableTextBlock_323" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/EmployeeBenefitPlansTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CompensationAndRetirementDisclosureAbstract" xlink:label="loc_us-gaap_CompensationAndRetirementDisclosureAbstract_325" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfNetBenefitCostsTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfNetBenefitCostsTableTextBlock_326" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CompensationAndRetirementDisclosureAbstract_325" xlink:to="loc_us-gaap_ScheduleOfNetBenefitCostsTableTextBlock_326" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ComprehensiveIncomeTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityAbstract" xlink:label="loc_us-gaap_EquityAbstract_328" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfComprehensiveIncomeLossTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfComprehensiveIncomeLossTableTextBlock_329" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityAbstract_328" xlink:to="loc_us-gaap_ScheduleOfComprehensiveIncomeLossTableTextBlock_329" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock_330" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityAbstract_328" xlink:to="loc_us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock_330" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTableTextBlock" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTableTextBlock_331" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityAbstract_328" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTableTextBlock_331" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/EarningsPerShareTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EarningsPerShareAbstract" xlink:label="loc_us-gaap_EarningsPerShareAbstract_333" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_334" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_333" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_334" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/VariableInterestEntitiesTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:label="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_336" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_InformationRelatedToStatutoryTrustsTableTextBlock" xlink:label="loc_ubsi_InformationRelatedToStatutoryTrustsTableTextBlock_337" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_336" xlink:to="loc_ubsi_InformationRelatedToStatutoryTrustsTableTextBlock_337" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/SegmentInformationTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingAbstract" xlink:label="loc_us-gaap_SegmentReportingAbstract_340" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock_341" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SegmentReportingAbstract_340" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock_341" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ScheduleOfSegmentReportingFinanacialPositionInformationBySegmentTableTextBlock" xlink:label="loc_ubsi_ScheduleOfSegmentReportingFinanacialPositionInformationBySegmentTableTextBlock_2010472020" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SegmentReportingAbstract_340" xlink:to="loc_ubsi_ScheduleOfSegmentReportingFinanacialPositionInformationBySegmentTableTextBlock_2010472020" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/InvestmentSecuritiesSummaryOfAmortizedCostAndEstimatedFairValuesOfAvailableForSaleSecuritiesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract" xlink:label="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_362" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfInvestmentsTable" xlink:label="loc_us-gaap_ScheduleOfInvestmentsTable_363" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_362" xlink:to="loc_us-gaap_ScheduleOfInvestmentsTable_363" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_364" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_363" xlink:to="loc_us-gaap_FinancialInstrumentAxis_364" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_365" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancialInstrumentAxis_364" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_365" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember_367" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_365" xlink:to="loc_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember_367" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember" xlink:label="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_368" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_365" xlink:to="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_368" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialMortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_2052472039" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_365" xlink:to="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_2052472039" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ResidentialMortgageBackedSecuritiesNonAgencyMember" xlink:label="loc_ubsi_ResidentialMortgageBackedSecuritiesNonAgencyMember_370" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_365" xlink:to="loc_ubsi_ResidentialMortgageBackedSecuritiesNonAgencyMember_370" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialMortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_371" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_365" xlink:to="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_371" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/disclosureGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_372" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_365" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_372" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SingleIssueTrustPreferredSecuritiesMember" xlink:label="loc_ubsi_SingleIssueTrustPreferredSecuritiesMember_374" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_365" xlink:to="loc_ubsi_SingleIssueTrustPreferredSecuritiesMember_374" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_375" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_365" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_375" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/presentationGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfInvestmentsLineItems" xlink:label="loc_us-gaap_ScheduleOfInvestmentsLineItems_366" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_363" xlink:to="loc_us-gaap_ScheduleOfInvestmentsLineItems_366" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss_376" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_366" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss_376" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_1292589" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_366" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_1292589" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_1302506" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_366" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_1302506" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss_827633" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_366" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss_827633" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecurities" xlink:label="loc_us-gaap_DebtSecurities_1302508" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_366" xlink:to="loc_us-gaap_DebtSecurities_1302508" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/presentationGuidance" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/InvestmentSecuritiesSummaryOfSecuritiesAvailableForSaleInAnUnrealizedLossPositionDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract" xlink:label="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_382" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfInvestmentsTable" xlink:label="loc_us-gaap_ScheduleOfInvestmentsTable_383" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_382" xlink:to="loc_us-gaap_ScheduleOfInvestmentsTable_383" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_384" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_383" xlink:to="loc_us-gaap_FinancialInstrumentAxis_384" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_385" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancialInstrumentAxis_384" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_385" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember_387" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_385" xlink:to="loc_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember_387" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember" xlink:label="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_388" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_385" xlink:to="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_388" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialMortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_389" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_385" xlink:to="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_389" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ResidentialMortgageBackedSecuritiesNonAgencyMember" xlink:label="loc_ubsi_ResidentialMortgageBackedSecuritiesNonAgencyMember_390" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_385" xlink:to="loc_ubsi_ResidentialMortgageBackedSecuritiesNonAgencyMember_390" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialMortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_391" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_385" xlink:to="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_391" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/presentationGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_392" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_385" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_392" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SingleIssueTrustPreferredSecuritiesMember" xlink:label="loc_ubsi_SingleIssueTrustPreferredSecuritiesMember_394" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_385" xlink:to="loc_ubsi_SingleIssueTrustPreferredSecuritiesMember_394" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_395" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_385" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_395" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/presentationGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfInvestmentsLineItems" xlink:label="loc_us-gaap_ScheduleOfInvestmentsLineItems_386" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_383" xlink:to="loc_us-gaap_ScheduleOfInvestmentsLineItems_386" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_396" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_386" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_396" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_397" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_386" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_397" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValues" xlink:label="loc_ubsi_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValues_398" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_386" xlink:to="loc_ubsi_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValues_398" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_399" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_386" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_399" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_827635" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_386" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_827635" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_827636" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_386" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_827636" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/InvestmentSecuritiesSummaryOfGainsOrLossesOnProceedsFromMaturitiesSalesAndCallsOfAvailableForSaleSecuritiesBySpecificIdentificationMethodDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract" xlink:label="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_401" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_2007472020" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_401" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_2007472020" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGain" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain_403" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_401" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain_403" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss_404" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_401" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss_404" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/InvestmentSecuritiesAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract" xlink:label="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_406" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfInvestmentsTable" xlink:label="loc_us-gaap_ScheduleOfInvestmentsTable_407" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_406" xlink:to="loc_us-gaap_ScheduleOfInvestmentsTable_407" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_408" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_407" xlink:to="loc_us-gaap_FinancialInstrumentAxis_408" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_409" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancialInstrumentAxis_408" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_409" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember" xlink:label="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_416" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_409" xlink:to="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_416" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AgencyMortgageBackedSecuritiesMember" xlink:label="loc_ubsi_AgencyMortgageBackedSecuritiesMember_417" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_409" xlink:to="loc_ubsi_AgencyMortgageBackedSecuritiesMember_417" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialMortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_418" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_409" xlink:to="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_418" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialMortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_419" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_409" xlink:to="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_419" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/presentationGuidance" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ResidentialMortgageBackedSecuritiesNonAgencyMember" xlink:label="loc_ubsi_ResidentialMortgageBackedSecuritiesNonAgencyMember_420" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_409" xlink:to="loc_ubsi_ResidentialMortgageBackedSecuritiesNonAgencyMember_420" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_422" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_409" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_422" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_MortgageBackedSecuritiesMember_568809" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_409" xlink:to="loc_us-gaap_MortgageBackedSecuritiesMember_568809" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_827645" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_409" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_827645" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InternalCreditAssessmentAxis" xlink:label="loc_us-gaap_InternalCreditAssessmentAxis_410" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_407" xlink:to="loc_us-gaap_InternalCreditAssessmentAxis_410" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain_411" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis_410" xlink:to="loc_us-gaap_InternalCreditAssessmentDomain_411" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InternalInvestmentGradeMember" xlink:label="loc_us-gaap_InternalInvestmentGradeMember_423" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_411" xlink:to="loc_us-gaap_InternalInvestmentGradeMember_423" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InternalNoninvestmentGradeMember" xlink:label="loc_us-gaap_InternalNoninvestmentGradeMember_424" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_411" xlink:to="loc_us-gaap_InternalNoninvestmentGradeMember_424" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_UnratedBondsInvestmentGradeMember" xlink:label="loc_ubsi_UnratedBondsInvestmentGradeMember_426" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_411" xlink:to="loc_ubsi_UnratedBondsInvestmentGradeMember_426" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AaaMember" xlink:label="loc_ubsi_AaaMember_827646" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_411" xlink:to="loc_ubsi_AaaMember_827646" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_InvestmentSecurityAxis" xlink:label="loc_ubsi_InvestmentSecurityAxis_413" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_407" xlink:to="loc_ubsi_InvestmentSecurityAxis_413" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_InvestmentSecurityDomain" xlink:label="loc_ubsi_InvestmentSecurityDomain_428" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_InvestmentSecurityAxis_413" xlink:to="loc_ubsi_InvestmentSecurityDomain_428" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_414" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_407" xlink:to="loc_us-gaap_PlanNameAxis_414" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_429" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PlanNameAxis_414" xlink:to="loc_us-gaap_PlanNameDomain_429" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonAgencyResidentialMortgageBackedSecuritiesAxis" xlink:label="loc_ubsi_NonAgencyResidentialMortgageBackedSecuritiesAxis_595405" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_407" xlink:to="loc_ubsi_NonAgencyResidentialMortgageBackedSecuritiesAxis_595405" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonAgencyResidentialMortgageBackedSecuritiesDomain" xlink:label="loc_ubsi_NonAgencyResidentialMortgageBackedSecuritiesDomain_595406" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_NonAgencyResidentialMortgageBackedSecuritiesAxis_595405" xlink:to="loc_ubsi_NonAgencyResidentialMortgageBackedSecuritiesDomain_595406" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonAgencyResidentialMortgageBackedSecuritiesMember" xlink:label="loc_ubsi_NonAgencyResidentialMortgageBackedSecuritiesMember_595408" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_NonAgencyResidentialMortgageBackedSecuritiesDomain_595406" xlink:to="loc_ubsi_NonAgencyResidentialMortgageBackedSecuritiesMember_595408" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_827647" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_407" xlink:to="loc_srt_RangeAxis_827647" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_827648" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeAxis_827647" xlink:to="loc_srt_RangeMember_827648" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_827650" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_827648" xlink:to="loc_srt_MinimumMember_827650" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CollateralAxis" xlink:label="loc_us-gaap_CollateralAxis_827651" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_407" xlink:to="loc_us-gaap_CollateralAxis_827651" use="optional" order="28" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CollateralDomain" xlink:label="loc_us-gaap_CollateralDomain_827652" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CollateralAxis_827651" xlink:to="loc_us-gaap_CollateralDomain_827652" use="optional" order="29" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FederalFamilyEducationLoanProgramMember" xlink:label="loc_ubsi_FederalFamilyEducationLoanProgramMember_827653" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CollateralDomain_827652" xlink:to="loc_ubsi_FederalFamilyEducationLoanProgramMember_827653" use="optional" order="30" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_CreditRatingFitchAxis" xlink:label="loc_srt_CreditRatingFitchAxis_827654" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_407" xlink:to="loc_srt_CreditRatingFitchAxis_827654" use="optional" order="31" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ExternalCreditRatingFitchMember" xlink:label="loc_srt_ExternalCreditRatingFitchMember_827655" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CreditRatingFitchAxis_827654" xlink:to="loc_srt_ExternalCreditRatingFitchMember_827655" use="optional" order="32" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_FitchAAPlusRatingMember" xlink:label="loc_srt_FitchAAPlusRatingMember_827656" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ExternalCreditRatingFitchMember_827655" xlink:to="loc_srt_FitchAAPlusRatingMember_827656" use="optional" order="33" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_FitchAAARatingMember" xlink:label="loc_srt_FitchAAARatingMember_1292178" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ExternalCreditRatingFitchMember_827655" xlink:to="loc_srt_FitchAAARatingMember_1292178" use="optional" order="34" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfInvestmentsLineItems" xlink:label="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_407" xlink:to="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" use="optional" order="35" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_827634" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_827634" use="optional" order="36" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_430" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_430" use="optional" order="37" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions_431" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions_431" use="optional" order="38" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AvailableForSaleSecuritiesNumber" xlink:label="loc_ubsi_AvailableForSaleSecuritiesNumber_432" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_ubsi_AvailableForSaleSecuritiesNumber_432" use="optional" order="39" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentageOfAssetBackedSecuritiesWithCreditRating" xlink:label="loc_ubsi_PercentageOfAssetBackedSecuritiesWithCreditRating_827638" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_ubsi_PercentageOfAssetBackedSecuritiesWithCreditRating_827638" use="optional" order="40" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentOfMunicipalBondPortfolioWithCreditSupport" xlink:label="loc_ubsi_PercentOfMunicipalBondPortfolioWithCreditSupport_434" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_ubsi_PercentOfMunicipalBondPortfolioWithCreditSupport_434" use="optional" order="41" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CapitalizationOfBanksEqualToOrGreaterThanInSingleIssueTrustPreferredPortfolio" xlink:label="loc_ubsi_CapitalizationOfBanksEqualToOrGreaterThanInSingleIssueTrustPreferredPortfolio_435" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_ubsi_CapitalizationOfBanksEqualToOrGreaterThanInSingleIssueTrustPreferredPortfolio_435" use="optional" order="42" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AmortizedCostOfAvailableForSaleSingleIssueTrustPreferredSecurities" xlink:label="loc_ubsi_AmortizedCostOfAvailableForSaleSingleIssueTrustPreferredSecurities_436" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_ubsi_AmortizedCostOfAvailableForSaleSingleIssueTrustPreferredSecurities_436" use="optional" order="43" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentOfCorporateSecuritiesPortfolio" xlink:label="loc_ubsi_PercentOfCorporateSecuritiesPortfolio_437" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_ubsi_PercentOfCorporateSecuritiesPortfolio_437" use="optional" order="44" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_EquitySecurities" xlink:label="loc_ubsi_EquitySecurities_438" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_ubsi_EquitySecurities_438" use="optional" order="45" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_InvestmentSecuritiesPledgedAsCollateral" xlink:label="loc_ubsi_InvestmentSecuritiesPledgedAsCollateral_439" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_ubsi_InvestmentSecuritiesPledgedAsCollateral_439" use="optional" order="46" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesUnrealizedGainLoss" xlink:label="loc_us-gaap_DebtSecuritiesUnrealizedGainLoss_568792" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_us-gaap_DebtSecuritiesUnrealizedGainLoss_568792" use="optional" order="47" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentageOfRepaymentOfInvestmentGuaranteedByGovernment" xlink:label="loc_ubsi_PercentageOfRepaymentOfInvestmentGuaranteedByGovernment_827641" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_ubsi_PercentageOfRepaymentOfInvestmentGuaranteedByGovernment_827641" use="optional" order="48" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_2147472206" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_2147472206" use="optional" order="49" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/InvestmentSecuritiesSummaryOfMaturitiesOfSecuritiesAvailableForSaleByAmortizedCostAndEstimatedFairValueDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract" xlink:label="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_447" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_448" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_447" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_448" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_449" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_447" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_449" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_450" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_447" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_450" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_451" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_447" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_451" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss_452" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_447" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss_452" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_453" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_447" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_453" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_454" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_447" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_454" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_455" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_447" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_455" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_456" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_447" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_456" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecurities" xlink:label="loc_us-gaap_DebtSecurities_457" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_447" xlink:to="loc_us-gaap_DebtSecurities_457" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/InvestmentSecuritiesSummaryOfEquitySecuritiesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGainLossAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGainLossAbstract_486" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleTable" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_487" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGainLossAbstract_486" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_487" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_488" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_487" xlink:to="loc_us-gaap_FinancialInstrumentAxis_488" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_489" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancialInstrumentAxis_488" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_489" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesMember" xlink:label="loc_us-gaap_EquitySecuritiesMember_491" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_489" xlink:to="loc_us-gaap_EquitySecuritiesMember_491" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_490" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_487" xlink:to="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_490" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_492" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_490" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_492" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNiUnrealizedGain" xlink:label="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGain_494" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_490" xlink:to="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGain_494" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNiUnrealizedLoss" xlink:label="loc_us-gaap_EquitySecuritiesFvNiUnrealizedLoss_495" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_490" xlink:to="loc_us-gaap_EquitySecuritiesFvNiUnrealizedLoss_495" use="optional" order="8" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax_493" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_490" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax_493" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/LoansAndLeasesMajorClassesOfLoansAndLeasesDetail" >
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAbstract" xlink:label="loc_ubsi_LoansAbstract_497" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_498" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_LoansAbstract_497" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_498" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_499" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_498" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_499" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_500" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_499" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_500" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OwnerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_504" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_500" xlink:to="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_504" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonownerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_505" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_500" xlink:to="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_505" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherCommercialLoansAndLeasesMember" xlink:label="loc_ubsi_OtherCommercialLoansAndLeasesMember_829022" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_500" xlink:to="loc_ubsi_OtherCommercialLoansAndLeasesMember_829022" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_501" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_498" xlink:to="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_501" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CommercialFinancialAndAgriculturalAbstract" xlink:label="loc_ubsi_CommercialFinancialAndAgriculturalAbstract_467116" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_501" xlink:to="loc_ubsi_CommercialFinancialAndAgriculturalAbstract_467116" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndFinanceReceivablesGross" xlink:label="loc_ubsi_LoansAndFinanceReceivablesGross_507" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_CommercialFinancialAndAgriculturalAbstract_467116" xlink:to="loc_ubsi_LoansAndFinanceReceivablesGross_507" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndLeasesReceivableResidentialRealEstate" xlink:label="loc_ubsi_LoansAndLeasesReceivableResidentialRealEstate_508" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_501" xlink:to="loc_ubsi_LoansAndLeasesReceivableResidentialRealEstate_508" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndLeasesReceivableConstructionAndLandDevelopmentConsumer" xlink:label="loc_ubsi_LoansAndLeasesReceivableConstructionAndLandDevelopmentConsumer_2147472365" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_501" xlink:to="loc_ubsi_LoansAndLeasesReceivableConstructionAndLandDevelopmentConsumer_2147472365" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndLeasesReceivableConsumerAbstract" xlink:label="loc_ubsi_LoansAndLeasesReceivableConsumerAbstract_467120" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_501" xlink:to="loc_ubsi_LoansAndLeasesReceivableConsumerAbstract_467120" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndFinanceReceivablesThroughCreditCards" xlink:label="loc_ubsi_LoansAndFinanceReceivablesThroughCreditCards_510" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_LoansAndLeasesReceivableConsumerAbstract_467120" xlink:to="loc_ubsi_LoansAndFinanceReceivablesThroughCreditCards_510" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndFinanceReceivablesThroughOtherCustomers" xlink:label="loc_ubsi_LoansAndFinanceReceivablesThroughOtherCustomers_511" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_LoansAndLeasesReceivableConsumerAbstract_467120" xlink:to="loc_ubsi_LoansAndFinanceReceivablesThroughOtherCustomers_511" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoanAndLeasesUnearnedIncome" xlink:label="loc_ubsi_LoanAndLeasesUnearnedIncome_2147472120" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_LoansAndLeasesReceivableConsumerAbstract_467120" xlink:to="loc_ubsi_LoanAndLeasesUnearnedIncome_2147472120" use="optional" order="15" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndLeasesNetOfUnearnedIncome" xlink:label="loc_ubsi_LoansAndLeasesNetOfUnearnedIncome_566848" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_LoansAndLeasesReceivableConsumerAbstract_467120" xlink:to="loc_ubsi_LoansAndLeasesNetOfUnearnedIncome_566848" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/LoansAndLeasesAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementOfFinancialPositionAbstract" xlink:label="loc_us-gaap_StatementOfFinancialPositionAbstract_514" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_515" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_514" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_515" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditLossStatusAxis" xlink:label="loc_us-gaap_CreditLossStatusAxis_516" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_515" xlink:to="loc_us-gaap_CreditLossStatusAxis_516" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditLossStatusDomain" xlink:label="loc_us-gaap_CreditLossStatusDomain_517" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CreditLossStatusAxis_516" xlink:to="loc_us-gaap_CreditLossStatusDomain_517" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_518" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_515" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_518" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_519" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_518" xlink:to="loc_us-gaap_RelatedPartyDomain_519" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DirectorsAndOfficersMember" xlink:label="loc_ubsi_DirectorsAndOfficersMember_522" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyDomain_519" xlink:to="loc_ubsi_DirectorsAndOfficersMember_522" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_520" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_515" xlink:to="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_520" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_523" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_520" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_523" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NotesReceivableGross" xlink:label="loc_us-gaap_NotesReceivableGross_1988472011" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_520" xlink:to="loc_us-gaap_NotesReceivableGross_1988472011" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/presentationGuidance" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/CreditQualityAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivablesAbstract" xlink:label="loc_us-gaap_ReceivablesAbstract_537" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_MinimumPeriodRelatedToAccrualOfInterestOnDiscontinuedCommercialAndConsumerLoans" xlink:label="loc_ubsi_MinimumPeriodRelatedToAccrualOfInterestOnDiscontinuedCommercialAndConsumerLoans_544" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReceivablesAbstract_537" xlink:to="loc_ubsi_MinimumPeriodRelatedToAccrualOfInterestOnDiscontinuedCommercialAndConsumerLoans_544" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_MaximumPeriodRelatedToAccrualOfInterestOnDiscontinuedCommercialAndConsumerLoans" xlink:label="loc_ubsi_MaximumPeriodRelatedToAccrualOfInterestOnDiscontinuedCommercialAndConsumerLoans_545" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReceivablesAbstract_537" xlink:to="loc_ubsi_MaximumPeriodRelatedToAccrualOfInterestOnDiscontinuedCommercialAndConsumerLoans_545" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSpecialMentionMinimum" xlink:label="loc_ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSpecialMentionMinimum_551" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReceivablesAbstract_537" xlink:to="loc_ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSpecialMentionMinimum_551" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSpecialMentionMaximum" xlink:label="loc_ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSpecialMentionMaximum_552" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReceivablesAbstract_537" xlink:to="loc_ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSpecialMentionMaximum_552" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSubstandard" xlink:label="loc_ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSubstandard_553" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReceivablesAbstract_537" xlink:to="loc_ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSubstandard_553" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealEstateAcquiredThroughForeclosure" xlink:label="loc_us-gaap_RealEstateAcquiredThroughForeclosure_554" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReceivablesAbstract_537" xlink:to="loc_us-gaap_RealEstateAcquiredThroughForeclosure_554" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet" xlink:label="loc_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet_555" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReceivablesAbstract_537" xlink:to="loc_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet_555" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DescriptionOfCreditRiskExposure" xlink:label="loc_us-gaap_DescriptionOfCreditRiskExposure_826884" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReceivablesAbstract_537" xlink:to="loc_us-gaap_DescriptionOfCreditRiskExposure_826884" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TroubledDebtRestructuringsPostModificationAdditionalFundsRecordedInvestment" xlink:label="loc_ubsi_TroubledDebtRestructuringsPostModificationAdditionalFundsRecordedInvestment_2147472220" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReceivablesAbstract_537" xlink:to="loc_ubsi_TroubledDebtRestructuringsPostModificationAdditionalFundsRecordedInvestment_2147472220" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/CreditQualityScheduleOfAgeAnalysisOfItsPastDueLoansSegregatedByClassOfLoansAndLeasesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivablesAbstract" xlink:label="loc_us-gaap_ReceivablesAbstract_579" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFinancingReceivablesPastDueTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_580" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReceivablesAbstract_579" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_580" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_581" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_580" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_581" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_582" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_581" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_582" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_588" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_582" xlink:to="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_588" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_589" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_582" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_589" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_590" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_582" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_590" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_591" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_582" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_591" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_583" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_580" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_583" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_584" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_583" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_584" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OwnerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_592" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_584" xlink:to="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_592" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonownerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_593" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_584" xlink:to="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_593" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_594" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_584" xlink:to="loc_us-gaap_ConstructionLoansMember_594" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BankCardMember" xlink:label="loc_ubsi_BankCardMember_595" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_584" xlink:to="loc_ubsi_BankCardMember_595" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherConsumerMember" xlink:label="loc_ubsi_OtherConsumerMember_596" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_584" xlink:to="loc_ubsi_OtherConsumerMember_596" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablesPeriodPastDueAxis" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_585" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_580" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_585" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_586" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_585" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_586" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancialAsset30To89DaysPastDueMember" xlink:label="loc_ubsi_FinancialAsset30To89DaysPastDueMember_1292478" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_586" xlink:to="loc_ubsi_FinancialAsset30To89DaysPastDueMember_1292478" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" xlink:label="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_597" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_586" xlink:to="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_597" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialAssetPastDueMember" xlink:label="loc_us-gaap_FinancialAssetPastDueMember_1292480" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_586" xlink:to="loc_us-gaap_FinancialAssetPastDueMember_1292480" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialAssetNotPastDueMember" xlink:label="loc_us-gaap_FinancialAssetNotPastDueMember_1292481" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_586" xlink:to="loc_us-gaap_FinancialAssetNotPastDueMember_1292481" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_587" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_580" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_587" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NotesReceivableGross" xlink:label="loc_us-gaap_NotesReceivableGross_1292482" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_587" xlink:to="loc_us-gaap_NotesReceivableGross_1292482" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing_602" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_587" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing_602" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/CreditQualityScheduleOfNonaccrualLoansSegregatedByClassOfLoansAndLeasesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivablesAbstract" xlink:label="loc_us-gaap_ReceivablesAbstract_615" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFinancingReceivablesPastDueTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_616" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReceivablesAbstract_615" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_616" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_619" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_616" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_619" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_620" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_619" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_620" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OwnerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_626" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_620" xlink:to="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_626" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonownerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_627" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_620" xlink:to="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_627" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_628" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_620" xlink:to="loc_us-gaap_ConstructionLoansMember_628" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BankCardMember" xlink:label="loc_ubsi_BankCardMember_629" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_620" xlink:to="loc_ubsi_BankCardMember_629" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherConsumerMember" xlink:label="loc_ubsi_OtherConsumerMember_630" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_620" xlink:to="loc_ubsi_OtherConsumerMember_630" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_617" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_616" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_617" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_618" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_617" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_618" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_622" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_618" xlink:to="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_622" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_623" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_618" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_623" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_624" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_618" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_624" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_625" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_618" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_625" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_621" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_616" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_621" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus_631" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_621" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus_631" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableNonaccrualNoAllowance" xlink:label="loc_us-gaap_FinancingReceivableNonaccrualNoAllowance_826964" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_621" xlink:to="loc_us-gaap_FinancingReceivableNonaccrualNoAllowance_826964" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/CreditQualityScheduleOfAmortizedCostBasisOfLoanModificationsMadeToBorrowersDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivablesAbstract" xlink:label="loc_us-gaap_ReceivablesAbstract_2147472314" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472313" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReceivablesAbstract_2147472314" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472313" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2147472312" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472313" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2147472312" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472311" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2147472312" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472311" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_2147472309" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472311" xlink:to="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_2147472309" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_2147472308" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472311" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_2147472308" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_2147472307" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472311" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_2147472307" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_2147472306" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472311" xlink:to="loc_us-gaap_ConstructionLoansMember_2147472306" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_2147472305" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472311" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_2147472305" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2147472304" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472313" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2147472304" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472303" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2147472304" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472303" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OwnerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_2147472302" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472303" xlink:to="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_2147472302" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonownerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_2147472301" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472303" xlink:to="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_2147472301" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BankCardMember" xlink:label="loc_ubsi_BankCardMember_2147472300" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472303" xlink:to="loc_ubsi_BankCardMember_2147472300" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherConsumerMember" xlink:label="loc_ubsi_OtherConsumerMember_2147472299" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472303" xlink:to="loc_ubsi_OtherConsumerMember_2147472299" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoanRestructuringModificationAxis" xlink:label="loc_us-gaap_LoanRestructuringModificationAxis_2147472298" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472313" xlink:to="loc_us-gaap_LoanRestructuringModificationAxis_2147472298" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoanRestructuringModificationDomain" xlink:label="loc_us-gaap_LoanRestructuringModificationDomain_2147472297" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LoanRestructuringModificationAxis_2147472298" xlink:to="loc_us-gaap_LoanRestructuringModificationDomain_2147472297" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ExtendedMaturityMember" xlink:label="loc_us-gaap_ExtendedMaturityMember_2147472296" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LoanRestructuringModificationDomain_2147472297" xlink:to="loc_us-gaap_ExtendedMaturityMember_2147472296" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherThanInsignificantPaymentDelayMember" xlink:label="loc_ubsi_OtherThanInsignificantPaymentDelayMember_2122472099" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LoanRestructuringModificationDomain_2147472297" xlink:to="loc_ubsi_OtherThanInsignificantPaymentDelayMember_2122472099" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableModificationsLineItems" xlink:label="loc_us-gaap_FinancingReceivableModificationsLineItems_2147472294" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472313" xlink:to="loc_us-gaap_FinancingReceivableModificationsLineItems_2147472294" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AmortizedCostBasisLoanModificationTermExtensionAndInterestRateReduction" xlink:label="loc_ubsi_AmortizedCostBasisLoanModificationTermExtensionAndInterestRateReduction_2147472205" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_2147472294" xlink:to="loc_ubsi_AmortizedCostBasisLoanModificationTermExtensionAndInterestRateReduction_2147472205" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AmortizedCostBasisLoanModificationTermExtensionAndPermanentDelay" xlink:label="loc_ubsi_AmortizedCostBasisLoanModificationTermExtensionAndPermanentDelay_2147472204" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_2147472294" xlink:to="loc_ubsi_AmortizedCostBasisLoanModificationTermExtensionAndPermanentDelay_2147472204" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2" xlink:label="loc_us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2_2147472293" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_2147472294" xlink:to="loc_us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2_2147472293" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableModificationToTotalFinancingReceivablesPercent" xlink:label="loc_us-gaap_FinancingReceivableModificationToTotalFinancingReceivablesPercent_2147472290" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_2147472294" xlink:to="loc_us-gaap_FinancingReceivableModificationToTotalFinancingReceivablesPercent_2147472290" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/CreditQualityScheduleOfAmortizedCostBasisPaymentStatusDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivablesAbstract" xlink:label="loc_us-gaap_ReceivablesAbstract_2147472288" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472287" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReceivablesAbstract_2147472288" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472287" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablesPeriodPastDueAxis" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_2147472286" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472287" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_2147472286" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_2147472285" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_2147472286" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_2147472285" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancingReceivablesCurrentMember" xlink:label="loc_ubsi_FinancingReceivablesCurrentMember_2147472284" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_2147472285" xlink:to="loc_ubsi_FinancingReceivablesCurrentMember_2147472284" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancialAsset30To89DaysPastDueMember" xlink:label="loc_ubsi_FinancialAsset30To89DaysPastDueMember_2147472283" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_2147472285" xlink:to="loc_ubsi_FinancialAsset30To89DaysPastDueMember_2147472283" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" xlink:label="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_2147472282" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_2147472285" xlink:to="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_2147472282" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2147472281" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472287" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2147472281" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472280" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2147472281" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472280" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_2147472279" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472280" xlink:to="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_2147472279" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_2147472278" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472280" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_2147472278" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_2147472277" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472280" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_2147472277" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_2147472276" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472280" xlink:to="loc_us-gaap_ConstructionLoansMember_2147472276" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_2147472275" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472280" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_2147472275" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2147472274" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472287" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2147472274" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472273" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2147472274" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472273" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OwnerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_2147472272" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472273" xlink:to="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_2147472272" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonownerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_2147472271" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472273" xlink:to="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_2147472271" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BankCardMember" xlink:label="loc_ubsi_BankCardMember_2147472270" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472273" xlink:to="loc_ubsi_BankCardMember_2147472270" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherConsumerMember" xlink:label="loc_ubsi_OtherConsumerMember_2147472269" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472273" xlink:to="loc_ubsi_OtherConsumerMember_2147472269" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableModificationsLineItems" xlink:label="loc_us-gaap_FinancingReceivableModificationsLineItems_2147472268" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472287" xlink:to="loc_us-gaap_FinancingReceivableModificationsLineItems_2147472268" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AmortizedCostBasisPaymentStatus" xlink:label="loc_ubsi_AmortizedCostBasisPaymentStatus_2147472267" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_2147472268" xlink:to="loc_ubsi_AmortizedCostBasisPaymentStatus_2147472267" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/CreditQualityScheduleOfFinancialEffectOfLoanAndLeaseModificationsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivablesAbstract" xlink:label="loc_us-gaap_ReceivablesAbstract_2147472265" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472264" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReceivablesAbstract_2147472265" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472264" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2147472263" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472264" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2147472263" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472262" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2147472263" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472262" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_2147472261" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472262" xlink:to="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_2147472261" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_2147472260" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472262" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_2147472260" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_2147472259" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472262" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_2147472259" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_2147472258" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472262" xlink:to="loc_us-gaap_ConstructionLoansMember_2147472258" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_2147472257" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472262" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_2147472257" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2147472256" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472264" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2147472256" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472255" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2147472256" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472255" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OwnerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_2147472254" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472255" xlink:to="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_2147472254" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonownerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_2147472253" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472255" xlink:to="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_2147472253" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BankCardMember" xlink:label="loc_ubsi_BankCardMember_2147472252" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472255" xlink:to="loc_ubsi_BankCardMember_2147472252" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherConsumerMember" xlink:label="loc_ubsi_OtherConsumerMember_2147472251" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472255" xlink:to="loc_ubsi_OtherConsumerMember_2147472251" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableModificationsLineItems" xlink:label="loc_us-gaap_FinancingReceivableModificationsLineItems_2147472250" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472264" xlink:to="loc_us-gaap_FinancingReceivableModificationsLineItems_2147472250" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableModifiedWeightedAverageInterestRateDecreaseFromModification" xlink:label="loc_us-gaap_FinancingReceivableModifiedWeightedAverageInterestRateDecreaseFromModification_2147472249" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_2147472250" xlink:to="loc_us-gaap_FinancingReceivableModifiedWeightedAverageInterestRateDecreaseFromModification_2147472249" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancingReceivableWeightedAverageModifiedPaymentDeferralPeriod" xlink:label="loc_ubsi_FinancingReceivableWeightedAverageModifiedPaymentDeferralPeriod_2122472098" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_2147472250" xlink:to="loc_ubsi_FinancingReceivableWeightedAverageModifiedPaymentDeferralPeriod_2122472098" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableModifiedWeightedAverageTermIncreaseFromModification" xlink:label="loc_us-gaap_FinancingReceivableModifiedWeightedAverageTermIncreaseFromModification_2147472248" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_2147472250" xlink:to="loc_us-gaap_FinancingReceivableModifiedWeightedAverageTermIncreaseFromModification_2147472248" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/CreditQualityScheduleOfAmortizedCostLoansAndLeasesPledgedAsCollateralDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditLossAbstract" xlink:label="loc_us-gaap_CreditLossAbstract_827038" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_827039" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CreditLossAbstract_827038" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_827039" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CollateralAxis" xlink:label="loc_us-gaap_CollateralAxis_827040" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_827039" xlink:to="loc_us-gaap_CollateralAxis_827040" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CollateralDomain" xlink:label="loc_us-gaap_CollateralDomain_827041" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CollateralAxis_827040" xlink:to="loc_us-gaap_CollateralDomain_827041" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialRealEstateMember" xlink:label="loc_us-gaap_ResidentialRealEstateMember_827043" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CollateralDomain_827041" xlink:to="loc_us-gaap_ResidentialRealEstateMember_827043" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BusinessAssetsMember" xlink:label="loc_ubsi_BusinessAssetsMember_827046" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CollateralDomain_827041" xlink:to="loc_ubsi_BusinessAssetsMember_827046" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LandMember" xlink:label="loc_us-gaap_LandMember_827047" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CollateralDomain_827041" xlink:to="loc_us-gaap_LandMember_827047" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialRealEstateMember" xlink:label="loc_us-gaap_CommercialRealEstateMember_827048" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CollateralDomain_827041" xlink:to="loc_us-gaap_CommercialRealEstateMember_827048" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherAssetMember" xlink:label="loc_ubsi_OtherAssetMember_827050" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CollateralDomain_827041" xlink:to="loc_ubsi_OtherAssetMember_827050" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_827051" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_827039" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_827051" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827052" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_827051" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827052" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_827053" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827052" xlink:to="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_827053" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_827054" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827052" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_827054" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_827055" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827052" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_827055" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_827056" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827052" xlink:to="loc_us-gaap_ConstructionLoansMember_827056" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_827057" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827052" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_827057" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancingReceivablePortfolioSegmentIAxis" xlink:label="loc_ubsi_FinancingReceivablePortfolioSegmentIAxis_827059" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_827039" xlink:to="loc_ubsi_FinancingReceivablePortfolioSegmentIAxis_827059" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancingReceivablePortfolioSegmentIDomain" xlink:label="loc_ubsi_FinancingReceivablePortfolioSegmentIDomain_827068" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_FinancingReceivablePortfolioSegmentIAxis_827059" xlink:to="loc_ubsi_FinancingReceivablePortfolioSegmentIDomain_827068" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OwnerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_827073" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_FinancingReceivablePortfolioSegmentIDomain_827068" xlink:to="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_827073" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonownerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_827074" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_FinancingReceivablePortfolioSegmentIDomain_827068" xlink:to="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_827074" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BankCardMember" xlink:label="loc_ubsi_BankCardMember_827075" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_FinancingReceivablePortfolioSegmentIDomain_827068" xlink:to="loc_ubsi_BankCardMember_827075" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherConsumerMember" xlink:label="loc_ubsi_OtherConsumerMember_827076" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_FinancingReceivablePortfolioSegmentIDomain_827068" xlink:to="loc_ubsi_OtherConsumerMember_827076" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AmortizedCostCollateralDependentLoansLineItems" xlink:label="loc_ubsi_AmortizedCostCollateralDependentLoansLineItems_827080" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_827039" xlink:to="loc_ubsi_AmortizedCostCollateralDependentLoansLineItems_827080" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CollateralDependentLoansAndLeases" xlink:label="loc_ubsi_CollateralDependentLoansAndLeases_827083" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_AmortizedCostCollateralDependentLoansLineItems_827080" xlink:to="loc_ubsi_CollateralDependentLoansAndLeases_827083" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/CreditQualityScheduleOfRiskCategoryOfLoansByClassOfLoansAndLeasesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivablesAbstract" xlink:label="loc_us-gaap_ReceivablesAbstract_827114" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFinancingReceivablesPastDueTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_827115" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReceivablesAbstract_827114" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_827115" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_827116" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_827115" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_827116" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827117" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_827116" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827117" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OwnerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_827118" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827117" xlink:to="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_827118" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonownerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_827119" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827117" xlink:to="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_827119" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherCommercialLoansMember" xlink:label="loc_ubsi_OtherCommercialLoansMember_827120" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827117" xlink:to="loc_ubsi_OtherCommercialLoansMember_827120" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_827127" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827117" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_827127" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_827130" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827117" xlink:to="loc_us-gaap_ConstructionLoansMember_827130" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BankCardMember" xlink:label="loc_ubsi_BankCardMember_827131" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827117" xlink:to="loc_ubsi_BankCardMember_827131" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherConsumerMember" xlink:label="loc_ubsi_OtherConsumerMember_827132" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827117" xlink:to="loc_ubsi_OtherConsumerMember_827132" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InternalCreditAssessmentAxis" xlink:label="loc_us-gaap_InternalCreditAssessmentAxis_827134" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_827115" xlink:to="loc_us-gaap_InternalCreditAssessmentAxis_827134" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain_827136" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis_827134" xlink:to="loc_us-gaap_InternalCreditAssessmentDomain_827136" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PassMember" xlink:label="loc_us-gaap_PassMember_827137" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_827136" xlink:to="loc_us-gaap_PassMember_827137" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SpecialMentionMember" xlink:label="loc_us-gaap_SpecialMentionMember_827138" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_827136" xlink:to="loc_us-gaap_SpecialMentionMember_827138" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubstandardMember" xlink:label="loc_us-gaap_SubstandardMember_827139" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_827136" xlink:to="loc_us-gaap_SubstandardMember_827139" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DoubtfulMember" xlink:label="loc_us-gaap_DoubtfulMember_827140" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_827136" xlink:to="loc_us-gaap_DoubtfulMember_827140" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CurrentPeriodChargeOffsMember" xlink:label="loc_ubsi_CurrentPeriodChargeOffsMember_827141" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_827136" xlink:to="loc_ubsi_CurrentPeriodChargeOffsMember_827141" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CurrentPeriodRecoveriesMember" xlink:label="loc_ubsi_CurrentPeriodRecoveriesMember_827143" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_827136" xlink:to="loc_ubsi_CurrentPeriodRecoveriesMember_827143" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CurrentPeriodNetChargeOffsRecoveriesMember" xlink:label="loc_ubsi_CurrentPeriodNetChargeOffsRecoveriesMember_827144" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_827136" xlink:to="loc_ubsi_CurrentPeriodNetChargeOffsRecoveriesMember_827144" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems" xlink:label="loc_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems_827145" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_827115" xlink:to="loc_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems_827145" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TermLoansOriginationYearOne" xlink:label="loc_ubsi_TermLoansOriginationYearOne_827146" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems_827145" xlink:to="loc_ubsi_TermLoansOriginationYearOne_827146" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TermLoansOriginationYearTwo" xlink:label="loc_ubsi_TermLoansOriginationYearTwo_827147" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems_827145" xlink:to="loc_ubsi_TermLoansOriginationYearTwo_827147" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TermLoansOriginationYearThree" xlink:label="loc_ubsi_TermLoansOriginationYearThree_827148" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems_827145" xlink:to="loc_ubsi_TermLoansOriginationYearThree_827148" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TermLoansOriginationYearFour" xlink:label="loc_ubsi_TermLoansOriginationYearFour_827149" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems_827145" xlink:to="loc_ubsi_TermLoansOriginationYearFour_827149" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TermLoansOriginationYearFive" xlink:label="loc_ubsi_TermLoansOriginationYearFive_827150" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems_827145" xlink:to="loc_ubsi_TermLoansOriginationYearFive_827150" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TermLoansOriginationYearSix" xlink:label="loc_ubsi_TermLoansOriginationYearSix_2147472587" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems_827145" xlink:to="loc_ubsi_TermLoansOriginationYearSix_2147472587" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TermLoansOriginationYearPrior" xlink:label="loc_ubsi_TermLoansOriginationYearPrior_827151" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems_827145" xlink:to="loc_ubsi_TermLoansOriginationYearPrior_827151" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_RevolvingloansAmortizedCostBasis" xlink:label="loc_ubsi_RevolvingloansAmortizedCostBasis_827153" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems_827145" xlink:to="loc_ubsi_RevolvingloansAmortizedCostBasis_827153" use="optional" order="28" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_RevolvingLoansConvertedtoTermLoans" xlink:label="loc_ubsi_RevolvingLoansConvertedtoTermLoans_827156" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems_827145" xlink:to="loc_ubsi_RevolvingLoansConvertedtoTermLoans_827156" use="optional" order="29" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndFinanceReceivablesGross" xlink:label="loc_ubsi_LoansAndFinanceReceivablesGross_827157" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems_827145" xlink:to="loc_ubsi_LoansAndFinanceReceivablesGross_827157" use="optional" order="30" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/AllowanceForCreditLossesAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivablesAbstract" xlink:label="loc_us-gaap_ReceivablesAbstract_687" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_688" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReceivablesAbstract_687" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_688" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_689" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_688" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_689" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_690" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_689" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_690" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis" xlink:label="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_827249" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_688" xlink:to="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_827249" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivableTypeDomain" xlink:label="loc_us-gaap_ReceivableTypeDomain_827250" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_827249" xlink:to="loc_us-gaap_ReceivableTypeDomain_827250" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedIncomeReceivableMember" xlink:label="loc_us-gaap_AccruedIncomeReceivableMember_827252" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReceivableTypeDomain_827250" xlink:to="loc_us-gaap_AccruedIncomeReceivableMember_827252" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_1291193" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_688" xlink:to="loc_us-gaap_PlanNameAxis_1291193" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_1291194" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PlanNameAxis_1291193" xlink:to="loc_us-gaap_PlanNameDomain_1291194" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PeriodAxis" xlink:label="loc_ubsi_PeriodAxis_2147472570" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_688" xlink:to="loc_ubsi_PeriodAxis_2147472570" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PeriodDomain" xlink:label="loc_ubsi_PeriodDomain_2147472572" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_PeriodAxis_2147472570" xlink:to="loc_ubsi_PeriodDomain_2147472572" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TwoThousandAndTwentySevenMember" xlink:label="loc_ubsi_TwoThousandAndTwentySevenMember_2055472041" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_PeriodDomain_2147472572" xlink:to="loc_ubsi_TwoThousandAndTwentySevenMember_2055472041" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TwoThousandAndTwentySixMember" xlink:label="loc_ubsi_TwoThousandAndTwentySixMember_2147472575" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_PeriodDomain_2147472572" xlink:to="loc_ubsi_TwoThousandAndTwentySixMember_2147472575" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_2135472106" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_688" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_2135472106" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2134472106" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_2135472106" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2134472106" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_691" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_688" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_691" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ReserveForLendingRelatedCommitments" xlink:label="loc_ubsi_ReserveForLendingRelatedCommitments_701" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_691" xlink:to="loc_ubsi_ReserveForLendingRelatedCommitments_701" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_MaximumPeriodRelatedToAccrualOfInterestOnLoans" xlink:label="loc_ubsi_MaximumPeriodRelatedToAccrualOfInterestOnLoans_827255" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_691" xlink:to="loc_ubsi_MaximumPeriodRelatedToAccrualOfInterestOnLoans_827255" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss" xlink:label="loc_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss_827261" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_691" xlink:to="loc_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss_827261" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentagePointsIncreaseInUnemploymentRate" xlink:label="loc_ubsi_PercentagePointsIncreaseInUnemploymentRate_2147472202" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_691" xlink:to="loc_ubsi_PercentagePointsIncreaseInUnemploymentRate_2147472202" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentagePointsReductionInGdpProjection" xlink:label="loc_ubsi_PercentagePointsReductionInGdpProjection_2147472203" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_691" xlink:to="loc_ubsi_PercentagePointsReductionInGdpProjection_2147472203" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentageOfAllowanceForLoanAndLeaseLosses" xlink:label="loc_ubsi_PercentageOfAllowanceForLoanAndLeaseLosses_2147472405" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_691" xlink:to="loc_ubsi_PercentageOfAllowanceForLoanAndLeaseLosses_2147472405" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesPeriodIncreaseDecrease" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesPeriodIncreaseDecrease_2147472406" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_691" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesPeriodIncreaseDecrease_2147472406" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentageOfProjectionForRealGdp" xlink:label="loc_ubsi_PercentageOfProjectionForRealGdp_2147472554" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_691" xlink:to="loc_ubsi_PercentageOfProjectionForRealGdp_2147472554" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentageOfUnemploymentRate" xlink:label="loc_ubsi_PercentageOfUnemploymentRate_2147472564" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_691" xlink:to="loc_ubsi_PercentageOfUnemploymentRate_2147472564" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentageOfProjectionForHousePriceIndex" xlink:label="loc_ubsi_PercentageOfProjectionForHousePriceIndex_2004472019" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_691" xlink:to="loc_ubsi_PercentageOfProjectionForHousePriceIndex_2004472019" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentageOfProjectionForMortgageRate" xlink:label="loc_ubsi_PercentageOfProjectionForMortgageRate_2004472018" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_691" xlink:to="loc_ubsi_PercentageOfProjectionForMortgageRate_2004472018" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentageOfProjectionForRealDisposablePersonalIncome" xlink:label="loc_ubsi_PercentageOfProjectionForRealDisposablePersonalIncome_2004472017" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_691" xlink:to="loc_ubsi_PercentageOfProjectionForRealDisposablePersonalIncome_2004472017" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/AllowanceForCreditLossesScheduleOfCreditLossesRelatedToAccruedInterestReceivablesAndWrittenOffDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivablesAbstract" xlink:label="loc_us-gaap_ReceivablesAbstract_827295" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AccruedInterestReceivablesAndWrittenOffTable" xlink:label="loc_ubsi_AccruedInterestReceivablesAndWrittenOffTable_827296" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReceivablesAbstract_827295" xlink:to="loc_ubsi_AccruedInterestReceivablesAndWrittenOffTable_827296" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_827297" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_AccruedInterestReceivablesAndWrittenOffTable_827296" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_827297" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827298" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_827297" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827298" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OwnerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_827299" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827298" xlink:to="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_827299" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonownerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_827300" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827298" xlink:to="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_827300" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_827301" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827298" xlink:to="loc_us-gaap_ConstructionLoansMember_827301" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BankCardMember" xlink:label="loc_ubsi_BankCardMember_827302" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827298" xlink:to="loc_ubsi_BankCardMember_827302" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherConsumerMember" xlink:label="loc_ubsi_OtherConsumerMember_827303" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827298" xlink:to="loc_ubsi_OtherConsumerMember_827303" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_827304" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_AccruedInterestReceivablesAndWrittenOffTable_827296" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_827304" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827306" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_827304" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827306" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_827309" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827306" xlink:to="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_827309" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_827311" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827306" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_827311" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_827312" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827306" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_827312" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_827313" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827306" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_827313" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AccruedInterestReceivablesAndWrittenOffStatusLineItems" xlink:label="loc_ubsi_AccruedInterestReceivablesAndWrittenOffStatusLineItems_827315" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_AccruedInterestReceivablesAndWrittenOffTable_827296" xlink:to="loc_ubsi_AccruedInterestReceivablesAndWrittenOffStatusLineItems_827315" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AccruedInterestReceivableLoans" xlink:label="loc_ubsi_AccruedInterestReceivableLoans_827316" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_AccruedInterestReceivablesAndWrittenOffStatusLineItems_827315" xlink:to="loc_ubsi_AccruedInterestReceivableLoans_827316" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AccruedInterestReceivableLoansNetOfAllowance" xlink:label="loc_ubsi_AccruedInterestReceivableLoansNetOfAllowance_827323" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_AccruedInterestReceivablesAndWrittenOffStatusLineItems_827315" xlink:to="loc_ubsi_AccruedInterestReceivableLoansNetOfAllowance_827323" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/AllowanceForCreditLossesScheduleOfAccruedInterestReceivablesWrittenOffByReversingInterestDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivablesAbstract" xlink:label="loc_us-gaap_ReceivablesAbstract_1291161" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AccruedInterestReceivablesAndWrittenOffTable" xlink:label="loc_ubsi_AccruedInterestReceivablesAndWrittenOffTable_1291162" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReceivablesAbstract_1291161" xlink:to="loc_ubsi_AccruedInterestReceivablesAndWrittenOffTable_1291162" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_1291163" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_AccruedInterestReceivablesAndWrittenOffTable_1291162" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_1291163" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1291164" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_1291163" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1291164" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_1291165" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1291164" xlink:to="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_1291165" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_1291166" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1291164" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_1291166" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_1291167" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1291164" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_1291167" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_1291168" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1291164" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_1291168" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_1291169" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_AccruedInterestReceivablesAndWrittenOffTable_1291162" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_1291169" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_1291170" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_1291169" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_1291170" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OwnerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_1291173" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_1291170" xlink:to="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_1291173" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/disclosureGuidance" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonownerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_1291171" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_1291170" xlink:to="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_1291171" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/disclosureGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_1291174" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_1291170" xlink:to="loc_us-gaap_ConstructionLoansMember_1291174" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BankCardMember" xlink:label="loc_ubsi_BankCardMember_1291175" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_1291170" xlink:to="loc_ubsi_BankCardMember_1291175" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherConsumerMember" xlink:label="loc_ubsi_OtherConsumerMember_1291176" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_1291170" xlink:to="loc_ubsi_OtherConsumerMember_1291176" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AccruedInterestReceivablesAndWrittenOffStatusLineItems" xlink:label="loc_ubsi_AccruedInterestReceivablesAndWrittenOffStatusLineItems_1291177" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_AccruedInterestReceivablesAndWrittenOffTable_1291162" xlink:to="loc_ubsi_AccruedInterestReceivablesAndWrittenOffStatusLineItems_1291177" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_InterestReceivableWrittenOff" xlink:label="loc_ubsi_InterestReceivableWrittenOff_1291178" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_AccruedInterestReceivablesAndWrittenOffStatusLineItems_1291177" xlink:to="loc_ubsi_InterestReceivableWrittenOff_1291178" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/AllowanceForCreditLossesScheduleOfAllowanceForLoanLossesAndCarryingAmountOfLoansDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivablesAbstract" xlink:label="loc_us-gaap_ReceivablesAbstract_703" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_704" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReceivablesAbstract_703" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_704" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_705" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_704" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_705" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_706" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_705" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_706" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_712" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_706" xlink:to="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_712" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_713" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_706" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_713" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_714" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_706" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_714" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherConsumerMember" xlink:label="loc_ubsi_OtherConsumerMember_829726" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_706" xlink:to="loc_ubsi_OtherConsumerMember_829726" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_707" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_704" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_707" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_708" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_707" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_708" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OwnerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_716" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_708" xlink:to="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_716" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonownerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_717" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_708" xlink:to="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_717" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_718" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_708" xlink:to="loc_us-gaap_ConstructionLoansMember_718" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BankCardMember" xlink:label="loc_ubsi_BankCardMember_827397" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_708" xlink:to="loc_ubsi_BankCardMember_827397" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditLossStatusAxis" xlink:label="loc_us-gaap_CreditLossStatusAxis_709" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_704" xlink:to="loc_us-gaap_CreditLossStatusAxis_709" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditLossStatusDomain" xlink:label="loc_us-gaap_CreditLossStatusDomain_710" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CreditLossStatusAxis_709" xlink:to="loc_us-gaap_CreditLossStatusDomain_710" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_829711" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_704" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_829711" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_829714" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_829711" xlink:to="loc_us-gaap_TypeOfAdoptionMember_829714" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_711" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_704" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_711" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerAssetAccumulatedAllowanceForCreditLoss" xlink:label="loc_us-gaap_ContractWithCustomerAssetAccumulatedAllowanceForCreditLoss_721" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_711" xlink:to="loc_us-gaap_ContractWithCustomerAssetAccumulatedAllowanceForCreditLoss_721" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePurchasedWithCreditDeteriorationAllowanceForCreditLossAtAcquisitionDate" xlink:label="loc_us-gaap_FinancingReceivablePurchasedWithCreditDeteriorationAllowanceForCreditLossAtAcquisitionDate_827392" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_711" xlink:to="loc_us-gaap_FinancingReceivablePurchasedWithCreditDeteriorationAllowanceForCreditLossAtAcquisitionDate_827392" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerAssetAllowanceForCreditLossWriteoff" xlink:label="loc_us-gaap_ContractWithCustomerAssetAllowanceForCreditLossWriteoff_722" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_711" xlink:to="loc_us-gaap_ContractWithCustomerAssetAllowanceForCreditLossWriteoff_722" use="optional" order="21" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerAssetAllowanceForCreditLossRecovery" xlink:label="loc_us-gaap_ContractWithCustomerAssetAllowanceForCreditLossRecovery_723" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_711" xlink:to="loc_us-gaap_ContractWithCustomerAssetAllowanceForCreditLossRecovery_723" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ProvisionForRecoveryOfLoanLosses" xlink:label="loc_ubsi_ProvisionForRecoveryOfLoanLosses_724" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_711" xlink:to="loc_ubsi_ProvisionForRecoveryOfLoanLosses_724" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerAssetAccumulatedAllowanceForCreditLoss" xlink:label="loc_us-gaap_ContractWithCustomerAssetAccumulatedAllowanceForCreditLoss_725" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_711" xlink:to="loc_us-gaap_ContractWithCustomerAssetAccumulatedAllowanceForCreditLoss_725" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/IntangibleAssetsSummaryOfIntangibleAssetsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_733" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_734" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_733" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_734" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SegmentTypeAxis" xlink:label="loc_ubsi_SegmentTypeAxis_735" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_734" xlink:to="loc_ubsi_SegmentTypeAxis_735" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SegmentTypeDomain" xlink:label="loc_ubsi_SegmentTypeDomain_736" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_SegmentTypeAxis_735" xlink:to="loc_ubsi_SegmentTypeDomain_736" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CommunityBankingMember" xlink:label="loc_ubsi_CommunityBankingMember_740" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_SegmentTypeDomain_736" xlink:to="loc_ubsi_CommunityBankingMember_740" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_737" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_734" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_737" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_738" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_737" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_738" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CoreDepositsMember" xlink:label="loc_us-gaap_CoreDepositsMember_742" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_738" xlink:to="loc_us-gaap_CoreDepositsMember_742" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_739" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_734" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_739" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_744" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_739" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_744" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_745" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_739" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_745" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_746" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_739" xlink:to="loc_us-gaap_Goodwill_746" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/IntangibleAssetsAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_761" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AmortizationExpenseOnIntangibleAssets" xlink:label="loc_ubsi_AmortizationExpenseOnIntangibleAssets_766" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_761" xlink:to="loc_ubsi_AmortizationExpenseOnIntangibleAssets_766" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/IntangibleAssetsScheduleOfAnticipatedAmortizationExpenseDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_768" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_827661" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_768" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_827661" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_770" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_768" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_770" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_771" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_768" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_771" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_772" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_768" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_772" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_566983" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_768" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_566983" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_566984" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_768" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_566984" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/LeasesAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeasesAbstract" xlink:label="loc_us-gaap_LeasesAbstract_775" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeLeaseDescriptionTable" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_776" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_775" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_776" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_778" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_776" xlink:to="loc_srt_RangeAxis_778" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_779" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeAxis_778" xlink:to="loc_srt_RangeMember_779" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_598012" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_779" xlink:to="loc_srt_MinimumMember_598012" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_782" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_779" xlink:to="loc_srt_MaximumMember_782" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeLeaseDescriptionLineItems" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_780" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_776" xlink:to="loc_us-gaap_LesseeLeaseDescriptionLineItems_780" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseRemainingLeaseTerm" xlink:label="loc_us-gaap_LesseeOperatingLeaseRemainingLeaseTerm_783" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_780" xlink:to="loc_us-gaap_LesseeOperatingLeaseRemainingLeaseTerm_783" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseRenewalTerm" xlink:label="loc_us-gaap_LesseeOperatingLeaseRenewalTerm_784" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_780" xlink:to="loc_us-gaap_LesseeOperatingLeaseRenewalTerm_784" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/LeasesComponentsOfLeaseExpenseDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeasesAbstract" xlink:label="loc_us-gaap_LeasesAbstract_786" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseCost" xlink:label="loc_us-gaap_OperatingLeaseCost_791" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_786" xlink:to="loc_us-gaap_OperatingLeaseCost_791" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubleaseIncome" xlink:label="loc_us-gaap_SubleaseIncome_792" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_786" xlink:to="loc_us-gaap_SubleaseIncome_792" use="optional" order="2" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeaseCost" xlink:label="loc_us-gaap_LeaseCost_793" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_786" xlink:to="loc_us-gaap_LeaseCost_793" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/LeasesSupplementalBalanceSheetInformationRelatedToLeasesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeasesAbstract" xlink:label="loc_us-gaap_LeasesAbstract_795" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_800" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_795" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_800" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaap_OperatingLeaseLiability_801" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_795" xlink:to="loc_us-gaap_OperatingLeaseLiability_801" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/LeasesOtherInformationRelatedToLeasesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeasesAbstract" xlink:label="loc_us-gaap_LeasesAbstract_803" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_WeightedaverageRemainingLeaseTermAbstract" xlink:label="loc_ubsi_WeightedaverageRemainingLeaseTermAbstract_807" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_803" xlink:to="loc_ubsi_WeightedaverageRemainingLeaseTermAbstract_807" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1" xlink:label="loc_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1_810" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_WeightedaverageRemainingLeaseTermAbstract_807" xlink:to="loc_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1_810" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_WeightedaverageDiscountRateAbstract" xlink:label="loc_ubsi_WeightedaverageDiscountRateAbstract_808" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_803" xlink:to="loc_ubsi_WeightedaverageDiscountRateAbstract_808" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent" xlink:label="loc_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent_811" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_WeightedaverageDiscountRateAbstract_808" xlink:to="loc_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent_811" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/LeasesSupplementalCashFlowInformationRelatedToLeasesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeasesAbstract" xlink:label="loc_us-gaap_LeasesAbstract_813" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CashPaidForAmountsInTheMeasurementOfLeaseLiabilitiesAbstract" xlink:label="loc_ubsi_CashPaidForAmountsInTheMeasurementOfLeaseLiabilitiesAbstract_817" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_813" xlink:to="loc_ubsi_CashPaidForAmountsInTheMeasurementOfLeaseLiabilitiesAbstract_817" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeasePayments" xlink:label="loc_us-gaap_OperatingLeasePayments_819" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_CashPaidForAmountsInTheMeasurementOfLeaseLiabilitiesAbstract_817" xlink:to="loc_us-gaap_OperatingLeasePayments_819" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability" xlink:label="loc_us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability_820" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_CashPaidForAmountsInTheMeasurementOfLeaseLiabilitiesAbstract_817" xlink:to="loc_us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability_820" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/LeasesMaturitiesOfLeaseLiabilitiesByYearDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeasesAbstract" xlink:label="loc_us-gaap_LeasesAbstract_822" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_827" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_822" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_827" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_828" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_822" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_828" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_829" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_822" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_829" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_830" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_822" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_830" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_831" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_822" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_831" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_832" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_822" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_832" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_833" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_822" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_833" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_1303055" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_822" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_1303055" use="optional" order="8" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaap_OperatingLeaseLiability_835" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_822" xlink:to="loc_us-gaap_OperatingLeaseLiability_835" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ShortTermBorrowingsShortTermBorrowingsAndTheRelatedWeightedAverageInterestRatesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtDisclosureAbstract" xlink:label="loc_us-gaap_DebtDisclosureAbstract_566616" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShortTermDebtTable" xlink:label="loc_us-gaap_ScheduleOfShortTermDebtTable_566619" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtDisclosureAbstract_566616" xlink:to="loc_us-gaap_ScheduleOfShortTermDebtTable_566619" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_566620" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfShortTermDebtTable_566619" xlink:to="loc_us-gaap_StatementClassOfStockAxis_566620" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_566621" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementClassOfStockAxis_566620" xlink:to="loc_us-gaap_ClassOfStockDomain_566621" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermDebtTypeAxis" xlink:label="loc_us-gaap_ShortTermDebtTypeAxis_566635" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfShortTermDebtTable_566619" xlink:to="loc_us-gaap_ShortTermDebtTypeAxis_566635" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermDebtTypeDomain" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_566636" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_566635" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_566636" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FederalFundsPurchasedMember" xlink:label="loc_us-gaap_FederalFundsPurchasedMember_566638" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortTermDebtTypeDomain_566636" xlink:to="loc_us-gaap_FederalFundsPurchasedMember_566638" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseMember" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseMember_566643" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortTermDebtTypeDomain_566636" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseMember_566643" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermDebtLineItems" xlink:label="loc_us-gaap_ShortTermDebtLineItems_566622" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfShortTermDebtTable_566619" xlink:to="loc_us-gaap_ShortTermDebtLineItems_566622" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermBorrowings" xlink:label="loc_us-gaap_ShortTermBorrowings_566627" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortTermDebtLineItems_566622" xlink:to="loc_us-gaap_ShortTermBorrowings_566627" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ShortTermBorrowingsAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtDisclosureAbstract" xlink:label="loc_us-gaap_DebtDisclosureAbstract_837" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShortTermDebtTable" xlink:label="loc_us-gaap_ScheduleOfShortTermDebtTable_838" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtDisclosureAbstract_837" xlink:to="loc_us-gaap_ScheduleOfShortTermDebtTable_838" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_839" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfShortTermDebtTable_838" xlink:to="loc_us-gaap_DebtInstrumentAxis_839" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_840" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentAxis_839" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_840" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_UnrelatedFinancialInstitutionMember" xlink:label="loc_ubsi_UnrelatedFinancialInstitutionMember_843" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_840" xlink:to="loc_ubsi_UnrelatedFinancialInstitutionMember_843" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ExtinguishmentOfDebtAxis" xlink:label="loc_us-gaap_ExtinguishmentOfDebtAxis_841" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfShortTermDebtTable_838" xlink:to="loc_us-gaap_ExtinguishmentOfDebtAxis_841" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ExtinguishmentOfDebtTypeDomain" xlink:label="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_844" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ExtinguishmentOfDebtAxis_841" xlink:to="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_844" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermDebtLineItems" xlink:label="loc_us-gaap_ShortTermDebtLineItems_842" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfShortTermDebtTable_838" xlink:to="loc_us-gaap_ShortTermDebtLineItems_842" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_845" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortTermDebtLineItems_842" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_845" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_RenewalPeriodOfLineOfCredit" xlink:label="loc_ubsi_RenewalPeriodOfLineOfCredit_846" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortTermDebtLineItems_842" xlink:to="loc_ubsi_RenewalPeriodOfLineOfCredit_846" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/LongTermBorrowingsAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtDisclosureAbstract" xlink:label="loc_us-gaap_DebtDisclosureAbstract_851" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_852" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtDisclosureAbstract_851" xlink:to="loc_us-gaap_DebtInstrumentTable_852" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByLiabilityClassAxis" xlink:label="loc_us-gaap_FairValueByLiabilityClassAxis_853" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentTable_852" xlink:to="loc_us-gaap_FairValueByLiabilityClassAxis_853" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_859" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis_853" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_859" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_854" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentTable_852" xlink:to="loc_srt_RangeAxis_854" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_860" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeAxis_854" xlink:to="loc_srt_RangeMember_860" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_855" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentTable_852" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_855" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_861" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_855" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_861" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_856" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentTable_852" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_856" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_862" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_856" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_862" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ExtinguishmentOfDebtAxis" xlink:label="loc_us-gaap_ExtinguishmentOfDebtAxis_857" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentTable_852" xlink:to="loc_us-gaap_ExtinguishmentOfDebtAxis_857" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ExtinguishmentOfDebtTypeDomain" xlink:label="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_863" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ExtinguishmentOfDebtAxis_857" xlink:to="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_863" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PledgingPurposeAxis" xlink:label="loc_us-gaap_PledgingPurposeAxis_2147482928" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentTable_852" xlink:to="loc_us-gaap_PledgingPurposeAxis_2147482928" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PledgingPurposeDomain" xlink:label="loc_us-gaap_PledgingPurposeDomain_2147482929" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PledgingPurposeAxis_2147482928" xlink:to="loc_us-gaap_PledgingPurposeDomain_2147482929" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_MaturityPeriodAxis" xlink:label="loc_ubsi_MaturityPeriodAxis_2147472402" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentTable_852" xlink:to="loc_ubsi_MaturityPeriodAxis_2147472402" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_MaturityPeriodDomain" xlink:label="loc_ubsi_MaturityPeriodDomain_2147472401" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_MaturityPeriodAxis_2147472402" xlink:to="loc_ubsi_MaturityPeriodDomain_2147472401" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_858" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentTable_852" xlink:to="loc_us-gaap_DebtInstrumentLineItems_858" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FederalHomeLoanBankAdvancesGeneralDebtObligationsDisclosuresAmountOfAvailableUnusedFunds" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesGeneralDebtObligationsDisclosuresAmountOfAvailableUnusedFunds_864" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentLineItems_858" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesGeneralDebtObligationsDisclosuresAmountOfAvailableUnusedFunds_864" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdvancesFromFederalHomeLoanBanks" xlink:label="loc_us-gaap_AdvancesFromFederalHomeLoanBanks_567034" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentLineItems_858" xlink:to="loc_us-gaap_AdvancesFromFederalHomeLoanBanks_567034" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_JuniorSubordinatedLongTermNotes" xlink:label="loc_us-gaap_JuniorSubordinatedLongTermNotes_865" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentLineItems_858" xlink:to="loc_us-gaap_JuniorSubordinatedLongTermNotes_865" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_MaximumTimeToDeferPaymentOfInterestOnSubordinateDebt" xlink:label="loc_ubsi_MaximumTimeToDeferPaymentOfInterestOnSubordinateDebt_866" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentLineItems_858" xlink:to="loc_ubsi_MaximumTimeToDeferPaymentOfInterestOnSubordinateDebt_866" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FederalHomeLoanBankAdvancesActivityForYearAverageInterestRateForYear" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesActivityForYearAverageInterestRateForYear_868" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentLineItems_858" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesActivityForYearAverageInterestRateForYear_868" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtWeightedAverageInterestRate" xlink:label="loc_us-gaap_DebtWeightedAverageInterestRate_2042472038" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentLineItems_858" xlink:to="loc_us-gaap_DebtWeightedAverageInterestRate_2042472038" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/label" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/CommitmentsAndContingentLiabilitiesAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:label="loc_us-gaap_CommitmentsAndContingenciesDisclosureAbstract_879" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LossContingenciesTable" xlink:label="loc_us-gaap_LossContingenciesTable_880" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CommitmentsAndContingenciesDisclosureAbstract_879" xlink:to="loc_us-gaap_LossContingenciesTable_880" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LossContingenciesByNatureOfContingencyAxis" xlink:label="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_881" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LossContingenciesTable_880" xlink:to="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_881" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LossContingencyNatureDomain" xlink:label="loc_us-gaap_LossContingencyNatureDomain_882" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_881" xlink:to="loc_us-gaap_LossContingencyNatureDomain_882" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CommercialLettersOfCreditMember" xlink:label="loc_ubsi_CommercialLettersOfCreditMember_890" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LossContingencyNatureDomain_882" xlink:to="loc_ubsi_CommercialLettersOfCreditMember_890" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StandbyLettersOfCreditMember" xlink:label="loc_us-gaap_StandbyLettersOfCreditMember_891" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LossContingencyNatureDomain_882" xlink:to="loc_us-gaap_StandbyLettersOfCreditMember_891" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_883" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LossContingenciesTable_880" xlink:to="loc_us-gaap_FinancialInstrumentAxis_883" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_884" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancialInstrumentAxis_883" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_884" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesAxis" xlink:label="loc_srt_ConsolidatedEntitiesAxis_885" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LossContingenciesTable_880" xlink:to="loc_srt_ConsolidatedEntitiesAxis_885" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_886" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ConsolidatedEntitiesAxis_885" xlink:to="loc_srt_ConsolidatedEntitiesDomain_886" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerDurationAxis" xlink:label="loc_us-gaap_ContractWithCustomerDurationAxis_887" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LossContingenciesTable_880" xlink:to="loc_us-gaap_ContractWithCustomerDurationAxis_887" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerDurationDomain" xlink:label="loc_us-gaap_ContractWithCustomerDurationDomain_888" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ContractWithCustomerDurationAxis_887" xlink:to="loc_us-gaap_ContractWithCustomerDurationDomain_888" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LossContingenciesLineItems" xlink:label="loc_us-gaap_LossContingenciesLineItems_889" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LossContingenciesTable_880" xlink:to="loc_us-gaap_LossContingenciesLineItems_889" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoanCommitmentsOutstanding" xlink:label="loc_ubsi_LoanCommitmentsOutstanding_895" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LossContingenciesLineItems_889" xlink:to="loc_ubsi_LoanCommitmentsOutstanding_895" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityExpirationPeriod" xlink:label="loc_us-gaap_LineOfCreditFacilityExpirationPeriod_896" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LossContingenciesLineItems_889" xlink:to="loc_us-gaap_LineOfCreditFacilityExpirationPeriod_896" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LettersOfCreditOutstandingAmount" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_898" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LossContingenciesLineItems_889" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_898" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/DerivativeFinancialInstrumentsAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:label="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract_826742" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeTable" xlink:label="loc_us-gaap_DerivativeTable_826743" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract_826742" xlink:to="loc_us-gaap_DerivativeTable_826743" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_826744" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeTable_826743" xlink:to="loc_us-gaap_StatementClassOfStockAxis_826744" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_826745" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementClassOfStockAxis_826744" xlink:to="loc_us-gaap_ClassOfStockDomain_826745" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByLiabilityClassAxis" xlink:label="loc_us-gaap_FairValueByLiabilityClassAxis_826746" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeTable_826743" xlink:to="loc_us-gaap_FairValueByLiabilityClassAxis_826746" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_826747" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis_826746" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_826747" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FederalHomeLoanBankBorrowingsMember" xlink:label="loc_us-gaap_FederalHomeLoanBankBorrowingsMember_826748" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_826747" xlink:to="loc_us-gaap_FederalHomeLoanBankBorrowingsMember_826748" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_826749" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeTable_826743" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_826749" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_826750" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_826749" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_826750" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_InterestRateCashFlowHedgeMember" xlink:label="loc_ubsi_InterestRateCashFlowHedgeMember_826752" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_826750" xlink:to="loc_ubsi_InterestRateCashFlowHedgeMember_826752" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLineItems" xlink:label="loc_us-gaap_DerivativeLineItems_826753" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeTable_826743" xlink:to="loc_us-gaap_DerivativeLineItems_826753" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilityNotionalAmount" xlink:label="loc_us-gaap_DerivativeLiabilityNotionalAmount_826754" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeLineItems_826753" xlink:to="loc_us-gaap_DerivativeLiabilityNotionalAmount_826754" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet" xlink:label="loc_us-gaap_InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet_826757" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeLineItems_826753" xlink:to="loc_us-gaap_InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet_826757" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeNetLiabilityPositionAggregateFairValue" xlink:label="loc_us-gaap_DerivativeNetLiabilityPositionAggregateFairValue_826760" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeLineItems_826753" xlink:to="loc_us-gaap_DerivativeNetLiabilityPositionAggregateFairValue_826760" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssetNotionalAmount" xlink:label="loc_us-gaap_DerivativeAssetNotionalAmount_828948" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeLineItems_826753" xlink:to="loc_us-gaap_DerivativeAssetNotionalAmount_828948" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/DerivativeFinancialInstrumentsScheduleOfNotionalAmountAndFairValueDerivativeFinancialInstrumentsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:label="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract_901" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeTable" xlink:label="loc_us-gaap_DerivativeTable_902" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract_901" xlink:to="loc_us-gaap_DerivativeTable_902" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_903" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeTable_902" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_903" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_904" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_903" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_904" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_914" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_904" xlink:to="loc_us-gaap_InterestRateSwapMember_914" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ForwardLoanSaleCommitmentsMember" xlink:label="loc_ubsi_ForwardLoanSaleCommitmentsMember_915" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_904" xlink:to="loc_ubsi_ForwardLoanSaleCommitmentsMember_915" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DerivativeInstrumentsAxis" xlink:label="loc_ubsi_DerivativeInstrumentsAxis_905" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeTable_902" xlink:to="loc_ubsi_DerivativeInstrumentsAxis_905" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DerivativeInstrumentsDomain" xlink:label="loc_ubsi_DerivativeInstrumentsDomain_906" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_DerivativeInstrumentsAxis_905" xlink:to="loc_ubsi_DerivativeInstrumentsDomain_906" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherAssetMember" xlink:label="loc_ubsi_OtherAssetMember_916" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_DerivativeInstrumentsDomain_906" xlink:to="loc_ubsi_OtherAssetMember_916" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OthersLiabilitiesMember" xlink:label="loc_ubsi_OthersLiabilitiesMember_917" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_DerivativeInstrumentsDomain_906" xlink:to="loc_ubsi_OthersLiabilitiesMember_917" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_907" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeTable_902" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_907" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain_908" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_907" xlink:to="loc_us-gaap_HedgingRelationshipDomain_908" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueHedgingMember" xlink:label="loc_us-gaap_FairValueHedgingMember_918" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_HedgingRelationshipDomain_908" xlink:to="loc_us-gaap_FairValueHedgingMember_918" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashFlowHedgingMember" xlink:label="loc_us-gaap_CashFlowHedgingMember_828933" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_HedgingRelationshipDomain_908" xlink:to="loc_us-gaap_CashFlowHedgingMember_828933" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingDesignationAxis" xlink:label="loc_us-gaap_HedgingDesignationAxis_909" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeTable_902" xlink:to="loc_us-gaap_HedgingDesignationAxis_909" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_910" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_HedgingDesignationAxis_909" xlink:to="loc_us-gaap_HedgingDesignationDomain_910" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DesignatedAsHedgingInstrumentMember" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_919" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_HedgingDesignationDomain_910" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_919" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NondesignatedMember" xlink:label="loc_us-gaap_NondesignatedMember_920" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_HedgingDesignationDomain_910" xlink:to="loc_us-gaap_NondesignatedMember_920" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_911" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeTable_902" xlink:to="loc_us-gaap_FinancialInstrumentAxis_911" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_912" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancialInstrumentAxis_911" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_912" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_HedgedCommercialLoansMember" xlink:label="loc_ubsi_HedgedCommercialLoansMember_921" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_912" xlink:to="loc_ubsi_HedgedCommercialLoansMember_921" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestRateLockCommitmentsMember" xlink:label="loc_us-gaap_InterestRateLockCommitmentsMember_923" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_912" xlink:to="loc_us-gaap_InterestRateLockCommitmentsMember_923" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_HedgedCommercialLoansFederalHomeLoanBankMember" xlink:label="loc_ubsi_HedgedCommercialLoansFederalHomeLoanBankMember_828932" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_912" xlink:to="loc_ubsi_HedgedCommercialLoansFederalHomeLoanBankMember_828932" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLineItems" xlink:label="loc_us-gaap_DerivativeLineItems_913" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeTable_902" xlink:to="loc_us-gaap_DerivativeLineItems_913" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssetNotionalAmount" xlink:label="loc_us-gaap_DerivativeAssetNotionalAmount_924" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeLineItems_913" xlink:to="loc_us-gaap_DerivativeAssetNotionalAmount_924" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue" xlink:label="loc_us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue_925" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeLineItems_913" xlink:to="loc_us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue_925" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue" xlink:label="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue_927" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeLineItems_913" xlink:to="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue_927" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_928" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeLineItems_913" xlink:to="loc_us-gaap_DerivativeAssets_928" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilityNotionalAmount" xlink:label="loc_us-gaap_DerivativeLiabilityNotionalAmount_926" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeLineItems_913" xlink:to="loc_us-gaap_DerivativeLiabilityNotionalAmount_926" use="optional" order="28" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue" xlink:label="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue_930" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeLineItems_913" xlink:to="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue_930" use="optional" order="29" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilities" xlink:label="loc_us-gaap_DerivativeLiabilities_931" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeLineItems_913" xlink:to="loc_us-gaap_DerivativeLiabilities_931" use="optional" order="30" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/DerivativeFinancialInstrumentsSummaryOfCarryingAmountHedgedAssetsLiabilitiesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:label="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract_933" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ScheduleOfCarryingAmountHedgedAssetsLiabilitiesTable" xlink:label="loc_ubsi_ScheduleOfCarryingAmountHedgedAssetsLiabilitiesTable_934" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract_933" xlink:to="loc_ubsi_ScheduleOfCarryingAmountHedgedAssetsLiabilitiesTable_934" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_935" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_ScheduleOfCarryingAmountHedgedAssetsLiabilitiesTable_934" xlink:to="loc_us-gaap_StatementClassOfStockAxis_935" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_943" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementClassOfStockAxis_935" xlink:to="loc_us-gaap_ClassOfStockDomain_943" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingDesignationAxis" xlink:label="loc_us-gaap_HedgingDesignationAxis_936" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_ScheduleOfCarryingAmountHedgedAssetsLiabilitiesTable_934" xlink:to="loc_us-gaap_HedgingDesignationAxis_936" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_937" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_HedgingDesignationAxis_936" xlink:to="loc_us-gaap_HedgingDesignationDomain_937" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DesignatedAsHedgingInstrumentMember" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_944" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_HedgingDesignationDomain_937" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_944" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_938" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_ScheduleOfCarryingAmountHedgedAssetsLiabilitiesTable_934" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_938" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_939" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_938" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_939" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_945" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_939" xlink:to="loc_us-gaap_InterestRateSwapMember_945" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ServicingRightsAxis" xlink:label="loc_ubsi_ServicingRightsAxis_940" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_ScheduleOfCarryingAmountHedgedAssetsLiabilitiesTable_934" xlink:to="loc_ubsi_ServicingRightsAxis_940" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ServicingRightsDomain" xlink:label="loc_ubsi_ServicingRightsDomain_941" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_ServicingRightsAxis_940" xlink:to="loc_ubsi_ServicingRightsDomain_941" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BalanceSheetsLocationAxis" xlink:label="loc_ubsi_BalanceSheetsLocationAxis_2147472227" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_ScheduleOfCarryingAmountHedgedAssetsLiabilitiesTable_934" xlink:to="loc_ubsi_BalanceSheetsLocationAxis_2147472227" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BalanceSheetsLocationDomain" xlink:label="loc_ubsi_BalanceSheetsLocationDomain_2147472226" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_BalanceSheetsLocationAxis_2147472227" xlink:to="loc_ubsi_BalanceSheetsLocationDomain_2147472226" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndLeasesNetOfUnearnedIncomeMember" xlink:label="loc_ubsi_LoansAndLeasesNetOfUnearnedIncomeMember_828923" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_BalanceSheetsLocationDomain_2147472226" xlink:to="loc_ubsi_LoansAndLeasesNetOfUnearnedIncomeMember_828923" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CarryingAmountHedgedAssetsLiabilitiesLineItems" xlink:label="loc_ubsi_CarryingAmountHedgedAssetsLiabilitiesLineItems_942" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_ScheduleOfCarryingAmountHedgedAssetsLiabilitiesTable_934" xlink:to="loc_ubsi_CarryingAmountHedgedAssetsLiabilitiesLineItems_942" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgedAssetFairValueHedge" xlink:label="loc_us-gaap_HedgedAssetFairValueHedge_947" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_CarryingAmountHedgedAssetsLiabilitiesLineItems_942" xlink:to="loc_us-gaap_HedgedAssetFairValueHedge_947" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgedAssetFairValueHedgeCumulativeIncreaseDecrease" xlink:label="loc_us-gaap_HedgedAssetFairValueHedgeCumulativeIncreaseDecrease_948" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_CarryingAmountHedgedAssetsLiabilitiesLineItems_942" xlink:to="loc_us-gaap_HedgedAssetFairValueHedgeCumulativeIncreaseDecrease_948" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgedAssetDiscontinuedFairValueHedgeCumulativeIncreaseDecrease" xlink:label="loc_us-gaap_HedgedAssetDiscontinuedFairValueHedgeCumulativeIncreaseDecrease_949" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_CarryingAmountHedgedAssetsLiabilitiesLineItems_942" xlink:to="loc_us-gaap_HedgedAssetDiscontinuedFairValueHedgeCumulativeIncreaseDecrease_949" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/DerivativeFinancialInstrumentsScheduleOfDerivativeFinancialInstrumentsOnStatementsOfIncomeDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:label="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract_951" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeTable" xlink:label="loc_us-gaap_DerivativeTable_952" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract_951" xlink:to="loc_us-gaap_DerivativeTable_952" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingDesignationAxis" xlink:label="loc_us-gaap_HedgingDesignationAxis_953" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeTable_952" xlink:to="loc_us-gaap_HedgingDesignationAxis_953" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_954" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_HedgingDesignationAxis_953" xlink:to="loc_us-gaap_HedgingDesignationDomain_954" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DesignatedAsHedgingInstrumentMember" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_964" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_HedgingDesignationDomain_954" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_964" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NondesignatedMember" xlink:label="loc_us-gaap_NondesignatedMember_965" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_HedgingDesignationDomain_954" xlink:to="loc_us-gaap_NondesignatedMember_965" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_StatementOfIncomeLocationAxis" xlink:label="loc_ubsi_StatementOfIncomeLocationAxis_955" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeTable_952" xlink:to="loc_ubsi_StatementOfIncomeLocationAxis_955" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_StatementOfIncomeLocationDomain" xlink:label="loc_ubsi_StatementOfIncomeLocationDomain_956" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_StatementOfIncomeLocationAxis_955" xlink:to="loc_ubsi_StatementOfIncomeLocationDomain_956" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_IncomeFromMortgageBankingActivitiesMember" xlink:label="loc_ubsi_IncomeFromMortgageBankingActivitiesMember_967" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_StatementOfIncomeLocationDomain_956" xlink:to="loc_ubsi_IncomeFromMortgageBankingActivitiesMember_967" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_InterestAndFeesOnLoansMember" xlink:label="loc_ubsi_InterestAndFeesOnLoansMember_966" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_StatementOfIncomeLocationDomain_956" xlink:to="loc_ubsi_InterestAndFeesOnLoansMember_966" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_InterestOnLongTermBorrowingsMember" xlink:label="loc_ubsi_InterestOnLongTermBorrowingsMember_828907" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_StatementOfIncomeLocationDomain_956" xlink:to="loc_ubsi_InterestOnLongTermBorrowingsMember_828907" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_957" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeTable_952" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_957" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_958" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_957" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_958" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_968" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_958" xlink:to="loc_us-gaap_InterestRateSwapMember_968" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ForwardLoanSaleCommitmentsMember" xlink:label="loc_ubsi_ForwardLoanSaleCommitmentsMember_969" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_958" xlink:to="loc_ubsi_ForwardLoanSaleCommitmentsMember_969" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_959" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeTable_952" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_959" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain_960" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_959" xlink:to="loc_us-gaap_HedgingRelationshipDomain_960" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashFlowHedgingMember" xlink:label="loc_us-gaap_CashFlowHedgingMember_458915" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_HedgingRelationshipDomain_960" xlink:to="loc_us-gaap_CashFlowHedgingMember_458915" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueHedgingMember" xlink:label="loc_us-gaap_FairValueHedgingMember_970" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_HedgingRelationshipDomain_960" xlink:to="loc_us-gaap_FairValueHedgingMember_970" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_961" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeTable_952" xlink:to="loc_us-gaap_FinancialInstrumentAxis_961" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_962" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancialInstrumentAxis_961" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_962" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TbaMortgageBackedSecuritiesMember" xlink:label="loc_ubsi_TbaMortgageBackedSecuritiesMember_971" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_962" xlink:to="loc_ubsi_TbaMortgageBackedSecuritiesMember_971" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestRateLockCommitmentsMember" xlink:label="loc_us-gaap_InterestRateLockCommitmentsMember_972" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_962" xlink:to="loc_us-gaap_InterestRateLockCommitmentsMember_972" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLineItems" xlink:label="loc_us-gaap_DerivativeLineItems_963" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeTable_952" xlink:to="loc_us-gaap_DerivativeLineItems_963" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeGainLossOnDerivativeNet" xlink:label="loc_us-gaap_DerivativeGainLossOnDerivativeNet_973" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeLineItems_963" xlink:to="loc_us-gaap_DerivativeGainLossOnDerivativeNet_973" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet" xlink:label="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet_974" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeLineItems_963" xlink:to="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet_974" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueDisclosuresAbstract" xlink:label="loc_us-gaap_FairValueDisclosuresAbstract_567562" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByBalanceSheetGroupingTable" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567565" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueDisclosuresAbstract_567562" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567565" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_567576" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567565" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_567576" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567578" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_567576" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567578" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_567581" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567578" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_567581" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_567583" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567578" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_567583" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_567585" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567578" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_567585" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_567587" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567565" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_567587" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_569013" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_567587" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_569013" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember" xlink:label="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_569019" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_569013" xlink:to="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_569019" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_569018" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_569013" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_569018" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_567603" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567565" xlink:to="loc_us-gaap_FinancialInstrumentAxis_567603" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567604" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancialInstrumentAxis_567603" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567604" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesMember" xlink:label="loc_us-gaap_EquitySecuritiesMember_567607" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567604" xlink:to="loc_us-gaap_EquitySecuritiesMember_567607" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567570" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567565" xlink:to="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567570" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsAndFederalFundsSold" xlink:label="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_567612" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567570" xlink:to="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_567612" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecurities" xlink:label="loc_us-gaap_DebtSecurities_567613" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567570" xlink:to="loc_us-gaap_DebtSecurities_567613" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HeldToMaturitySecurities" xlink:label="loc_us-gaap_HeldToMaturitySecurities_567620" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567570" xlink:to="loc_us-gaap_HeldToMaturitySecurities_567620" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNi" xlink:label="loc_us-gaap_EquitySecuritiesFvNi_567621" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567570" xlink:to="loc_us-gaap_EquitySecuritiesFvNi_567621" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherInvestments" xlink:label="loc_us-gaap_OtherInvestments_567625" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567570" xlink:to="loc_us-gaap_OtherInvestments_567625" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_567626" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567570" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_567626" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndLeasesNetOfUnearnedIncome" xlink:label="loc_ubsi_LoansAndLeasesNetOfUnearnedIncome_567627" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567570" xlink:to="loc_ubsi_LoansAndLeasesNetOfUnearnedIncome_567627" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/presentationGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_567628" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567570" xlink:to="loc_us-gaap_DerivativeAssets_567628" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Deposits" xlink:label="loc_us-gaap_Deposits_567629" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567570" xlink:to="loc_us-gaap_Deposits_567629" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShorttermDebtFairValue" xlink:label="loc_us-gaap_ShorttermDebtFairValue_567630" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567570" xlink:to="loc_us-gaap_ShorttermDebtFairValue_567630" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtFairValue" xlink:label="loc_us-gaap_LongTermDebtFairValue_567632" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567570" xlink:to="loc_us-gaap_LongTermDebtFairValue_567632" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilities" xlink:label="loc_us-gaap_DerivativeLiabilities_567633" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567570" xlink:to="loc_us-gaap_DerivativeLiabilities_567633" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueOnNonrecurringBasisDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueDisclosuresAbstract" xlink:label="loc_us-gaap_FairValueDisclosuresAbstract_567535" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByBalanceSheetGroupingTable" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567536" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueDisclosuresAbstract_567535" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567536" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_567538" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567536" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_567538" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_567539" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_567538" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_567539" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsNonrecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsNonrecurringMember_567540" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_567539" xlink:to="loc_us-gaap_FairValueMeasurementsNonrecurringMember_567540" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_567738" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567536" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_567738" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567739" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_567738" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567739" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_567741" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567739" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_567741" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_567742" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567739" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_567742" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_567744" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567739" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_567744" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ServicingRightsAxis" xlink:label="loc_ubsi_ServicingRightsAxis_828425" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567536" xlink:to="loc_ubsi_ServicingRightsAxis_828425" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ServicingRightsDomain" xlink:label="loc_ubsi_ServicingRightsDomain_828426" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_ServicingRightsAxis_828425" xlink:to="loc_ubsi_ServicingRightsDomain_828426" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567537" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567536" xlink:to="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567537" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancingReceivableIndividuallyEvaluatedForImpairmentGainLoss" xlink:label="loc_ubsi_FinancingReceivableIndividuallyEvaluatedForImpairmentGainLoss_827454" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567537" xlink:to="loc_ubsi_FinancingReceivableIndividuallyEvaluatedForImpairmentGainLoss_827454" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherRealEstateOwnedGainsLosses" xlink:label="loc_ubsi_OtherRealEstateOwnedGainsLosses_567546" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567537" xlink:to="loc_ubsi_OtherRealEstateOwnedGainsLosses_567546" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" xlink:label="loc_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment_827777" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567537" xlink:to="loc_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment_827777" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealEstateAcquiredThroughForeclosure" xlink:label="loc_us-gaap_RealEstateAcquiredThroughForeclosure_567553" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567537" xlink:to="loc_us-gaap_RealEstateAcquiredThroughForeclosure_567553" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfDifferenceBetweenAggregateFairValueAndRemainingContractualPrincipalOutstandingForFinancialInstrumentsForWhichFairValueOptionHasBeenElectedDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueDisclosuresAbstract" xlink:label="loc_us-gaap_FairValueDisclosuresAbstract_567524" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PrincipalAmountOutstandingOnLoansHeldForSaleOrSecuritization" xlink:label="loc_us-gaap_PrincipalAmountOutstandingOnLoansHeldForSaleOrSecuritization_567528" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueDisclosuresAbstract_567524" xlink:to="loc_us-gaap_PrincipalAmountOutstandingOnLoansHeldForSaleOrSecuritization_567528" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoansHeldForSaleFairValueDisclosure" xlink:label="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_567529" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueDisclosuresAbstract_567524" xlink:to="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_567529" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueOptionAggregateDifferencesLoansAndLongTermReceivables" xlink:label="loc_us-gaap_FairValueOptionAggregateDifferencesLoansAndLongTermReceivables_567532" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueDisclosuresAbstract_567524" xlink:to="loc_us-gaap_FairValueOptionAggregateDifferencesLoansAndLongTermReceivables_567532" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/FairValueMeasurementsScheduleOfChangesInFairValueIncludedInEarningsOfFinancialInstrumentsForWhichFairValueOptionHasBeenElectedDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueDisclosuresAbstract" xlink:label="loc_us-gaap_FairValueDisclosuresAbstract_567514" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable" xlink:label="loc_us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable_567515" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueDisclosuresAbstract_567514" xlink:to="loc_us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable_567515" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SegmentTypeAxis" xlink:label="loc_ubsi_SegmentTypeAxis_567518" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable_567515" xlink:to="loc_ubsi_SegmentTypeAxis_567518" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SegmentTypeDomain" xlink:label="loc_ubsi_SegmentTypeDomain_567519" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_SegmentTypeAxis_567518" xlink:to="loc_ubsi_SegmentTypeDomain_567519" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MortgageBankingMember" xlink:label="loc_us-gaap_MortgageBankingMember_567520" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_SegmentTypeDomain_567519" xlink:to="loc_us-gaap_MortgageBankingMember_567520" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueOptionQuantitativeDisclosuresLineItems" xlink:label="loc_us-gaap_FairValueOptionQuantitativeDisclosuresLineItems_567516" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable_567515" xlink:to="loc_us-gaap_FairValueOptionQuantitativeDisclosuresLineItems_567516" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueOptionChangesInFairValueGainLoss1" xlink:label="loc_us-gaap_FairValueOptionChangesInFairValueGainLoss1_567521" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueOptionQuantitativeDisclosuresLineItems_567516" xlink:to="loc_us-gaap_FairValueOptionChangesInFairValueGainLoss1_567521" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/FairValueMeasurementsScheduleOfAdditionalInformationAboutFinancialAssetsAndLiabilitiesMeasuredAtFairValueUtilizedLevel3Detail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueDisclosuresAbstract" xlink:label="loc_us-gaap_FairValueDisclosuresAbstract_567483" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByBalanceSheetGroupingTable" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567484" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueDisclosuresAbstract_567483" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567484" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_567486" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567484" xlink:to="loc_us-gaap_FinancialInstrumentAxis_567486" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567487" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancialInstrumentAxis_567486" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567487" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansHeldForSaleMember" xlink:label="loc_ubsi_LoansHeldForSaleMember_567492" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567487" xlink:to="loc_ubsi_LoansHeldForSaleMember_567492" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DerivativeFinancialAssetsTbaSecuritiesMember" xlink:label="loc_ubsi_DerivativeFinancialAssetsTbaSecuritiesMember_1290929" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567487" xlink:to="loc_ubsi_DerivativeFinancialAssetsTbaSecuritiesMember_1290929" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ForwardContractsMember" xlink:label="loc_us-gaap_ForwardContractsMember_2147472324" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567487" xlink:to="loc_us-gaap_ForwardContractsMember_2147472324" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestRateLockCommitmentsMember" xlink:label="loc_us-gaap_InterestRateLockCommitmentsMember_567494" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567487" xlink:to="loc_us-gaap_InterestRateLockCommitmentsMember_567494" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DerivativeFinancialLiabilitiesTbaSecuritiesMember" xlink:label="loc_ubsi_DerivativeFinancialLiabilitiesTbaSecuritiesMember_1290933" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567487" xlink:to="loc_ubsi_DerivativeFinancialLiabilitiesTbaSecuritiesMember_1290933" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DerivativeFinancialLiabilitiesForwardSalesCommitmentsMember" xlink:label="loc_ubsi_DerivativeFinancialLiabilitiesForwardSalesCommitmentsMember_1290925" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567487" xlink:to="loc_ubsi_DerivativeFinancialLiabilitiesForwardSalesCommitmentsMember_1290925" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_567495" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567484" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_567495" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_567496" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_567495" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_567496" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_567497" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_567496" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_567497" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567485" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567484" xlink:to="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567485" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_567499" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567485" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_567499" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetIssues" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetIssues_567506" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567485" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetIssues_567506" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales_567509" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567485" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales_567509" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet_567510" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567485" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet_567510" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1_567503" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567485" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1_567503" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_567500" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567485" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_567500" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_567511" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567485" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_567511" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/FairValueMeasurementsScheduleOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueDisclosuresAbstract" xlink:label="loc_us-gaap_FairValueDisclosuresAbstract_567416" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByBalanceSheetGroupingTable" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567417" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueDisclosuresAbstract_567416" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567417" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_567419" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567417" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_567419" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567420" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_567419" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567420" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_567421" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567420" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_567421" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_567422" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567420" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_567422" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_567423" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567420" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_567423" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_567424" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567417" xlink:to="loc_us-gaap_InvestmentTypeAxis_567424" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_567426" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentTypeAxis_567424" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_567426" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityFundsMember" xlink:label="loc_us-gaap_EquityFundsMember_567427" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_567426" xlink:to="loc_us-gaap_EquityFundsMember_567427" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_567428" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567417" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_567428" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_567429" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_567428" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_567429" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_567431" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567417" xlink:to="loc_us-gaap_FinancialInstrumentAxis_567431" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancialInstrumentAxis_567431" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember_567433" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" xlink:to="loc_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember_567433" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember" xlink:label="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_567434" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" xlink:to="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_567434" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialMortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_567435" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" xlink:to="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_567435" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialMortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_567443" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" xlink:to="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_567443" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_567444" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_567444" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SingleIssueTrustPreferredSecuritiesMember" xlink:label="loc_ubsi_SingleIssueTrustPreferredSecuritiesMember_567447" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" xlink:to="loc_ubsi_SingleIssueTrustPreferredSecuritiesMember_567447" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_567448" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_567448" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancialServicesIndustryMember" xlink:label="loc_ubsi_FinancialServicesIndustryMember_567449" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" xlink:to="loc_ubsi_FinancialServicesIndustryMember_567449" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_EquitySecuritiesFixedIncomeMutualFundsMember" xlink:label="loc_ubsi_EquitySecuritiesFixedIncomeMutualFundsMember_2147472576" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" xlink:to="loc_ubsi_EquitySecuritiesFixedIncomeMutualFundsMember_2147472576" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_595659" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" xlink:to="loc_us-gaap_InterestRateSwapMember_595659" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ForwardLoanSalesCommitmentsMember" xlink:label="loc_ubsi_ForwardLoanSalesCommitmentsMember_2021472021" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" xlink:to="loc_ubsi_ForwardLoanSalesCommitmentsMember_2021472021" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestRateLockCommitmentsMember" xlink:label="loc_us-gaap_InterestRateLockCommitmentsMember_567451" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" xlink:to="loc_us-gaap_InterestRateLockCommitmentsMember_567451" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TbaMortgageBackedSecuritiesMember" xlink:label="loc_ubsi_TbaMortgageBackedSecuritiesMember_567453" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" xlink:to="loc_ubsi_TbaMortgageBackedSecuritiesMember_567453" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_567455" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567417" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_567455" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_567456" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_567455" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_567456" use="optional" order="28" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_567458" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_567456" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_567458" use="optional" order="29" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnderlyingAssetClassAxis" xlink:label="loc_us-gaap_UnderlyingAssetClassAxis_567459" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567417" xlink:to="loc_us-gaap_UnderlyingAssetClassAxis_567459" use="optional" order="30" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnderlyingAssetClassDomain" xlink:label="loc_us-gaap_UnderlyingAssetClassDomain_567460" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_UnderlyingAssetClassAxis_567459" xlink:to="loc_us-gaap_UnderlyingAssetClassDomain_567460" use="optional" order="31" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AgencySecuritiesMember" xlink:label="loc_us-gaap_AgencySecuritiesMember_567461" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_UnderlyingAssetClassDomain_567460" xlink:to="loc_us-gaap_AgencySecuritiesMember_567461" use="optional" order="32" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonAgencySecuritiesMember" xlink:label="loc_ubsi_NonAgencySecuritiesMember_567464" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_UnderlyingAssetClassDomain_567460" xlink:to="loc_ubsi_NonAgencySecuritiesMember_567464" use="optional" order="33" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567418" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567417" xlink:to="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567418" use="optional" order="34" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_567465" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567418" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_567465" use="optional" order="35" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent" xlink:label="loc_us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent_567467" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567418" xlink:to="loc_us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent_567467" use="optional" order="36" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_567470" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567418" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_567470" use="optional" order="37" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_567471" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567418" xlink:to="loc_us-gaap_DerivativeAssets_567471" use="optional" order="38" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilities" xlink:label="loc_us-gaap_DerivativeLiabilities_567472" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567418" xlink:to="loc_us-gaap_DerivativeLiabilities_567472" use="optional" order="39" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/FairValueMeasurementsAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueDisclosuresAbstract" xlink:label="loc_us-gaap_FairValueDisclosuresAbstract_976" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByBalanceSheetGroupingTable" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_977" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueDisclosuresAbstract_976" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_977" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByAssetClassAxis" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_978" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_977" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_978" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_979" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_978" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_979" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansHeldForSaleMember" xlink:label="loc_ubsi_LoansHeldForSaleMember_985" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_979" xlink:to="loc_ubsi_LoansHeldForSaleMember_985" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DerivativesMember" xlink:label="loc_ubsi_DerivativesMember_986" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_979" xlink:to="loc_ubsi_DerivativesMember_986" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_980" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_977" xlink:to="loc_srt_RangeAxis_980" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_981" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeAxis_980" xlink:to="loc_srt_RangeMember_981" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_987" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_981" xlink:to="loc_srt_MinimumMember_987" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_988" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_981" xlink:to="loc_srt_MaximumMember_988" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_WeightedAverageMember" xlink:label="loc_srt_WeightedAverageMember_989" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_981" xlink:to="loc_srt_WeightedAverageMember_989" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_982" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_977" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_982" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_983" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_982" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_983" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_990" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_983" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_990" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ServicingRightsAxis" xlink:label="loc_ubsi_ServicingRightsAxis_827767" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_977" xlink:to="loc_ubsi_ServicingRightsAxis_827767" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ServicingRightsDomain" xlink:label="loc_ubsi_ServicingRightsDomain_827769" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_ServicingRightsAxis_827767" xlink:to="loc_ubsi_ServicingRightsDomain_827769" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancingLiabilitiesPeriodPastDueAxis" xlink:label="loc_ubsi_FinancingLiabilitiesPeriodPastDueAxis_2147472362" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_977" xlink:to="loc_ubsi_FinancingLiabilitiesPeriodPastDueAxis_2147472362" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancingLiabilitiesPeriodPastDueDomain" xlink:label="loc_ubsi_FinancingLiabilitiesPeriodPastDueDomain_2147472361" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_FinancingLiabilitiesPeriodPastDueAxis_2147472362" xlink:to="loc_ubsi_FinancingLiabilitiesPeriodPastDueDomain_2147472361" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_984" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_977" xlink:to="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_984" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SalesPriceOfLoansHeldForSaleIncreasePercentage" xlink:label="loc_ubsi_SalesPriceOfLoansHeldForSaleIncreasePercentage_991" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_984" xlink:to="loc_ubsi_SalesPriceOfLoansHeldForSaleIncreasePercentage_991" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FairValueAssetsLevelOneToLevelThreeTransfersAmount" xlink:label="loc_ubsi_FairValueAssetsLevelOneToLevelThreeTransfersAmount_992" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_984" xlink:to="loc_ubsi_FairValueAssetsLevelOneToLevelThreeTransfersAmount_992" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FairValueAssetsLevelThreeToLevelOneTransfersAmount" xlink:label="loc_ubsi_FairValueAssetsLevelThreeToLevelOneTransfersAmount_993" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_984" xlink:to="loc_ubsi_FairValueAssetsLevelThreeToLevelOneTransfersAmount_993" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FairValueAssetsLevelTwoToLevelThreeTransfersAmount" xlink:label="loc_ubsi_FairValueAssetsLevelTwoToLevelThreeTransfersAmount_994" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_984" xlink:to="loc_ubsi_FairValueAssetsLevelTwoToLevelThreeTransfersAmount_994" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FairValueAssetsLevelThreeToLevelTwoTransfersAmount" xlink:label="loc_ubsi_FairValueAssetsLevelThreeToLevelTwoTransfersAmount_995" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_984" xlink:to="loc_ubsi_FairValueAssetsLevelThreeToLevelTwoTransfersAmount_995" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FairValueLiabilitiesLevelOneToLevelThreeTransfersAmount" xlink:label="loc_ubsi_FairValueLiabilitiesLevelOneToLevelThreeTransfersAmount_996" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_984" xlink:to="loc_ubsi_FairValueLiabilitiesLevelOneToLevelThreeTransfersAmount_996" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FairValueLiabilitiesLevelThreeToLevelOneTransfersAmount" xlink:label="loc_ubsi_FairValueLiabilitiesLevelThreeToLevelOneTransfersAmount_997" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_984" xlink:to="loc_ubsi_FairValueLiabilitiesLevelThreeToLevelOneTransfersAmount_997" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FairValueLiabilitiesLevelTwoToLevelThreeTransfersAmount" xlink:label="loc_ubsi_FairValueLiabilitiesLevelTwoToLevelThreeTransfersAmount_998" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_984" xlink:to="loc_ubsi_FairValueLiabilitiesLevelTwoToLevelThreeTransfersAmount_998" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FairValueLiabilitiesLevelThreeToLevelTwoTransfersAmount" xlink:label="loc_ubsi_FairValueLiabilitiesLevelThreeToLevelTwoTransfersAmount_999" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_984" xlink:to="loc_ubsi_FairValueLiabilitiesLevelThreeToLevelTwoTransfersAmount_999" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure_1001" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_984" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure_1001" use="optional" order="28" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoansHeldForSaleFairValueDisclosure" xlink:label="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_2147472363" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_984" xlink:to="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_2147472363" use="optional" order="29" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/StockBasedCompensationAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:label="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_1125" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1126" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_1125" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1126" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_1127" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1126" xlink:to="loc_us-gaap_AwardTypeAxis_1127" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1128" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AwardTypeAxis_1127" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1128" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_1130" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1128" xlink:to="loc_us-gaap_RestrictedStockMember_1130" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_1291311" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1128" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_1291311" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_1310817" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1126" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_1310817" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_1310818" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_1310817" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_1310818" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_2137472106" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1126" xlink:to="loc_us-gaap_PlanNameAxis_2137472106" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_2136472106" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PlanNameAxis_2137472106" xlink:to="loc_us-gaap_PlanNameDomain_2136472106" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_EquityIncentivePlanMember" xlink:label="loc_ubsi_EquityIncentivePlanMember_2134472104" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PlanNameDomain_2136472106" xlink:to="loc_ubsi_EquityIncentivePlanMember_2134472104" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TwoThousandAndTwentyFiveEquityIncentivePlanMember" xlink:label="loc_ubsi_TwoThousandAndTwentyFiveEquityIncentivePlanMember_2134472103" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PlanNameDomain_2136472106" xlink:to="loc_ubsi_TwoThousandAndTwentyFiveEquityIncentivePlanMember_2134472103" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1126" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_1131" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_1131" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_MaximumVestingAmountOfAwards" xlink:label="loc_ubsi_MaximumVestingAmountOfAwards_1138" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_ubsi_MaximumVestingAmountOfAwards_1138" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_567493" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_567493" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesAvailableGrantsInPeriod" xlink:label="loc_ubsi_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesAvailableGrantsInPeriod_567502" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_ubsi_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesAvailableGrantsInPeriod_567502" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_1139" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_1139" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_568303" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_568303" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_1140" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_1140" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_567454" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_567454" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_567457" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_567457" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_1141" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_1141" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_567466" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_567466" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_1142" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_1142" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_1143" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_1143" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_2132472103" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_2132472103" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/StockBasedCompensationSummaryOfStockOptionPlansDetail" >
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DisclosureStockBasedCompensationStockOptionPlanAbstract" xlink:label="loc_ubsi_DisclosureStockBasedCompensationStockOptionPlanAbstract_1145" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_1146" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_DisclosureStockBasedCompensationStockOptionPlanAbstract_1145" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_1146" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_1148" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_DisclosureStockBasedCompensationStockOptionPlanAbstract_1145" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_1148" use="optional" order="2" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod_1149" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_DisclosureStockBasedCompensationStockOptionPlanAbstract_1145" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod_1149" use="optional" order="3" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_1150" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_DisclosureStockBasedCompensationStockOptionPlanAbstract_1145" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_1150" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_1151" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_DisclosureStockBasedCompensationStockOptionPlanAbstract_1145" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_1151" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_1152" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_DisclosureStockBasedCompensationStockOptionPlanAbstract_1145" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_1152" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1_1153" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_DisclosureStockBasedCompensationStockOptionPlanAbstract_1145" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1_1153" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_1154" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_DisclosureStockBasedCompensationStockOptionPlanAbstract_1145" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_1154" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_1155" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_DisclosureStockBasedCompensationStockOptionPlanAbstract_1145" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_1155" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_1156" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_DisclosureStockBasedCompensationStockOptionPlanAbstract_1145" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_1156" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_1158" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_DisclosureStockBasedCompensationStockOptionPlanAbstract_1145" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_1158" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice_1159" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_DisclosureStockBasedCompensationStockOptionPlanAbstract_1145" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice_1159" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_1160" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_DisclosureStockBasedCompensationStockOptionPlanAbstract_1145" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_1160" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_1161" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_DisclosureStockBasedCompensationStockOptionPlanAbstract_1145" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_1161" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/StockBasedCompensationSummaryOfChangesToUnitedsRestrictedCommonSharesDetail" >
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ShareBasedCompensationRestrictedStockActivityAbstract" xlink:label="loc_ubsi_ShareBasedCompensationRestrictedStockActivityAbstract_1175" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1176" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_ShareBasedCompensationRestrictedStockActivityAbstract_1175" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1176" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_1177" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1176" xlink:to="loc_us-gaap_AwardTypeAxis_1177" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1178" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AwardTypeAxis_1177" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1178" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1179" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1176" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1179" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_1181" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1179" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_1181" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_1182" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1179" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_1182" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_1183" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1179" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_1183" use="optional" order="7" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_1184" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1179" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_1184" use="optional" order="8" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_1185" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1179" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_1185" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_1186" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1179" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_1186" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_1187" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1179" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_1187" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_1188" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1179" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_1188" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_1189" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1179" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_1189" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_1190" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1179" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_1190" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/StockBasedCompensationSummaryOfStatusOfUnitedsNonvestedStockOptionAwardsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:label="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_1163" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1291272" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_1163" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1291272" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_1291273" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1291272" xlink:to="loc_us-gaap_StatementClassOfStockAxis_1291273" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_1291274" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1291273" xlink:to="loc_us-gaap_ClassOfStockDomain_1291274" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_1291276" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1291272" xlink:to="loc_us-gaap_AwardTypeAxis_1291276" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1291277" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AwardTypeAxis_1291276" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1291277" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_1291278" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1291277" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_1291278" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_1310825" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1291272" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_1310825" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1310826" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1310825" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1310826" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1291275" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1291272" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1291275" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares_1164" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1291275" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares_1164" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_1165" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1291275" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_1165" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares_1166" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1291275" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares_1166" use="optional" order="12" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares_1167" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1291275" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares_1167" use="optional" order="13" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares_1168" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1291275" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares_1168" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue_1169" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1291275" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue_1169" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_1170" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1291275" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_1170" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue_1171" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1291275" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue_1171" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue_1172" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1291275" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue_1172" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue_1173" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1291275" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue_1173" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/EmployeeBenefitPlansAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CompensationAndRetirementDisclosureAbstract" xlink:label="loc_us-gaap_CompensationAndRetirementDisclosureAbstract_1192" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_1193" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CompensationAndRetirementDisclosureAbstract_1192" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_1193" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis" xlink:label="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_1194" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_1193" xlink:to="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_1194" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanAssetCategoriesDomain" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_1197" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_1194" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_1197" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_1195" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_1193" xlink:to="loc_srt_RangeAxis_1195" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_1198" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeAxis_1195" xlink:to="loc_srt_RangeMember_1198" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_1196" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_1193" xlink:to="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_1196" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax_1199" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_1196" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax_1199" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/EmployeeBenefitPlansNetPeriodicPensionCostDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CompensationAndRetirementDisclosureAbstract" xlink:label="loc_us-gaap_CompensationAndRetirementDisclosureAbstract_1205" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_1206" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CompensationAndRetirementDisclosureAbstract_1205" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_1206" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanNameAxis" xlink:label="loc_us-gaap_RetirementPlanNameAxis_1207" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_1206" xlink:to="loc_us-gaap_RetirementPlanNameAxis_1207" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanNameDomain" xlink:label="loc_us-gaap_RetirementPlanNameDomain_1208" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RetirementPlanNameAxis_1207" xlink:to="loc_us-gaap_RetirementPlanNameDomain_1208" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PriorToAgeFortyMember" xlink:label="loc_ubsi_PriorToAgeFortyMember_829906" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RetirementPlanNameDomain_1208" xlink:to="loc_ubsi_PriorToAgeFortyMember_829906" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AgesfourtytofortynineMember" xlink:label="loc_ubsi_AgesfourtytofortynineMember_2122472096" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RetirementPlanNameDomain_1208" xlink:to="loc_ubsi_AgesfourtytofortynineMember_2122472096" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AgesFiftyToFiftyFourMember" xlink:label="loc_ubsi_AgesFiftyToFiftyFourMember_2121472096" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RetirementPlanNameDomain_1208" xlink:to="loc_ubsi_AgesFiftyToFiftyFourMember_2121472096" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AgesFiftyFiveToSixtyFourMember" xlink:label="loc_ubsi_AgesFiftyFiveToSixtyFourMember_2120472096" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RetirementPlanNameDomain_1208" xlink:to="loc_ubsi_AgesFiftyFiveToSixtyFourMember_2120472096" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanNameOtherMember" xlink:label="loc_us-gaap_RetirementPlanNameOtherMember_829891" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RetirementPlanNameDomain_1208" xlink:to="loc_us-gaap_RetirementPlanNameOtherMember_829891" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_1209" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_1206" xlink:to="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_1209" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanServiceCost" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_1212" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_1209" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_1212" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanInterestCost" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_1213" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_1209" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_1213" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_1214" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_1209" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_1214" use="optional" order="12" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanActuarialGainLossImmediateRecognitionAsComponentInNetPeriodicBenefitCostCredit" xlink:label="loc_us-gaap_DefinedBenefitPlanActuarialGainLossImmediateRecognitionAsComponentInNetPeriodicBenefitCostCredit_1216" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_1209" xlink:to="loc_us-gaap_DefinedBenefitPlanActuarialGainLossImmediateRecognitionAsComponentInNetPeriodicBenefitCostCredit_1216" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_1218" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_1209" xlink:to="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_1218" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract" xlink:label="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_1210" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_1209" xlink:to="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_1210" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_WeightedAverageAssumptionsDiscountRate" xlink:label="loc_ubsi_WeightedAverageAssumptionsDiscountRate_1219" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_1210" xlink:to="loc_ubsi_WeightedAverageAssumptionsDiscountRate_1219" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets_1220" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_1210" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets_1220" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease_1221" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_1210" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease_1221" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/IncomeTaxesAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxDisclosureAbstract" xlink:label="loc_us-gaap_IncomeTaxDisclosureAbstract_1223" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_IncomeTaxesTable" xlink:label="loc_ubsi_IncomeTaxesTable_1224" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_1223" xlink:to="loc_ubsi_IncomeTaxesTable_1224" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxAuthorityAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_1225" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_IncomeTaxesTable_1224" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_1225" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_1227" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_1225" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_1227" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_IncomeTaxesLineItems" xlink:label="loc_ubsi_IncomeTaxesLineItems_1226" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_IncomeTaxesTable_1224" xlink:to="loc_ubsi_IncomeTaxesLineItems_1226" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesAccrued" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesAccrued_567783" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_IncomeTaxesLineItems_1226" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesAccrued_567783" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_2041472038" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_IncomeTaxesLineItems_1226" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_2041472038" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ComprehensiveIncomeComponentsOfTotalComprehensiveIncomeDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAbstract" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAbstract_1231" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_1235" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxAbstract_1231" xlink:to="loc_us-gaap_NetIncomeLoss_1235" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParentAbstract" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParentAbstract_1232" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxAbstract_1231" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParentAbstract_1232" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_1236" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParentAbstract_1232" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_1236" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax_458883" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParentAbstract_1232" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax_458883" use="optional" order="4" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_1238" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParentAbstract_1232" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_1238" use="optional" order="5" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax_1239" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParentAbstract_1232" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax_1239" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_1241" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParentAbstract_1232" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_1241" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxPortionAttributableToParentAbstract" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxPortionAttributableToParentAbstract_827702" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxAbstract_1231" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxPortionAttributableToParentAbstract_827702" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax_827712" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxPortionAttributableToParentAbstract_827702" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax_827712" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax_827715" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxPortionAttributableToParentAbstract_827702" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax_827715" use="optional" order="10" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTax_827703" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxPortionAttributableToParentAbstract_827702" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTax_827703" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTax_827704" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxPortionAttributableToParentAbstract_827702" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTax_827704" use="optional" order="12" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTaxParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTaxParent_827706" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxPortionAttributableToParentAbstract_827702" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTaxParent_827706" use="optional" order="13" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_2040472038" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxPortionAttributableToParentAbstract_827702" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_2040472038" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_1249" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxAbstract_1231" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTax_1249" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ComprehensiveIncomeComponentsOfAccumulatedOtherComprehensiveIncomeDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityAbstract" xlink:label="loc_us-gaap_EquityAbstract_1251" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_1252" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityAbstract_1251" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_1252" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_1253" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_1252" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_1253" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_1254" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_1253" xlink:to="loc_us-gaap_EquityComponentDomain_1254" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember" xlink:label="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_1258" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityComponentDomain_1254" xlink:to="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_1258" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_1260" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityComponentDomain_1254" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_1260" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember" xlink:label="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_828875" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityComponentDomain_1254" xlink:to="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_828875" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeAxis" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_1255" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_1252" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_1255" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_1256" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_1255" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_1256" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_1261" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_1256" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_1261" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_1257" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_1252" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_1257" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_1262" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_1257" xlink:to="loc_us-gaap_StockholdersEquity_1262" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent" xlink:label="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent_1264" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_1257" xlink:to="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent_1264" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent_1265" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_1257" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent_1265" use="optional" order="13" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_1266" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_1257" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_1266" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_1267" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_1257" xlink:to="loc_us-gaap_StockholdersEquity_1267" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ComprehensiveIncomeReclassificationsOutOfAccumulatedOtherComprehensiveIncomeDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityAbstract" xlink:label="loc_us-gaap_EquityAbstract_1269" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_1270" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityAbstract_1269" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_1270" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis_1271" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_1270" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis_1271" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_1272" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis_1271" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_1272" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember_1278" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_1272" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember_1278" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_1273" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_1270" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_1273" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_1274" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_1273" xlink:to="loc_us-gaap_EquityComponentDomain_1274" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember" xlink:label="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_1279" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityComponentDomain_1274" xlink:to="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_1279" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember" xlink:label="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_827734" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityComponentDomain_1274" xlink:to="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_827734" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_1275" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_1270" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_1275" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract_1276" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_1275" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract_1276" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_2005472020" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract_1276" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_2005472020" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_1283" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract_1276" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_1283" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_1284" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract_1276" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_1284" use="optional" order="13" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_1285" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract_1276" xlink:to="loc_us-gaap_NetIncomeLoss_1285" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxPortionAttributableToParentAbstract" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxPortionAttributableToParentAbstract_828798" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_1275" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxPortionAttributableToParentAbstract_828798" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax_828799" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxPortionAttributableToParentAbstract_828798" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax_828799" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_828800" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxPortionAttributableToParentAbstract_828798" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_828800" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_828801" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxPortionAttributableToParentAbstract_828798" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_828801" use="optional" order="18" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_828802" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxPortionAttributableToParentAbstract_828798" xlink:to="loc_us-gaap_NetIncomeLoss_828802" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/EarningsPerShareReconciliationOfNumeratorAndDenominatorOfBasicEarningsPerShareWithThatOfDilutedEarningsPerShareDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EarningsPerShareAbstract" xlink:label="loc_us-gaap_EarningsPerShareAbstract_1291" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DistributedEarningsAllocatedToCommonStock" xlink:label="loc_ubsi_DistributedEarningsAllocatedToCommonStock_1292" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_1291" xlink:to="loc_ubsi_DistributedEarningsAllocatedToCommonStock_1292" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_UndistributedEarningsAllocatedToCommonStockholders" xlink:label="loc_ubsi_UndistributedEarningsAllocatedToCommonStockholders_1293" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_1291" xlink:to="loc_ubsi_UndistributedEarningsAllocatedToCommonStockholders_1293" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_1294" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_1291" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_1294" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_1295" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_1291" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_1295" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_1296" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_1291" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_1296" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_1297" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_1291" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_1297" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EarningsPerShareBasic" xlink:label="loc_us-gaap_EarningsPerShareBasic_1298" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_1291" xlink:to="loc_us-gaap_EarningsPerShareBasic_1298" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="loc_us-gaap_EarningsPerShareDiluted_1299" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_1291" xlink:to="loc_us-gaap_EarningsPerShareDiluted_1299" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/EarningsPerShareAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EarningsPerShareAbstract" xlink:label="loc_us-gaap_EarningsPerShareAbstract_2026472026" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_2024472025" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_2026472026" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_2024472025" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_2023472022" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_2024472025" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_2023472022" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_2022472022" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_2023472022" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_2022472022" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_EmployeeStockOptionAndRestrictedStockUnitsMember" xlink:label="loc_ubsi_EmployeeStockOptionAndRestrictedStockUnitsMember_2021472022" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_2022472022" xlink:to="loc_ubsi_EmployeeStockOptionAndRestrictedStockUnitsMember_2021472022" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_2024472022" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_2024472025" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_2024472022" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AntidilutiveStockOptionsAndRestrictedStockOutstandingShares" xlink:label="loc_ubsi_AntidilutiveStockOptionsAndRestrictedStockOutstandingShares_2025472026" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_2024472022" xlink:to="loc_ubsi_AntidilutiveStockOptionsAndRestrictedStockOutstandingShares_2025472026" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_2024472026" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_2024472022" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_2024472026" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/VariableInterestEntitiesAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableInterestEntityNotPrimaryBeneficiaryDisclosuresAbstract" xlink:label="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryDisclosuresAbstract_1301" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionTable" xlink:label="loc_us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionTable_2147472395" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryDisclosuresAbstract_1301" xlink:to="loc_us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionTable_2147472395" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_2030472026" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionTable_2147472395" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_2030472026" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_2029472026" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_2030472026" xlink:to="loc_us-gaap_RelatedPartyDomain_2029472026" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_DirectorMember" xlink:label="loc_srt_DirectorMember_2028472026" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyDomain_2029472026" xlink:to="loc_srt_DirectorMember_2028472026" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2147472389" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionTable_2147472395" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2147472389" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472388" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2147472389" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472388" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnfundedLoanCommitmentMember" xlink:label="loc_us-gaap_UnfundedLoanCommitmentMember_2147472387" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472388" xlink:to="loc_us-gaap_UnfundedLoanCommitmentMember_2147472387" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionBySettlementTermsAxis" xlink:label="loc_us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionBySettlementTermsAxis_2147472392" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionTable_2147472395" xlink:to="loc_us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionBySettlementTermsAxis_2147472392" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharesSubjectToMandatoryRedemptionFinancialInstrumentDomain" xlink:label="loc_us-gaap_SharesSubjectToMandatoryRedemptionFinancialInstrumentDomain_2147472391" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionBySettlementTermsAxis_2147472392" xlink:to="loc_us-gaap_SharesSubjectToMandatoryRedemptionFinancialInstrumentDomain_2147472391" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TrustPreferredSecuritiesSubjectToMandatoryRedemptionMember" xlink:label="loc_us-gaap_TrustPreferredSecuritiesSubjectToMandatoryRedemptionMember_2147472390" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SharesSubjectToMandatoryRedemptionFinancialInstrumentDomain_2147472391" xlink:to="loc_us-gaap_TrustPreferredSecuritiesSubjectToMandatoryRedemptionMember_2147472390" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharesSubjectToMandatoryRedemptionBySettlementTermsLineItems" xlink:label="loc_us-gaap_SharesSubjectToMandatoryRedemptionBySettlementTermsLineItems_2147472393" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionTable_2147472395" xlink:to="loc_us-gaap_SharesSubjectToMandatoryRedemptionBySettlementTermsLineItems_2147472393" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NumberOfStatutoryBusinessTrusts" xlink:label="loc_ubsi_NumberOfStatutoryBusinessTrusts_1302" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SharesSubjectToMandatoryRedemptionBySettlementTermsLineItems_2147472393" xlink:to="loc_ubsi_NumberOfStatutoryBusinessTrusts_1302" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableInterestEntityOwnershipPercentage" xlink:label="loc_us-gaap_VariableInterestEntityOwnershipPercentage_1303" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SharesSubjectToMandatoryRedemptionBySettlementTermsLineItems_2147472393" xlink:to="loc_us-gaap_VariableInterestEntityOwnershipPercentage_1303" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount" xlink:label="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_2147472396" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SharesSubjectToMandatoryRedemptionBySettlementTermsLineItems_2147472393" xlink:to="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_2147472396" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/VariableInterestEntitiesInformationRelatedToStatutoryTrustsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableInterestEntityNotPrimaryBeneficiaryDisclosuresAbstract" xlink:label="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryDisclosuresAbstract_1305" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfVariableInterestEntitiesTable" xlink:label="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_1306" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryDisclosuresAbstract_1305" xlink:to="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_1306" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_1307" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_1306" xlink:to="loc_us-gaap_StatementClassOfStockAxis_1307" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_1311" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1307" xlink:to="loc_us-gaap_ClassOfStockDomain_1311" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_1308" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_1306" xlink:to="loc_us-gaap_DebtInstrumentAxis_1308" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_1309" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentAxis_1308" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_1309" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_UnitedStatutoryTrustIiiMember" xlink:label="loc_ubsi_UnitedStatutoryTrustIiiMember_1312" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_UnitedStatutoryTrustIiiMember_1312" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_UnitedStatutoryTrustIvMember" xlink:label="loc_ubsi_UnitedStatutoryTrustIvMember_1313" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_UnitedStatutoryTrustIvMember_1313" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_UnitedStatutoryTrustVMember" xlink:label="loc_ubsi_UnitedStatutoryTrustVMember_1314" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_UnitedStatutoryTrustVMember_1314" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_UnitedStatutoryTrustViMember" xlink:label="loc_ubsi_UnitedStatutoryTrustViMember_1315" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_UnitedStatutoryTrustViMember_1315" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PremierStatutoryTrustIiMember" xlink:label="loc_ubsi_PremierStatutoryTrustIiMember_1316" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_PremierStatutoryTrustIiMember_1316" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PremierStatutoryTrustIiiMember" xlink:label="loc_ubsi_PremierStatutoryTrustIiiMember_1317" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_PremierStatutoryTrustIiiMember_1317" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PremierStatutoryTrustIvMember" xlink:label="loc_ubsi_PremierStatutoryTrustIvMember_1318" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_PremierStatutoryTrustIvMember_1318" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PremierStatutoryTrustVMember" xlink:label="loc_ubsi_PremierStatutoryTrustVMember_1319" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_PremierStatutoryTrustVMember_1319" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CentraStatutoryTrustIMember" xlink:label="loc_ubsi_CentraStatutoryTrustIMember_1320" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_CentraStatutoryTrustIMember_1320" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CentraStatutoryTrustIiMember" xlink:label="loc_ubsi_CentraStatutoryTrustIiMember_1321" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_CentraStatutoryTrustIiMember_1321" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_VCBICapitalTrustIIMember" xlink:label="loc_ubsi_VCBICapitalTrustIIMember_1322" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_VCBICapitalTrustIIMember_1322" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_VCBICapitalTrustIIIMember" xlink:label="loc_ubsi_VCBICapitalTrustIIIMember_1323" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_VCBICapitalTrustIIIMember_1323" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CardinalStatutoryTrustIMember" xlink:label="loc_ubsi_CardinalStatutoryTrustIMember_1324" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_CardinalStatutoryTrustIMember_1324" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_UFBCCapitalTrustIMember" xlink:label="loc_ubsi_UFBCCapitalTrustIMember_1325" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_UFBCCapitalTrustIMember_1325" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CarolinaFinancialCapitalTrustIMember" xlink:label="loc_ubsi_CarolinaFinancialCapitalTrustIMember_2050472039" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_CarolinaFinancialCapitalTrustIMember_2050472039" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CarolinaFinancialCapitalTrustIiMember" xlink:label="loc_ubsi_CarolinaFinancialCapitalTrustIiMember_2049472039" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_CarolinaFinancialCapitalTrustIiMember_2049472039" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_GreerCapitalTrustIMember" xlink:label="loc_ubsi_GreerCapitalTrustIMember_2048472039" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_GreerCapitalTrustIMember_2048472039" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_GreerCapitalTrustIiMember" xlink:label="loc_ubsi_GreerCapitalTrustIiMember_2047472039" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_GreerCapitalTrustIiMember_2047472039" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FirstSouthPreferredTrustIMember" xlink:label="loc_ubsi_FirstSouthPreferredTrustIMember_2046472039" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_FirstSouthPreferredTrustIMember_2046472039" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BOEStatutoryTrustIMember" xlink:label="loc_ubsi_BOEStatutoryTrustIMember_2046472038" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_BOEStatutoryTrustIMember_2046472038" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableInterestEntityLineItems" xlink:label="loc_us-gaap_VariableInterestEntityLineItems_1310" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_1306" xlink:to="loc_us-gaap_VariableInterestEntityLineItems_1310" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentIssuanceDate1" xlink:label="loc_us-gaap_DebtInstrumentIssuanceDate1_1326" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_1310" xlink:to="loc_us-gaap_DebtInstrumentIssuanceDate1_1326" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust" xlink:label="loc_us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust_1327" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_1310" xlink:to="loc_us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust_1327" use="optional" order="28" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityInterestRateDescription" xlink:label="loc_us-gaap_LineOfCreditFacilityInterestRateDescription_1328" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_1310" xlink:to="loc_us-gaap_LineOfCreditFacilityInterestRateDescription_1328" use="optional" order="29" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentMaturityDate" xlink:label="loc_us-gaap_DebtInstrumentMaturityDate_1329" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_1310" xlink:to="loc_us-gaap_DebtInstrumentMaturityDate_1329" use="optional" order="30" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/SegmentInformationAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingAbstract" xlink:label="loc_us-gaap_SegmentReportingAbstract_1341" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_1992472012" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SegmentReportingAbstract_1341" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_1992472012" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_1990472012" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_1992472012" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_1990472012" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_1989472012" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_1990472012" xlink:to="loc_us-gaap_SegmentDomain_1989472012" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SingleReportableSegmentMember" xlink:label="loc_ubsi_SingleReportableSegmentMember_1989472011" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SegmentDomain_1989472012" xlink:to="loc_ubsi_SingleReportableSegmentMember_1989472011" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_1991472012" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_1992472012" xlink:to="loc_us-gaap_SegmentReportingInformationLineItems_1991472012" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NumberOfReportableSegments" xlink:label="loc_us-gaap_NumberOfReportableSegments_567332" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1991472012" xlink:to="loc_us-gaap_NumberOfReportableSegments_567332" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/SegmentInformationSummaryOfCommunityBankingSegmentInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingAbstract" xlink:label="loc_us-gaap_SegmentReportingAbstract_1344" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_1345" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SegmentReportingAbstract_1344" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_1345" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsAxis" xlink:label="loc_srt_ConsolidationItemsAxis_1346" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_1345" xlink:to="loc_srt_ConsolidationItemsAxis_1346" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_1347" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ConsolidationItemsAxis_1346" xlink:to="loc_srt_ConsolidationItemsDomain_1347" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingSegmentsMember" xlink:label="loc_us-gaap_OperatingSegmentsMember_1351" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ConsolidationItemsDomain_1347" xlink:to="loc_us-gaap_OperatingSegmentsMember_1351" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SegmentTypeAxis" xlink:label="loc_ubsi_SegmentTypeAxis_1348" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_1345" xlink:to="loc_ubsi_SegmentTypeAxis_1348" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SegmentTypeDomain" xlink:label="loc_ubsi_SegmentTypeDomain_1349" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_SegmentTypeAxis_1348" xlink:to="loc_ubsi_SegmentTypeDomain_1349" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CommunityBankingMember" xlink:label="loc_ubsi_CommunityBankingMember_1354" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_SegmentTypeDomain_1349" xlink:to="loc_ubsi_CommunityBankingMember_1354" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_1350" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_1345" xlink:to="loc_us-gaap_SegmentReportingInformationLineItems_1350" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseNet" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_1356" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_1356" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_1357" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_1357" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/positiveLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncome" xlink:label="loc_us-gaap_NoninterestIncome_1358" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_NoninterestIncome_1358" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SalariesWagesAndOfficersCompensation" xlink:label="loc_us-gaap_SalariesWagesAndOfficersCompensation_2147472189" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_SalariesWagesAndOfficersCompensation_2147472189" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionAndOtherPostretirementBenefitExpense" xlink:label="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense_2147472188" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense_2147472188" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OccupancyNet" xlink:label="loc_us-gaap_OccupancyNet_2147472187" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_OccupancyNet_2147472187" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherRealEstateOwnedExpense" xlink:label="loc_ubsi_OtherRealEstateOwnedExpense_2147472186" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_ubsi_OtherRealEstateOwnedExpense_2147472186" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainsLossesOnSalesOfOtherRealEstate" xlink:label="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_2147472185" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_2147472185" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquipmentExpense" xlink:label="loc_us-gaap_EquipmentExpense_2147472184" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_EquipmentExpense_2147472184" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InformationTechnologyAndDataProcessing" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing_2147472183" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_InformationTechnologyAndDataProcessing_2147472183" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BankcardProcessingExpense" xlink:label="loc_ubsi_BankcardProcessingExpense_2147472181" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_ubsi_BankcardProcessingExpense_2147472181" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FederalDepositInsuranceCorporationPremiumExpense" xlink:label="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_2147472180" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_2147472180" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNonoperatingExpense" xlink:label="loc_us-gaap_OtherNonoperatingExpense_2147472178" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_OtherNonoperatingExpense_2147472178" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NonoperatingIncomeExpense" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_2147472177" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_2147472177" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2147472114" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2147472114" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/presentationGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_1360" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_1360" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_2147472176" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_ProfitLoss_2147472176" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AdjustmentsAndReconcilingItemsOfProfitOrLoss" xlink:label="loc_ubsi_AdjustmentsAndReconcilingItemsOfProfitOrLoss_2147472175" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_ubsi_AdjustmentsAndReconcilingItemsOfProfitOrLoss_2147472175" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_2147472174" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_NetIncomeLoss_2147472174" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/SegmentInformationSummaryOfCommunityBankingSegmentTotalAssetsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingAbstract" xlink:label="loc_us-gaap_SegmentReportingAbstract_2147482933" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_2001472017" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SegmentReportingAbstract_2147482933" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_2001472017" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsAxis" xlink:label="loc_srt_ConsolidationItemsAxis_2000472017" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_2001472017" xlink:to="loc_srt_ConsolidationItemsAxis_2000472017" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_1999472017" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ConsolidationItemsAxis_2000472017" xlink:to="loc_srt_ConsolidationItemsDomain_1999472017" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingSegmentsMember" xlink:label="loc_us-gaap_OperatingSegmentsMember_1998472017" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ConsolidationItemsDomain_1999472017" xlink:to="loc_us-gaap_OperatingSegmentsMember_1998472017" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SegmentTypeAxis" xlink:label="loc_ubsi_SegmentTypeAxis_1997472017" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_2001472017" xlink:to="loc_ubsi_SegmentTypeAxis_1997472017" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SegmentTypeDomain" xlink:label="loc_ubsi_SegmentTypeDomain_1996472017" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_SegmentTypeAxis_1997472017" xlink:to="loc_ubsi_SegmentTypeDomain_1996472017" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CommunityBankingMember" xlink:label="loc_ubsi_CommunityBankingMember_1995472017" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_SegmentTypeDomain_1996472017" xlink:to="loc_ubsi_CommunityBankingMember_1995472017" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_1994472017" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_2001472017" xlink:to="loc_us-gaap_SegmentReportingInformationLineItems_1994472017" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_2008472020" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1994472017" xlink:to="loc_us-gaap_Assets_2008472020" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"  />
        <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"  />
        <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"  />
        <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"  />
        <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"  />
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ConsolidatedStatementsOfIncome" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_64" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_61" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_64" xlink:to="loc_us-gaap_StatementTable_61" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis_62" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_61" xlink:to="loc_srt_ProductOrServiceAxis_62" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_63" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_62" xlink:to="loc_srt_ProductsAndServicesDomain_63" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_63_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_62" xlink:to="loc_srt_ProductsAndServicesDomain_63_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ServiceOtherMember" xlink:label="loc_us-gaap_ServiceOtherMember_72" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_63" xlink:to="loc_us-gaap_ServiceOtherMember_72" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiduciaryAndTrustMember" xlink:label="loc_us-gaap_FiduciaryAndTrustMember_73" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_63" xlink:to="loc_us-gaap_FiduciaryAndTrustMember_73" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepositAccountMember" xlink:label="loc_us-gaap_DepositAccountMember_74" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_63" xlink:to="loc_us-gaap_DepositAccountMember_74" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditCardMember" xlink:label="loc_us-gaap_CreditCardMember_75" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_63" xlink:to="loc_us-gaap_CreditCardMember_75" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialServiceOtherMember" xlink:label="loc_us-gaap_FinancialServiceOtherMember_76" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_63" xlink:to="loc_us-gaap_FinancialServiceOtherMember_76" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MortgageBankingMember" xlink:label="loc_us-gaap_MortgageBankingMember_77" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_63" xlink:to="loc_us-gaap_MortgageBankingMember_77" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndDividendIncomeOperatingAbstract" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_65" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_64" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_65" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeases" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_2053472040" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_65" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_2053472040" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResell" xlink:label="loc_us-gaap_InterestIncomeFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResell_79" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_65" xlink:to="loc_us-gaap_InterestIncomeFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResell_79" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndDividendIncomeSecuritiesByTaxableStatusAbstract" xlink:label="loc_us-gaap_InterestAndDividendIncomeSecuritiesByTaxableStatusAbstract_66" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_65" xlink:to="loc_us-gaap_InterestAndDividendIncomeSecuritiesByTaxableStatusAbstract_66" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeSecuritiesTaxable" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxable_80" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestAndDividendIncomeSecuritiesByTaxableStatusAbstract_66" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxable_80" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeSecuritiesTaxExempt" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_81" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestAndDividendIncomeSecuritiesByTaxableStatusAbstract_66" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_81" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndDividendIncomeOperating" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_82" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract_65" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_82" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseAbstract" xlink:label="loc_us-gaap_InterestExpenseAbstract_67" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_64" xlink:to="loc_us-gaap_InterestExpenseAbstract_67" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseDeposits" xlink:label="loc_us-gaap_InterestExpenseDeposits_83" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestExpenseAbstract_67" xlink:to="loc_us-gaap_InterestExpenseDeposits_83" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseShortTermBorrowings" xlink:label="loc_us-gaap_InterestExpenseShortTermBorrowings_84" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestExpenseAbstract_67" xlink:to="loc_us-gaap_InterestExpenseShortTermBorrowings_84" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseLongTermDebt" xlink:label="loc_us-gaap_InterestExpenseLongTermDebt_85" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestExpenseAbstract_67" xlink:to="loc_us-gaap_InterestExpenseLongTermDebt_85" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseOperating" xlink:label="loc_us-gaap_InterestExpenseOperating_86" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InterestExpenseAbstract_67" xlink:to="loc_us-gaap_InterestExpenseOperating_86" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseNet" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_87" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_64" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_87" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_88" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_64" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_88" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_89" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_64" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_89" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncomeAbstract" xlink:label="loc_us-gaap_NoninterestIncomeAbstract_68" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_64" xlink:to="loc_us-gaap_NoninterestIncomeAbstract_68" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_90" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_68" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_90" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BankOwnedLifeInsuranceIncome" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_91" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_68" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_91" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnInvestments" xlink:label="loc_us-gaap_GainLossOnInvestments_92" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_68" xlink:to="loc_us-gaap_GainLossOnInvestments_92" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_93" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_68" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_93" use="optional" order="30" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncome" xlink:label="loc_us-gaap_NoninterestIncome_94" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_68" xlink:to="loc_us-gaap_NoninterestIncome_94" use="optional" order="31" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestExpenseAbstract" xlink:label="loc_us-gaap_NoninterestExpenseAbstract_69" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_64" xlink:to="loc_us-gaap_NoninterestExpenseAbstract_69" use="optional" order="32" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SalariesWagesAndOfficersCompensation" xlink:label="loc_us-gaap_SalariesWagesAndOfficersCompensation_95" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_69" xlink:to="loc_us-gaap_SalariesWagesAndOfficersCompensation_95" use="optional" order="33" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionAndOtherPostretirementBenefitExpense" xlink:label="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense_96" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_69" xlink:to="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense_96" use="optional" order="34" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OccupancyNet" xlink:label="loc_us-gaap_OccupancyNet_97" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_69" xlink:to="loc_us-gaap_OccupancyNet_97" use="optional" order="35" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherRealEstateOwnedExpense" xlink:label="loc_ubsi_OtherRealEstateOwnedExpense_98" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_69" xlink:to="loc_ubsi_OtherRealEstateOwnedExpense_98" use="optional" order="36" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainsLossesOnSalesOfOtherRealEstate" xlink:label="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_2147472444" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_69" xlink:to="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_2147472444" use="optional" order="37" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquipmentExpense" xlink:label="loc_us-gaap_EquipmentExpense_99" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_69" xlink:to="loc_us-gaap_EquipmentExpense_99" use="optional" order="38" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InformationTechnologyAndDataProcessing" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing_100" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_69" xlink:to="loc_us-gaap_InformationTechnologyAndDataProcessing_100" use="optional" order="39" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BankcardProcessingExpense" xlink:label="loc_ubsi_BankcardProcessingExpense_101" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_69" xlink:to="loc_ubsi_BankcardProcessingExpense_101" use="optional" order="40" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FederalDepositInsuranceCorporationPremiumExpense" xlink:label="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_102" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_69" xlink:to="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_102" use="optional" order="41" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNoninterestExpense" xlink:label="loc_us-gaap_OtherNoninterestExpense_103" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_69" xlink:to="loc_us-gaap_OtherNoninterestExpense_103" use="optional" order="42" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestExpense" xlink:label="loc_us-gaap_NoninterestExpense_104" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestExpenseAbstract_69" xlink:to="loc_us-gaap_NoninterestExpense_104" use="optional" order="43" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_105" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_64" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_105" use="optional" order="44" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_106" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_64" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_106" use="optional" order="45" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_107" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_64" xlink:to="loc_us-gaap_NetIncomeLoss_107" use="optional" order="46" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EarningsPerShareAbstract" xlink:label="loc_us-gaap_EarningsPerShareAbstract_70" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_64" xlink:to="loc_us-gaap_EarningsPerShareAbstract_70" use="optional" order="47" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EarningsPerShareBasic" xlink:label="loc_us-gaap_EarningsPerShareBasic_108" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareAbstract_70" xlink:to="loc_us-gaap_EarningsPerShareBasic_108" use="optional" order="48" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="loc_us-gaap_EarningsPerShareDiluted_109" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareAbstract_70" xlink:to="loc_us-gaap_EarningsPerShareDiluted_109" use="optional" order="49" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_71" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_64" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_71" use="optional" order="50" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_110" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_71" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_110" use="optional" order="51" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_111" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_71" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_111" use="optional" order="52" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ConsolidatedStatementOfChangesInShareholdersEquity" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_124" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_121" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_us-gaap_StatementTable_121" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_122" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_121" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_122" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_123" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_122" xlink:to="loc_us-gaap_EquityComponentDomain_123" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_123_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_122" xlink:to="loc_us-gaap_EquityComponentDomain_123_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_125" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_123" xlink:to="loc_us-gaap_CommonStockMember_125" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_126" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_123" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_126" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_127" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_123" xlink:to="loc_us-gaap_RetainedEarningsMember_127" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_128" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_123" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_128" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockCommonMember" xlink:label="loc_us-gaap_TreasuryStockCommonMember_129" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_123" xlink:to="loc_us-gaap_TreasuryStockCommonMember_129" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_CumulativeEffectPeriodOfAdoptionAxis" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_828243" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_121" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_828243" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_828244" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_828243" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_828244" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_828244_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_828243" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_828244_default" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RestatementAxis" xlink:label="loc_srt_RestatementAxis_828250" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_121" xlink:to="loc_srt_RestatementAxis_828250" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RestatementDomain" xlink:label="loc_srt_RestatementDomain_828251" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RestatementAxis_828250" xlink:to="loc_srt_RestatementDomain_828251" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RestatementDomain" xlink:label="loc_srt_RestatementDomain_828251_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RestatementAxis_828250" xlink:to="loc_srt_RestatementDomain_828251_default" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_130" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_us-gaap_StockholdersEquity_130" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharesIssued" xlink:label="loc_us-gaap_SharesIssued_131" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_us-gaap_SharesIssued_131" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_134" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_us-gaap_NetIncomeLoss_134" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_135" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_135" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_136" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTax_136" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodValueAcquisitions" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions_2145472112" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions_2145472112" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesAcquisitions" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions_2146472112" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions_2146472112" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_137" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_137" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross_140" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross_140" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_141" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_141" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_138" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_138" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ExciseTaxOnNetStockRepurchases" xlink:label="loc_ubsi_ExciseTaxOnNetStockRepurchases_2039472038" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_ubsi_ExciseTaxOnNetStockRepurchases_2039472038" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DividendsCommonStockCash" xlink:label="loc_us-gaap_DividendsCommonStockCash_139" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_us-gaap_DividendsCommonStockCash_139" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_StockIssuedDuringPeriodValueIssuanceOfCommonStockUnderStockBasedCompensationPlan" xlink:label="loc_ubsi_StockIssuedDuringPeriodValueIssuanceOfCommonStockUnderStockBasedCompensationPlan_2147472460" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_ubsi_StockIssuedDuringPeriodValueIssuanceOfCommonStockUnderStockBasedCompensationPlan_2147472460" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_StockIssuedDuringPeriodSharesIssaunceOfCommonStockUnderStockBasedCompensationPlan" xlink:label="loc_ubsi_StockIssuedDuringPeriodSharesIssaunceOfCommonStockUnderStockBasedCompensationPlan_2147472461" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_124" xlink:to="loc_ubsi_StockIssuedDuringPeriodSharesIssaunceOfCommonStockUnderStockBasedCompensationPlan_2147472461" use="optional" order="30" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ConsolidatedStatementOfChangesInShareholdersEquityParenthetical" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_154" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_149" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_154" xlink:to="loc_us-gaap_StatementTable_149" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_150" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_149" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_150" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_155" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_150" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_155" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_155_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_150" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_155_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis" xlink:label="loc_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis_151" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_149" xlink:to="loc_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis_151" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain" xlink:label="loc_us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain_156" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis_151" xlink:to="loc_us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain_156" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain" xlink:label="loc_us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain_156_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis_151" xlink:to="loc_us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain_156_default" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_152" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_149" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_152" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_153" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_152" xlink:to="loc_us-gaap_EquityComponentDomain_153" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_153_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_152" xlink:to="loc_us-gaap_EquityComponentDomain_153_default" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_157" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_153" xlink:to="loc_us-gaap_CommonStockMember_157" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockCommonMember" xlink:label="loc_us-gaap_TreasuryStockCommonMember_158" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_153" xlink:to="loc_us-gaap_TreasuryStockCommonMember_158" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ForfeitureOfNonVestedRestrictedStockShares" xlink:label="loc_ubsi_ForfeitureOfNonVestedRestrictedStockShares_162" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_154" xlink:to="loc_ubsi_ForfeitureOfNonVestedRestrictedStockShares_162" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockSharesAcquired" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_159" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_154" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_159" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockDividendsPerShareCashPaid" xlink:label="loc_us-gaap_CommonStockDividendsPerShareCashPaid_160" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_154" xlink:to="loc_us-gaap_CommonStockDividendsPerShareCashPaid_160" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_StockIssuedDuringPeriodSharesIssuanceOfCommonStockUnderStockBasedCompensationPlan" xlink:label="loc_ubsi_StockIssuedDuringPeriodSharesIssuanceOfCommonStockUnderStockBasedCompensationPlan_2147472473" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_154" xlink:to="loc_ubsi_StockIssuedDuringPeriodSharesIssuanceOfCommonStockUnderStockBasedCompensationPlan_2147472473" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesAcquisitions" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions_566476" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_154" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions_566476" use="optional" order="17" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ConsolidatedStatementsOfCashFlows" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_828468" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_828465" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_828468" xlink:to="loc_us-gaap_StatementTable_828465" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_828473" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_828465" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_828473" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_828474" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_828473" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_828474" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_828474_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_828473" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_828474_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SeriesOfIndividuallySubsidiariesMember" xlink:label="loc_ubsi_SeriesOfIndividuallySubsidiariesMember_1291546" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_828474" xlink:to="loc_ubsi_SeriesOfIndividuallySubsidiariesMember_1291546" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_166" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_828468" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_166" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_172" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_166" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_172" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_828468" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_174" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_174" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_175" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_175" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireMarketableSecurities" xlink:label="loc_us-gaap_PaymentsToAcquireMarketableSecurities_1292575" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" xlink:to="loc_us-gaap_PaymentsToAcquireMarketableSecurities_1292575" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ProceedsFromSalesOfEquitySecurities" xlink:label="loc_ubsi_ProceedsFromSalesOfEquitySecurities_177" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" xlink:to="loc_ubsi_ProceedsFromSalesOfEquitySecurities_177" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PaymentsToAcquireEquitySecurities" xlink:label="loc_ubsi_PaymentsToAcquireEquitySecurities_178" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" xlink:to="loc_ubsi_PaymentsToAcquireEquitySecurities_178" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments_179" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments_179" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_180" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_180" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_182" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_182" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_183" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_183" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ProceedsFromBankOwnedLifeInsuranceDeathBenefits" xlink:label="loc_ubsi_ProceedsFromBankOwnedLifeInsuranceDeathBenefits_1988472008" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" xlink:to="loc_ubsi_ProceedsFromBankOwnedLifeInsuranceDeathBenefits_1988472008" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAcquiredFromAcquisition" xlink:label="loc_us-gaap_CashAcquiredFromAcquisition_2144472108" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" xlink:to="loc_us-gaap_CashAcquiredFromAcquisition_2144472108" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfOtherRealEstate" xlink:label="loc_us-gaap_ProceedsFromSaleOfOtherRealEstate_184" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" xlink:to="loc_us-gaap_ProceedsFromSaleOfOtherRealEstate_184" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForProceedsFromLoansAndLeases" xlink:label="loc_us-gaap_PaymentsForProceedsFromLoansAndLeases_185" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" xlink:to="loc_us-gaap_PaymentsForProceedsFromLoansAndLeases_185" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_186" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_167" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_186" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_168" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_828468" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_168" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDividends" xlink:label="loc_us-gaap_PaymentsOfDividends_187" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_168" xlink:to="loc_us-gaap_PaymentsOfDividends_187" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_188" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_168" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_188" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromStockOptionsExercised" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_189" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_168" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_189" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings" xlink:label="loc_us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings_190" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_168" xlink:to="loc_us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings_190" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_IncreaseDecreaseInDepositsAndShortTermBorrowingsAbstract" xlink:label="loc_ubsi_IncreaseDecreaseInDepositsAndShortTermBorrowingsAbstract_169" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_168" xlink:to="loc_ubsi_IncreaseDecreaseInDepositsAndShortTermBorrowingsAbstract_169" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInDeposits" xlink:label="loc_us-gaap_IncreaseDecreaseInDeposits_2038472038" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_IncreaseDecreaseInDepositsAndShortTermBorrowingsAbstract_169" xlink:to="loc_us-gaap_IncreaseDecreaseInDeposits_2038472038" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_IncreaseDecreaseInFederalFundsPurchasedSecuritiesSoldUnderAgreementsToRepurchaseAndOtherShortTermBorrowingsNet" xlink:label="loc_ubsi_IncreaseDecreaseInFederalFundsPurchasedSecuritiesSoldUnderAgreementsToRepurchaseAndOtherShortTermBorrowingsNet_194" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_IncreaseDecreaseInDepositsAndShortTermBorrowingsAbstract_169" xlink:to="loc_ubsi_IncreaseDecreaseInFederalFundsPurchasedSecuritiesSoldUnderAgreementsToRepurchaseAndOtherShortTermBorrowingsNet_194" use="optional" order="30" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_195" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_168" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_195" use="optional" order="31" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_196" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_828468" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_196" use="optional" order="32" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_197" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_828468" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_197" use="optional" order="33" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SupplementalCashFlowInformationAbstract" xlink:label="loc_us-gaap_SupplementalCashFlowInformationAbstract_170" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_828468" xlink:to="loc_us-gaap_SupplementalCashFlowInformationAbstract_170" use="optional" order="34" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract" xlink:label="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_171" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_170" xlink:to="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_171" use="optional" order="35" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransferToOtherRealEstate" xlink:label="loc_us-gaap_TransferToOtherRealEstate_199" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_171" xlink:to="loc_us-gaap_TransferToOtherRealEstate_199" use="optional" order="36" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability" xlink:label="loc_us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability_2147472223" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_171" xlink:to="loc_us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability_2147472223" use="optional" order="37" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NoncashExciseTaxOnNetStockRepurchases" xlink:label="loc_ubsi_NoncashExciseTaxOnNetStockRepurchases_2038472037" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_171" xlink:to="loc_ubsi_NoncashExciseTaxOnNetStockRepurchases_2038472037" use="optional" order="38" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumedAbstract" xlink:label="loc_us-gaap_NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumedAbstract_827603" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_170" xlink:to="loc_us-gaap_NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumedAbstract_827603" use="optional" order="39" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoncashOrPartNoncashAcquisitionValueOfAssetsAcquired1" xlink:label="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfAssetsAcquired1_827604" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumedAbstract_827603" xlink:to="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfAssetsAcquired1_827604" use="optional" order="40" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumed1" xlink:label="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumed1_827605" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumedAbstract_827603" xlink:to="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumed1_827605" use="optional" order="41" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillAcquiredDuringPeriod" xlink:label="loc_us-gaap_GoodwillAcquiredDuringPeriod_2142472108" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumedAbstract_827603" xlink:to="loc_us-gaap_GoodwillAcquiredDuringPeriod_2142472108" use="optional" order="42" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoncashOrPartNoncashAcquisitionNoncashFinancialOrEquityInstrumentConsiderationSharesIssued1" xlink:label="loc_us-gaap_NoncashOrPartNoncashAcquisitionNoncashFinancialOrEquityInstrumentConsiderationSharesIssued1_2141472108" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumedAbstract_827603" xlink:to="loc_us-gaap_NoncashOrPartNoncashAcquisitionNoncashFinancialOrEquityInstrumentConsiderationSharesIssued1_2141472108" use="optional" order="43" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ShortTermBorrowingsTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_2011472021" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShortTermDebtTextBlock" xlink:label="loc_us-gaap_ScheduleOfShortTermDebtTextBlock_566597" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2011472021" xlink:to="loc_us-gaap_ScheduleOfShortTermDebtTextBlock_566597" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_2012472021" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_2011472021" xlink:to="loc_us-gaap_StatementTable_2012472021" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="2" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/InvestmentSecuritiesSummaryOfAmortizedCostAndEstimatedFairValuesOfAvailableForSaleSecuritiesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfInvestmentsLineItems" xlink:label="loc_us-gaap_ScheduleOfInvestmentsLineItems_366" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfInvestmentsTable" xlink:label="loc_us-gaap_ScheduleOfInvestmentsTable_363" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_366" xlink:to="loc_us-gaap_ScheduleOfInvestmentsTable_363" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_364" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_363" xlink:to="loc_us-gaap_FinancialInstrumentAxis_364" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_365" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_364" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_365" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_365_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_364" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_365_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember_367" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_365" xlink:to="loc_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember_367" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember" xlink:label="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_368" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_365" xlink:to="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_368" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialMortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_2052472039" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_365" xlink:to="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_2052472039" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ResidentialMortgageBackedSecuritiesNonAgencyMember" xlink:label="loc_ubsi_ResidentialMortgageBackedSecuritiesNonAgencyMember_370" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_365" xlink:to="loc_ubsi_ResidentialMortgageBackedSecuritiesNonAgencyMember_370" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialMortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_371" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_365" xlink:to="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_371" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_372" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_365" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_372" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SingleIssueTrustPreferredSecuritiesMember" xlink:label="loc_ubsi_SingleIssueTrustPreferredSecuritiesMember_374" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_365" xlink:to="loc_ubsi_SingleIssueTrustPreferredSecuritiesMember_374" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_375" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_365" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_375" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss_376" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_366" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss_376" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_1292589" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_366" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_1292589" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_1302506" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_366" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_1302506" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss_827633" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_366" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss_827633" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecurities" xlink:label="loc_us-gaap_DebtSecurities_1302508" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_366" xlink:to="loc_us-gaap_DebtSecurities_1302508" use="optional" order="17" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/InvestmentSecuritiesSummaryOfSecuritiesAvailableForSaleInAnUnrealizedLossPositionDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfInvestmentsLineItems" xlink:label="loc_us-gaap_ScheduleOfInvestmentsLineItems_386" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfInvestmentsTable" xlink:label="loc_us-gaap_ScheduleOfInvestmentsTable_383" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_386" xlink:to="loc_us-gaap_ScheduleOfInvestmentsTable_383" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_384" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_383" xlink:to="loc_us-gaap_FinancialInstrumentAxis_384" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_385" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_384" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_385" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_385_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_384" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_385_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember_387" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_385" xlink:to="loc_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember_387" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember" xlink:label="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_388" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_385" xlink:to="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_388" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialMortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_389" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_385" xlink:to="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_389" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ResidentialMortgageBackedSecuritiesNonAgencyMember" xlink:label="loc_ubsi_ResidentialMortgageBackedSecuritiesNonAgencyMember_390" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_385" xlink:to="loc_ubsi_ResidentialMortgageBackedSecuritiesNonAgencyMember_390" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialMortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_391" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_385" xlink:to="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_391" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_392" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_385" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_392" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SingleIssueTrustPreferredSecuritiesMember" xlink:label="loc_ubsi_SingleIssueTrustPreferredSecuritiesMember_394" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_385" xlink:to="loc_ubsi_SingleIssueTrustPreferredSecuritiesMember_394" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_395" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_385" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_395" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_396" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_386" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_396" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_397" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_386" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_397" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValues" xlink:label="loc_ubsi_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValues_398" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_386" xlink:to="loc_ubsi_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValues_398" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_399" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_386" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_399" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_827635" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_386" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_827635" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_827636" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_386" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_827636" use="optional" order="18" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/InvestmentSecuritiesAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfInvestmentsLineItems" xlink:label="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfInvestmentsTable" xlink:label="loc_us-gaap_ScheduleOfInvestmentsTable_407" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_us-gaap_ScheduleOfInvestmentsTable_407" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_408" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_407" xlink:to="loc_us-gaap_FinancialInstrumentAxis_408" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_409" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_408" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_409" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_409_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_408" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_409_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember" xlink:label="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_416" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_409" xlink:to="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_416" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AgencyMortgageBackedSecuritiesMember" xlink:label="loc_ubsi_AgencyMortgageBackedSecuritiesMember_417" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_409" xlink:to="loc_ubsi_AgencyMortgageBackedSecuritiesMember_417" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialMortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_418" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_409" xlink:to="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_418" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialMortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_419" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_409" xlink:to="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_419" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ResidentialMortgageBackedSecuritiesNonAgencyMember" xlink:label="loc_ubsi_ResidentialMortgageBackedSecuritiesNonAgencyMember_420" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_409" xlink:to="loc_ubsi_ResidentialMortgageBackedSecuritiesNonAgencyMember_420" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_422" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_409" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_422" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_MortgageBackedSecuritiesMember_568809" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_409" xlink:to="loc_us-gaap_MortgageBackedSecuritiesMember_568809" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_827645" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_409" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_827645" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InternalCreditAssessmentAxis" xlink:label="loc_us-gaap_InternalCreditAssessmentAxis_410" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_407" xlink:to="loc_us-gaap_InternalCreditAssessmentAxis_410" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain_411" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis_410" xlink:to="loc_us-gaap_InternalCreditAssessmentDomain_411" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain_411_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis_410" xlink:to="loc_us-gaap_InternalCreditAssessmentDomain_411_default" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InternalInvestmentGradeMember" xlink:label="loc_us-gaap_InternalInvestmentGradeMember_423" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_411" xlink:to="loc_us-gaap_InternalInvestmentGradeMember_423" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InternalNoninvestmentGradeMember" xlink:label="loc_us-gaap_InternalNoninvestmentGradeMember_424" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_411" xlink:to="loc_us-gaap_InternalNoninvestmentGradeMember_424" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_UnratedBondsInvestmentGradeMember" xlink:label="loc_ubsi_UnratedBondsInvestmentGradeMember_426" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_411" xlink:to="loc_ubsi_UnratedBondsInvestmentGradeMember_426" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AaaMember" xlink:label="loc_ubsi_AaaMember_827646" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_411" xlink:to="loc_ubsi_AaaMember_827646" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_InvestmentSecurityAxis" xlink:label="loc_ubsi_InvestmentSecurityAxis_413" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_407" xlink:to="loc_ubsi_InvestmentSecurityAxis_413" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_InvestmentSecurityDomain" xlink:label="loc_ubsi_InvestmentSecurityDomain_428" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ubsi_InvestmentSecurityAxis_413" xlink:to="loc_ubsi_InvestmentSecurityDomain_428" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_InvestmentSecurityDomain" xlink:label="loc_ubsi_InvestmentSecurityDomain_428_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ubsi_InvestmentSecurityAxis_413" xlink:to="loc_ubsi_InvestmentSecurityDomain_428_default" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_414" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_407" xlink:to="loc_us-gaap_PlanNameAxis_414" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_429" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_414" xlink:to="loc_us-gaap_PlanNameDomain_429" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_429_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_414" xlink:to="loc_us-gaap_PlanNameDomain_429_default" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonAgencyResidentialMortgageBackedSecuritiesAxis" xlink:label="loc_ubsi_NonAgencyResidentialMortgageBackedSecuritiesAxis_595405" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_407" xlink:to="loc_ubsi_NonAgencyResidentialMortgageBackedSecuritiesAxis_595405" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonAgencyResidentialMortgageBackedSecuritiesDomain" xlink:label="loc_ubsi_NonAgencyResidentialMortgageBackedSecuritiesDomain_595406" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ubsi_NonAgencyResidentialMortgageBackedSecuritiesAxis_595405" xlink:to="loc_ubsi_NonAgencyResidentialMortgageBackedSecuritiesDomain_595406" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonAgencyResidentialMortgageBackedSecuritiesDomain" xlink:label="loc_ubsi_NonAgencyResidentialMortgageBackedSecuritiesDomain_595406_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ubsi_NonAgencyResidentialMortgageBackedSecuritiesAxis_595405" xlink:to="loc_ubsi_NonAgencyResidentialMortgageBackedSecuritiesDomain_595406_default" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonAgencyResidentialMortgageBackedSecuritiesMember" xlink:label="loc_ubsi_NonAgencyResidentialMortgageBackedSecuritiesMember_595408" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_NonAgencyResidentialMortgageBackedSecuritiesDomain_595406" xlink:to="loc_ubsi_NonAgencyResidentialMortgageBackedSecuritiesMember_595408" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_827647" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_407" xlink:to="loc_srt_RangeAxis_827647" use="optional" order="30" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_827648" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_827647" xlink:to="loc_srt_RangeMember_827648" use="optional" order="31" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_827648_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_827647" xlink:to="loc_srt_RangeMember_827648_default" use="optional" order="32" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_827650" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_827648" xlink:to="loc_srt_MinimumMember_827650" use="optional" order="33" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CollateralAxis" xlink:label="loc_us-gaap_CollateralAxis_827651" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_407" xlink:to="loc_us-gaap_CollateralAxis_827651" use="optional" order="34" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CollateralDomain" xlink:label="loc_us-gaap_CollateralDomain_827652" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CollateralAxis_827651" xlink:to="loc_us-gaap_CollateralDomain_827652" use="optional" order="35" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CollateralDomain" xlink:label="loc_us-gaap_CollateralDomain_827652_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CollateralAxis_827651" xlink:to="loc_us-gaap_CollateralDomain_827652_default" use="optional" order="36" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FederalFamilyEducationLoanProgramMember" xlink:label="loc_ubsi_FederalFamilyEducationLoanProgramMember_827653" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollateralDomain_827652" xlink:to="loc_ubsi_FederalFamilyEducationLoanProgramMember_827653" use="optional" order="37" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_CreditRatingFitchAxis" xlink:label="loc_srt_CreditRatingFitchAxis_827654" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_407" xlink:to="loc_srt_CreditRatingFitchAxis_827654" use="optional" order="38" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ExternalCreditRatingFitchMember" xlink:label="loc_srt_ExternalCreditRatingFitchMember_827655" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CreditRatingFitchAxis_827654" xlink:to="loc_srt_ExternalCreditRatingFitchMember_827655" use="optional" order="39" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ExternalCreditRatingFitchMember" xlink:label="loc_srt_ExternalCreditRatingFitchMember_827655_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CreditRatingFitchAxis_827654" xlink:to="loc_srt_ExternalCreditRatingFitchMember_827655_default" use="optional" order="40" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_FitchAAPlusRatingMember" xlink:label="loc_srt_FitchAAPlusRatingMember_827656" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ExternalCreditRatingFitchMember_827655" xlink:to="loc_srt_FitchAAPlusRatingMember_827656" use="optional" order="41" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_FitchAAARatingMember" xlink:label="loc_srt_FitchAAARatingMember_1292178" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ExternalCreditRatingFitchMember_827655" xlink:to="loc_srt_FitchAAARatingMember_1292178" use="optional" order="42" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_827634" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_827634" use="optional" order="43" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_430" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_430" use="optional" order="44" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions_431" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions_431" use="optional" order="45" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AvailableForSaleSecuritiesNumber" xlink:label="loc_ubsi_AvailableForSaleSecuritiesNumber_432" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_ubsi_AvailableForSaleSecuritiesNumber_432" use="optional" order="46" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentageOfAssetBackedSecuritiesWithCreditRating" xlink:label="loc_ubsi_PercentageOfAssetBackedSecuritiesWithCreditRating_827638" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_ubsi_PercentageOfAssetBackedSecuritiesWithCreditRating_827638" use="optional" order="47" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentOfMunicipalBondPortfolioWithCreditSupport" xlink:label="loc_ubsi_PercentOfMunicipalBondPortfolioWithCreditSupport_434" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_ubsi_PercentOfMunicipalBondPortfolioWithCreditSupport_434" use="optional" order="48" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CapitalizationOfBanksEqualToOrGreaterThanInSingleIssueTrustPreferredPortfolio" xlink:label="loc_ubsi_CapitalizationOfBanksEqualToOrGreaterThanInSingleIssueTrustPreferredPortfolio_435" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_ubsi_CapitalizationOfBanksEqualToOrGreaterThanInSingleIssueTrustPreferredPortfolio_435" use="optional" order="49" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AmortizedCostOfAvailableForSaleSingleIssueTrustPreferredSecurities" xlink:label="loc_ubsi_AmortizedCostOfAvailableForSaleSingleIssueTrustPreferredSecurities_436" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_ubsi_AmortizedCostOfAvailableForSaleSingleIssueTrustPreferredSecurities_436" use="optional" order="50" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentOfCorporateSecuritiesPortfolio" xlink:label="loc_ubsi_PercentOfCorporateSecuritiesPortfolio_437" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_ubsi_PercentOfCorporateSecuritiesPortfolio_437" use="optional" order="51" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_EquitySecurities" xlink:label="loc_ubsi_EquitySecurities_438" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_ubsi_EquitySecurities_438" use="optional" order="52" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_InvestmentSecuritiesPledgedAsCollateral" xlink:label="loc_ubsi_InvestmentSecuritiesPledgedAsCollateral_439" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_ubsi_InvestmentSecuritiesPledgedAsCollateral_439" use="optional" order="53" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesUnrealizedGainLoss" xlink:label="loc_us-gaap_DebtSecuritiesUnrealizedGainLoss_568792" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_us-gaap_DebtSecuritiesUnrealizedGainLoss_568792" use="optional" order="54" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentageOfRepaymentOfInvestmentGuaranteedByGovernment" xlink:label="loc_ubsi_PercentageOfRepaymentOfInvestmentGuaranteedByGovernment_827641" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_ubsi_PercentageOfRepaymentOfInvestmentGuaranteedByGovernment_827641" use="optional" order="55" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_2147472206" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_415" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_2147472206" use="optional" order="56" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/InvestmentSecuritiesSummaryOfEquitySecuritiesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_490" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleTable" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_487" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_490" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_487" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_488" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_487" xlink:to="loc_us-gaap_FinancialInstrumentAxis_488" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_489" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_488" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_489" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_489_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_488" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_489_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesMember" xlink:label="loc_us-gaap_EquitySecuritiesMember_491" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_489" xlink:to="loc_us-gaap_EquitySecuritiesMember_491" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_492" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_490" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_492" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNiUnrealizedGain" xlink:label="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGain_494" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_490" xlink:to="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGain_494" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNiUnrealizedLoss" xlink:label="loc_us-gaap_EquitySecuritiesFvNiUnrealizedLoss_495" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_490" xlink:to="loc_us-gaap_EquitySecuritiesFvNiUnrealizedLoss_495" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax_493" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_490" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax_493" use="optional" order="9" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/LoansAndLeasesMajorClassesOfLoansAndLeasesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_501" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_498" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_501" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_498" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_499" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_498" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_499" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_500" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_499" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_500" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_500_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_499" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_500_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OwnerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_504" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_500" xlink:to="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_504" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonownerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_505" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_500" xlink:to="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_505" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherCommercialLoansAndLeasesMember" xlink:label="loc_ubsi_OtherCommercialLoansAndLeasesMember_829022" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_500" xlink:to="loc_ubsi_OtherCommercialLoansAndLeasesMember_829022" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CommercialFinancialAndAgriculturalAbstract" xlink:label="loc_ubsi_CommercialFinancialAndAgriculturalAbstract_467116" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_501" xlink:to="loc_ubsi_CommercialFinancialAndAgriculturalAbstract_467116" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndFinanceReceivablesGross" xlink:label="loc_ubsi_LoansAndFinanceReceivablesGross_507" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_CommercialFinancialAndAgriculturalAbstract_467116" xlink:to="loc_ubsi_LoansAndFinanceReceivablesGross_507" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndLeasesReceivableResidentialRealEstate" xlink:label="loc_ubsi_LoansAndLeasesReceivableResidentialRealEstate_508" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_501" xlink:to="loc_ubsi_LoansAndLeasesReceivableResidentialRealEstate_508" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndLeasesReceivableConstructionAndLandDevelopmentConsumer" xlink:label="loc_ubsi_LoansAndLeasesReceivableConstructionAndLandDevelopmentConsumer_2147472365" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_501" xlink:to="loc_ubsi_LoansAndLeasesReceivableConstructionAndLandDevelopmentConsumer_2147472365" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndLeasesReceivableConsumerAbstract" xlink:label="loc_ubsi_LoansAndLeasesReceivableConsumerAbstract_467120" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_501" xlink:to="loc_ubsi_LoansAndLeasesReceivableConsumerAbstract_467120" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndFinanceReceivablesThroughCreditCards" xlink:label="loc_ubsi_LoansAndFinanceReceivablesThroughCreditCards_510" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_LoansAndLeasesReceivableConsumerAbstract_467120" xlink:to="loc_ubsi_LoansAndFinanceReceivablesThroughCreditCards_510" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndFinanceReceivablesThroughOtherCustomers" xlink:label="loc_ubsi_LoansAndFinanceReceivablesThroughOtherCustomers_511" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_LoansAndLeasesReceivableConsumerAbstract_467120" xlink:to="loc_ubsi_LoansAndFinanceReceivablesThroughOtherCustomers_511" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoanAndLeasesUnearnedIncome" xlink:label="loc_ubsi_LoanAndLeasesUnearnedIncome_2147472120" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_LoansAndLeasesReceivableConsumerAbstract_467120" xlink:to="loc_ubsi_LoanAndLeasesUnearnedIncome_2147472120" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndLeasesNetOfUnearnedIncome" xlink:label="loc_ubsi_LoansAndLeasesNetOfUnearnedIncome_566848" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_LoansAndLeasesReceivableConsumerAbstract_467120" xlink:to="loc_ubsi_LoansAndLeasesNetOfUnearnedIncome_566848" use="optional" order="16" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/LoansAndLeasesAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_520" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_515" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_520" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_515" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditLossStatusAxis" xlink:label="loc_us-gaap_CreditLossStatusAxis_516" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_515" xlink:to="loc_us-gaap_CreditLossStatusAxis_516" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditLossStatusDomain" xlink:label="loc_us-gaap_CreditLossStatusDomain_517" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditLossStatusAxis_516" xlink:to="loc_us-gaap_CreditLossStatusDomain_517" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditLossStatusDomain" xlink:label="loc_us-gaap_CreditLossStatusDomain_517_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditLossStatusAxis_516" xlink:to="loc_us-gaap_CreditLossStatusDomain_517_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_518" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_515" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_518" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_519" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_518" xlink:to="loc_us-gaap_RelatedPartyDomain_519" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_519_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_518" xlink:to="loc_us-gaap_RelatedPartyDomain_519_default" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DirectorsAndOfficersMember" xlink:label="loc_ubsi_DirectorsAndOfficersMember_522" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_519" xlink:to="loc_ubsi_DirectorsAndOfficersMember_522" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_523" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_520" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_523" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NotesReceivableGross" xlink:label="loc_us-gaap_NotesReceivableGross_1988472011" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_520" xlink:to="loc_us-gaap_NotesReceivableGross_1988472011" use="optional" order="10" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/CreditQualityScheduleOfAgeAnalysisOfItsPastDueLoansSegregatedByClassOfLoansAndLeasesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_587" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFinancingReceivablesPastDueTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_580" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_587" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_580" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_581" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_580" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_581" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_582" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_581" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_582" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_582_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_581" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_582_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_588" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_582" xlink:to="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_588" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_589" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_582" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_589" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_590" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_582" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_590" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_591" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_582" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_591" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_583" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_580" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_583" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_584" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_583" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_584" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_584_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_583" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_584_default" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OwnerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_592" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_584" xlink:to="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_592" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonownerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_593" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_584" xlink:to="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_593" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_594" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_584" xlink:to="loc_us-gaap_ConstructionLoansMember_594" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BankCardMember" xlink:label="loc_ubsi_BankCardMember_595" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_584" xlink:to="loc_ubsi_BankCardMember_595" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherConsumerMember" xlink:label="loc_ubsi_OtherConsumerMember_596" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_584" xlink:to="loc_ubsi_OtherConsumerMember_596" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablesPeriodPastDueAxis" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_585" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_580" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_585" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_586" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_585" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_586" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_586_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_585" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_586_default" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancialAsset30To89DaysPastDueMember" xlink:label="loc_ubsi_FinancialAsset30To89DaysPastDueMember_1292478" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_586" xlink:to="loc_ubsi_FinancialAsset30To89DaysPastDueMember_1292478" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" xlink:label="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_597" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_586" xlink:to="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_597" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialAssetPastDueMember" xlink:label="loc_us-gaap_FinancialAssetPastDueMember_1292480" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_586" xlink:to="loc_us-gaap_FinancialAssetPastDueMember_1292480" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialAssetNotPastDueMember" xlink:label="loc_us-gaap_FinancialAssetNotPastDueMember_1292481" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_586" xlink:to="loc_us-gaap_FinancialAssetNotPastDueMember_1292481" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NotesReceivableGross" xlink:label="loc_us-gaap_NotesReceivableGross_1292482" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_587" xlink:to="loc_us-gaap_NotesReceivableGross_1292482" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing_602" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_587" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing_602" use="optional" order="25" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/CreditQualityScheduleOfNonaccrualLoansSegregatedByClassOfLoansAndLeasesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_621" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFinancingReceivablesPastDueTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_616" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_621" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_616" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_619" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_616" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_619" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_620" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_619" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_620" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_620_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_619" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_620_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OwnerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_626" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_620" xlink:to="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_626" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonownerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_627" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_620" xlink:to="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_627" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_628" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_620" xlink:to="loc_us-gaap_ConstructionLoansMember_628" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BankCardMember" xlink:label="loc_ubsi_BankCardMember_629" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_620" xlink:to="loc_ubsi_BankCardMember_629" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherConsumerMember" xlink:label="loc_ubsi_OtherConsumerMember_630" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_620" xlink:to="loc_ubsi_OtherConsumerMember_630" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_617" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_616" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_617" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_618" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_617" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_618" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_618_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_617" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_618_default" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_622" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_618" xlink:to="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_622" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_623" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_618" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_623" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_624" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_618" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_624" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_625" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_618" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_625" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus_631" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_621" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus_631" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableNonaccrualNoAllowance" xlink:label="loc_us-gaap_FinancingReceivableNonaccrualNoAllowance_826964" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_621" xlink:to="loc_us-gaap_FinancingReceivableNonaccrualNoAllowance_826964" use="optional" order="18" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/CreditQualityScheduleOfAmortizedCostBasisOfLoanModificationsMadeToBorrowersDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableModificationsLineItems" xlink:label="loc_us-gaap_FinancingReceivableModificationsLineItems_2147472294" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472313" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_2147472294" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472313" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2147472312" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472313" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2147472312" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472311" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2147472312" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472311" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472311_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2147472312" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472311_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_2147472309" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472311" xlink:to="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_2147472309" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_2147472308" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472311" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_2147472308" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_2147472307" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472311" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_2147472307" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_2147472306" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472311" xlink:to="loc_us-gaap_ConstructionLoansMember_2147472306" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_2147472305" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472311" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_2147472305" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2147472304" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472313" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2147472304" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472303" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2147472304" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472303" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472303_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2147472304" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472303_default" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OwnerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_2147472302" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472303" xlink:to="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_2147472302" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonownerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_2147472301" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472303" xlink:to="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_2147472301" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BankCardMember" xlink:label="loc_ubsi_BankCardMember_2147472300" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472303" xlink:to="loc_ubsi_BankCardMember_2147472300" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherConsumerMember" xlink:label="loc_ubsi_OtherConsumerMember_2147472299" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472303" xlink:to="loc_ubsi_OtherConsumerMember_2147472299" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoanRestructuringModificationAxis" xlink:label="loc_us-gaap_LoanRestructuringModificationAxis_2147472298" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472313" xlink:to="loc_us-gaap_LoanRestructuringModificationAxis_2147472298" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoanRestructuringModificationDomain" xlink:label="loc_us-gaap_LoanRestructuringModificationDomain_2147472297" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LoanRestructuringModificationAxis_2147472298" xlink:to="loc_us-gaap_LoanRestructuringModificationDomain_2147472297" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoanRestructuringModificationDomain" xlink:label="loc_us-gaap_LoanRestructuringModificationDomain_2147472297_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LoanRestructuringModificationAxis_2147472298" xlink:to="loc_us-gaap_LoanRestructuringModificationDomain_2147472297_default" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ExtendedMaturityMember" xlink:label="loc_us-gaap_ExtendedMaturityMember_2147472296" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanRestructuringModificationDomain_2147472297" xlink:to="loc_us-gaap_ExtendedMaturityMember_2147472296" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherThanInsignificantPaymentDelayMember" xlink:label="loc_ubsi_OtherThanInsignificantPaymentDelayMember_2122472099" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanRestructuringModificationDomain_2147472297" xlink:to="loc_ubsi_OtherThanInsignificantPaymentDelayMember_2122472099" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AmortizedCostBasisLoanModificationTermExtensionAndInterestRateReduction" xlink:label="loc_ubsi_AmortizedCostBasisLoanModificationTermExtensionAndInterestRateReduction_2147472205" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_2147472294" xlink:to="loc_ubsi_AmortizedCostBasisLoanModificationTermExtensionAndInterestRateReduction_2147472205" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AmortizedCostBasisLoanModificationTermExtensionAndPermanentDelay" xlink:label="loc_ubsi_AmortizedCostBasisLoanModificationTermExtensionAndPermanentDelay_2147472204" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_2147472294" xlink:to="loc_ubsi_AmortizedCostBasisLoanModificationTermExtensionAndPermanentDelay_2147472204" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2" xlink:label="loc_us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2_2147472293" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_2147472294" xlink:to="loc_us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2_2147472293" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableModificationToTotalFinancingReceivablesPercent" xlink:label="loc_us-gaap_FinancingReceivableModificationToTotalFinancingReceivablesPercent_2147472290" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_2147472294" xlink:to="loc_us-gaap_FinancingReceivableModificationToTotalFinancingReceivablesPercent_2147472290" use="optional" order="25" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/CreditQualityScheduleOfAmortizedCostBasisPaymentStatusDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableModificationsLineItems" xlink:label="loc_us-gaap_FinancingReceivableModificationsLineItems_2147472268" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472287" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_2147472268" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472287" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablesPeriodPastDueAxis" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_2147472286" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472287" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_2147472286" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_2147472285" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_2147472286" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_2147472285" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_2147472285_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_2147472286" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_2147472285_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancingReceivablesCurrentMember" xlink:label="loc_ubsi_FinancingReceivablesCurrentMember_2147472284" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_2147472285" xlink:to="loc_ubsi_FinancingReceivablesCurrentMember_2147472284" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancialAsset30To89DaysPastDueMember" xlink:label="loc_ubsi_FinancialAsset30To89DaysPastDueMember_2147472283" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_2147472285" xlink:to="loc_ubsi_FinancialAsset30To89DaysPastDueMember_2147472283" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" xlink:label="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_2147472282" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_2147472285" xlink:to="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_2147472282" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2147472281" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472287" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2147472281" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472280" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2147472281" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472280" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472280_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2147472281" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472280_default" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_2147472279" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472280" xlink:to="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_2147472279" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_2147472278" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472280" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_2147472278" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_2147472277" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472280" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_2147472277" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_2147472276" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472280" xlink:to="loc_us-gaap_ConstructionLoansMember_2147472276" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_2147472275" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472280" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_2147472275" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2147472274" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472287" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2147472274" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472273" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2147472274" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472273" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472273_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2147472274" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472273_default" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OwnerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_2147472272" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472273" xlink:to="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_2147472272" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonownerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_2147472271" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472273" xlink:to="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_2147472271" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BankCardMember" xlink:label="loc_ubsi_BankCardMember_2147472270" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472273" xlink:to="loc_ubsi_BankCardMember_2147472270" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherConsumerMember" xlink:label="loc_ubsi_OtherConsumerMember_2147472269" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472273" xlink:to="loc_ubsi_OtherConsumerMember_2147472269" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AmortizedCostBasisPaymentStatus" xlink:label="loc_ubsi_AmortizedCostBasisPaymentStatus_2147472267" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_2147472268" xlink:to="loc_ubsi_AmortizedCostBasisPaymentStatus_2147472267" use="optional" order="23" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/CreditQualityScheduleOfFinancialEffectOfLoanAndLeaseModificationsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableModificationsLineItems" xlink:label="loc_us-gaap_FinancingReceivableModificationsLineItems_2147472250" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableModifiedWeightedAverageInterestRateDecreaseFromModification" xlink:label="loc_us-gaap_FinancingReceivableModifiedWeightedAverageInterestRateDecreaseFromModification_2147472249" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_2147472250" xlink:to="loc_us-gaap_FinancingReceivableModifiedWeightedAverageInterestRateDecreaseFromModification_2147472249" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancingReceivableWeightedAverageModifiedPaymentDeferralPeriod" xlink:label="loc_ubsi_FinancingReceivableWeightedAverageModifiedPaymentDeferralPeriod_2122472098" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_2147472250" xlink:to="loc_ubsi_FinancingReceivableWeightedAverageModifiedPaymentDeferralPeriod_2122472098" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableModifiedWeightedAverageTermIncreaseFromModification" xlink:label="loc_us-gaap_FinancingReceivableModifiedWeightedAverageTermIncreaseFromModification_2147472248" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_2147472250" xlink:to="loc_us-gaap_FinancingReceivableModifiedWeightedAverageTermIncreaseFromModification_2147472248" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472264" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems_2147472250" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472264" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2147472263" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472264" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2147472263" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472262" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2147472263" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472262" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472262_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_2147472263" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472262_default" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_2147472261" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472262" xlink:to="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_2147472261" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_2147472260" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472262" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_2147472260" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_2147472259" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472262" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_2147472259" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_2147472258" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472262" xlink:to="loc_us-gaap_ConstructionLoansMember_2147472258" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_2147472257" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_2147472262" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_2147472257" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2147472256" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable_2147472264" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2147472256" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472255" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2147472256" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472255" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472255_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2147472256" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472255_default" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OwnerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_2147472254" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472255" xlink:to="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_2147472254" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonownerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_2147472253" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472255" xlink:to="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_2147472253" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BankCardMember" xlink:label="loc_ubsi_BankCardMember_2147472252" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472255" xlink:to="loc_ubsi_BankCardMember_2147472252" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherConsumerMember" xlink:label="loc_ubsi_OtherConsumerMember_2147472251" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472255" xlink:to="loc_ubsi_OtherConsumerMember_2147472251" use="optional" order="19" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/CreditQualityScheduleOfAmortizedCostLoansAndLeasesPledgedAsCollateralDetail" >
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AmortizedCostCollateralDependentLoansLineItems" xlink:label="loc_ubsi_AmortizedCostCollateralDependentLoansLineItems_827080" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_827039" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ubsi_AmortizedCostCollateralDependentLoansLineItems_827080" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_827039" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CollateralAxis" xlink:label="loc_us-gaap_CollateralAxis_827040" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_827039" xlink:to="loc_us-gaap_CollateralAxis_827040" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CollateralDomain" xlink:label="loc_us-gaap_CollateralDomain_827041" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CollateralAxis_827040" xlink:to="loc_us-gaap_CollateralDomain_827041" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CollateralDomain" xlink:label="loc_us-gaap_CollateralDomain_827041_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CollateralAxis_827040" xlink:to="loc_us-gaap_CollateralDomain_827041_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialRealEstateMember" xlink:label="loc_us-gaap_ResidentialRealEstateMember_827043" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollateralDomain_827041" xlink:to="loc_us-gaap_ResidentialRealEstateMember_827043" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BusinessAssetsMember" xlink:label="loc_ubsi_BusinessAssetsMember_827046" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollateralDomain_827041" xlink:to="loc_ubsi_BusinessAssetsMember_827046" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LandMember" xlink:label="loc_us-gaap_LandMember_827047" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollateralDomain_827041" xlink:to="loc_us-gaap_LandMember_827047" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialRealEstateMember" xlink:label="loc_us-gaap_CommercialRealEstateMember_827048" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollateralDomain_827041" xlink:to="loc_us-gaap_CommercialRealEstateMember_827048" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherAssetMember" xlink:label="loc_ubsi_OtherAssetMember_827050" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollateralDomain_827041" xlink:to="loc_ubsi_OtherAssetMember_827050" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_827051" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_827039" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_827051" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827052" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_827051" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827052" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827052_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_827051" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827052_default" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_827053" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827052" xlink:to="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_827053" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_827054" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827052" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_827054" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_827055" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827052" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_827055" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_827056" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827052" xlink:to="loc_us-gaap_ConstructionLoansMember_827056" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_827057" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827052" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_827057" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancingReceivablePortfolioSegmentIAxis" xlink:label="loc_ubsi_FinancingReceivablePortfolioSegmentIAxis_827059" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_827039" xlink:to="loc_ubsi_FinancingReceivablePortfolioSegmentIAxis_827059" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancingReceivablePortfolioSegmentIDomain" xlink:label="loc_ubsi_FinancingReceivablePortfolioSegmentIDomain_827068" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ubsi_FinancingReceivablePortfolioSegmentIAxis_827059" xlink:to="loc_ubsi_FinancingReceivablePortfolioSegmentIDomain_827068" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancingReceivablePortfolioSegmentIDomain" xlink:label="loc_ubsi_FinancingReceivablePortfolioSegmentIDomain_827068_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ubsi_FinancingReceivablePortfolioSegmentIAxis_827059" xlink:to="loc_ubsi_FinancingReceivablePortfolioSegmentIDomain_827068_default" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OwnerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_827073" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_FinancingReceivablePortfolioSegmentIDomain_827068" xlink:to="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_827073" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonownerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_827074" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_FinancingReceivablePortfolioSegmentIDomain_827068" xlink:to="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_827074" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BankCardMember" xlink:label="loc_ubsi_BankCardMember_827075" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_FinancingReceivablePortfolioSegmentIDomain_827068" xlink:to="loc_ubsi_BankCardMember_827075" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherConsumerMember" xlink:label="loc_ubsi_OtherConsumerMember_827076" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_FinancingReceivablePortfolioSegmentIDomain_827068" xlink:to="loc_ubsi_OtherConsumerMember_827076" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CollateralDependentLoansAndLeases" xlink:label="loc_ubsi_CollateralDependentLoansAndLeases_827083" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_AmortizedCostCollateralDependentLoansLineItems_827080" xlink:to="loc_ubsi_CollateralDependentLoansAndLeases_827083" use="optional" order="25" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/CreditQualityScheduleOfRiskCategoryOfLoansByClassOfLoansAndLeasesDetail" >
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems" xlink:label="loc_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems_827145" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFinancingReceivablesPastDueTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_827115" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems_827145" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_827115" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_827116" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_827115" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_827116" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827117" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_827116" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827117" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827117_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_827116" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827117_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OwnerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_827118" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827117" xlink:to="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_827118" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonownerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_827119" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827117" xlink:to="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_827119" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherCommercialLoansMember" xlink:label="loc_ubsi_OtherCommercialLoansMember_827120" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827117" xlink:to="loc_ubsi_OtherCommercialLoansMember_827120" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_827127" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827117" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_827127" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_827130" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827117" xlink:to="loc_us-gaap_ConstructionLoansMember_827130" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BankCardMember" xlink:label="loc_ubsi_BankCardMember_827131" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827117" xlink:to="loc_ubsi_BankCardMember_827131" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherConsumerMember" xlink:label="loc_ubsi_OtherConsumerMember_827132" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827117" xlink:to="loc_ubsi_OtherConsumerMember_827132" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InternalCreditAssessmentAxis" xlink:label="loc_us-gaap_InternalCreditAssessmentAxis_827134" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_827115" xlink:to="loc_us-gaap_InternalCreditAssessmentAxis_827134" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain_827136" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis_827134" xlink:to="loc_us-gaap_InternalCreditAssessmentDomain_827136" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain_827136_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis_827134" xlink:to="loc_us-gaap_InternalCreditAssessmentDomain_827136_default" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PassMember" xlink:label="loc_us-gaap_PassMember_827137" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_827136" xlink:to="loc_us-gaap_PassMember_827137" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SpecialMentionMember" xlink:label="loc_us-gaap_SpecialMentionMember_827138" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_827136" xlink:to="loc_us-gaap_SpecialMentionMember_827138" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubstandardMember" xlink:label="loc_us-gaap_SubstandardMember_827139" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_827136" xlink:to="loc_us-gaap_SubstandardMember_827139" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DoubtfulMember" xlink:label="loc_us-gaap_DoubtfulMember_827140" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_827136" xlink:to="loc_us-gaap_DoubtfulMember_827140" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CurrentPeriodChargeOffsMember" xlink:label="loc_ubsi_CurrentPeriodChargeOffsMember_827141" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_827136" xlink:to="loc_ubsi_CurrentPeriodChargeOffsMember_827141" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CurrentPeriodRecoveriesMember" xlink:label="loc_ubsi_CurrentPeriodRecoveriesMember_827143" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_827136" xlink:to="loc_ubsi_CurrentPeriodRecoveriesMember_827143" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CurrentPeriodNetChargeOffsRecoveriesMember" xlink:label="loc_ubsi_CurrentPeriodNetChargeOffsRecoveriesMember_827144" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_827136" xlink:to="loc_ubsi_CurrentPeriodNetChargeOffsRecoveriesMember_827144" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TermLoansOriginationYearOne" xlink:label="loc_ubsi_TermLoansOriginationYearOne_827146" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems_827145" xlink:to="loc_ubsi_TermLoansOriginationYearOne_827146" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TermLoansOriginationYearTwo" xlink:label="loc_ubsi_TermLoansOriginationYearTwo_827147" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems_827145" xlink:to="loc_ubsi_TermLoansOriginationYearTwo_827147" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TermLoansOriginationYearThree" xlink:label="loc_ubsi_TermLoansOriginationYearThree_827148" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems_827145" xlink:to="loc_ubsi_TermLoansOriginationYearThree_827148" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TermLoansOriginationYearFour" xlink:label="loc_ubsi_TermLoansOriginationYearFour_827149" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems_827145" xlink:to="loc_ubsi_TermLoansOriginationYearFour_827149" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TermLoansOriginationYearFive" xlink:label="loc_ubsi_TermLoansOriginationYearFive_827150" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems_827145" xlink:to="loc_ubsi_TermLoansOriginationYearFive_827150" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TermLoansOriginationYearSix" xlink:label="loc_ubsi_TermLoansOriginationYearSix_2147472587" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems_827145" xlink:to="loc_ubsi_TermLoansOriginationYearSix_2147472587" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TermLoansOriginationYearPrior" xlink:label="loc_ubsi_TermLoansOriginationYearPrior_827151" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems_827145" xlink:to="loc_ubsi_TermLoansOriginationYearPrior_827151" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_RevolvingloansAmortizedCostBasis" xlink:label="loc_ubsi_RevolvingloansAmortizedCostBasis_827153" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems_827145" xlink:to="loc_ubsi_RevolvingloansAmortizedCostBasis_827153" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_RevolvingLoansConvertedtoTermLoans" xlink:label="loc_ubsi_RevolvingLoansConvertedtoTermLoans_827156" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems_827145" xlink:to="loc_ubsi_RevolvingLoansConvertedtoTermLoans_827156" use="optional" order="30" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndFinanceReceivablesGross" xlink:label="loc_ubsi_LoansAndFinanceReceivablesGross_827157" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems_827145" xlink:to="loc_ubsi_LoansAndFinanceReceivablesGross_827157" use="optional" order="31" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/AllowanceForCreditLossesAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_691" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_688" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_691" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_688" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_689" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_688" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_689" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_690" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_689" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_690" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_690_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_689" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_690_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis" xlink:label="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_827249" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_688" xlink:to="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_827249" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivableTypeDomain" xlink:label="loc_us-gaap_ReceivableTypeDomain_827250" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_827249" xlink:to="loc_us-gaap_ReceivableTypeDomain_827250" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivableTypeDomain" xlink:label="loc_us-gaap_ReceivableTypeDomain_827250_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_827249" xlink:to="loc_us-gaap_ReceivableTypeDomain_827250_default" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedIncomeReceivableMember" xlink:label="loc_us-gaap_AccruedIncomeReceivableMember_827252" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReceivableTypeDomain_827250" xlink:to="loc_us-gaap_AccruedIncomeReceivableMember_827252" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_1291193" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_688" xlink:to="loc_us-gaap_PlanNameAxis_1291193" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_1291194" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_1291193" xlink:to="loc_us-gaap_PlanNameDomain_1291194" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_1291194_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_1291193" xlink:to="loc_us-gaap_PlanNameDomain_1291194_default" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PeriodAxis" xlink:label="loc_ubsi_PeriodAxis_2147472570" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_688" xlink:to="loc_ubsi_PeriodAxis_2147472570" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PeriodDomain" xlink:label="loc_ubsi_PeriodDomain_2147472572" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ubsi_PeriodAxis_2147472570" xlink:to="loc_ubsi_PeriodDomain_2147472572" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PeriodDomain" xlink:label="loc_ubsi_PeriodDomain_2147472572_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ubsi_PeriodAxis_2147472570" xlink:to="loc_ubsi_PeriodDomain_2147472572_default" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TwoThousandAndTwentySevenMember" xlink:label="loc_ubsi_TwoThousandAndTwentySevenMember_2055472041" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_PeriodDomain_2147472572" xlink:to="loc_ubsi_TwoThousandAndTwentySevenMember_2055472041" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TwoThousandAndTwentySixMember" xlink:label="loc_ubsi_TwoThousandAndTwentySixMember_2147472575" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_PeriodDomain_2147472572" xlink:to="loc_ubsi_TwoThousandAndTwentySixMember_2147472575" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_2135472106" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_688" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_2135472106" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2134472106" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_2135472106" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2134472106" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2134472106_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_2135472106" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2134472106_default" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ReserveForLendingRelatedCommitments" xlink:label="loc_ubsi_ReserveForLendingRelatedCommitments_701" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_691" xlink:to="loc_ubsi_ReserveForLendingRelatedCommitments_701" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_MaximumPeriodRelatedToAccrualOfInterestOnLoans" xlink:label="loc_ubsi_MaximumPeriodRelatedToAccrualOfInterestOnLoans_827255" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_691" xlink:to="loc_ubsi_MaximumPeriodRelatedToAccrualOfInterestOnLoans_827255" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss" xlink:label="loc_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss_827261" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_691" xlink:to="loc_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss_827261" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentagePointsIncreaseInUnemploymentRate" xlink:label="loc_ubsi_PercentagePointsIncreaseInUnemploymentRate_2147472202" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_691" xlink:to="loc_ubsi_PercentagePointsIncreaseInUnemploymentRate_2147472202" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentagePointsReductionInGdpProjection" xlink:label="loc_ubsi_PercentagePointsReductionInGdpProjection_2147472203" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_691" xlink:to="loc_ubsi_PercentagePointsReductionInGdpProjection_2147472203" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentageOfAllowanceForLoanAndLeaseLosses" xlink:label="loc_ubsi_PercentageOfAllowanceForLoanAndLeaseLosses_2147472405" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_691" xlink:to="loc_ubsi_PercentageOfAllowanceForLoanAndLeaseLosses_2147472405" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesPeriodIncreaseDecrease" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesPeriodIncreaseDecrease_2147472406" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_691" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesPeriodIncreaseDecrease_2147472406" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentageOfProjectionForRealGdp" xlink:label="loc_ubsi_PercentageOfProjectionForRealGdp_2147472554" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_691" xlink:to="loc_ubsi_PercentageOfProjectionForRealGdp_2147472554" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentageOfUnemploymentRate" xlink:label="loc_ubsi_PercentageOfUnemploymentRate_2147472564" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_691" xlink:to="loc_ubsi_PercentageOfUnemploymentRate_2147472564" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentageOfProjectionForHousePriceIndex" xlink:label="loc_ubsi_PercentageOfProjectionForHousePriceIndex_2004472019" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_691" xlink:to="loc_ubsi_PercentageOfProjectionForHousePriceIndex_2004472019" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentageOfProjectionForMortgageRate" xlink:label="loc_ubsi_PercentageOfProjectionForMortgageRate_2004472018" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_691" xlink:to="loc_ubsi_PercentageOfProjectionForMortgageRate_2004472018" use="optional" order="30" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentageOfProjectionForRealDisposablePersonalIncome" xlink:label="loc_ubsi_PercentageOfProjectionForRealDisposablePersonalIncome_2004472017" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_691" xlink:to="loc_ubsi_PercentageOfProjectionForRealDisposablePersonalIncome_2004472017" use="optional" order="31" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/AllowanceForCreditLossesScheduleOfCreditLossesRelatedToAccruedInterestReceivablesAndWrittenOffDetail" >
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AccruedInterestReceivablesAndWrittenOffStatusLineItems" xlink:label="loc_ubsi_AccruedInterestReceivablesAndWrittenOffStatusLineItems_827315" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AccruedInterestReceivablesAndWrittenOffTable" xlink:label="loc_ubsi_AccruedInterestReceivablesAndWrittenOffTable_827296" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ubsi_AccruedInterestReceivablesAndWrittenOffStatusLineItems_827315" xlink:to="loc_ubsi_AccruedInterestReceivablesAndWrittenOffTable_827296" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_827297" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ubsi_AccruedInterestReceivablesAndWrittenOffTable_827296" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_827297" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827298" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_827297" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827298" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827298_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_827297" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827298_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OwnerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_827299" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827298" xlink:to="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_827299" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonownerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_827300" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827298" xlink:to="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_827300" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_827301" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827298" xlink:to="loc_us-gaap_ConstructionLoansMember_827301" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BankCardMember" xlink:label="loc_ubsi_BankCardMember_827302" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827298" xlink:to="loc_ubsi_BankCardMember_827302" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherConsumerMember" xlink:label="loc_ubsi_OtherConsumerMember_827303" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_827298" xlink:to="loc_ubsi_OtherConsumerMember_827303" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_827304" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ubsi_AccruedInterestReceivablesAndWrittenOffTable_827296" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_827304" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827306" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_827304" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827306" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827306_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_827304" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827306_default" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_827309" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827306" xlink:to="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_827309" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_827311" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827306" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_827311" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_827312" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827306" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_827312" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_827313" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_827306" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_827313" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AccruedInterestReceivableLoans" xlink:label="loc_ubsi_AccruedInterestReceivableLoans_827316" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_AccruedInterestReceivablesAndWrittenOffStatusLineItems_827315" xlink:to="loc_ubsi_AccruedInterestReceivableLoans_827316" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AccruedInterestReceivableLoansNetOfAllowance" xlink:label="loc_ubsi_AccruedInterestReceivableLoansNetOfAllowance_827323" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_AccruedInterestReceivablesAndWrittenOffStatusLineItems_827315" xlink:to="loc_ubsi_AccruedInterestReceivableLoansNetOfAllowance_827323" use="optional" order="18" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/AllowanceForCreditLossesScheduleOfAccruedInterestReceivablesWrittenOffByReversingInterestDetail" >
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AccruedInterestReceivablesAndWrittenOffStatusLineItems" xlink:label="loc_ubsi_AccruedInterestReceivablesAndWrittenOffStatusLineItems_1291177" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AccruedInterestReceivablesAndWrittenOffTable" xlink:label="loc_ubsi_AccruedInterestReceivablesAndWrittenOffTable_1291162" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ubsi_AccruedInterestReceivablesAndWrittenOffStatusLineItems_1291177" xlink:to="loc_ubsi_AccruedInterestReceivablesAndWrittenOffTable_1291162" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_1291163" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ubsi_AccruedInterestReceivablesAndWrittenOffTable_1291162" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_1291163" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1291164" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_1291163" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1291164" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1291164_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_1291163" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1291164_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_1291165" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1291164" xlink:to="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_1291165" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_1291166" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1291164" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_1291166" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_1291167" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1291164" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_1291167" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember_1291168" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_1291164" xlink:to="loc_us-gaap_ConsumerPortfolioSegmentMember_1291168" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_1291169" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ubsi_AccruedInterestReceivablesAndWrittenOffTable_1291162" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_1291169" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_1291170" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_1291169" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_1291170" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_1291170_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_1291169" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_1291170_default" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OwnerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_1291173" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_1291170" xlink:to="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_1291173" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonownerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_1291171" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_1291170" xlink:to="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_1291171" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_1291174" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_1291170" xlink:to="loc_us-gaap_ConstructionLoansMember_1291174" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BankCardMember" xlink:label="loc_ubsi_BankCardMember_1291175" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_1291170" xlink:to="loc_ubsi_BankCardMember_1291175" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherConsumerMember" xlink:label="loc_ubsi_OtherConsumerMember_1291176" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_1291170" xlink:to="loc_ubsi_OtherConsumerMember_1291176" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_InterestReceivableWrittenOff" xlink:label="loc_ubsi_InterestReceivableWrittenOff_1291178" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_AccruedInterestReceivablesAndWrittenOffStatusLineItems_1291177" xlink:to="loc_ubsi_InterestReceivableWrittenOff_1291178" use="optional" order="17" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/AllowanceForCreditLossesScheduleOfAllowanceForLoanLossesAndCarryingAmountOfLoansDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_711" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_704" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_711" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_704" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_705" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_704" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_705" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_706" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_705" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_706" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_706_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis_705" xlink:to="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_706_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_712" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_706" xlink:to="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember_712" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember_713" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_706" xlink:to="loc_us-gaap_CommercialPortfolioSegmentMember_713" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember_714" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_706" xlink:to="loc_us-gaap_ResidentialPortfolioSegmentMember_714" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherConsumerMember" xlink:label="loc_ubsi_OtherConsumerMember_829726" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain_706" xlink:to="loc_ubsi_OtherConsumerMember_829726" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_707" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_704" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_707" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_708" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_707" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_708" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_708_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_707" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_708_default" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OwnerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_716" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_708" xlink:to="loc_ubsi_OwnerOccupiedCommercialRealEstateMember_716" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonownerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_717" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_708" xlink:to="loc_ubsi_NonownerOccupiedCommercialRealEstateMember_717" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember_718" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_708" xlink:to="loc_us-gaap_ConstructionLoansMember_718" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BankCardMember" xlink:label="loc_ubsi_BankCardMember_827397" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_708" xlink:to="loc_ubsi_BankCardMember_827397" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditLossStatusAxis" xlink:label="loc_us-gaap_CreditLossStatusAxis_709" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_704" xlink:to="loc_us-gaap_CreditLossStatusAxis_709" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditLossStatusDomain" xlink:label="loc_us-gaap_CreditLossStatusDomain_710" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditLossStatusAxis_709" xlink:to="loc_us-gaap_CreditLossStatusDomain_710" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditLossStatusDomain" xlink:label="loc_us-gaap_CreditLossStatusDomain_710_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditLossStatusAxis_709" xlink:to="loc_us-gaap_CreditLossStatusDomain_710_default" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_829711" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_704" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_829711" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_829714" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_829711" xlink:to="loc_us-gaap_TypeOfAdoptionMember_829714" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_829714_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_829711" xlink:to="loc_us-gaap_TypeOfAdoptionMember_829714_default" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerAssetAccumulatedAllowanceForCreditLoss" xlink:label="loc_us-gaap_ContractWithCustomerAssetAccumulatedAllowanceForCreditLoss_721" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_711" xlink:to="loc_us-gaap_ContractWithCustomerAssetAccumulatedAllowanceForCreditLoss_721" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePurchasedWithCreditDeteriorationAllowanceForCreditLossAtAcquisitionDate" xlink:label="loc_us-gaap_FinancingReceivablePurchasedWithCreditDeteriorationAllowanceForCreditLossAtAcquisitionDate_827392" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_711" xlink:to="loc_us-gaap_FinancingReceivablePurchasedWithCreditDeteriorationAllowanceForCreditLossAtAcquisitionDate_827392" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerAssetAllowanceForCreditLossWriteoff" xlink:label="loc_us-gaap_ContractWithCustomerAssetAllowanceForCreditLossWriteoff_722" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_711" xlink:to="loc_us-gaap_ContractWithCustomerAssetAllowanceForCreditLossWriteoff_722" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerAssetAllowanceForCreditLossRecovery" xlink:label="loc_us-gaap_ContractWithCustomerAssetAllowanceForCreditLossRecovery_723" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_711" xlink:to="loc_us-gaap_ContractWithCustomerAssetAllowanceForCreditLossRecovery_723" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ProvisionForRecoveryOfLoanLosses" xlink:label="loc_ubsi_ProvisionForRecoveryOfLoanLosses_724" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_711" xlink:to="loc_ubsi_ProvisionForRecoveryOfLoanLosses_724" use="optional" order="26" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/IntangibleAssetsSummaryOfIntangibleAssetsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_739" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_734" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_739" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_734" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SegmentTypeAxis" xlink:label="loc_ubsi_SegmentTypeAxis_735" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_734" xlink:to="loc_ubsi_SegmentTypeAxis_735" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SegmentTypeDomain" xlink:label="loc_ubsi_SegmentTypeDomain_736" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ubsi_SegmentTypeAxis_735" xlink:to="loc_ubsi_SegmentTypeDomain_736" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SegmentTypeDomain" xlink:label="loc_ubsi_SegmentTypeDomain_736_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ubsi_SegmentTypeAxis_735" xlink:to="loc_ubsi_SegmentTypeDomain_736_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CommunityBankingMember" xlink:label="loc_ubsi_CommunityBankingMember_740" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_SegmentTypeDomain_736" xlink:to="loc_ubsi_CommunityBankingMember_740" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_737" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_734" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_737" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_738" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_737" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_738" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_738_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_737" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_738_default" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CoreDepositsMember" xlink:label="loc_us-gaap_CoreDepositsMember_742" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_738" xlink:to="loc_us-gaap_CoreDepositsMember_742" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_744" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_739" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_744" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_745" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_739" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_745" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_746" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_739" xlink:to="loc_us-gaap_Goodwill_746" use="optional" order="12" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/LeasesAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeLeaseDescriptionLineItems" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_780" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeLeaseDescriptionTable" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_776" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_780" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_776" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_778" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_776" xlink:to="loc_srt_RangeAxis_778" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_779" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_778" xlink:to="loc_srt_RangeMember_779" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_779_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_778" xlink:to="loc_srt_RangeMember_779_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_598012" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_779" xlink:to="loc_srt_MinimumMember_598012" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_782" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_779" xlink:to="loc_srt_MaximumMember_782" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseRemainingLeaseTerm" xlink:label="loc_us-gaap_LesseeOperatingLeaseRemainingLeaseTerm_783" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_780" xlink:to="loc_us-gaap_LesseeOperatingLeaseRemainingLeaseTerm_783" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseRenewalTerm" xlink:label="loc_us-gaap_LesseeOperatingLeaseRenewalTerm_784" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_780" xlink:to="loc_us-gaap_LesseeOperatingLeaseRenewalTerm_784" use="optional" order="8" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ShortTermBorrowingsShortTermBorrowingsAndTheRelatedWeightedAverageInterestRatesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermDebtLineItems" xlink:label="loc_us-gaap_ShortTermDebtLineItems_566622" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShortTermDebtTable" xlink:label="loc_us-gaap_ScheduleOfShortTermDebtTable_566619" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShortTermDebtLineItems_566622" xlink:to="loc_us-gaap_ScheduleOfShortTermDebtTable_566619" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_566620" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShortTermDebtTable_566619" xlink:to="loc_us-gaap_StatementClassOfStockAxis_566620" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_566621" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_566620" xlink:to="loc_us-gaap_ClassOfStockDomain_566621" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_566621_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_566620" xlink:to="loc_us-gaap_ClassOfStockDomain_566621_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermDebtTypeAxis" xlink:label="loc_us-gaap_ShortTermDebtTypeAxis_566635" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShortTermDebtTable_566619" xlink:to="loc_us-gaap_ShortTermDebtTypeAxis_566635" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermDebtTypeDomain" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_566636" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_566635" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_566636" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermDebtTypeDomain" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_566636_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_566635" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_566636_default" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FederalFundsPurchasedMember" xlink:label="loc_us-gaap_FederalFundsPurchasedMember_566638" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermDebtTypeDomain_566636" xlink:to="loc_us-gaap_FederalFundsPurchasedMember_566638" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseMember" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseMember_566643" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermDebtTypeDomain_566636" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseMember_566643" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermBorrowings" xlink:label="loc_us-gaap_ShortTermBorrowings_566627" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermDebtLineItems_566622" xlink:to="loc_us-gaap_ShortTermBorrowings_566627" use="optional" order="10" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ShortTermBorrowingsAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermDebtLineItems" xlink:label="loc_us-gaap_ShortTermDebtLineItems_842" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShortTermDebtTable" xlink:label="loc_us-gaap_ScheduleOfShortTermDebtTable_838" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShortTermDebtLineItems_842" xlink:to="loc_us-gaap_ScheduleOfShortTermDebtTable_838" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_839" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShortTermDebtTable_838" xlink:to="loc_us-gaap_DebtInstrumentAxis_839" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_840" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_839" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_840" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_840_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_839" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_840_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_UnrelatedFinancialInstitutionMember" xlink:label="loc_ubsi_UnrelatedFinancialInstitutionMember_843" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_840" xlink:to="loc_ubsi_UnrelatedFinancialInstitutionMember_843" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ExtinguishmentOfDebtAxis" xlink:label="loc_us-gaap_ExtinguishmentOfDebtAxis_841" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShortTermDebtTable_838" xlink:to="loc_us-gaap_ExtinguishmentOfDebtAxis_841" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ExtinguishmentOfDebtTypeDomain" xlink:label="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_844" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ExtinguishmentOfDebtAxis_841" xlink:to="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_844" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ExtinguishmentOfDebtTypeDomain" xlink:label="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_844_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ExtinguishmentOfDebtAxis_841" xlink:to="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_844_default" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_845" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermDebtLineItems_842" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_845" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_RenewalPeriodOfLineOfCredit" xlink:label="loc_ubsi_RenewalPeriodOfLineOfCredit_846" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermDebtLineItems_842" xlink:to="loc_ubsi_RenewalPeriodOfLineOfCredit_846" use="optional" order="10" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/LongTermBorrowingsAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_858" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_852" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_858" xlink:to="loc_us-gaap_DebtInstrumentTable_852" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByLiabilityClassAxis" xlink:label="loc_us-gaap_FairValueByLiabilityClassAxis_853" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_852" xlink:to="loc_us-gaap_FairValueByLiabilityClassAxis_853" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_859" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis_853" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_859" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_859_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis_853" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_859_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_854" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_852" xlink:to="loc_srt_RangeAxis_854" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_860" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_854" xlink:to="loc_srt_RangeMember_860" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_860_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_854" xlink:to="loc_srt_RangeMember_860_default" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_855" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_852" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_855" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_861" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_855" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_861" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_861_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_855" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_861_default" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_856" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_852" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_856" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_862" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_856" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_862" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_862_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_856" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_862_default" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ExtinguishmentOfDebtAxis" xlink:label="loc_us-gaap_ExtinguishmentOfDebtAxis_857" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_852" xlink:to="loc_us-gaap_ExtinguishmentOfDebtAxis_857" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ExtinguishmentOfDebtTypeDomain" xlink:label="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_863" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ExtinguishmentOfDebtAxis_857" xlink:to="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_863" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ExtinguishmentOfDebtTypeDomain" xlink:label="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_863_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ExtinguishmentOfDebtAxis_857" xlink:to="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_863_default" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PledgingPurposeAxis" xlink:label="loc_us-gaap_PledgingPurposeAxis_2147482928" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_852" xlink:to="loc_us-gaap_PledgingPurposeAxis_2147482928" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PledgingPurposeDomain" xlink:label="loc_us-gaap_PledgingPurposeDomain_2147482929" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PledgingPurposeAxis_2147482928" xlink:to="loc_us-gaap_PledgingPurposeDomain_2147482929" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PledgingPurposeDomain" xlink:label="loc_us-gaap_PledgingPurposeDomain_2147482929_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PledgingPurposeAxis_2147482928" xlink:to="loc_us-gaap_PledgingPurposeDomain_2147482929_default" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_MaturityPeriodAxis" xlink:label="loc_ubsi_MaturityPeriodAxis_2147472402" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_852" xlink:to="loc_ubsi_MaturityPeriodAxis_2147472402" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_MaturityPeriodDomain" xlink:label="loc_ubsi_MaturityPeriodDomain_2147472401" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ubsi_MaturityPeriodAxis_2147472402" xlink:to="loc_ubsi_MaturityPeriodDomain_2147472401" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_MaturityPeriodDomain" xlink:label="loc_ubsi_MaturityPeriodDomain_2147472401_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ubsi_MaturityPeriodAxis_2147472402" xlink:to="loc_ubsi_MaturityPeriodDomain_2147472401_default" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FederalHomeLoanBankAdvancesGeneralDebtObligationsDisclosuresAmountOfAvailableUnusedFunds" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesGeneralDebtObligationsDisclosuresAmountOfAvailableUnusedFunds_864" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_858" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesGeneralDebtObligationsDisclosuresAmountOfAvailableUnusedFunds_864" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdvancesFromFederalHomeLoanBanks" xlink:label="loc_us-gaap_AdvancesFromFederalHomeLoanBanks_567034" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_858" xlink:to="loc_us-gaap_AdvancesFromFederalHomeLoanBanks_567034" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_JuniorSubordinatedLongTermNotes" xlink:label="loc_us-gaap_JuniorSubordinatedLongTermNotes_865" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_858" xlink:to="loc_us-gaap_JuniorSubordinatedLongTermNotes_865" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_MaximumTimeToDeferPaymentOfInterestOnSubordinateDebt" xlink:label="loc_ubsi_MaximumTimeToDeferPaymentOfInterestOnSubordinateDebt_866" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_858" xlink:to="loc_ubsi_MaximumTimeToDeferPaymentOfInterestOnSubordinateDebt_866" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FederalHomeLoanBankAdvancesActivityForYearAverageInterestRateForYear" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesActivityForYearAverageInterestRateForYear_868" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_858" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesActivityForYearAverageInterestRateForYear_868" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtWeightedAverageInterestRate" xlink:label="loc_us-gaap_DebtWeightedAverageInterestRate_2042472038" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_858" xlink:to="loc_us-gaap_DebtWeightedAverageInterestRate_2042472038" use="optional" order="28" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/CommitmentsAndContingentLiabilitiesAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LossContingenciesLineItems" xlink:label="loc_us-gaap_LossContingenciesLineItems_889" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LossContingenciesTable" xlink:label="loc_us-gaap_LossContingenciesTable_880" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_889" xlink:to="loc_us-gaap_LossContingenciesTable_880" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LossContingenciesByNatureOfContingencyAxis" xlink:label="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_881" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_880" xlink:to="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_881" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LossContingencyNatureDomain" xlink:label="loc_us-gaap_LossContingencyNatureDomain_882" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_881" xlink:to="loc_us-gaap_LossContingencyNatureDomain_882" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LossContingencyNatureDomain" xlink:label="loc_us-gaap_LossContingencyNatureDomain_882_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_881" xlink:to="loc_us-gaap_LossContingencyNatureDomain_882_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CommercialLettersOfCreditMember" xlink:label="loc_ubsi_CommercialLettersOfCreditMember_890" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingencyNatureDomain_882" xlink:to="loc_ubsi_CommercialLettersOfCreditMember_890" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StandbyLettersOfCreditMember" xlink:label="loc_us-gaap_StandbyLettersOfCreditMember_891" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingencyNatureDomain_882" xlink:to="loc_us-gaap_StandbyLettersOfCreditMember_891" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_883" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_880" xlink:to="loc_us-gaap_FinancialInstrumentAxis_883" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_884" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_883" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_884" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_884_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_883" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_884_default" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesAxis" xlink:label="loc_srt_ConsolidatedEntitiesAxis_885" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_880" xlink:to="loc_srt_ConsolidatedEntitiesAxis_885" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_886" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_885" xlink:to="loc_srt_ConsolidatedEntitiesDomain_886" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_886_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_885" xlink:to="loc_srt_ConsolidatedEntitiesDomain_886_default" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerDurationAxis" xlink:label="loc_us-gaap_ContractWithCustomerDurationAxis_887" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_880" xlink:to="loc_us-gaap_ContractWithCustomerDurationAxis_887" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerDurationDomain" xlink:label="loc_us-gaap_ContractWithCustomerDurationDomain_888" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ContractWithCustomerDurationAxis_887" xlink:to="loc_us-gaap_ContractWithCustomerDurationDomain_888" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerDurationDomain" xlink:label="loc_us-gaap_ContractWithCustomerDurationDomain_888_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ContractWithCustomerDurationAxis_887" xlink:to="loc_us-gaap_ContractWithCustomerDurationDomain_888_default" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoanCommitmentsOutstanding" xlink:label="loc_ubsi_LoanCommitmentsOutstanding_895" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_889" xlink:to="loc_ubsi_LoanCommitmentsOutstanding_895" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityExpirationPeriod" xlink:label="loc_us-gaap_LineOfCreditFacilityExpirationPeriod_896" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_889" xlink:to="loc_us-gaap_LineOfCreditFacilityExpirationPeriod_896" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LettersOfCreditOutstandingAmount" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_898" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_889" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_898" use="optional" order="18" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/DerivativeFinancialInstrumentsAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLineItems" xlink:label="loc_us-gaap_DerivativeLineItems_826753" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeTable" xlink:label="loc_us-gaap_DerivativeTable_826743" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_826753" xlink:to="loc_us-gaap_DerivativeTable_826743" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_826744" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_826743" xlink:to="loc_us-gaap_StatementClassOfStockAxis_826744" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_826745" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_826744" xlink:to="loc_us-gaap_ClassOfStockDomain_826745" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_826745_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_826744" xlink:to="loc_us-gaap_ClassOfStockDomain_826745_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByLiabilityClassAxis" xlink:label="loc_us-gaap_FairValueByLiabilityClassAxis_826746" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_826743" xlink:to="loc_us-gaap_FairValueByLiabilityClassAxis_826746" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_826747" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis_826746" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_826747" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_826747_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis_826746" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_826747_default" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FederalHomeLoanBankBorrowingsMember" xlink:label="loc_us-gaap_FederalHomeLoanBankBorrowingsMember_826748" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_826747" xlink:to="loc_us-gaap_FederalHomeLoanBankBorrowingsMember_826748" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_826749" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_826743" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_826749" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_826750" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_826749" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_826750" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_826750_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_826749" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_826750_default" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_InterestRateCashFlowHedgeMember" xlink:label="loc_ubsi_InterestRateCashFlowHedgeMember_826752" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_826750" xlink:to="loc_ubsi_InterestRateCashFlowHedgeMember_826752" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilityNotionalAmount" xlink:label="loc_us-gaap_DerivativeLiabilityNotionalAmount_826754" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_826753" xlink:to="loc_us-gaap_DerivativeLiabilityNotionalAmount_826754" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet" xlink:label="loc_us-gaap_InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet_826757" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_826753" xlink:to="loc_us-gaap_InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet_826757" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeNetLiabilityPositionAggregateFairValue" xlink:label="loc_us-gaap_DerivativeNetLiabilityPositionAggregateFairValue_826760" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_826753" xlink:to="loc_us-gaap_DerivativeNetLiabilityPositionAggregateFairValue_826760" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssetNotionalAmount" xlink:label="loc_us-gaap_DerivativeAssetNotionalAmount_828948" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_826753" xlink:to="loc_us-gaap_DerivativeAssetNotionalAmount_828948" use="optional" order="16" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/DerivativeFinancialInstrumentsScheduleOfNotionalAmountAndFairValueDerivativeFinancialInstrumentsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLineItems" xlink:label="loc_us-gaap_DerivativeLineItems_913" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeTable" xlink:label="loc_us-gaap_DerivativeTable_902" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_913" xlink:to="loc_us-gaap_DerivativeTable_902" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_903" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_902" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_903" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_904" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_903" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_904" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_904_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_903" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_904_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_914" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_904" xlink:to="loc_us-gaap_InterestRateSwapMember_914" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ForwardLoanSaleCommitmentsMember" xlink:label="loc_ubsi_ForwardLoanSaleCommitmentsMember_915" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_904" xlink:to="loc_ubsi_ForwardLoanSaleCommitmentsMember_915" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DerivativeInstrumentsAxis" xlink:label="loc_ubsi_DerivativeInstrumentsAxis_905" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_902" xlink:to="loc_ubsi_DerivativeInstrumentsAxis_905" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DerivativeInstrumentsDomain" xlink:label="loc_ubsi_DerivativeInstrumentsDomain_906" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ubsi_DerivativeInstrumentsAxis_905" xlink:to="loc_ubsi_DerivativeInstrumentsDomain_906" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DerivativeInstrumentsDomain" xlink:label="loc_ubsi_DerivativeInstrumentsDomain_906_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ubsi_DerivativeInstrumentsAxis_905" xlink:to="loc_ubsi_DerivativeInstrumentsDomain_906_default" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherAssetMember" xlink:label="loc_ubsi_OtherAssetMember_916" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_DerivativeInstrumentsDomain_906" xlink:to="loc_ubsi_OtherAssetMember_916" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OthersLiabilitiesMember" xlink:label="loc_ubsi_OthersLiabilitiesMember_917" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_DerivativeInstrumentsDomain_906" xlink:to="loc_ubsi_OthersLiabilitiesMember_917" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_907" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_902" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_907" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain_908" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_907" xlink:to="loc_us-gaap_HedgingRelationshipDomain_908" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain_908_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_907" xlink:to="loc_us-gaap_HedgingRelationshipDomain_908_default" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueHedgingMember" xlink:label="loc_us-gaap_FairValueHedgingMember_918" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_908" xlink:to="loc_us-gaap_FairValueHedgingMember_918" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashFlowHedgingMember" xlink:label="loc_us-gaap_CashFlowHedgingMember_828933" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_908" xlink:to="loc_us-gaap_CashFlowHedgingMember_828933" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingDesignationAxis" xlink:label="loc_us-gaap_HedgingDesignationAxis_909" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_902" xlink:to="loc_us-gaap_HedgingDesignationAxis_909" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_910" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_909" xlink:to="loc_us-gaap_HedgingDesignationDomain_910" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_910_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_909" xlink:to="loc_us-gaap_HedgingDesignationDomain_910_default" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DesignatedAsHedgingInstrumentMember" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_919" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_910" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_919" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NondesignatedMember" xlink:label="loc_us-gaap_NondesignatedMember_920" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_910" xlink:to="loc_us-gaap_NondesignatedMember_920" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_911" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_902" xlink:to="loc_us-gaap_FinancialInstrumentAxis_911" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_912" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_911" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_912" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_912_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_911" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_912_default" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_HedgedCommercialLoansMember" xlink:label="loc_ubsi_HedgedCommercialLoansMember_921" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_912" xlink:to="loc_ubsi_HedgedCommercialLoansMember_921" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestRateLockCommitmentsMember" xlink:label="loc_us-gaap_InterestRateLockCommitmentsMember_923" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_912" xlink:to="loc_us-gaap_InterestRateLockCommitmentsMember_923" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_HedgedCommercialLoansFederalHomeLoanBankMember" xlink:label="loc_ubsi_HedgedCommercialLoansFederalHomeLoanBankMember_828932" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_912" xlink:to="loc_ubsi_HedgedCommercialLoansFederalHomeLoanBankMember_828932" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssetNotionalAmount" xlink:label="loc_us-gaap_DerivativeAssetNotionalAmount_924" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_913" xlink:to="loc_us-gaap_DerivativeAssetNotionalAmount_924" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue" xlink:label="loc_us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue_925" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_913" xlink:to="loc_us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue_925" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue" xlink:label="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue_927" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_913" xlink:to="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue_927" use="optional" order="30" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_928" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_913" xlink:to="loc_us-gaap_DerivativeAssets_928" use="optional" order="31" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilityNotionalAmount" xlink:label="loc_us-gaap_DerivativeLiabilityNotionalAmount_926" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_913" xlink:to="loc_us-gaap_DerivativeLiabilityNotionalAmount_926" use="optional" order="32" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue" xlink:label="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue_930" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_913" xlink:to="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue_930" use="optional" order="33" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilities" xlink:label="loc_us-gaap_DerivativeLiabilities_931" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_913" xlink:to="loc_us-gaap_DerivativeLiabilities_931" use="optional" order="34" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/DerivativeFinancialInstrumentsSummaryOfCarryingAmountHedgedAssetsLiabilitiesDetail" >
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CarryingAmountHedgedAssetsLiabilitiesLineItems" xlink:label="loc_ubsi_CarryingAmountHedgedAssetsLiabilitiesLineItems_942" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ScheduleOfCarryingAmountHedgedAssetsLiabilitiesTable" xlink:label="loc_ubsi_ScheduleOfCarryingAmountHedgedAssetsLiabilitiesTable_934" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ubsi_CarryingAmountHedgedAssetsLiabilitiesLineItems_942" xlink:to="loc_ubsi_ScheduleOfCarryingAmountHedgedAssetsLiabilitiesTable_934" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_935" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ubsi_ScheduleOfCarryingAmountHedgedAssetsLiabilitiesTable_934" xlink:to="loc_us-gaap_StatementClassOfStockAxis_935" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_943" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_935" xlink:to="loc_us-gaap_ClassOfStockDomain_943" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_943_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_935" xlink:to="loc_us-gaap_ClassOfStockDomain_943_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingDesignationAxis" xlink:label="loc_us-gaap_HedgingDesignationAxis_936" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ubsi_ScheduleOfCarryingAmountHedgedAssetsLiabilitiesTable_934" xlink:to="loc_us-gaap_HedgingDesignationAxis_936" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_937" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_936" xlink:to="loc_us-gaap_HedgingDesignationDomain_937" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_937_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_936" xlink:to="loc_us-gaap_HedgingDesignationDomain_937_default" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DesignatedAsHedgingInstrumentMember" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_944" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_937" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_944" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_938" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ubsi_ScheduleOfCarryingAmountHedgedAssetsLiabilitiesTable_934" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_938" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_939" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_938" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_939" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_939_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_938" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_939_default" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_945" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_939" xlink:to="loc_us-gaap_InterestRateSwapMember_945" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ServicingRightsAxis" xlink:label="loc_ubsi_ServicingRightsAxis_940" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ubsi_ScheduleOfCarryingAmountHedgedAssetsLiabilitiesTable_934" xlink:to="loc_ubsi_ServicingRightsAxis_940" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ServicingRightsDomain" xlink:label="loc_ubsi_ServicingRightsDomain_941" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ubsi_ServicingRightsAxis_940" xlink:to="loc_ubsi_ServicingRightsDomain_941" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ServicingRightsDomain" xlink:label="loc_ubsi_ServicingRightsDomain_941_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ubsi_ServicingRightsAxis_940" xlink:to="loc_ubsi_ServicingRightsDomain_941_default" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BalanceSheetsLocationAxis" xlink:label="loc_ubsi_BalanceSheetsLocationAxis_2147472227" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ubsi_ScheduleOfCarryingAmountHedgedAssetsLiabilitiesTable_934" xlink:to="loc_ubsi_BalanceSheetsLocationAxis_2147472227" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BalanceSheetsLocationDomain" xlink:label="loc_ubsi_BalanceSheetsLocationDomain_2147472226" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ubsi_BalanceSheetsLocationAxis_2147472227" xlink:to="loc_ubsi_BalanceSheetsLocationDomain_2147472226" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BalanceSheetsLocationDomain" xlink:label="loc_ubsi_BalanceSheetsLocationDomain_2147472226_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ubsi_BalanceSheetsLocationAxis_2147472227" xlink:to="loc_ubsi_BalanceSheetsLocationDomain_2147472226_default" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndLeasesNetOfUnearnedIncomeMember" xlink:label="loc_ubsi_LoansAndLeasesNetOfUnearnedIncomeMember_828923" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_BalanceSheetsLocationDomain_2147472226" xlink:to="loc_ubsi_LoansAndLeasesNetOfUnearnedIncomeMember_828923" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgedAssetFairValueHedge" xlink:label="loc_us-gaap_HedgedAssetFairValueHedge_947" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_CarryingAmountHedgedAssetsLiabilitiesLineItems_942" xlink:to="loc_us-gaap_HedgedAssetFairValueHedge_947" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgedAssetFairValueHedgeCumulativeIncreaseDecrease" xlink:label="loc_us-gaap_HedgedAssetFairValueHedgeCumulativeIncreaseDecrease_948" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_CarryingAmountHedgedAssetsLiabilitiesLineItems_942" xlink:to="loc_us-gaap_HedgedAssetFairValueHedgeCumulativeIncreaseDecrease_948" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgedAssetDiscontinuedFairValueHedgeCumulativeIncreaseDecrease" xlink:label="loc_us-gaap_HedgedAssetDiscontinuedFairValueHedgeCumulativeIncreaseDecrease_949" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_CarryingAmountHedgedAssetsLiabilitiesLineItems_942" xlink:to="loc_us-gaap_HedgedAssetDiscontinuedFairValueHedgeCumulativeIncreaseDecrease_949" use="optional" order="22" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/DerivativeFinancialInstrumentsScheduleOfDerivativeFinancialInstrumentsOnStatementsOfIncomeDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLineItems" xlink:label="loc_us-gaap_DerivativeLineItems_963" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeTable" xlink:label="loc_us-gaap_DerivativeTable_952" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_963" xlink:to="loc_us-gaap_DerivativeTable_952" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingDesignationAxis" xlink:label="loc_us-gaap_HedgingDesignationAxis_953" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_952" xlink:to="loc_us-gaap_HedgingDesignationAxis_953" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_954" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_953" xlink:to="loc_us-gaap_HedgingDesignationDomain_954" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_954_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_953" xlink:to="loc_us-gaap_HedgingDesignationDomain_954_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DesignatedAsHedgingInstrumentMember" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_964" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_954" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_964" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NondesignatedMember" xlink:label="loc_us-gaap_NondesignatedMember_965" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_954" xlink:to="loc_us-gaap_NondesignatedMember_965" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_StatementOfIncomeLocationAxis" xlink:label="loc_ubsi_StatementOfIncomeLocationAxis_955" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_952" xlink:to="loc_ubsi_StatementOfIncomeLocationAxis_955" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_StatementOfIncomeLocationDomain" xlink:label="loc_ubsi_StatementOfIncomeLocationDomain_956" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ubsi_StatementOfIncomeLocationAxis_955" xlink:to="loc_ubsi_StatementOfIncomeLocationDomain_956" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_StatementOfIncomeLocationDomain" xlink:label="loc_ubsi_StatementOfIncomeLocationDomain_956_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ubsi_StatementOfIncomeLocationAxis_955" xlink:to="loc_ubsi_StatementOfIncomeLocationDomain_956_default" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_IncomeFromMortgageBankingActivitiesMember" xlink:label="loc_ubsi_IncomeFromMortgageBankingActivitiesMember_967" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_StatementOfIncomeLocationDomain_956" xlink:to="loc_ubsi_IncomeFromMortgageBankingActivitiesMember_967" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_InterestAndFeesOnLoansMember" xlink:label="loc_ubsi_InterestAndFeesOnLoansMember_966" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_StatementOfIncomeLocationDomain_956" xlink:to="loc_ubsi_InterestAndFeesOnLoansMember_966" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_InterestOnLongTermBorrowingsMember" xlink:label="loc_ubsi_InterestOnLongTermBorrowingsMember_828907" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_StatementOfIncomeLocationDomain_956" xlink:to="loc_ubsi_InterestOnLongTermBorrowingsMember_828907" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_957" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_952" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_957" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_958" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_957" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_958" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_958_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_957" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_958_default" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_968" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_958" xlink:to="loc_us-gaap_InterestRateSwapMember_968" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ForwardLoanSaleCommitmentsMember" xlink:label="loc_ubsi_ForwardLoanSaleCommitmentsMember_969" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_958" xlink:to="loc_ubsi_ForwardLoanSaleCommitmentsMember_969" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_959" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_952" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_959" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain_960" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_959" xlink:to="loc_us-gaap_HedgingRelationshipDomain_960" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain_960_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_959" xlink:to="loc_us-gaap_HedgingRelationshipDomain_960_default" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashFlowHedgingMember" xlink:label="loc_us-gaap_CashFlowHedgingMember_458915" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_960" xlink:to="loc_us-gaap_CashFlowHedgingMember_458915" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueHedgingMember" xlink:label="loc_us-gaap_FairValueHedgingMember_970" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_960" xlink:to="loc_us-gaap_FairValueHedgingMember_970" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_961" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_952" xlink:to="loc_us-gaap_FinancialInstrumentAxis_961" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_962" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_961" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_962" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_962_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_961" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_962_default" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TbaMortgageBackedSecuritiesMember" xlink:label="loc_ubsi_TbaMortgageBackedSecuritiesMember_971" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_962" xlink:to="loc_ubsi_TbaMortgageBackedSecuritiesMember_971" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestRateLockCommitmentsMember" xlink:label="loc_us-gaap_InterestRateLockCommitmentsMember_972" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_962" xlink:to="loc_us-gaap_InterestRateLockCommitmentsMember_972" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeGainLossOnDerivativeNet" xlink:label="loc_us-gaap_DerivativeGainLossOnDerivativeNet_973" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_963" xlink:to="loc_us-gaap_DerivativeGainLossOnDerivativeNet_973" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet" xlink:label="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet_974" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_963" xlink:to="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet_974" use="optional" order="29" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567570" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByBalanceSheetGroupingTable" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567565" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567570" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567565" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_567576" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567565" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_567576" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567578" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_567576" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567578" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567578_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_567576" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567578_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_567581" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567578" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_567581" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_567583" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567578" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_567583" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_567585" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567578" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_567585" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_567587" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567565" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_567587" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_569013" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_567587" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_569013" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_569013_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_567587" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_569013_default" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember" xlink:label="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_569019" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_569013" xlink:to="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_569019" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_569018" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_569013" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_569018" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_567603" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567565" xlink:to="loc_us-gaap_FinancialInstrumentAxis_567603" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567604" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_567603" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567604" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567604_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_567603" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567604_default" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesMember" xlink:label="loc_us-gaap_EquitySecuritiesMember_567607" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567604" xlink:to="loc_us-gaap_EquitySecuritiesMember_567607" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsAndFederalFundsSold" xlink:label="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_567612" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567570" xlink:to="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_567612" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecurities" xlink:label="loc_us-gaap_DebtSecurities_567613" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567570" xlink:to="loc_us-gaap_DebtSecurities_567613" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HeldToMaturitySecurities" xlink:label="loc_us-gaap_HeldToMaturitySecurities_567620" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567570" xlink:to="loc_us-gaap_HeldToMaturitySecurities_567620" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNi" xlink:label="loc_us-gaap_EquitySecuritiesFvNi_567621" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567570" xlink:to="loc_us-gaap_EquitySecuritiesFvNi_567621" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherInvestments" xlink:label="loc_us-gaap_OtherInvestments_567625" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567570" xlink:to="loc_us-gaap_OtherInvestments_567625" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_567626" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567570" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_567626" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndLeasesNetOfUnearnedIncome" xlink:label="loc_ubsi_LoansAndLeasesNetOfUnearnedIncome_567627" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567570" xlink:to="loc_ubsi_LoansAndLeasesNetOfUnearnedIncome_567627" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_567628" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567570" xlink:to="loc_us-gaap_DerivativeAssets_567628" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Deposits" xlink:label="loc_us-gaap_Deposits_567629" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567570" xlink:to="loc_us-gaap_Deposits_567629" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShorttermDebtFairValue" xlink:label="loc_us-gaap_ShorttermDebtFairValue_567630" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567570" xlink:to="loc_us-gaap_ShorttermDebtFairValue_567630" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtFairValue" xlink:label="loc_us-gaap_LongTermDebtFairValue_567632" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567570" xlink:to="loc_us-gaap_LongTermDebtFairValue_567632" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilities" xlink:label="loc_us-gaap_DerivativeLiabilities_567633" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567570" xlink:to="loc_us-gaap_DerivativeLiabilities_567633" use="optional" order="28" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueOnNonrecurringBasisDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567537" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByBalanceSheetGroupingTable" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567536" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567537" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567536" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_567538" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567536" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_567538" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_567539" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_567538" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_567539" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_567539_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_567538" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_567539_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsNonrecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsNonrecurringMember_567540" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_567539" xlink:to="loc_us-gaap_FairValueMeasurementsNonrecurringMember_567540" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_567738" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567536" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_567738" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567739" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_567738" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567739" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567739_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_567738" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567739_default" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_567741" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567739" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_567741" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_567742" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567739" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_567742" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_567744" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567739" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_567744" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ServicingRightsAxis" xlink:label="loc_ubsi_ServicingRightsAxis_828425" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567536" xlink:to="loc_ubsi_ServicingRightsAxis_828425" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ServicingRightsDomain" xlink:label="loc_ubsi_ServicingRightsDomain_828426" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ubsi_ServicingRightsAxis_828425" xlink:to="loc_ubsi_ServicingRightsDomain_828426" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ServicingRightsDomain" xlink:label="loc_ubsi_ServicingRightsDomain_828426_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ubsi_ServicingRightsAxis_828425" xlink:to="loc_ubsi_ServicingRightsDomain_828426_default" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancingReceivableIndividuallyEvaluatedForImpairmentGainLoss" xlink:label="loc_ubsi_FinancingReceivableIndividuallyEvaluatedForImpairmentGainLoss_827454" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567537" xlink:to="loc_ubsi_FinancingReceivableIndividuallyEvaluatedForImpairmentGainLoss_827454" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherRealEstateOwnedGainsLosses" xlink:label="loc_ubsi_OtherRealEstateOwnedGainsLosses_567546" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567537" xlink:to="loc_ubsi_OtherRealEstateOwnedGainsLosses_567546" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" xlink:label="loc_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment_827777" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567537" xlink:to="loc_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment_827777" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealEstateAcquiredThroughForeclosure" xlink:label="loc_us-gaap_RealEstateAcquiredThroughForeclosure_567553" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567537" xlink:to="loc_us-gaap_RealEstateAcquiredThroughForeclosure_567553" use="optional" order="18" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/FairValueMeasurementsScheduleOfChangesInFairValueIncludedInEarningsOfFinancialInstrumentsForWhichFairValueOptionHasBeenElectedDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueOptionQuantitativeDisclosuresLineItems" xlink:label="loc_us-gaap_FairValueOptionQuantitativeDisclosuresLineItems_567516" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable" xlink:label="loc_us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable_567515" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueOptionQuantitativeDisclosuresLineItems_567516" xlink:to="loc_us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable_567515" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SegmentTypeAxis" xlink:label="loc_ubsi_SegmentTypeAxis_567518" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable_567515" xlink:to="loc_ubsi_SegmentTypeAxis_567518" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SegmentTypeDomain" xlink:label="loc_ubsi_SegmentTypeDomain_567519" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ubsi_SegmentTypeAxis_567518" xlink:to="loc_ubsi_SegmentTypeDomain_567519" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SegmentTypeDomain" xlink:label="loc_ubsi_SegmentTypeDomain_567519_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ubsi_SegmentTypeAxis_567518" xlink:to="loc_ubsi_SegmentTypeDomain_567519_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MortgageBankingMember" xlink:label="loc_us-gaap_MortgageBankingMember_567520" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_SegmentTypeDomain_567519" xlink:to="loc_us-gaap_MortgageBankingMember_567520" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueOptionChangesInFairValueGainLoss1" xlink:label="loc_us-gaap_FairValueOptionChangesInFairValueGainLoss1_567521" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueOptionQuantitativeDisclosuresLineItems_567516" xlink:to="loc_us-gaap_FairValueOptionChangesInFairValueGainLoss1_567521" use="optional" order="6" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/FairValueMeasurementsScheduleOfAdditionalInformationAboutFinancialAssetsAndLiabilitiesMeasuredAtFairValueUtilizedLevel3Detail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567485" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByBalanceSheetGroupingTable" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567484" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567485" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567484" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_567486" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567484" xlink:to="loc_us-gaap_FinancialInstrumentAxis_567486" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567487" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_567486" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567487" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567487_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_567486" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567487_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansHeldForSaleMember" xlink:label="loc_ubsi_LoansHeldForSaleMember_567492" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567487" xlink:to="loc_ubsi_LoansHeldForSaleMember_567492" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DerivativeFinancialAssetsTbaSecuritiesMember" xlink:label="loc_ubsi_DerivativeFinancialAssetsTbaSecuritiesMember_1290929" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567487" xlink:to="loc_ubsi_DerivativeFinancialAssetsTbaSecuritiesMember_1290929" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ForwardContractsMember" xlink:label="loc_us-gaap_ForwardContractsMember_2147472324" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567487" xlink:to="loc_us-gaap_ForwardContractsMember_2147472324" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestRateLockCommitmentsMember" xlink:label="loc_us-gaap_InterestRateLockCommitmentsMember_567494" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567487" xlink:to="loc_us-gaap_InterestRateLockCommitmentsMember_567494" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DerivativeFinancialLiabilitiesTbaSecuritiesMember" xlink:label="loc_ubsi_DerivativeFinancialLiabilitiesTbaSecuritiesMember_1290933" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567487" xlink:to="loc_ubsi_DerivativeFinancialLiabilitiesTbaSecuritiesMember_1290933" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DerivativeFinancialLiabilitiesForwardSalesCommitmentsMember" xlink:label="loc_ubsi_DerivativeFinancialLiabilitiesForwardSalesCommitmentsMember_1290925" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567487" xlink:to="loc_ubsi_DerivativeFinancialLiabilitiesForwardSalesCommitmentsMember_1290925" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_567495" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567484" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_567495" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_567496" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_567495" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_567496" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_567496_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_567495" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_567496_default" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_567497" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_567496" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_567497" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_567499" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567485" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_567499" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetIssues" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetIssues_567506" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567485" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetIssues_567506" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales_567509" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567485" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales_567509" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet_567510" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567485" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet_567510" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1_567503" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567485" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1_567503" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_567511" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567485" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_567511" use="optional" order="20" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/FairValueMeasurementsScheduleOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567418" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByBalanceSheetGroupingTable" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567417" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567418" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567417" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_567419" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567417" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_567419" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567420" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_567419" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567420" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567420_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_567419" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567420_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_567421" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567420" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_567421" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_567422" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567420" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_567422" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_567423" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_567420" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_567423" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_567424" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567417" xlink:to="loc_us-gaap_InvestmentTypeAxis_567424" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_567426" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_567424" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_567426" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_567426_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_567424" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_567426_default" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityFundsMember" xlink:label="loc_us-gaap_EquityFundsMember_567427" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_567426" xlink:to="loc_us-gaap_EquityFundsMember_567427" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_567428" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567417" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_567428" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_567429" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_567428" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_567429" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_567429_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_567428" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_567429_default" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_567431" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567417" xlink:to="loc_us-gaap_FinancialInstrumentAxis_567431" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_567431" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_567431" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432_default" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember_567433" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" xlink:to="loc_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember_567433" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember" xlink:label="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_567434" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" xlink:to="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_567434" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialMortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_567435" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" xlink:to="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_567435" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialMortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_567443" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" xlink:to="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_567443" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_567444" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_567444" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SingleIssueTrustPreferredSecuritiesMember" xlink:label="loc_ubsi_SingleIssueTrustPreferredSecuritiesMember_567447" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" xlink:to="loc_ubsi_SingleIssueTrustPreferredSecuritiesMember_567447" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_567448" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_567448" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancialServicesIndustryMember" xlink:label="loc_ubsi_FinancialServicesIndustryMember_567449" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" xlink:to="loc_ubsi_FinancialServicesIndustryMember_567449" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_EquitySecuritiesFixedIncomeMutualFundsMember" xlink:label="loc_ubsi_EquitySecuritiesFixedIncomeMutualFundsMember_2147472576" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" xlink:to="loc_ubsi_EquitySecuritiesFixedIncomeMutualFundsMember_2147472576" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_595659" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" xlink:to="loc_us-gaap_InterestRateSwapMember_595659" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ForwardLoanSalesCommitmentsMember" xlink:label="loc_ubsi_ForwardLoanSalesCommitmentsMember_2021472021" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" xlink:to="loc_ubsi_ForwardLoanSalesCommitmentsMember_2021472021" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestRateLockCommitmentsMember" xlink:label="loc_us-gaap_InterestRateLockCommitmentsMember_567451" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" xlink:to="loc_us-gaap_InterestRateLockCommitmentsMember_567451" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TbaMortgageBackedSecuritiesMember" xlink:label="loc_ubsi_TbaMortgageBackedSecuritiesMember_567453" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_567432" xlink:to="loc_ubsi_TbaMortgageBackedSecuritiesMember_567453" use="optional" order="30" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_567455" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567417" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_567455" use="optional" order="31" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_567456" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_567455" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_567456" use="optional" order="32" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_567456_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_567455" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_567456_default" use="optional" order="33" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_567458" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_567456" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_567458" use="optional" order="34" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnderlyingAssetClassAxis" xlink:label="loc_us-gaap_UnderlyingAssetClassAxis_567459" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_567417" xlink:to="loc_us-gaap_UnderlyingAssetClassAxis_567459" use="optional" order="35" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnderlyingAssetClassDomain" xlink:label="loc_us-gaap_UnderlyingAssetClassDomain_567460" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_UnderlyingAssetClassAxis_567459" xlink:to="loc_us-gaap_UnderlyingAssetClassDomain_567460" use="optional" order="36" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnderlyingAssetClassDomain" xlink:label="loc_us-gaap_UnderlyingAssetClassDomain_567460_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_UnderlyingAssetClassAxis_567459" xlink:to="loc_us-gaap_UnderlyingAssetClassDomain_567460_default" use="optional" order="37" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AgencySecuritiesMember" xlink:label="loc_us-gaap_AgencySecuritiesMember_567461" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_UnderlyingAssetClassDomain_567460" xlink:to="loc_us-gaap_AgencySecuritiesMember_567461" use="optional" order="38" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonAgencySecuritiesMember" xlink:label="loc_ubsi_NonAgencySecuritiesMember_567464" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_UnderlyingAssetClassDomain_567460" xlink:to="loc_ubsi_NonAgencySecuritiesMember_567464" use="optional" order="39" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_567465" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567418" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_567465" use="optional" order="40" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent" xlink:label="loc_us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent_567467" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567418" xlink:to="loc_us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent_567467" use="optional" order="41" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_567470" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567418" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_567470" use="optional" order="42" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_567471" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567418" xlink:to="loc_us-gaap_DerivativeAssets_567471" use="optional" order="43" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilities" xlink:label="loc_us-gaap_DerivativeLiabilities_567472" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_567418" xlink:to="loc_us-gaap_DerivativeLiabilities_567472" use="optional" order="44" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/FairValueMeasurementsAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_984" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByBalanceSheetGroupingTable" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_977" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_984" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_977" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByAssetClassAxis" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_978" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_977" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_978" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_979" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_978" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_979" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_979_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_978" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_979_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansHeldForSaleMember" xlink:label="loc_ubsi_LoansHeldForSaleMember_985" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_979" xlink:to="loc_ubsi_LoansHeldForSaleMember_985" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DerivativesMember" xlink:label="loc_ubsi_DerivativesMember_986" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_979" xlink:to="loc_ubsi_DerivativesMember_986" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_980" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_977" xlink:to="loc_srt_RangeAxis_980" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_981" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_980" xlink:to="loc_srt_RangeMember_981" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_981_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_980" xlink:to="loc_srt_RangeMember_981_default" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_987" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_981" xlink:to="loc_srt_MinimumMember_987" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_988" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_981" xlink:to="loc_srt_MaximumMember_988" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_WeightedAverageMember" xlink:label="loc_srt_WeightedAverageMember_989" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_981" xlink:to="loc_srt_WeightedAverageMember_989" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_982" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_977" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_982" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_983" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_982" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_983" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_983_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_982" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_983_default" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_990" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_983" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_990" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ServicingRightsAxis" xlink:label="loc_ubsi_ServicingRightsAxis_827767" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_977" xlink:to="loc_ubsi_ServicingRightsAxis_827767" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ServicingRightsDomain" xlink:label="loc_ubsi_ServicingRightsDomain_827769" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ubsi_ServicingRightsAxis_827767" xlink:to="loc_ubsi_ServicingRightsDomain_827769" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ServicingRightsDomain" xlink:label="loc_ubsi_ServicingRightsDomain_827769_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ubsi_ServicingRightsAxis_827767" xlink:to="loc_ubsi_ServicingRightsDomain_827769_default" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancingLiabilitiesPeriodPastDueAxis" xlink:label="loc_ubsi_FinancingLiabilitiesPeriodPastDueAxis_2147472362" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_977" xlink:to="loc_ubsi_FinancingLiabilitiesPeriodPastDueAxis_2147472362" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancingLiabilitiesPeriodPastDueDomain" xlink:label="loc_ubsi_FinancingLiabilitiesPeriodPastDueDomain_2147472361" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ubsi_FinancingLiabilitiesPeriodPastDueAxis_2147472362" xlink:to="loc_ubsi_FinancingLiabilitiesPeriodPastDueDomain_2147472361" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancingLiabilitiesPeriodPastDueDomain" xlink:label="loc_ubsi_FinancingLiabilitiesPeriodPastDueDomain_2147472361_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ubsi_FinancingLiabilitiesPeriodPastDueAxis_2147472362" xlink:to="loc_ubsi_FinancingLiabilitiesPeriodPastDueDomain_2147472361_default" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SalesPriceOfLoansHeldForSaleIncreasePercentage" xlink:label="loc_ubsi_SalesPriceOfLoansHeldForSaleIncreasePercentage_991" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_984" xlink:to="loc_ubsi_SalesPriceOfLoansHeldForSaleIncreasePercentage_991" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FairValueAssetsLevelOneToLevelThreeTransfersAmount" xlink:label="loc_ubsi_FairValueAssetsLevelOneToLevelThreeTransfersAmount_992" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_984" xlink:to="loc_ubsi_FairValueAssetsLevelOneToLevelThreeTransfersAmount_992" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FairValueAssetsLevelThreeToLevelOneTransfersAmount" xlink:label="loc_ubsi_FairValueAssetsLevelThreeToLevelOneTransfersAmount_993" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_984" xlink:to="loc_ubsi_FairValueAssetsLevelThreeToLevelOneTransfersAmount_993" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FairValueAssetsLevelTwoToLevelThreeTransfersAmount" xlink:label="loc_ubsi_FairValueAssetsLevelTwoToLevelThreeTransfersAmount_994" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_984" xlink:to="loc_ubsi_FairValueAssetsLevelTwoToLevelThreeTransfersAmount_994" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FairValueAssetsLevelThreeToLevelTwoTransfersAmount" xlink:label="loc_ubsi_FairValueAssetsLevelThreeToLevelTwoTransfersAmount_995" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_984" xlink:to="loc_ubsi_FairValueAssetsLevelThreeToLevelTwoTransfersAmount_995" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FairValueLiabilitiesLevelOneToLevelThreeTransfersAmount" xlink:label="loc_ubsi_FairValueLiabilitiesLevelOneToLevelThreeTransfersAmount_996" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_984" xlink:to="loc_ubsi_FairValueLiabilitiesLevelOneToLevelThreeTransfersAmount_996" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FairValueLiabilitiesLevelThreeToLevelOneTransfersAmount" xlink:label="loc_ubsi_FairValueLiabilitiesLevelThreeToLevelOneTransfersAmount_997" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_984" xlink:to="loc_ubsi_FairValueLiabilitiesLevelThreeToLevelOneTransfersAmount_997" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FairValueLiabilitiesLevelTwoToLevelThreeTransfersAmount" xlink:label="loc_ubsi_FairValueLiabilitiesLevelTwoToLevelThreeTransfersAmount_998" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_984" xlink:to="loc_ubsi_FairValueLiabilitiesLevelTwoToLevelThreeTransfersAmount_998" use="optional" order="30" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FairValueLiabilitiesLevelThreeToLevelTwoTransfersAmount" xlink:label="loc_ubsi_FairValueLiabilitiesLevelThreeToLevelTwoTransfersAmount_999" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_984" xlink:to="loc_ubsi_FairValueLiabilitiesLevelThreeToLevelTwoTransfersAmount_999" use="optional" order="31" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure_1001" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_984" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure_1001" use="optional" order="32" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoansHeldForSaleFairValueDisclosure" xlink:label="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_2147472363" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_984" xlink:to="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_2147472363" use="optional" order="33" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/StockBasedCompensationAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1126" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1126" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_1127" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1126" xlink:to="loc_us-gaap_AwardTypeAxis_1127" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1128" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_1127" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1128" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1128_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_1127" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1128_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_1130" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1128" xlink:to="loc_us-gaap_RestrictedStockMember_1130" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_1291311" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1128" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_1291311" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_1310817" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1126" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_1310817" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_1310818" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_1310817" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_1310818" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_1310818_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_1310817" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_1310818_default" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_2137472106" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1126" xlink:to="loc_us-gaap_PlanNameAxis_2137472106" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_2136472106" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_2137472106" xlink:to="loc_us-gaap_PlanNameDomain_2136472106" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_2136472106_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_2137472106" xlink:to="loc_us-gaap_PlanNameDomain_2136472106_default" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_EquityIncentivePlanMember" xlink:label="loc_ubsi_EquityIncentivePlanMember_2134472104" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_2136472106" xlink:to="loc_ubsi_EquityIncentivePlanMember_2134472104" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TwoThousandAndTwentyFiveEquityIncentivePlanMember" xlink:label="loc_ubsi_TwoThousandAndTwentyFiveEquityIncentivePlanMember_2134472103" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_2136472106" xlink:to="loc_ubsi_TwoThousandAndTwentyFiveEquityIncentivePlanMember_2134472103" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_1131" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_1131" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_MaximumVestingAmountOfAwards" xlink:label="loc_ubsi_MaximumVestingAmountOfAwards_1138" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_ubsi_MaximumVestingAmountOfAwards_1138" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_567493" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_567493" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesAvailableGrantsInPeriod" xlink:label="loc_ubsi_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesAvailableGrantsInPeriod_567502" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_ubsi_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesAvailableGrantsInPeriod_567502" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_1139" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_1139" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_568303" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_568303" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_1140" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_1140" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_567454" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_567454" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_567457" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_567457" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_1141" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_1141" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_567466" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_567466" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_1142" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_1142" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_1143" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_1143" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_2132472103" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1129" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_2132472103" use="optional" order="28" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/StockBasedCompensationSummaryOfChangesToUnitedsRestrictedCommonSharesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1179" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1176" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1179" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1176" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_1177" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1176" xlink:to="loc_us-gaap_AwardTypeAxis_1177" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1178" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_1177" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1178" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1178_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_1177" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1178_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_1181" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1179" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_1181" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_1182" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1179" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_1182" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_1183" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1179" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_1183" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_1184" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1179" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_1184" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_1186" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1179" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_1186" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_1187" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1179" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_1187" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_1188" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1179" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_1188" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_1189" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1179" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_1189" use="optional" order="12" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/StockBasedCompensationSummaryOfStatusOfUnitedsNonvestedStockOptionAwardsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1291275" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1291272" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1291275" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1291272" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_1291273" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1291272" xlink:to="loc_us-gaap_StatementClassOfStockAxis_1291273" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_1291274" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1291273" xlink:to="loc_us-gaap_ClassOfStockDomain_1291274" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_1291274_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1291273" xlink:to="loc_us-gaap_ClassOfStockDomain_1291274_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_1291276" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1291272" xlink:to="loc_us-gaap_AwardTypeAxis_1291276" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1291277" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_1291276" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1291277" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1291277_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_1291276" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1291277_default" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_1291278" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1291277" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_1291278" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_1310825" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1291272" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_1310825" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1310826" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1310825" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1310826" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1310826_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1310825" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1310826_default" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares_1164" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1291275" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares_1164" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_1165" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1291275" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_1165" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares_1166" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1291275" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares_1166" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares_1167" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1291275" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares_1167" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue_1169" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1291275" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue_1169" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_1170" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1291275" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_1170" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue_1171" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1291275" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue_1171" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue_1172" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1291275" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue_1172" use="optional" order="19" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/EmployeeBenefitPlansAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_1196" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_1193" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_1196" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_1193" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis" xlink:label="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_1194" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_1193" xlink:to="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_1194" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanAssetCategoriesDomain" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_1197" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_1194" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_1197" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanAssetCategoriesDomain" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_1197_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_1194" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_1197_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_1195" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_1193" xlink:to="loc_srt_RangeAxis_1195" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_1198" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_1195" xlink:to="loc_srt_RangeMember_1198" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_1198_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_1195" xlink:to="loc_srt_RangeMember_1198_default" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax_1199" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_1196" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax_1199" use="optional" order="8" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/EmployeeBenefitPlansNetPeriodicPensionCostDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_1209" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_1206" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_1209" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_1206" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanNameAxis" xlink:label="loc_us-gaap_RetirementPlanNameAxis_1207" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_1206" xlink:to="loc_us-gaap_RetirementPlanNameAxis_1207" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanNameDomain" xlink:label="loc_us-gaap_RetirementPlanNameDomain_1208" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanNameAxis_1207" xlink:to="loc_us-gaap_RetirementPlanNameDomain_1208" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanNameDomain" xlink:label="loc_us-gaap_RetirementPlanNameDomain_1208_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanNameAxis_1207" xlink:to="loc_us-gaap_RetirementPlanNameDomain_1208_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PriorToAgeFortyMember" xlink:label="loc_ubsi_PriorToAgeFortyMember_829906" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_1208" xlink:to="loc_ubsi_PriorToAgeFortyMember_829906" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AgesfourtytofortynineMember" xlink:label="loc_ubsi_AgesfourtytofortynineMember_2122472096" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_1208" xlink:to="loc_ubsi_AgesfourtytofortynineMember_2122472096" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AgesFiftyToFiftyFourMember" xlink:label="loc_ubsi_AgesFiftyToFiftyFourMember_2121472096" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_1208" xlink:to="loc_ubsi_AgesFiftyToFiftyFourMember_2121472096" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AgesFiftyFiveToSixtyFourMember" xlink:label="loc_ubsi_AgesFiftyFiveToSixtyFourMember_2120472096" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_1208" xlink:to="loc_ubsi_AgesFiftyFiveToSixtyFourMember_2120472096" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanNameOtherMember" xlink:label="loc_us-gaap_RetirementPlanNameOtherMember_829891" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_1208" xlink:to="loc_us-gaap_RetirementPlanNameOtherMember_829891" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanServiceCost" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_1212" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_1209" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_1212" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanInterestCost" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_1213" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_1209" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_1213" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_1214" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_1209" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_1214" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanActuarialGainLossImmediateRecognitionAsComponentInNetPeriodicBenefitCostCredit" xlink:label="loc_us-gaap_DefinedBenefitPlanActuarialGainLossImmediateRecognitionAsComponentInNetPeriodicBenefitCostCredit_1216" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_1209" xlink:to="loc_us-gaap_DefinedBenefitPlanActuarialGainLossImmediateRecognitionAsComponentInNetPeriodicBenefitCostCredit_1216" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_1218" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_1209" xlink:to="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_1218" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract" xlink:label="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_1210" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_1209" xlink:to="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_1210" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_WeightedAverageAssumptionsDiscountRate" xlink:label="loc_ubsi_WeightedAverageAssumptionsDiscountRate_1219" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_1210" xlink:to="loc_ubsi_WeightedAverageAssumptionsDiscountRate_1219" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets_1220" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_1210" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets_1220" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease_1221" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_1210" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease_1221" use="optional" order="18" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/IncomeTaxesAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_IncomeTaxesLineItems" xlink:label="loc_ubsi_IncomeTaxesLineItems_1226" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_IncomeTaxesTable" xlink:label="loc_ubsi_IncomeTaxesTable_1224" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ubsi_IncomeTaxesLineItems_1226" xlink:to="loc_ubsi_IncomeTaxesTable_1224" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxAuthorityAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_1225" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ubsi_IncomeTaxesTable_1224" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_1225" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_1227" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_1225" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_1227" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_1227_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_1225" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_1227_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesAccrued" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesAccrued_567783" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_IncomeTaxesLineItems_1226" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesAccrued_567783" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_2041472038" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_IncomeTaxesLineItems_1226" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_2041472038" use="optional" order="6" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ComprehensiveIncomeComponentsOfAccumulatedOtherComprehensiveIncomeDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_1257" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_1252" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_1257" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_1252" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_1253" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_1252" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_1253" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_1254" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_1253" xlink:to="loc_us-gaap_EquityComponentDomain_1254" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_1254_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_1253" xlink:to="loc_us-gaap_EquityComponentDomain_1254_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember" xlink:label="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_1258" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_1254" xlink:to="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_1258" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_1260" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_1254" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_1260" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember" xlink:label="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_828875" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_1254" xlink:to="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_828875" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeAxis" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_1255" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_1252" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_1255" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_1256" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_1255" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_1256" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_1256_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_1255" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_1256_default" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_1261" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_1256" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_1261" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_1262" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_1257" xlink:to="loc_us-gaap_StockholdersEquity_1262" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent" xlink:label="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent_1264" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_1257" xlink:to="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent_1264" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent_1265" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_1257" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent_1265" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_1266" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_1257" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_1266" use="optional" order="15" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ComprehensiveIncomeReclassificationsOutOfAccumulatedOtherComprehensiveIncomeDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_1275" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_1270" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_1275" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_1270" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis_1271" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_1270" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis_1271" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_1272" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis_1271" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_1272" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_1272_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis_1271" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_1272_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember_1278" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_1272" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember_1278" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_1273" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_1270" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_1273" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_1274" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_1273" xlink:to="loc_us-gaap_EquityComponentDomain_1274" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_1274_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_1273" xlink:to="loc_us-gaap_EquityComponentDomain_1274_default" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember" xlink:label="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_1279" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_1274" xlink:to="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_1279" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember" xlink:label="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_827734" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_1274" xlink:to="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_827734" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract_1276" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_1275" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract_1276" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_2005472020" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract_1276" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_2005472020" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_1283" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract_1276" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_1283" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_1284" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract_1276" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_1284" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_1285" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract_1276" xlink:to="loc_us-gaap_NetIncomeLoss_1285" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxPortionAttributableToParentAbstract" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxPortionAttributableToParentAbstract_828798" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_1275" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxPortionAttributableToParentAbstract_828798" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax_828799" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxPortionAttributableToParentAbstract_828798" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax_828799" use="optional" order="17" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/EarningsPerShareAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_2024472022" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_2024472025" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_2024472022" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_2024472025" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_2023472022" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_2024472025" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_2023472022" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_2022472022" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_2023472022" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_2022472022" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_2022472022_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_2023472022" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_2022472022_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_EmployeeStockOptionAndRestrictedStockUnitsMember" xlink:label="loc_ubsi_EmployeeStockOptionAndRestrictedStockUnitsMember_2021472022" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_2022472022" xlink:to="loc_ubsi_EmployeeStockOptionAndRestrictedStockUnitsMember_2021472022" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AntidilutiveStockOptionsAndRestrictedStockOutstandingShares" xlink:label="loc_ubsi_AntidilutiveStockOptionsAndRestrictedStockOutstandingShares_2025472026" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_2024472022" xlink:to="loc_ubsi_AntidilutiveStockOptionsAndRestrictedStockOutstandingShares_2025472026" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_2024472026" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_2024472022" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_2024472026" use="optional" order="7" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/VariableInterestEntitiesAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharesSubjectToMandatoryRedemptionBySettlementTermsLineItems" xlink:label="loc_us-gaap_SharesSubjectToMandatoryRedemptionBySettlementTermsLineItems_2147472393" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionTable" xlink:label="loc_us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionTable_2147472395" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SharesSubjectToMandatoryRedemptionBySettlementTermsLineItems_2147472393" xlink:to="loc_us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionTable_2147472395" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_2030472026" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionTable_2147472395" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_2030472026" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_2029472026" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_2030472026" xlink:to="loc_us-gaap_RelatedPartyDomain_2029472026" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_2029472026_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_2030472026" xlink:to="loc_us-gaap_RelatedPartyDomain_2029472026_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_DirectorMember" xlink:label="loc_srt_DirectorMember_2028472026" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_2029472026" xlink:to="loc_srt_DirectorMember_2028472026" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2147472389" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionTable_2147472395" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2147472389" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472388" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2147472389" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472388" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472388_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2147472389" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472388_default" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnfundedLoanCommitmentMember" xlink:label="loc_us-gaap_UnfundedLoanCommitmentMember_2147472387" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2147472388" xlink:to="loc_us-gaap_UnfundedLoanCommitmentMember_2147472387" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionBySettlementTermsAxis" xlink:label="loc_us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionBySettlementTermsAxis_2147472392" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionTable_2147472395" xlink:to="loc_us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionBySettlementTermsAxis_2147472392" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharesSubjectToMandatoryRedemptionFinancialInstrumentDomain" xlink:label="loc_us-gaap_SharesSubjectToMandatoryRedemptionFinancialInstrumentDomain_2147472391" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionBySettlementTermsAxis_2147472392" xlink:to="loc_us-gaap_SharesSubjectToMandatoryRedemptionFinancialInstrumentDomain_2147472391" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharesSubjectToMandatoryRedemptionFinancialInstrumentDomain" xlink:label="loc_us-gaap_SharesSubjectToMandatoryRedemptionFinancialInstrumentDomain_2147472391_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionBySettlementTermsAxis_2147472392" xlink:to="loc_us-gaap_SharesSubjectToMandatoryRedemptionFinancialInstrumentDomain_2147472391_default" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TrustPreferredSecuritiesSubjectToMandatoryRedemptionMember" xlink:label="loc_us-gaap_TrustPreferredSecuritiesSubjectToMandatoryRedemptionMember_2147472390" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SharesSubjectToMandatoryRedemptionFinancialInstrumentDomain_2147472391" xlink:to="loc_us-gaap_TrustPreferredSecuritiesSubjectToMandatoryRedemptionMember_2147472390" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NumberOfStatutoryBusinessTrusts" xlink:label="loc_ubsi_NumberOfStatutoryBusinessTrusts_1302" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SharesSubjectToMandatoryRedemptionBySettlementTermsLineItems_2147472393" xlink:to="loc_ubsi_NumberOfStatutoryBusinessTrusts_1302" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableInterestEntityOwnershipPercentage" xlink:label="loc_us-gaap_VariableInterestEntityOwnershipPercentage_1303" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SharesSubjectToMandatoryRedemptionBySettlementTermsLineItems_2147472393" xlink:to="loc_us-gaap_VariableInterestEntityOwnershipPercentage_1303" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount" xlink:label="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_2147472396" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SharesSubjectToMandatoryRedemptionBySettlementTermsLineItems_2147472393" xlink:to="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_2147472396" use="optional" order="16" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/VariableInterestEntitiesInformationRelatedToStatutoryTrustsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableInterestEntityLineItems" xlink:label="loc_us-gaap_VariableInterestEntityLineItems_1310" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfVariableInterestEntitiesTable" xlink:label="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_1306" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_1310" xlink:to="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_1306" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_1307" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_1306" xlink:to="loc_us-gaap_StatementClassOfStockAxis_1307" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_1311" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1307" xlink:to="loc_us-gaap_ClassOfStockDomain_1311" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_1311_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1307" xlink:to="loc_us-gaap_ClassOfStockDomain_1311_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_1308" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_1306" xlink:to="loc_us-gaap_DebtInstrumentAxis_1308" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_1309" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_1308" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_1309" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_1309_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_1308" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_1309_default" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_UnitedStatutoryTrustIiiMember" xlink:label="loc_ubsi_UnitedStatutoryTrustIiiMember_1312" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_UnitedStatutoryTrustIiiMember_1312" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_UnitedStatutoryTrustIvMember" xlink:label="loc_ubsi_UnitedStatutoryTrustIvMember_1313" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_UnitedStatutoryTrustIvMember_1313" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_UnitedStatutoryTrustVMember" xlink:label="loc_ubsi_UnitedStatutoryTrustVMember_1314" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_UnitedStatutoryTrustVMember_1314" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_UnitedStatutoryTrustViMember" xlink:label="loc_ubsi_UnitedStatutoryTrustViMember_1315" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_UnitedStatutoryTrustViMember_1315" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PremierStatutoryTrustIiMember" xlink:label="loc_ubsi_PremierStatutoryTrustIiMember_1316" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_PremierStatutoryTrustIiMember_1316" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PremierStatutoryTrustIiiMember" xlink:label="loc_ubsi_PremierStatutoryTrustIiiMember_1317" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_PremierStatutoryTrustIiiMember_1317" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PremierStatutoryTrustIvMember" xlink:label="loc_ubsi_PremierStatutoryTrustIvMember_1318" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_PremierStatutoryTrustIvMember_1318" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PremierStatutoryTrustVMember" xlink:label="loc_ubsi_PremierStatutoryTrustVMember_1319" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_PremierStatutoryTrustVMember_1319" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CentraStatutoryTrustIMember" xlink:label="loc_ubsi_CentraStatutoryTrustIMember_1320" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_CentraStatutoryTrustIMember_1320" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CentraStatutoryTrustIiMember" xlink:label="loc_ubsi_CentraStatutoryTrustIiMember_1321" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_CentraStatutoryTrustIiMember_1321" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_VCBICapitalTrustIIMember" xlink:label="loc_ubsi_VCBICapitalTrustIIMember_1322" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_VCBICapitalTrustIIMember_1322" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_VCBICapitalTrustIIIMember" xlink:label="loc_ubsi_VCBICapitalTrustIIIMember_1323" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_VCBICapitalTrustIIIMember_1323" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CardinalStatutoryTrustIMember" xlink:label="loc_ubsi_CardinalStatutoryTrustIMember_1324" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_CardinalStatutoryTrustIMember_1324" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_UFBCCapitalTrustIMember" xlink:label="loc_ubsi_UFBCCapitalTrustIMember_1325" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_UFBCCapitalTrustIMember_1325" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CarolinaFinancialCapitalTrustIMember" xlink:label="loc_ubsi_CarolinaFinancialCapitalTrustIMember_2050472039" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_CarolinaFinancialCapitalTrustIMember_2050472039" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CarolinaFinancialCapitalTrustIiMember" xlink:label="loc_ubsi_CarolinaFinancialCapitalTrustIiMember_2049472039" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_CarolinaFinancialCapitalTrustIiMember_2049472039" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_GreerCapitalTrustIMember" xlink:label="loc_ubsi_GreerCapitalTrustIMember_2048472039" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_GreerCapitalTrustIMember_2048472039" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_GreerCapitalTrustIiMember" xlink:label="loc_ubsi_GreerCapitalTrustIiMember_2047472039" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_GreerCapitalTrustIiMember_2047472039" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FirstSouthPreferredTrustIMember" xlink:label="loc_ubsi_FirstSouthPreferredTrustIMember_2046472039" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_FirstSouthPreferredTrustIMember_2046472039" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BOEStatutoryTrustIMember" xlink:label="loc_ubsi_BOEStatutoryTrustIMember_2046472038" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1309" xlink:to="loc_ubsi_BOEStatutoryTrustIMember_2046472038" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentIssuanceDate1" xlink:label="loc_us-gaap_DebtInstrumentIssuanceDate1_1326" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_1310" xlink:to="loc_us-gaap_DebtInstrumentIssuanceDate1_1326" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust" xlink:label="loc_us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust_1327" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_1310" xlink:to="loc_us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust_1327" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityInterestRateDescription" xlink:label="loc_us-gaap_LineOfCreditFacilityInterestRateDescription_1328" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_1310" xlink:to="loc_us-gaap_LineOfCreditFacilityInterestRateDescription_1328" use="optional" order="30" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentMaturityDate" xlink:label="loc_us-gaap_DebtInstrumentMaturityDate_1329" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_1310" xlink:to="loc_us-gaap_DebtInstrumentMaturityDate_1329" use="optional" order="31" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/SegmentInformationAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_1991472012" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NumberOfReportableSegments" xlink:label="loc_us-gaap_NumberOfReportableSegments_567332" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1991472012" xlink:to="loc_us-gaap_NumberOfReportableSegments_567332" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_1992472012" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1991472012" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_1992472012" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_1990472012" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_1992472012" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_1990472012" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_1989472012" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_1990472012" xlink:to="loc_us-gaap_SegmentDomain_1989472012" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_1989472012_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_1990472012" xlink:to="loc_us-gaap_SegmentDomain_1989472012_default" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SingleReportableSegmentMember" xlink:label="loc_ubsi_SingleReportableSegmentMember_1989472011" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_1989472012" xlink:to="loc_ubsi_SingleReportableSegmentMember_1989472011" use="optional" order="6" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/SegmentInformationSummaryOfCommunityBankingSegmentInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_1350" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_1345" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_1345" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsAxis" xlink:label="loc_srt_ConsolidationItemsAxis_1346" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_1345" xlink:to="loc_srt_ConsolidationItemsAxis_1346" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_1347" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_1346" xlink:to="loc_srt_ConsolidationItemsDomain_1347" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_1347_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_1346" xlink:to="loc_srt_ConsolidationItemsDomain_1347_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingSegmentsMember" xlink:label="loc_us-gaap_OperatingSegmentsMember_1351" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_1347" xlink:to="loc_us-gaap_OperatingSegmentsMember_1351" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SegmentTypeAxis" xlink:label="loc_ubsi_SegmentTypeAxis_1348" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_1345" xlink:to="loc_ubsi_SegmentTypeAxis_1348" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SegmentTypeDomain" xlink:label="loc_ubsi_SegmentTypeDomain_1349" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ubsi_SegmentTypeAxis_1348" xlink:to="loc_ubsi_SegmentTypeDomain_1349" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SegmentTypeDomain" xlink:label="loc_ubsi_SegmentTypeDomain_1349_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ubsi_SegmentTypeAxis_1348" xlink:to="loc_ubsi_SegmentTypeDomain_1349_default" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CommunityBankingMember" xlink:label="loc_ubsi_CommunityBankingMember_1354" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_SegmentTypeDomain_1349" xlink:to="loc_ubsi_CommunityBankingMember_1354" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseNet" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_1356" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_1356" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_1357" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_1357" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncome" xlink:label="loc_us-gaap_NoninterestIncome_1358" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_NoninterestIncome_1358" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SalariesWagesAndOfficersCompensation" xlink:label="loc_us-gaap_SalariesWagesAndOfficersCompensation_2147472189" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_SalariesWagesAndOfficersCompensation_2147472189" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionAndOtherPostretirementBenefitExpense" xlink:label="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense_2147472188" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense_2147472188" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OccupancyNet" xlink:label="loc_us-gaap_OccupancyNet_2147472187" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_OccupancyNet_2147472187" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherRealEstateOwnedExpense" xlink:label="loc_ubsi_OtherRealEstateOwnedExpense_2147472186" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_ubsi_OtherRealEstateOwnedExpense_2147472186" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainsLossesOnSalesOfOtherRealEstate" xlink:label="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_2147472185" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_2147472185" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquipmentExpense" xlink:label="loc_us-gaap_EquipmentExpense_2147472184" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_EquipmentExpense_2147472184" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InformationTechnologyAndDataProcessing" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing_2147472183" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_InformationTechnologyAndDataProcessing_2147472183" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BankcardProcessingExpense" xlink:label="loc_ubsi_BankcardProcessingExpense_2147472181" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_ubsi_BankcardProcessingExpense_2147472181" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FederalDepositInsuranceCorporationPremiumExpense" xlink:label="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_2147472180" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_2147472180" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNonoperatingExpense" xlink:label="loc_us-gaap_OtherNonoperatingExpense_2147472178" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_OtherNonoperatingExpense_2147472178" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NonoperatingIncomeExpense" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_2147472177" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_2147472177" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2147472114" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2147472114" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_1360" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_1360" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_2147472176" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_ProfitLoss_2147472176" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AdjustmentsAndReconcilingItemsOfProfitOrLoss" xlink:label="loc_ubsi_AdjustmentsAndReconcilingItemsOfProfitOrLoss_2147472175" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_ubsi_AdjustmentsAndReconcilingItemsOfProfitOrLoss_2147472175" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_2147472174" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1350" xlink:to="loc_us-gaap_NetIncomeLoss_2147472174" use="optional" order="28" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/SegmentInformationSummaryOfCommunityBankingSegmentTotalAssetsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_1994472017" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_2001472017" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1994472017" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_2001472017" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsAxis" xlink:label="loc_srt_ConsolidationItemsAxis_2000472017" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_2001472017" xlink:to="loc_srt_ConsolidationItemsAxis_2000472017" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_1999472017" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_2000472017" xlink:to="loc_srt_ConsolidationItemsDomain_1999472017" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_1999472017_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_2000472017" xlink:to="loc_srt_ConsolidationItemsDomain_1999472017_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingSegmentsMember" xlink:label="loc_us-gaap_OperatingSegmentsMember_1998472017" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_1999472017" xlink:to="loc_us-gaap_OperatingSegmentsMember_1998472017" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SegmentTypeAxis" xlink:label="loc_ubsi_SegmentTypeAxis_1997472017" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_2001472017" xlink:to="loc_ubsi_SegmentTypeAxis_1997472017" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SegmentTypeDomain" xlink:label="loc_ubsi_SegmentTypeDomain_1996472017" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ubsi_SegmentTypeAxis_1997472017" xlink:to="loc_ubsi_SegmentTypeDomain_1996472017" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SegmentTypeDomain" xlink:label="loc_ubsi_SegmentTypeDomain_1996472017_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ubsi_SegmentTypeAxis_1997472017" xlink:to="loc_ubsi_SegmentTypeDomain_1996472017_default" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CommunityBankingMember" xlink:label="loc_ubsi_CommunityBankingMember_1995472017" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_SegmentTypeDomain_1996472017" xlink:to="loc_ubsi_CommunityBankingMember_1995472017" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_2008472020" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_1994472017" xlink:to="loc_us-gaap_Assets_2008472020" use="optional" order="10" />
        </link:definitionLink>
        <link:arcroleRef arcroleURI="https://xbrl.org/2023/arcrole/summation-item" xlink:type="simple" xlink:href="https://www.xbrl.org/2023/calculation-1.1.xsd#summation-item"  />
        <link:calculationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ComprehensiveIncomeComponentsOfAccumulatedOtherComprehensiveIncomeDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent" use="optional" order="1" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent" xlink:label="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:to="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent" use="optional" order="2" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ComprehensiveIncomeComponentsOfTotalComprehensiveIncomeDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax" use="optional" order="1" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax" use="optional" order="2" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" use="optional" order="3" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" use="optional" order="4" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ConsolidatedStatementsOfCashFlows" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities" use="optional" order="1" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDividends" xlink:label="loc_us-gaap_PaymentsOfDividends" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaap_PaymentsOfDividends" use="optional" order="2" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInDeposits" xlink:label="loc_us-gaap_IncreaseDecreaseInDeposits" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaap_IncreaseDecreaseInDeposits" use="optional" order="3" weight="1" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_IncreaseDecreaseInFederalFundsPurchasedSecuritiesSoldUnderAgreementsToRepurchaseAndOtherShortTermBorrowingsNet" xlink:label="loc_UBSI_IncreaseDecreaseInFederalFundsPurchasedSecuritiesSoldUnderAgreementsToRepurchaseAndOtherShortTermBorrowingsNet" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="loc_UBSI_IncreaseDecreaseInFederalFundsPurchasedSecuritiesSoldUnderAgreementsToRepurchaseAndOtherShortTermBorrowingsNet" use="optional" order="4" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings" xlink:label="loc_us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings" use="optional" order="5" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromStockOptionsExercised" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised" use="optional" order="6" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock" use="optional" order="7" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" use="optional" order="8" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" use="optional" order="9" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForProceedsFromLoansAndLeases" xlink:label="loc_us-gaap_PaymentsForProceedsFromLoansAndLeases" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaap_PaymentsForProceedsFromLoansAndLeases" use="optional" order="10" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireMarketableSecurities" xlink:label="loc_us-gaap_PaymentsToAcquireMarketableSecurities" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaap_PaymentsToAcquireMarketableSecurities" use="optional" order="11" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ProceedsFromBankOwnedLifeInsuranceDeathBenefits" xlink:label="loc_UBSI_ProceedsFromBankOwnedLifeInsuranceDeathBenefits" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_UBSI_ProceedsFromBankOwnedLifeInsuranceDeathBenefits" use="optional" order="12" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAcquiredFromAcquisition" xlink:label="loc_us-gaap_CashAcquiredFromAcquisition" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaap_CashAcquiredFromAcquisition" use="optional" order="13" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfOtherRealEstate" xlink:label="loc_us-gaap_ProceedsFromSaleOfOtherRealEstate" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaap_ProceedsFromSaleOfOtherRealEstate" use="optional" order="14" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" use="optional" order="15" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" use="optional" order="16" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities" use="optional" order="17" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments" use="optional" order="18" weight="1" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PaymentsToAcquireEquitySecurities" xlink:label="loc_UBSI_PaymentsToAcquireEquitySecurities" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_UBSI_PaymentsToAcquireEquitySecurities" use="optional" order="19" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ProceedsFromSalesOfEquitySecurities" xlink:label="loc_UBSI_ProceedsFromSalesOfEquitySecurities" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_UBSI_ProceedsFromSalesOfEquitySecurities" use="optional" order="20" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" use="optional" order="21" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities" use="optional" order="22" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ConsolidatedBalanceSheets" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="loc_us-gaap_StockholdersEquity" use="optional" order="1" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockValue" xlink:label="loc_us-gaap_TreasuryStockValue" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity" xlink:to="loc_us-gaap_TreasuryStockValue" use="optional" order="2" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" use="optional" order="3" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit" use="optional" order="4" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapitalCommonStock" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock" use="optional" order="5" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity" xlink:to="loc_us-gaap_CommonStockValue" use="optional" order="6" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PreferredStockValue" xlink:label="loc_us-gaap_PreferredStockValue" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity" xlink:to="loc_us-gaap_PreferredStockValue" use="optional" order="7" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="loc_us-gaap_Liabilities" use="optional" order="8" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities" xlink:label="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities" xlink:to="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities" use="optional" order="9" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaap_OperatingLeaseLiability" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities" xlink:to="loc_us-gaap_OperatingLeaseLiability" use="optional" order="10" weight="1" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ReserveForLendingRelatedCommitments" xlink:label="loc_UBSI_ReserveForLendingRelatedCommitments" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities" xlink:to="loc_UBSI_ReserveForLendingRelatedCommitments" use="optional" order="11" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLongTermDebt" xlink:label="loc_us-gaap_OtherLongTermDebt" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities" xlink:to="loc_us-gaap_OtherLongTermDebt" use="optional" order="12" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdvancesFromFederalHomeLoanBanks" xlink:label="loc_us-gaap_AdvancesFromFederalHomeLoanBanks" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities" xlink:to="loc_us-gaap_AdvancesFromFederalHomeLoanBanks" use="optional" order="13" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchase" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase" use="optional" order="14" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Deposits" xlink:label="loc_us-gaap_Deposits" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities" xlink:to="loc_us-gaap_Deposits" use="optional" order="15" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestBearingDepositLiabilities" xlink:label="loc_us-gaap_InterestBearingDepositLiabilities" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits" xlink:to="loc_us-gaap_InterestBearingDepositLiabilities" use="optional" order="16" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestBearingDepositLiabilities" xlink:label="loc_us-gaap_NoninterestBearingDepositLiabilities" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilities" use="optional" order="17" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ConsolidatedBalanceSheets" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BankOwnedLifeInsurance" xlink:label="loc_us-gaap_BankOwnedLifeInsurance" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets" xlink:to="loc_us-gaap_BankOwnedLifeInsurance" use="optional" order="18" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssets" xlink:label="loc_us-gaap_OtherAssets" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets" xlink:to="loc_us-gaap_OtherAssets" use="optional" order="19" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss" xlink:label="loc_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets" xlink:to="loc_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss" use="optional" order="20" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets" xlink:to="loc_us-gaap_Goodwill" use="optional" order="21" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset" use="optional" order="22" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet" use="optional" order="23" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup" use="optional" order="24" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherInvestments" xlink:label="loc_us-gaap_OtherInvestments" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets" xlink:to="loc_us-gaap_OtherInvestments" use="optional" order="25" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent" xlink:label="loc_us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets" xlink:to="loc_us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent" use="optional" order="26" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HeldToMaturitySecurities" xlink:label="loc_us-gaap_HeldToMaturitySecurities" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets" xlink:to="loc_us-gaap_HeldToMaturitySecurities" use="optional" order="27" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecurities" xlink:label="loc_us-gaap_DebtSecurities" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets" xlink:to="loc_us-gaap_DebtSecurities" use="optional" order="28" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NotesReceivableNet" xlink:label="loc_us-gaap_NotesReceivableNet" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets" xlink:to="loc_us-gaap_NotesReceivableNet" use="optional" order="29" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableNet" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses" use="optional" order="30" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancingReceivableNetOfDeferredIncome" xlink:label="loc_UBSI_FinancingReceivableNetOfDeferredIncome" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableNet" xlink:to="loc_UBSI_FinancingReceivableNetOfDeferredIncome" use="optional" order="31" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableDeferredIncome" xlink:label="loc_us-gaap_FinancingReceivableDeferredIncome" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_UBSI_FinancingReceivableNetOfDeferredIncome" xlink:to="loc_us-gaap_FinancingReceivableDeferredIncome" use="optional" order="32" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NotesReceivableGross" xlink:label="loc_us-gaap_NotesReceivableGross" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_UBSI_FinancingReceivableNetOfDeferredIncome" xlink:to="loc_us-gaap_NotesReceivableGross" use="optional" order="33" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsAndFederalFundsSold" xlink:label="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets" xlink:to="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold" use="optional" order="34" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FederalFundsSold" xlink:label="loc_us-gaap_FederalFundsSold" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold" xlink:to="loc_us-gaap_FederalFundsSold" use="optional" order="35" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestBearingDepositsInBanks" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks" use="optional" order="36" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndDueFromBanks" xlink:label="loc_us-gaap_CashAndDueFromBanks" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold" xlink:to="loc_us-gaap_CashAndDueFromBanks" use="optional" order="37" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ConsolidatedStatementOfChangesInShareholdersEquity" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" use="optional" order="1" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax" xlink:to="loc_us-gaap_NetIncomeLoss" use="optional" order="2" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ConsolidatedStatementsOfComprehensiveIncome" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTaxParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTaxParent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTaxParent" use="optional" order="1" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" use="optional" order="2" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax" xlink:to="loc_us-gaap_NetIncomeLoss" use="optional" order="3" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ConsolidatedStatementsOfIncome" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit" use="optional" order="1" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" use="optional" order="2" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestExpense" xlink:label="loc_us-gaap_NoninterestExpense" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="loc_us-gaap_NoninterestExpense" use="optional" order="3" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainsLossesOnSalesOfOtherRealEstate" xlink:label="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense" xlink:to="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate" use="optional" order="4" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNoninterestExpense" xlink:label="loc_us-gaap_OtherNoninterestExpense" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense" xlink:to="loc_us-gaap_OtherNoninterestExpense" use="optional" order="5" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FederalDepositInsuranceCorporationPremiumExpense" xlink:label="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense" xlink:to="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense" use="optional" order="6" weight="1" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BankcardProcessingExpense" xlink:label="loc_UBSI_BankcardProcessingExpense" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense" xlink:to="loc_UBSI_BankcardProcessingExpense" use="optional" order="7" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InformationTechnologyAndDataProcessing" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense" xlink:to="loc_us-gaap_InformationTechnologyAndDataProcessing" use="optional" order="8" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquipmentExpense" xlink:label="loc_us-gaap_EquipmentExpense" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense" xlink:to="loc_us-gaap_EquipmentExpense" use="optional" order="9" weight="1" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherRealEstateOwnedExpense" xlink:label="loc_UBSI_OtherRealEstateOwnedExpense" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense" xlink:to="loc_UBSI_OtherRealEstateOwnedExpense" use="optional" order="10" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OccupancyNet" xlink:label="loc_us-gaap_OccupancyNet" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense" xlink:to="loc_us-gaap_OccupancyNet" use="optional" order="11" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionAndOtherPostretirementBenefitExpense" xlink:label="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense" xlink:to="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense" use="optional" order="12" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SalariesWagesAndOfficersCompensation" xlink:label="loc_us-gaap_SalariesWagesAndOfficersCompensation" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense" xlink:to="loc_us-gaap_SalariesWagesAndOfficersCompensation" use="optional" order="13" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncome" xlink:label="loc_us-gaap_NoninterestIncome" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="loc_us-gaap_NoninterestIncome" use="optional" order="14" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome" use="optional" order="15" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnInvestments" xlink:label="loc_us-gaap_GainLossOnInvestments" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome" xlink:to="loc_us-gaap_GainLossOnInvestments" use="optional" order="16" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BankOwnedLifeInsuranceIncome" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome" use="optional" order="17" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" use="optional" order="18" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" use="optional" order="19" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses" use="optional" order="20" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseNet" xlink:label="loc_us-gaap_InterestIncomeExpenseNet" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:to="loc_us-gaap_InterestIncomeExpenseNet" use="optional" order="21" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseOperating" xlink:label="loc_us-gaap_InterestExpenseOperating" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet" xlink:to="loc_us-gaap_InterestExpenseOperating" use="optional" order="22" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseLongTermDebt" xlink:label="loc_us-gaap_InterestExpenseLongTermDebt" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating" xlink:to="loc_us-gaap_InterestExpenseLongTermDebt" use="optional" order="23" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseShortTermBorrowings" xlink:label="loc_us-gaap_InterestExpenseShortTermBorrowings" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating" xlink:to="loc_us-gaap_InterestExpenseShortTermBorrowings" use="optional" order="24" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseDeposits" xlink:label="loc_us-gaap_InterestExpenseDeposits" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating" xlink:to="loc_us-gaap_InterestExpenseDeposits" use="optional" order="25" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndDividendIncomeOperating" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating" use="optional" order="26" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeases" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases" use="optional" order="27" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeSecuritiesTaxExempt" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxExempt" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxExempt" use="optional" order="28" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeSecuritiesTaxable" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxable" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxable" use="optional" order="29" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResell" xlink:label="loc_us-gaap_InterestIncomeFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResell" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating" xlink:to="loc_us-gaap_InterestIncomeFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResell" use="optional" order="30" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/DerivativeFinancialInstrumentsScheduleOfNotionalAmountAndFairValueDerivativeFinancialInstrumentsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilities" xlink:label="loc_us-gaap_DerivativeLiabilities" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue" xlink:label="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities" xlink:to="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue" use="optional" order="1" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/DerivativeFinancialInstrumentsScheduleOfNotionalAmountAndFairValueDerivativeFinancialInstrumentsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue" xlink:label="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets" xlink:to="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue" use="optional" order="2" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilityNotionalAmount" xlink:label="loc_us-gaap_DerivativeLiabilityNotionalAmount" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets" xlink:to="loc_us-gaap_DerivativeLiabilityNotionalAmount" use="optional" order="3" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue" xlink:label="loc_us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets" xlink:to="loc_us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue" use="optional" order="4" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssetNotionalAmount" xlink:label="loc_us-gaap_DerivativeAssetNotionalAmount" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets" xlink:to="loc_us-gaap_DerivativeAssetNotionalAmount" use="optional" order="5" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/EarningsPerShareReconciliationOfNumeratorAndDenominatorOfBasicEarningsPerShareWithThatOfDilutedEarningsPerShareDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment" use="optional" order="1" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" use="optional" order="2" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/EarningsPerShareReconciliationOfNumeratorAndDenominatorOfBasicEarningsPerShareWithThatOfDilutedEarningsPerShareDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_UndistributedEarningsAllocatedToCommonStockholders" xlink:label="loc_UBSI_UndistributedEarningsAllocatedToCommonStockholders" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:to="loc_UBSI_UndistributedEarningsAllocatedToCommonStockholders" use="optional" order="3" weight="1" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DistributedEarningsAllocatedToCommonStock" xlink:label="loc_UBSI_DistributedEarningsAllocatedToCommonStock" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:to="loc_UBSI_DistributedEarningsAllocatedToCommonStock" use="optional" order="4" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/EmployeeBenefitPlansNetPeriodicPensionCostDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets" use="optional" order="1" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanInterestCost" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost" use="optional" order="2" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanServiceCost" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost" use="optional" order="3" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/InvestmentSecuritiesSummaryOfEquitySecuritiesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNiUnrealizedLoss" xlink:label="loc_us-gaap_EquitySecuritiesFvNiUnrealizedLoss" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax" xlink:to="loc_us-gaap_EquitySecuritiesFvNiUnrealizedLoss" use="optional" order="1" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNiUnrealizedGain" xlink:label="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGain" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax" xlink:to="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGain" use="optional" order="2" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss" use="optional" order="3" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/InvestmentSecuritiesSummaryOfMaturitiesOfSecuritiesAvailableForSaleByAmortizedCostAndEstimatedFairValueDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecurities" xlink:label="loc_us-gaap_DebtSecurities" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecurities" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" use="optional" order="1" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecurities" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" use="optional" order="2" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecurities" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" use="optional" order="3" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecurities" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" use="optional" order="4" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/InvestmentSecuritiesSummaryOfMaturitiesOfSecuritiesAvailableForSaleByAmortizedCostAndEstimatedFairValueDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost" use="optional" order="5" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost" use="optional" order="6" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost" use="optional" order="7" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost" use="optional" order="8" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/LeasesComponentsOfLeaseExpenseDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeaseCost" xlink:label="loc_us-gaap_LeaseCost" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubleaseIncome" xlink:label="loc_us-gaap_SubleaseIncome" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost" xlink:to="loc_us-gaap_SubleaseIncome" use="optional" order="1" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseCost" xlink:label="loc_us-gaap_OperatingLeaseCost" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost" xlink:to="loc_us-gaap_OperatingLeaseCost" use="optional" order="2" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/LeasesMaturitiesOfLeaseLiabilitiesByYearDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive" use="optional" order="1" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive" use="optional" order="2" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour" use="optional" order="3" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree" use="optional" order="4" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo" use="optional" order="5" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths" use="optional" order="6" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/LoansAndLeasesMajorClassesOfLoansAndLeasesDetail" >
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndLeasesNetOfUnearnedIncome" xlink:label="loc_UBSI_LoansAndLeasesNetOfUnearnedIncome" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndLeasesReceivableConstructionAndLandDevelopmentConsumer" xlink:label="loc_UBSI_LoansAndLeasesReceivableConstructionAndLandDevelopmentConsumer" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_UBSI_LoansAndLeasesNetOfUnearnedIncome" xlink:to="loc_UBSI_LoansAndLeasesReceivableConstructionAndLandDevelopmentConsumer" use="optional" order="1" weight="1" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoanAndLeasesUnearnedIncome" xlink:label="loc_UBSI_LoanAndLeasesUnearnedIncome" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_UBSI_LoansAndLeasesNetOfUnearnedIncome" xlink:to="loc_UBSI_LoanAndLeasesUnearnedIncome" use="optional" order="2" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndFinanceReceivablesThroughOtherCustomers" xlink:label="loc_UBSI_LoansAndFinanceReceivablesThroughOtherCustomers" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_UBSI_LoansAndLeasesNetOfUnearnedIncome" xlink:to="loc_UBSI_LoansAndFinanceReceivablesThroughOtherCustomers" use="optional" order="3" weight="1" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndFinanceReceivablesThroughCreditCards" xlink:label="loc_UBSI_LoansAndFinanceReceivablesThroughCreditCards" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_UBSI_LoansAndLeasesNetOfUnearnedIncome" xlink:to="loc_UBSI_LoansAndFinanceReceivablesThroughCreditCards" use="optional" order="4" weight="1" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndLeasesReceivableResidentialRealEstate" xlink:label="loc_UBSI_LoansAndLeasesReceivableResidentialRealEstate" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_UBSI_LoansAndLeasesNetOfUnearnedIncome" xlink:to="loc_UBSI_LoansAndLeasesReceivableResidentialRealEstate" use="optional" order="5" weight="1" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndFinanceReceivablesGross" xlink:label="loc_UBSI_LoansAndFinanceReceivablesGross" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_UBSI_LoansAndLeasesNetOfUnearnedIncome" xlink:to="loc_UBSI_LoansAndFinanceReceivablesGross" use="optional" order="6" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/AllowanceForCreditLossesScheduleOfCreditLossesRelatedToAccruedInterestReceivablesAndWrittenOffDetail" >
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AccruedInterestReceivableLoansNetOfAllowance" xlink:label="loc_UBSI_AccruedInterestReceivableLoansNetOfAllowance" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AccruedInterestReceivableLoans" xlink:label="loc_UBSI_AccruedInterestReceivableLoans" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_UBSI_AccruedInterestReceivableLoansNetOfAllowance" xlink:to="loc_UBSI_AccruedInterestReceivableLoans" use="optional" order="1" weight="1" />
        </link:calculationLink>
        <link:labelLink xlink:type="extended" xlink:role="http://www.xbrl.org/2003/role/link" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_CoverAbstract" xlink:label="loc_dei_CoverAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_CoverAbstract" xml:lang="en-US">Cover [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_CoverAbstract" xlink:to="lab_dei_CoverAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_DocumentType" xlink:label="loc_dei_DocumentType" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_DocumentType" xml:lang="en-US">Document Type</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentType" xlink:to="lab_dei_DocumentType" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_DocumentQuarterlyReport" xlink:label="loc_dei_DocumentQuarterlyReport" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_DocumentQuarterlyReport" xml:lang="en-US">Document Quarterly Report</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentQuarterlyReport" xlink:to="lab_dei_DocumentQuarterlyReport" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_DocumentTransitionReport" xlink:label="loc_dei_DocumentTransitionReport" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_DocumentTransitionReport" xml:lang="en-US">Document Transition Report</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentTransitionReport" xlink:to="lab_dei_DocumentTransitionReport" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_DocumentPeriodEndDate" xlink:label="loc_dei_DocumentPeriodEndDate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_DocumentPeriodEndDate" xml:lang="en-US">Document Period End Date</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentPeriodEndDate" xlink:to="lab_dei_DocumentPeriodEndDate" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityRegistrantName" xlink:label="loc_dei_EntityRegistrantName" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityRegistrantName" xml:lang="en-US">Entity Registrant Name</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityRegistrantName" xlink:to="lab_dei_EntityRegistrantName" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityCurrentReportingStatus" xlink:label="loc_dei_EntityCurrentReportingStatus" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityCurrentReportingStatus" xml:lang="en-US">Entity Current Reporting Status</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityCurrentReportingStatus" xlink:to="lab_dei_EntityCurrentReportingStatus" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_TradingSymbol" xlink:label="loc_dei_TradingSymbol" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_TradingSymbol" xml:lang="en-US">Trading Symbol</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_TradingSymbol" xlink:to="lab_dei_TradingSymbol" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityFileNumber" xlink:label="loc_dei_EntityFileNumber" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityFileNumber" xml:lang="en-US">Entity File Number</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityFileNumber" xlink:to="lab_dei_EntityFileNumber" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityEmergingGrowthCompany" xlink:label="loc_dei_EntityEmergingGrowthCompany" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityEmergingGrowthCompany" xml:lang="en-US">Entity Emerging Growth Company</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityEmergingGrowthCompany" xlink:to="lab_dei_EntityEmergingGrowthCompany" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntitySmallBusiness" xlink:label="loc_dei_EntitySmallBusiness" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntitySmallBusiness" xml:lang="en-US">Entity Small Business</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntitySmallBusiness" xlink:to="lab_dei_EntitySmallBusiness" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityCommonStockSharesOutstanding" xlink:label="loc_dei_EntityCommonStockSharesOutstanding" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityCommonStockSharesOutstanding" xml:lang="en-US">Entity Common Stock, Shares Outstanding</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityCommonStockSharesOutstanding" xlink:to="lab_dei_EntityCommonStockSharesOutstanding" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityInteractiveDataCurrent" xlink:label="loc_dei_EntityInteractiveDataCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityInteractiveDataCurrent" xml:lang="en-US">Entity Interactive Data Current</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityInteractiveDataCurrent" xlink:to="lab_dei_EntityInteractiveDataCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityFilerCategory" xlink:label="loc_dei_EntityFilerCategory" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityFilerCategory" xml:lang="en-US">Entity Filer Category</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityFilerCategory" xlink:to="lab_dei_EntityFilerCategory" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityShellCompany" xlink:label="loc_dei_EntityShellCompany" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityShellCompany" xml:lang="en-US">Entity Shell Company</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityShellCompany" xlink:to="lab_dei_EntityShellCompany" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_Security12bTitle" xlink:label="loc_dei_Security12bTitle" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_Security12bTitle" xml:lang="en-US">Title of 12(b) Security</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_Security12bTitle" xlink:to="lab_dei_Security12bTitle" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_SecurityExchangeName" xlink:label="loc_dei_SecurityExchangeName" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_SecurityExchangeName" xml:lang="en-US">Security Exchange Name</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_SecurityExchangeName" xlink:to="lab_dei_SecurityExchangeName" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityTaxIdentificationNumber" xlink:label="loc_dei_EntityTaxIdentificationNumber" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityTaxIdentificationNumber" xml:lang="en-US">Entity Tax Identification Number</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityTaxIdentificationNumber" xlink:to="lab_dei_EntityTaxIdentificationNumber" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityAddressAddressLine1" xlink:label="loc_dei_EntityAddressAddressLine1" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityAddressAddressLine1" xml:lang="en-US">Entity Address, Address Line One</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityAddressAddressLine1" xlink:to="lab_dei_EntityAddressAddressLine1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityAddressAddressLine2" xlink:label="loc_dei_EntityAddressAddressLine2" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityAddressAddressLine2" xml:lang="en-US">Entity Address, Address Line Two</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityAddressAddressLine2" xlink:to="lab_dei_EntityAddressAddressLine2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityAddressCityOrTown" xlink:label="loc_dei_EntityAddressCityOrTown" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityAddressCityOrTown" xml:lang="en-US">Entity Address, City or Town</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityAddressCityOrTown" xlink:to="lab_dei_EntityAddressCityOrTown" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityAddressStateOrProvince" xlink:label="loc_dei_EntityAddressStateOrProvince" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityAddressStateOrProvince" xml:lang="en-US">Entity Address, State or Province</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityAddressStateOrProvince" xlink:to="lab_dei_EntityAddressStateOrProvince" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityAddressPostalZipCode" xlink:label="loc_dei_EntityAddressPostalZipCode" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityAddressPostalZipCode" xml:lang="en-US">Entity Address, Postal Zip Code</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityAddressPostalZipCode" xlink:to="lab_dei_EntityAddressPostalZipCode" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_CityAreaCode" xlink:label="loc_dei_CityAreaCode" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_CityAreaCode" xml:lang="en-US">City Area Code</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_CityAreaCode" xlink:to="lab_dei_CityAreaCode" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_LocalPhoneNumber" xlink:label="loc_dei_LocalPhoneNumber" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_LocalPhoneNumber" xml:lang="en-US">Local Phone Number</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_LocalPhoneNumber" xlink:to="lab_dei_LocalPhoneNumber" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityIncorporationStateCountryCode" xlink:label="loc_dei_EntityIncorporationStateCountryCode" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityIncorporationStateCountryCode" xml:lang="en-US">Entity Incorporation, State or Country Code</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityIncorporationStateCountryCode" xlink:to="lab_dei_EntityIncorporationStateCountryCode" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityCentralIndexKey" xlink:label="loc_dei_EntityCentralIndexKey" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityCentralIndexKey" xml:lang="en-US">Entity Central Index Key</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityCentralIndexKey" xlink:to="lab_dei_EntityCentralIndexKey" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_CurrentFiscalYearEndDate" xlink:label="loc_dei_CurrentFiscalYearEndDate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_CurrentFiscalYearEndDate" xml:lang="en-US">Current Fiscal Year End Date</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_CurrentFiscalYearEndDate" xlink:to="lab_dei_CurrentFiscalYearEndDate" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_AmendmentFlag" xlink:label="loc_dei_AmendmentFlag" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_AmendmentFlag" xml:lang="en-US">Amendment Flag</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_AmendmentFlag" xlink:to="lab_dei_AmendmentFlag" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_DocumentFiscalPeriodFocus" xlink:label="loc_dei_DocumentFiscalPeriodFocus" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_DocumentFiscalPeriodFocus" xml:lang="en-US">Document Fiscal Period Focus</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentFiscalPeriodFocus" xlink:to="lab_dei_DocumentFiscalPeriodFocus" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_DocumentFiscalYearFocus" xlink:label="loc_dei_DocumentFiscalYearFocus" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_DocumentFiscalYearFocus" xml:lang="en-US">Document Fiscal Year Focus</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentFiscalYearFocus" xlink:to="lab_dei_DocumentFiscalYearFocus" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementOfFinancialPositionAbstract" xlink:label="loc_us-gaap_StatementOfFinancialPositionAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StatementOfFinancialPositionAbstract" xml:lang="en-US">Statement of Financial Position [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract" xlink:to="lab_us-gaap_StatementOfFinancialPositionAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AssetsAbstract" xml:lang="en-US">Assets [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AssetsAbstract" xml:lang="en-US">Assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AssetsAbstract" xlink:to="lab_us-gaap_AssetsAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndDueFromBanks" xlink:label="loc_us-gaap_CashAndDueFromBanks" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CashAndDueFromBanks" xml:lang="en-US">Cash and Due from Banks</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CashAndDueFromBanks" xml:lang="en-US">Cash and due from banks</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CashAndDueFromBanks" xlink:to="lab_us-gaap_CashAndDueFromBanks" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestBearingDepositsInBanks" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InterestBearingDepositsInBanks" xml:lang="en-US">Interest-bearing Deposits in Banks and Other Financial Institutions</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InterestBearingDepositsInBanks" xml:lang="en-US">Interest-bearing deposits with other banks</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestBearingDepositsInBanks" xlink:to="lab_us-gaap_InterestBearingDepositsInBanks" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FederalFundsSold" xlink:label="loc_us-gaap_FederalFundsSold" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FederalFundsSold" xml:lang="en-US">Federal Funds Sold</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FederalFundsSold" xml:lang="en-US">Federal funds sold</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FederalFundsSold" xlink:to="lab_us-gaap_FederalFundsSold" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsAndFederalFundsSold" xlink:label="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CashCashEquivalentsAndFederalFundsSold" xml:lang="en-US">Cash, Cash Equivalents, and Federal Funds Sold</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_CashCashEquivalentsAndFederalFundsSold" xml:lang="en-US">Total cash and cash equivalents</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_CashCashEquivalentsAndFederalFundsSold" xml:lang="en-US">Cash and cash equivalents</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold" xlink:to="lab_us-gaap_CashCashEquivalentsAndFederalFundsSold" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecurities" xlink:label="loc_us-gaap_DebtSecurities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtSecurities" xml:lang="en-US">Debt Securities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DebtSecurities" xml:lang="en-US">Securities available for sale at estimated fair value (amortized cost-$3,531,722 at June&#160;30, 2026 and $3,264,860 at December&#160;31, 2025, allowance for credit losses of $0 at June&#160;30, 2026 and December&#160;31, 2025)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/presentationGuidance" xlink:label="lab_us-gaap_DebtSecurities" xml:lang="en-US">Estimated Fair Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_DebtSecurities" xml:lang="en-US">Total available for sale securities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_DebtSecurities" xml:lang="en-US">Securities available for sale</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecurities" xlink:to="lab_us-gaap_DebtSecurities" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HeldToMaturitySecurities" xlink:label="loc_us-gaap_HeldToMaturitySecurities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_HeldToMaturitySecurities" xml:lang="en-US">Debt Securities, Held-to-maturity</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_HeldToMaturitySecurities" xml:lang="en-US">Securities held to maturity, net of allowance for credit losses of $14 at June&#160;30, 2026 and $16 at December&#160;31, 2025 (estimated fair value-$1,020 at June&#160;30, 2026 and December&#160;31, 2025)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_HeldToMaturitySecurities" xml:lang="en-US">Securities held to maturity</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_HeldToMaturitySecurities" xlink:to="lab_us-gaap_HeldToMaturitySecurities" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent" xlink:label="loc_us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent" xml:lang="en-US">Equity Securities, FV-NI</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent" xml:lang="en-US">Equity securities at estimated fair value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent" xml:lang="en-US">Available for sale equity securities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent" xlink:to="lab_us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherInvestments" xlink:label="loc_us-gaap_OtherInvestments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherInvestments" xml:lang="en-US">Other Investments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OtherInvestments" xml:lang="en-US">Other investment securities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_OtherInvestments" xml:lang="en-US">Other securities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherInvestments" xlink:to="lab_us-gaap_OtherInvestments" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup" xml:lang="en-US">Loans Receivable Held-for-sale, Net, Not Part of Disposal Group</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup" xml:lang="en-US">Loans held for sale measured using fair value option</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup" xml:lang="en-US">Loans held for sale</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup" xlink:to="lab_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NotesReceivableGross" xlink:label="loc_us-gaap_NotesReceivableGross" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NotesReceivableGross" xml:lang="en-US">Financing Receivable, before Allowance for Credit Loss</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_NotesReceivableGross" xml:lang="en-US">Loans and leases</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/presentationGuidance" xlink:label="lab_us-gaap_NotesReceivableGross" xml:lang="en-US">Related party loans</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_NotesReceivableGross" xml:lang="en-US">Loans, Past Due</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NotesReceivableGross" xlink:to="lab_us-gaap_NotesReceivableGross" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableDeferredIncome" xlink:label="loc_us-gaap_FinancingReceivableDeferredIncome" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancingReceivableDeferredIncome" xml:lang="en-US">Financing Receivable, Deferred Commitment Fee</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_FinancingReceivableDeferredIncome" xml:lang="en-US">Less: Unearned income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableDeferredIncome" xlink:to="lab_us-gaap_FinancingReceivableDeferredIncome" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancingReceivableNetOfDeferredIncome" xlink:label="loc_ubsi_FinancingReceivableNetOfDeferredIncome" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_FinancingReceivableNetOfDeferredIncome" xml:lang="en-US">Financing Receivable Net Of Deferred Income</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_ubsi_FinancingReceivableNetOfDeferredIncome" xml:lang="en-US">Loans and leases, net of unearned income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_FinancingReceivableNetOfDeferredIncome" xlink:to="lab_ubsi_FinancingReceivableNetOfDeferredIncome" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_FinancingReceivableNetOfDeferredIncome" xml:lang="en-US">Amortized cost, after deferred loan fees and before the allowance for credit loss, of financing receivable. Excludes financing receivable covered under loss sharing agreement and net investment in lease.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancingReceivableAllowanceForCreditLosses" xml:lang="en-US">Financing Receivable, Allowance for Credit Loss</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_FinancingReceivableAllowanceForCreditLosses" xml:lang="en-US">Less: Allowance for loan and lease losses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses" xlink:to="lab_us-gaap_FinancingReceivableAllowanceForCreditLosses" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NotesReceivableNet" xlink:label="loc_us-gaap_NotesReceivableNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NotesReceivableNet" xml:lang="en-US">Financing Receivable, after Allowance for Credit Loss</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_NotesReceivableNet" xml:lang="en-US">Net loans and leases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NotesReceivableNet" xlink:to="lab_us-gaap_NotesReceivableNet" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentNet" xml:lang="en-US">Property, Plant and Equipment, Net</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentNet" xml:lang="en-US">Bank premises and equipment</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet" xlink:to="lab_us-gaap_PropertyPlantAndEquipmentNet" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OperatingLeaseRightOfUseAsset" xml:lang="en-US">Operating Lease, Right-of-Use Asset</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OperatingLeaseRightOfUseAsset" xml:lang="en-US">Operating lease right-of-use assets</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_OperatingLeaseRightOfUseAsset" xml:lang="en-US">Operating lease&#160;right-of-use&#160;assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingLeaseRightOfUseAsset" xlink:to="lab_us-gaap_OperatingLeaseRightOfUseAsset" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_Goodwill" xml:lang="en-US">Goodwill</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_Goodwill" xml:lang="en-US">Goodwill</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_Goodwill" xml:lang="en-US">Goodwill not subject to amortization</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_Goodwill" xlink:to="lab_us-gaap_Goodwill" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss" xlink:label="loc_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss" xml:lang="en-US">Financing Receivable, Accrued Interest, after Allowance for Credit Loss</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss" xml:lang="en-US">Accrued interest receivable</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss" xml:lang="en-US">Accrued interest receivable net of allowance for credit loss</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss" xlink:to="lab_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssets" xlink:label="loc_us-gaap_OtherAssets" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherAssets" xml:lang="en-US">Other Assets</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OtherAssets" xml:lang="en-US">Other assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherAssets" xlink:to="lab_us-gaap_OtherAssets" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_Assets" xml:lang="en-US">Assets</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_Assets" xml:lang="en-US">TOTAL ASSETS</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_Assets" xml:lang="en-US">Total Assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_Assets" xlink:to="lab_us-gaap_Assets" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BankOwnedLifeInsurance" xlink:label="loc_us-gaap_BankOwnedLifeInsurance" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BankOwnedLifeInsurance" xml:lang="en-US">Bank Owned Life Insurance</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_BankOwnedLifeInsurance" xml:lang="en-US">Bank-owned life insurance ("BOLI")</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BankOwnedLifeInsurance" xlink:to="lab_us-gaap_BankOwnedLifeInsurance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAbstract" xlink:label="loc_us-gaap_LiabilitiesAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LiabilitiesAbstract" xml:lang="en-US">Liabilities [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LiabilitiesAbstract" xml:lang="en-US">Liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LiabilitiesAbstract" xlink:to="lab_us-gaap_LiabilitiesAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepositsAbstract" xlink:label="loc_us-gaap_DepositsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DepositsAbstract" xml:lang="en-US">Deposits [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DepositsAbstract" xml:lang="en-US">Deposits:</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DepositsAbstract" xlink:to="lab_us-gaap_DepositsAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestBearingDepositLiabilities" xlink:label="loc_us-gaap_NoninterestBearingDepositLiabilities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NoninterestBearingDepositLiabilities" xml:lang="en-US">Noninterest-bearing Deposit Liabilities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_NoninterestBearingDepositLiabilities" xml:lang="en-US">Noninterest-bearing</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NoninterestBearingDepositLiabilities" xlink:to="lab_us-gaap_NoninterestBearingDepositLiabilities" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestBearingDepositLiabilities" xlink:label="loc_us-gaap_InterestBearingDepositLiabilities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InterestBearingDepositLiabilities" xml:lang="en-US">Interest-Bearing Deposit Liabilities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InterestBearingDepositLiabilities" xml:lang="en-US">Interest-bearing</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities" xlink:to="lab_us-gaap_InterestBearingDepositLiabilities" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Deposits" xlink:label="loc_us-gaap_Deposits" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_Deposits" xml:lang="en-US">Deposits</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_Deposits" xml:lang="en-US">Total deposits</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_Deposits" xml:lang="en-US">Deposits</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_Deposits" xlink:to="lab_us-gaap_Deposits" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentsAbstract" xlink:label="loc_us-gaap_DebtInstrumentsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtInstrumentsAbstract" xml:lang="en-US">Debt Instruments [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DebtInstrumentsAbstract" xml:lang="en-US">Borrowings:</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentsAbstract" xlink:to="lab_us-gaap_DebtInstrumentsAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchase" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase" xml:lang="en-US">Securities Sold under Agreements to Repurchase</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase" xml:lang="en-US">Securities sold under agreements to repurchase</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase" xlink:to="lab_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdvancesFromFederalHomeLoanBanks" xlink:label="loc_us-gaap_AdvancesFromFederalHomeLoanBanks" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AdvancesFromFederalHomeLoanBanks" xml:lang="en-US">Advances from Federal Home Loan Banks</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AdvancesFromFederalHomeLoanBanks" xml:lang="en-US">Federal Home Loan Bank ("FHLB") borrowings</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_AdvancesFromFederalHomeLoanBanks" xml:lang="en-US">FHLB advances</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AdvancesFromFederalHomeLoanBanks" xlink:to="lab_us-gaap_AdvancesFromFederalHomeLoanBanks" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLongTermDebt" xlink:label="loc_us-gaap_OtherLongTermDebt" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherLongTermDebt" xml:lang="en-US">Other Long-term Debt</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OtherLongTermDebt" xml:lang="en-US">Other long-term borrowings</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherLongTermDebt" xlink:to="lab_us-gaap_OtherLongTermDebt" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ReserveForLendingRelatedCommitments" xlink:label="loc_ubsi_ReserveForLendingRelatedCommitments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_ReserveForLendingRelatedCommitments" xml:lang="en-US">Reserve For Lending Related Commitments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_ReserveForLendingRelatedCommitments" xml:lang="en-US">Reserve for lending-related commitments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_ReserveForLendingRelatedCommitments" xlink:to="lab_ubsi_ReserveForLendingRelatedCommitments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_ReserveForLendingRelatedCommitments" xml:lang="en-US">Represents an accrued liability that is appropriate to cover estimated credit losses on off-balance sheet loan commitments, standby letters of credit, and guarantees.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaap_OperatingLeaseLiability" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OperatingLeaseLiability" xml:lang="en-US">Operating Lease, Liability</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OperatingLeaseLiability" xml:lang="en-US">Operating lease liabilities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_OperatingLeaseLiability" xml:lang="en-US">Operating lease liabilities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_OperatingLeaseLiability" xml:lang="en-US">Total</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingLeaseLiability" xlink:to="lab_us-gaap_OperatingLeaseLiability" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities" xlink:label="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AccruedLiabilitiesAndOtherLiabilities" xml:lang="en-US">Accrued Liabilities and Other Liabilities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AccruedLiabilitiesAndOtherLiabilities" xml:lang="en-US">Accrued expenses and other liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities" xlink:to="lab_us-gaap_AccruedLiabilitiesAndOtherLiabilities" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_Liabilities" xml:lang="en-US">Liabilities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_Liabilities" xml:lang="en-US">TOTAL LIABILITIES</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_Liabilities" xlink:to="lab_us-gaap_Liabilities" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityAbstract" xlink:label="loc_us-gaap_StockholdersEquityAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StockholdersEquityAbstract" xml:lang="en-US">Stockholders' Equity Attributable to Parent [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_StockholdersEquityAbstract" xml:lang="en-US">Shareholders' Equity</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockholdersEquityAbstract" xlink:to="lab_us-gaap_StockholdersEquityAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PreferredStockValue" xlink:label="loc_us-gaap_PreferredStockValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PreferredStockValue" xml:lang="en-US">Preferred Stock, Value, Issued</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_PreferredStockValue" xml:lang="en-US">Preferred stock, $1.00 par value; Authorized-50,000,000 shares, none issued</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PreferredStockValue" xlink:to="lab_us-gaap_PreferredStockValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CommonStockValue" xml:lang="en-US">Common Stock, Value, Issued</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_CommonStockValue" xml:lang="en-US">Common stock, $2.50 par value; Authorized-200,000,000 shares; issued-151,183,683 and 150,856,999 at June&#160;30, 2026 and December&#160;31, 2025, respectively, including 14,241,534 and 10,976,752 shares in treasury at June&#160;30, 2026 and December&#160;31, 2025, respectively</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonStockValue" xlink:to="lab_us-gaap_CommonStockValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapitalCommonStock" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AdditionalPaidInCapitalCommonStock" xml:lang="en-US">Additional Paid in Capital, Common Stock</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AdditionalPaidInCapitalCommonStock" xml:lang="en-US">Surplus</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AdditionalPaidInCapitalCommonStock" xlink:to="lab_us-gaap_AdditionalPaidInCapitalCommonStock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RetainedEarningsAccumulatedDeficit" xml:lang="en-US">Retained Earnings (Accumulated Deficit)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_RetainedEarningsAccumulatedDeficit" xml:lang="en-US">Retained earnings</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RetainedEarningsAccumulatedDeficit" xlink:to="lab_us-gaap_RetainedEarningsAccumulatedDeficit" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xml:lang="en-US">Accumulated Other Comprehensive Income (Loss), Net of Tax</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xml:lang="en-US">Accumulated other comprehensive loss</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:to="lab_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockValue" xlink:label="loc_us-gaap_TreasuryStockValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_TreasuryStockValue" xml:lang="en-US">Treasury Stock, Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_TreasuryStockValue" xml:lang="en-US">Treasury stock, at cost</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TreasuryStockValue" xlink:to="lab_us-gaap_TreasuryStockValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StockholdersEquity" xml:lang="en-US">Equity, Attributable to Parent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_StockholdersEquity" xml:lang="en-US">TOTAL SHAREHOLDERS' EQUITY</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="lab_us-gaap_StockholdersEquity" xml:lang="en-US">Beginning Balance</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="lab_us-gaap_StockholdersEquity" xml:lang="en-US">Ending Balance</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockholdersEquity" xlink:to="lab_us-gaap_StockholdersEquity" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LiabilitiesAndStockholdersEquity" xml:lang="en-US">Liabilities and Equity</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_LiabilitiesAndStockholdersEquity" xml:lang="en-US">TOTAL LIABILITIES AND SHAREHOLDERS' EQUITY</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="lab_us-gaap_LiabilitiesAndStockholdersEquity" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss" xml:lang="en-US">Debt Securities, Available-for-Sale, Amortized Cost, after Allowance for Credit Loss</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss" xml:lang="en-US">Securities available for sale, amortized cost</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss" xml:lang="en-US">Amortized Cost</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss" xml:lang="en-US">Amortized Cost</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss" xlink:to="lab_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HeldToMaturitySecuritiesFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_HeldToMaturitySecuritiesFairValue" xml:lang="en-US">Debt Securities, Held-to-maturity, Fair Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/positiveLabel" xlink:label="lab_us-gaap_HeldToMaturitySecuritiesFairValue" xml:lang="en-US">Securities held to maturity</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesFairValue" xlink:to="lab_us-gaap_HeldToMaturitySecuritiesFairValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PreferredStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PreferredStockParOrStatedValuePerShare" xml:lang="en-US">Preferred Stock, Par or Stated Value Per Share</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_PreferredStockParOrStatedValuePerShare" xml:lang="en-US">Preferred stock, par value</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PreferredStockParOrStatedValuePerShare" xlink:to="lab_us-gaap_PreferredStockParOrStatedValuePerShare" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PreferredStockSharesAuthorized" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PreferredStockSharesAuthorized" xml:lang="en-US">Preferred Stock, Shares Authorized</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_PreferredStockSharesAuthorized" xml:lang="en-US">Preferred stock, shares authorized</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PreferredStockSharesAuthorized" xlink:to="lab_us-gaap_PreferredStockSharesAuthorized" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PreferredStockSharesIssued" xlink:label="loc_us-gaap_PreferredStockSharesIssued" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PreferredStockSharesIssued" xml:lang="en-US">Preferred Stock, Shares Issued</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_PreferredStockSharesIssued" xml:lang="en-US">Preferred stock, shares issued</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PreferredStockSharesIssued" xlink:to="lab_us-gaap_PreferredStockSharesIssued" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CommonStockParOrStatedValuePerShare" xml:lang="en-US">Common Stock, Par or Stated Value Per Share</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CommonStockParOrStatedValuePerShare" xml:lang="en-US">Common stock, par value</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonStockParOrStatedValuePerShare" xlink:to="lab_us-gaap_CommonStockParOrStatedValuePerShare" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockSharesAuthorized" xlink:label="loc_us-gaap_CommonStockSharesAuthorized" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CommonStockSharesAuthorized" xml:lang="en-US">Common Stock, Shares Authorized</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CommonStockSharesAuthorized" xml:lang="en-US">Common stock, shares authorized</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonStockSharesAuthorized" xlink:to="lab_us-gaap_CommonStockSharesAuthorized" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockSharesIssued" xlink:label="loc_us-gaap_CommonStockSharesIssued" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CommonStockSharesIssued" xml:lang="en-US">Common Stock, Shares, Issued</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CommonStockSharesIssued" xml:lang="en-US">Common stock, shares issued</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonStockSharesIssued" xlink:to="lab_us-gaap_CommonStockSharesIssued" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockCommonShares" xlink:label="loc_us-gaap_TreasuryStockCommonShares" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_TreasuryStockCommonShares" xml:lang="en-US">Treasury Stock, Common, Shares</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_TreasuryStockCommonShares" xml:lang="en-US">Common stock, shares in treasury</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TreasuryStockCommonShares" xlink:to="lab_us-gaap_TreasuryStockCommonShares" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss" xml:lang="en-US">Debt Securities, Available-for-sale, Allowance for Credit Loss</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss" xml:lang="en-US">Allowance for credit losses on securities held for sale</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss" xml:lang="en-US">Allowance For Credit Losses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss" xlink:to="lab_us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesHeldToMaturityAllowanceForCreditLoss" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityAllowanceForCreditLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtSecuritiesHeldToMaturityAllowanceForCreditLoss" xml:lang="en-US">Debt Securities, Held-to-maturity, Allowance for Credit Loss</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DebtSecuritiesHeldToMaturityAllowanceForCreditLoss" xml:lang="en-US">Allowances for credit losses on securities held to maturity</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityAllowanceForCreditLoss" xlink:to="lab_us-gaap_DebtSecuritiesHeldToMaturityAllowanceForCreditLoss" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeStatementAbstract" xlink:label="loc_us-gaap_IncomeStatementAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeStatementAbstract" xml:lang="en-US">Income Statement [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeStatementAbstract" xlink:to="lab_us-gaap_IncomeStatementAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StatementTable" xml:lang="en-US">Statement [Table]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_StatementTable" xml:lang="en-US">Statement [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementTable" xlink:to="lab_us-gaap_StatementTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_ProductOrServiceAxis" xml:lang="en-US">Product and Service [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_srt_ProductOrServiceAxis" xml:lang="en-US">Product and Service [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_ProductOrServiceAxis" xlink:to="lab_srt_ProductOrServiceAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_ProductsAndServicesDomain" xml:lang="en-US">Product and Service [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_srt_ProductsAndServicesDomain" xml:lang="en-US">Product and Service [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_ProductsAndServicesDomain" xlink:to="lab_srt_ProductsAndServicesDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ServiceOtherMember" xlink:label="loc_us-gaap_ServiceOtherMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ServiceOtherMember" xml:lang="en-US">Service, Other [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ServiceOtherMember" xml:lang="en-US">Fees from trust services [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ServiceOtherMember" xlink:to="lab_us-gaap_ServiceOtherMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiduciaryAndTrustMember" xlink:label="loc_us-gaap_FiduciaryAndTrustMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FiduciaryAndTrustMember" xml:lang="en-US">Fiduciary and Trust [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FiduciaryAndTrustMember" xml:lang="en-US">Fees from brokerage services [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FiduciaryAndTrustMember" xlink:to="lab_us-gaap_FiduciaryAndTrustMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepositAccountMember" xlink:label="loc_us-gaap_DepositAccountMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DepositAccountMember" xml:lang="en-US">Deposit Account [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DepositAccountMember" xml:lang="en-US">Fees from deposit services [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DepositAccountMember" xlink:to="lab_us-gaap_DepositAccountMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditCardMember" xlink:label="loc_us-gaap_CreditCardMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CreditCardMember" xml:lang="en-US">Credit Card [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CreditCardMember" xml:lang="en-US">Bankcard fees and merchant discounts [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CreditCardMember" xlink:to="lab_us-gaap_CreditCardMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialServiceOtherMember" xlink:label="loc_us-gaap_FinancialServiceOtherMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancialServiceOtherMember" xml:lang="en-US">Financial Service, Other [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinancialServiceOtherMember" xml:lang="en-US">Other service charges, commissions, and fees [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancialServiceOtherMember" xlink:to="lab_us-gaap_FinancialServiceOtherMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MortgageBankingMember" xlink:label="loc_us-gaap_MortgageBankingMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_MortgageBankingMember" xml:lang="en-US">Mortgage Banking [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_MortgageBankingMember" xml:lang="en-US">Income from mortgage banking activities [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_MortgageBankingMember" xlink:to="lab_us-gaap_MortgageBankingMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StatementLineItems" xml:lang="en-US">Statement [Line Items]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_StatementLineItems" xml:lang="en-US">Statement [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementLineItems" xlink:to="lab_us-gaap_StatementLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndDividendIncomeOperatingAbstract" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InterestAndDividendIncomeOperatingAbstract" xml:lang="en-US">Interest and Dividend Income, Operating [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InterestAndDividendIncomeOperatingAbstract" xml:lang="en-US">Interest income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract" xlink:to="lab_us-gaap_InterestAndDividendIncomeOperatingAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndDividendIncomeSecuritiesByTaxableStatusAbstract" xlink:label="loc_us-gaap_InterestAndDividendIncomeSecuritiesByTaxableStatusAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InterestAndDividendIncomeSecuritiesByTaxableStatusAbstract" xml:lang="en-US">Interest and Dividend Income, Securities, by Taxable Status [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InterestAndDividendIncomeSecuritiesByTaxableStatusAbstract" xml:lang="en-US">Interest and dividends on securities:</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestAndDividendIncomeSecuritiesByTaxableStatusAbstract" xlink:to="lab_us-gaap_InterestAndDividendIncomeSecuritiesByTaxableStatusAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeSecuritiesTaxable" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InterestIncomeSecuritiesTaxable" xml:lang="en-US">Interest Income, Securities, Operating, Taxable</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InterestIncomeSecuritiesTaxable" xml:lang="en-US">Taxable</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestIncomeSecuritiesTaxable" xlink:to="lab_us-gaap_InterestIncomeSecuritiesTaxable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeSecuritiesTaxExempt" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxExempt" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InterestIncomeSecuritiesTaxExempt" xml:lang="en-US">Interest Income, Securities, Operating, Tax Exempt</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InterestIncomeSecuritiesTaxExempt" xml:lang="en-US">Tax-exempt</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestIncomeSecuritiesTaxExempt" xlink:to="lab_us-gaap_InterestIncomeSecuritiesTaxExempt" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResell" xlink:label="loc_us-gaap_InterestIncomeFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResell" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InterestIncomeFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResell" xml:lang="en-US">Interest Income, Federal Funds Sold and Securities Purchased under Agreements to Resell</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InterestIncomeFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResell" xml:lang="en-US">Interest on federal funds sold and other short-term investments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestIncomeFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResell" xlink:to="lab_us-gaap_InterestIncomeFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResell" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndDividendIncomeOperating" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InterestAndDividendIncomeOperating" xml:lang="en-US">Interest and Dividend Income, Operating</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_InterestAndDividendIncomeOperating" xml:lang="en-US">Total interest income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating" xlink:to="lab_us-gaap_InterestAndDividendIncomeOperating" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeases" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InterestAndFeeIncomeLoansAndLeases" xml:lang="en-US">Interest and Fee Income, Loans and Leases</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InterestAndFeeIncomeLoansAndLeases" xml:lang="en-US">Interest and fees on loans and leases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases" xlink:to="lab_us-gaap_InterestAndFeeIncomeLoansAndLeases" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseAbstract" xlink:label="loc_us-gaap_InterestExpenseAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InterestExpenseAbstract" xml:lang="en-US">Interest Expense [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InterestExpenseAbstract" xml:lang="en-US">Interest expense</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestExpenseAbstract" xlink:to="lab_us-gaap_InterestExpenseAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseDeposits" xlink:label="loc_us-gaap_InterestExpenseDeposits" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InterestExpenseDeposits" xml:lang="en-US">Interest Expense, Deposits</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InterestExpenseDeposits" xml:lang="en-US">Interest on deposits</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestExpenseDeposits" xlink:to="lab_us-gaap_InterestExpenseDeposits" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseShortTermBorrowings" xlink:label="loc_us-gaap_InterestExpenseShortTermBorrowings" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InterestExpenseShortTermBorrowings" xml:lang="en-US">Interest Expense, Short-term Borrowings</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InterestExpenseShortTermBorrowings" xml:lang="en-US">Interest on short-term borrowings</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestExpenseShortTermBorrowings" xlink:to="lab_us-gaap_InterestExpenseShortTermBorrowings" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseLongTermDebt" xlink:label="loc_us-gaap_InterestExpenseLongTermDebt" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InterestExpenseLongTermDebt" xml:lang="en-US">Interest Expense, Long-term Debt</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InterestExpenseLongTermDebt" xml:lang="en-US">Interest on long-term borrowings</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestExpenseLongTermDebt" xlink:to="lab_us-gaap_InterestExpenseLongTermDebt" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseOperating" xlink:label="loc_us-gaap_InterestExpenseOperating" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InterestExpenseOperating" xml:lang="en-US">Interest Expense, Operating</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_InterestExpenseOperating" xml:lang="en-US">Total interest expense</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestExpenseOperating" xlink:to="lab_us-gaap_InterestExpenseOperating" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncomeAbstract" xlink:label="loc_us-gaap_NoninterestIncomeAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NoninterestIncomeAbstract" xml:lang="en-US">Noninterest Income [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_NoninterestIncomeAbstract" xml:lang="en-US">Other income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NoninterestIncomeAbstract" xlink:to="lab_us-gaap_NoninterestIncomeAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" xml:lang="en-US">Revenue from Contract with Customer, Including Assessed Tax</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" xml:lang="en-US">Revenue from contract</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" xlink:to="lab_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BankOwnedLifeInsuranceIncome" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BankOwnedLifeInsuranceIncome" xml:lang="en-US">Bank Owned Life Insurance Income</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_BankOwnedLifeInsuranceIncome" xml:lang="en-US">Income from bank-owned life insurance</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BankOwnedLifeInsuranceIncome" xlink:to="lab_us-gaap_BankOwnedLifeInsuranceIncome" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnInvestments" xlink:label="loc_us-gaap_GainLossOnInvestments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_GainLossOnInvestments" xml:lang="en-US">Gain (Loss) on Investments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_GainLossOnInvestments" xml:lang="en-US">Net investment securities gains</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GainLossOnInvestments" xlink:to="lab_us-gaap_GainLossOnInvestments" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NoninterestIncomeOtherOperatingIncome" xml:lang="en-US">Noninterest Income, Other Operating Income</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_NoninterestIncomeOtherOperatingIncome" xml:lang="en-US">Other income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NoninterestIncomeOtherOperatingIncome" xlink:to="lab_us-gaap_NoninterestIncomeOtherOperatingIncome" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncome" xlink:label="loc_us-gaap_NoninterestIncome" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NoninterestIncome" xml:lang="en-US">Noninterest Income</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_NoninterestIncome" xml:lang="en-US">Total other income</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_NoninterestIncome" xml:lang="en-US">Other income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NoninterestIncome" xlink:to="lab_us-gaap_NoninterestIncome" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestExpenseAbstract" xlink:label="loc_us-gaap_NoninterestExpenseAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NoninterestExpenseAbstract" xml:lang="en-US">Noninterest Expense [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_NoninterestExpenseAbstract" xml:lang="en-US">Other expense</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NoninterestExpenseAbstract" xlink:to="lab_us-gaap_NoninterestExpenseAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SalariesWagesAndOfficersCompensation" xlink:label="loc_us-gaap_SalariesWagesAndOfficersCompensation" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SalariesWagesAndOfficersCompensation" xml:lang="en-US">Salary and Wage, Excluding Cost of Good and Service Sold</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SalariesWagesAndOfficersCompensation" xml:lang="en-US">Employee compensation</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SalariesWagesAndOfficersCompensation" xlink:to="lab_us-gaap_SalariesWagesAndOfficersCompensation" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionAndOtherPostretirementBenefitExpense" xlink:label="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PensionAndOtherPostretirementBenefitExpense" xml:lang="en-US">Pension and Other Postretirement Benefits Cost (Reversal of Cost)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_PensionAndOtherPostretirementBenefitExpense" xml:lang="en-US">Employee benefits</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PensionAndOtherPostretirementBenefitExpense" xlink:to="lab_us-gaap_PensionAndOtherPostretirementBenefitExpense" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OccupancyNet" xlink:label="loc_us-gaap_OccupancyNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OccupancyNet" xml:lang="en-US">Occupancy, Net</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OccupancyNet" xml:lang="en-US">Net occupancy expense</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OccupancyNet" xlink:to="lab_us-gaap_OccupancyNet" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherRealEstateOwnedExpense" xlink:label="loc_ubsi_OtherRealEstateOwnedExpense" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_OtherRealEstateOwnedExpense" xml:lang="en-US">Other Real Estate Owned Expense</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_OtherRealEstateOwnedExpense" xml:lang="en-US">Other real estate owned ("OREO") expense</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_OtherRealEstateOwnedExpense" xml:lang="en-US">OREO expense</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_OtherRealEstateOwnedExpense" xlink:to="lab_ubsi_OtherRealEstateOwnedExpense" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_OtherRealEstateOwnedExpense" xml:lang="en-US">The net gain or loss resulting from sales and other disposals of other real estate owned, increases and decreases in the valuation allowance for foreclosed real estate, write-downs of other real estate owned after acquisition or physical possession as well as other expenses recognized during the period on foreclosed real estate properties.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquipmentExpense" xlink:label="loc_us-gaap_EquipmentExpense" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EquipmentExpense" xml:lang="en-US">Equipment Expense</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EquipmentExpense" xml:lang="en-US">Equipment expense</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquipmentExpense" xlink:to="lab_us-gaap_EquipmentExpense" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InformationTechnologyAndDataProcessing" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InformationTechnologyAndDataProcessing" xml:lang="en-US">Information Technology and Data Processing</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InformationTechnologyAndDataProcessing" xml:lang="en-US">Data processing expense</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InformationTechnologyAndDataProcessing" xlink:to="lab_us-gaap_InformationTechnologyAndDataProcessing" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BankcardProcessingExpense" xlink:label="loc_ubsi_BankcardProcessingExpense" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_BankcardProcessingExpense" xml:lang="en-US">Bankcard Processing Expense</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_BankcardProcessingExpense" xml:lang="en-US">Bankcard processing expense</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_BankcardProcessingExpense" xlink:to="lab_ubsi_BankcardProcessingExpense" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_BankcardProcessingExpense" xml:lang="en-US">Amounts expended for the issuance of and payment processing for bankcards.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FederalDepositInsuranceCorporationPremiumExpense" xlink:label="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FederalDepositInsuranceCorporationPremiumExpense" xml:lang="en-US">Federal Deposit Insurance Corporation Premium Expense</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FederalDepositInsuranceCorporationPremiumExpense" xml:lang="en-US">FDIC insurance expense</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense" xlink:to="lab_us-gaap_FederalDepositInsuranceCorporationPremiumExpense" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNoninterestExpense" xlink:label="loc_us-gaap_OtherNoninterestExpense" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherNoninterestExpense" xml:lang="en-US">Other Noninterest Expense</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OtherNoninterestExpense" xml:lang="en-US">Other expense</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherNoninterestExpense" xlink:to="lab_us-gaap_OtherNoninterestExpense" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestExpense" xlink:label="loc_us-gaap_NoninterestExpense" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NoninterestExpense" xml:lang="en-US">Noninterest Expense</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_NoninterestExpense" xml:lang="en-US">Total other expense</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NoninterestExpense" xlink:to="lab_us-gaap_NoninterestExpense" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainsLossesOnSalesOfOtherRealEstate" xlink:label="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_GainsLossesOnSalesOfOtherRealEstate" xml:lang="en-US">Gains (Losses) on Sales of Other Real Estate</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_GainsLossesOnSalesOfOtherRealEstate" xml:lang="en-US">Net losses on the sales of OREO properties</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_GainsLossesOnSalesOfOtherRealEstate" xml:lang="en-US">Net losses on the sales of OREO properties</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate" xlink:to="lab_us-gaap_GainsLossesOnSalesOfOtherRealEstate" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EarningsPerShareAbstract" xlink:label="loc_us-gaap_EarningsPerShareAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EarningsPerShareAbstract" xml:lang="en-US">Earnings Per Share [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EarningsPerShareAbstract" xml:lang="en-US">Earnings per common share:</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EarningsPerShareAbstract" xlink:to="lab_us-gaap_EarningsPerShareAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EarningsPerShareBasic" xlink:label="loc_us-gaap_EarningsPerShareBasic" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EarningsPerShareBasic" xml:lang="en-US">Earnings Per Share, Basic</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EarningsPerShareBasic" xml:lang="en-US">Basic</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_EarningsPerShareBasic" xml:lang="en-US">Earnings per basic common share</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EarningsPerShareBasic" xlink:to="lab_us-gaap_EarningsPerShareBasic" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="loc_us-gaap_EarningsPerShareDiluted" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EarningsPerShareDiluted" xml:lang="en-US">Earnings Per Share, Diluted</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EarningsPerShareDiluted" xml:lang="en-US">Diluted</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_EarningsPerShareDiluted" xml:lang="en-US">Earnings per diluted common share</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EarningsPerShareDiluted" xlink:to="lab_us-gaap_EarningsPerShareDiluted" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract" xml:lang="en-US">Weighted Average Number of Shares Outstanding, Diluted [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract" xml:lang="en-US">Average outstanding shares:</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract" xlink:to="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xml:lang="en-US">Weighted Average Number of Shares Outstanding, Basic</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xml:lang="en-US">Basic</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xml:lang="en-US">Average common shares outstanding</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:to="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xml:lang="en-US">Weighted Average Number of Shares Outstanding, Diluted</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xml:lang="en-US">Diluted</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xml:lang="en-US">Average diluted shares outstanding</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:to="lab_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseNet" xlink:label="loc_us-gaap_InterestIncomeExpenseNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InterestIncomeExpenseNet" xml:lang="en-US">Interest Income (Expense), Net</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_InterestIncomeExpenseNet" xml:lang="en-US">Net interest income</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InterestIncomeExpenseNet" xml:lang="en-US">Net interest income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestIncomeExpenseNet" xlink:to="lab_us-gaap_InterestIncomeExpenseNet" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ProvisionForLoanLeaseAndOtherLosses" xml:lang="en-US">Provision for Loan, Lease, and Other Losses</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_ProvisionForLoanLeaseAndOtherLosses" xml:lang="en-US">Provision for credit losses</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/positiveLabel" xlink:label="lab_us-gaap_ProvisionForLoanLeaseAndOtherLosses" xml:lang="en-US">Provision for credit losses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses" xlink:to="lab_us-gaap_ProvisionForLoanLeaseAndOtherLosses" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" xml:lang="en-US">Interest Income (Expense), after Provision for Loan Loss</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" xml:lang="en-US">Net interest income after provision for credit losses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:to="lab_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xml:lang="en-US">Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xml:lang="en-US">Income before income taxes</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xml:lang="en-US">Income before income taxes</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xml:lang="en-US">Income before income taxes</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/presentationGuidance" xlink:label="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xml:lang="en-US">Income before income taxes</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxExpenseBenefit" xml:lang="en-US">Income Tax Expense (Benefit)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_IncomeTaxExpenseBenefit" xml:lang="en-US">Income taxes</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_IncomeTaxExpenseBenefit" xml:lang="en-US">Related income tax effect</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit" xlink:to="lab_us-gaap_IncomeTaxExpenseBenefit" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_NetIncomeLoss" xml:lang="en-US">Net income</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/presentationGuidance" xlink:label="lab_us-gaap_NetIncomeLoss" xml:lang="en-US">Net income</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_NetIncomeLoss" xml:lang="en-US">Net Income</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_NetIncomeLoss" xml:lang="en-US">Net income (loss)</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetIncomeLoss" xlink:to="lab_us-gaap_NetIncomeLoss" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract" xlink:label="loc_us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract" xml:lang="en-US">Statement of Comprehensive Income [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract" xlink:to="lab_us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xml:lang="en-US">Other Comprehensive Income (Loss), Available-for-sale Securities Adjustment, Net of Tax, Portion Attributable to Parent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xml:lang="en-US">Other comprehensive income (loss) on available-for-sale ("AFS") securities, net of tax</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xml:lang="en-US">Net effect of AFS securities on other comprehensive income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xlink:to="lab_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ComprehensiveIncomeNetOfTax" xml:lang="en-US">Comprehensive Income (Loss), Net of Tax, Attributable to Parent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_ComprehensiveIncomeNetOfTax" xml:lang="en-US">Total comprehensive income, net of tax</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ComprehensiveIncomeNetOfTax" xml:lang="en-US">Total Comprehensive Income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax" xlink:to="lab_us-gaap_ComprehensiveIncomeNetOfTax" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTaxParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTaxParent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTaxParent" xml:lang="en-US">Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), after Reclassification, Tax, Parent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTaxParent" xml:lang="en-US">Other comprehensive gain (loss) on cash flow hedge, net of tax</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTaxParent" xml:lang="en-US">Net effect of cash flow hedge derivatives on other comprehensive income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTaxParent" xlink:to="lab_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTaxParent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementOfStockholdersEquityAbstract" xlink:label="loc_us-gaap_StatementOfStockholdersEquityAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StatementOfStockholdersEquityAbstract" xml:lang="en-US">Statement of Stockholders' Equity [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementOfStockholdersEquityAbstract" xlink:to="lab_us-gaap_StatementOfStockholdersEquityAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StatementEquityComponentsAxis" xml:lang="en-US">Equity Components [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_StatementEquityComponentsAxis" xml:lang="en-US">Statement Equity Components[Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementEquityComponentsAxis" xlink:to="lab_us-gaap_StatementEquityComponentsAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EquityComponentDomain" xml:lang="en-US">Equity Component [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EquityComponentDomain" xml:lang="en-US">Statement Equity Components[Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquityComponentDomain" xlink:to="lab_us-gaap_EquityComponentDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CommonStockMember" xml:lang="en-US">Common Stock [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CommonStockMember" xml:lang="en-US">Common Stock [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonStockMember" xlink:to="lab_us-gaap_CommonStockMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AdditionalPaidInCapitalMember" xml:lang="en-US">Additional Paid-in Capital [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AdditionalPaidInCapitalMember" xml:lang="en-US">Surplus [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AdditionalPaidInCapitalMember" xlink:to="lab_us-gaap_AdditionalPaidInCapitalMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RetainedEarningsMember" xml:lang="en-US">Retained Earnings [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_RetainedEarningsMember" xml:lang="en-US">Retained Earnings [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RetainedEarningsMember" xlink:to="lab_us-gaap_RetainedEarningsMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AccumulatedOtherComprehensiveIncomeMember" xml:lang="en-US">AOCI Attributable to Parent [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_AccumulatedOtherComprehensiveIncomeMember" xml:lang="en-US">Accumulated Other Comprehensive Income&#160;(Loss) [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AccumulatedOtherComprehensiveIncomeMember" xml:lang="en-US">Accumulated Other Comprehensive Income (Loss) [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:to="lab_us-gaap_AccumulatedOtherComprehensiveIncomeMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockCommonMember" xlink:label="loc_us-gaap_TreasuryStockCommonMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_TreasuryStockCommonMember" xml:lang="en-US">Treasury Stock, Common [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_TreasuryStockCommonMember" xml:lang="en-US">Treasury Stock [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TreasuryStockCommonMember" xlink:to="lab_us-gaap_TreasuryStockCommonMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharesIssued" xlink:label="loc_us-gaap_SharesIssued" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SharesIssued" xml:lang="en-US">Shares, Issued</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="lab_us-gaap_SharesIssued" xml:lang="en-US">Beginning Balance, shares</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="lab_us-gaap_SharesIssued" xml:lang="en-US">Ending Balance, shares</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SharesIssued" xlink:to="lab_us-gaap_SharesIssued" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xml:lang="en-US">Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Parent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xml:lang="en-US">Other comprehensive income, net of tax</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xml:lang="en-US">Total change in other comprehensive income (loss), net of tax</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:to="lab_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xml:lang="en-US">Adjustments to Additional Paid in Capital, Share-based Compensation, Requisite Service Period Recognition</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xml:lang="en-US">Stock based compensation expense</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:to="lab_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_TreasuryStockValueAcquiredCostMethod" xml:lang="en-US">Treasury Stock, Value, Acquired, Cost Method</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_TreasuryStockValueAcquiredCostMethod" xml:lang="en-US">Purchase of treasury stock</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:to="lab_us-gaap_TreasuryStockValueAcquiredCostMethod" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DividendsCommonStockCash" xlink:label="loc_us-gaap_DividendsCommonStockCash" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DividendsCommonStockCash" xml:lang="en-US">Dividends, Common Stock, Cash</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_DividendsCommonStockCash" xml:lang="en-US">Cash dividends</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DividendsCommonStockCash" xlink:to="lab_us-gaap_DividendsCommonStockCash" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross" xml:lang="en-US">Stock Issued During Period, Value, Restricted Stock Award, Gross</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross" xml:lang="en-US">Stock grant forfeiture</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross" xlink:to="lab_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross" xml:lang="en-US">Stock Issued During Period, Shares, Restricted Stock Award, Gross</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross" xml:lang="en-US">Stock grant forfeiture, shares</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross" xlink:to="lab_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ExciseTaxOnNetStockRepurchases" xlink:label="loc_ubsi_ExciseTaxOnNetStockRepurchases" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_ExciseTaxOnNetStockRepurchases" xml:lang="en-US">Excise Tax On Net Stock Repurchases</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_ubsi_ExciseTaxOnNetStockRepurchases" xml:lang="en-US">Excise tax on net stock repurchases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_ExciseTaxOnNetStockRepurchases" xlink:to="lab_ubsi_ExciseTaxOnNetStockRepurchases" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_ExciseTaxOnNetStockRepurchases" xml:lang="en-US">An indirect tax levied on the net value of stock repurchased by publicly traded U.S. corporations.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodValueAcquisitions" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StockIssuedDuringPeriodValueAcquisitions" xml:lang="en-US">Stock Issued During Period, Value, Acquisitions</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_StockIssuedDuringPeriodValueAcquisitions" xml:lang="en-US">Acquisition of Piedmont Bancorp, Inc.</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions" xlink:to="lab_us-gaap_StockIssuedDuringPeriodValueAcquisitions" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesAcquisitions" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StockIssuedDuringPeriodSharesAcquisitions" xml:lang="en-US">Stock Issued During Period, Shares, Acquisitions</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_StockIssuedDuringPeriodSharesAcquisitions" xml:lang="en-US">Acquisition of Piedmont Bancorp, Inc., shares</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_StockIssuedDuringPeriodSharesAcquisitions" xml:lang="en-US">Acquisition of Piedmont Bancorp, Inc. (7,860,831 shares)</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions" xlink:to="lab_us-gaap_StockIssuedDuringPeriodSharesAcquisitions" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_StockIssuedDuringPeriodValueIssuanceOfCommonStockUnderStockBasedCompensationPlan" xlink:label="loc_ubsi_StockIssuedDuringPeriodValueIssuanceOfCommonStockUnderStockBasedCompensationPlan" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_StockIssuedDuringPeriodValueIssuanceOfCommonStockUnderStockBasedCompensationPlan" xml:lang="en-US">Stock Issued During Period Value Issuance Of Common Stock Under Stock Based Compensation Plan</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_StockIssuedDuringPeriodValueIssuanceOfCommonStockUnderStockBasedCompensationPlan" xml:lang="en-US">Net issuance of common stock under stock-based compensation plans</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_StockIssuedDuringPeriodValueIssuanceOfCommonStockUnderStockBasedCompensationPlan" xlink:to="lab_ubsi_StockIssuedDuringPeriodValueIssuanceOfCommonStockUnderStockBasedCompensationPlan" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_StockIssuedDuringPeriodValueIssuanceOfCommonStockUnderStockBasedCompensationPlan" xml:lang="en-US">The value of common stock issued during period under stock based compensation plans.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_StockIssuedDuringPeriodSharesIssaunceOfCommonStockUnderStockBasedCompensationPlan" xlink:label="loc_ubsi_StockIssuedDuringPeriodSharesIssaunceOfCommonStockUnderStockBasedCompensationPlan" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_StockIssuedDuringPeriodSharesIssaunceOfCommonStockUnderStockBasedCompensationPlan" xml:lang="en-US">Stock Issued During Period Shares Issaunce Of Common Stock Under Stock Based Compensation Plan</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_StockIssuedDuringPeriodSharesIssaunceOfCommonStockUnderStockBasedCompensationPlan" xml:lang="en-US">Net issuance of common stock under stock-based compensation plans, shares</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_StockIssuedDuringPeriodSharesIssaunceOfCommonStockUnderStockBasedCompensationPlan" xlink:to="lab_ubsi_StockIssuedDuringPeriodSharesIssaunceOfCommonStockUnderStockBasedCompensationPlan" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_StockIssuedDuringPeriodSharesIssaunceOfCommonStockUnderStockBasedCompensationPlan" xml:lang="en-US">Number of shares issued during the period as a result of the exercise of stock options, the grant of restricted stock awards and the vesting of restricted stock units.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_CumulativeEffectPeriodOfAdoptionAxis" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_CumulativeEffectPeriodOfAdoptionAxis" xml:lang="en-US">Cumulative Effect, Period of Adoption [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis" xlink:to="lab_srt_CumulativeEffectPeriodOfAdoptionAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_CumulativeEffectPeriodOfAdoptionDomain" xml:lang="en-US">Cumulative Effect, Period of Adoption [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionDomain" xlink:to="lab_srt_CumulativeEffectPeriodOfAdoptionDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RestatementAxis" xlink:label="loc_srt_RestatementAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_RestatementAxis" xml:lang="en-US">Revision of Prior Period [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_RestatementAxis" xlink:to="lab_srt_RestatementAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RestatementDomain" xlink:label="loc_srt_RestatementDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_RestatementDomain" xml:lang="en-US">Revision of Prior Period [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_RestatementDomain" xlink:to="lab_srt_RestatementDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessAcquisitionAxis" xml:lang="en-US">Business Combination [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_BusinessAcquisitionAxis" xml:lang="en-US">Business Acquisition [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessAcquisitionAxis" xlink:to="lab_us-gaap_BusinessAcquisitionAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessAcquisitionAcquireeDomain" xml:lang="en-US">Business Combination [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_BusinessAcquisitionAcquireeDomain" xml:lang="en-US">Business Acquisition, Acquiree [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain" xlink:to="lab_us-gaap_BusinessAcquisitionAcquireeDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis" xlink:label="loc_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis" xml:lang="en-US">Equity-Based Arrangements, Individual Contracts, Type of Deferred Compensation [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis" xml:lang="en-US">Equity-Based Arrangements, Individual Contracts, Type of Deferred Compensation [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis" xlink:to="lab_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain" xlink:label="loc_us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain" xml:lang="en-US">Equity-Based Arrangements, Individual Contracts, Type of Deferred Compensation [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain" xml:lang="en-US">Equity-Based Arrangements, Individual Contracts, Type of Deferred Compensation [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain" xlink:to="lab_us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockSharesAcquired" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_TreasuryStockSharesAcquired" xml:lang="en-US">Treasury Stock, Shares, Acquired</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_TreasuryStockSharesAcquired" xml:lang="en-US">Purchase of treasury stock, shares</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TreasuryStockSharesAcquired" xlink:to="lab_us-gaap_TreasuryStockSharesAcquired" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockDividendsPerShareCashPaid" xlink:label="loc_us-gaap_CommonStockDividendsPerShareCashPaid" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CommonStockDividendsPerShareCashPaid" xml:lang="en-US">Common Stock, Dividends, Per Share, Cash Paid</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CommonStockDividendsPerShareCashPaid" xml:lang="en-US">Cash dividends per share</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonStockDividendsPerShareCashPaid" xlink:to="lab_us-gaap_CommonStockDividendsPerShareCashPaid" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ForfeitureOfNonVestedRestrictedStockShares" xlink:label="loc_ubsi_ForfeitureOfNonVestedRestrictedStockShares" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_ForfeitureOfNonVestedRestrictedStockShares" xml:lang="en-US">Forfeiture Of Non Vested Restricted Stock Shares</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_ForfeitureOfNonVestedRestrictedStockShares" xml:lang="en-US">Stock grant forfeiture, shares</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_ForfeitureOfNonVestedRestrictedStockShares" xlink:to="lab_ubsi_ForfeitureOfNonVestedRestrictedStockShares" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_ForfeitureOfNonVestedRestrictedStockShares" xml:lang="en-US">Number of shares of restricted stock awards forfeited during the period.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_StockIssuedDuringPeriodSharesIssuanceOfCommonStockUnderStockBasedCompensationPlan" xlink:label="loc_ubsi_StockIssuedDuringPeriodSharesIssuanceOfCommonStockUnderStockBasedCompensationPlan" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_StockIssuedDuringPeriodSharesIssuanceOfCommonStockUnderStockBasedCompensationPlan" xml:lang="en-US">Stock Issued During Period Shares Issuance Of Common Stock Under Stock Based Compensation Plan</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_StockIssuedDuringPeriodSharesIssuanceOfCommonStockUnderStockBasedCompensationPlan" xml:lang="en-US">Net issuance of common stock under stock-based compensation plans</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_StockIssuedDuringPeriodSharesIssuanceOfCommonStockUnderStockBasedCompensationPlan" xlink:to="lab_ubsi_StockIssuedDuringPeriodSharesIssuanceOfCommonStockUnderStockBasedCompensationPlan" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_StockIssuedDuringPeriodSharesIssuanceOfCommonStockUnderStockBasedCompensationPlan" xml:lang="en-US">Number of shares issued during the period as a result of the exercise of stock options, the grant of restricted stock awards and the vesting of restricted stock units.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementOfCashFlowsAbstract" xlink:label="loc_us-gaap_StatementOfCashFlowsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StatementOfCashFlowsAbstract" xml:lang="en-US">Statement of Cash Flows [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementOfCashFlowsAbstract" xlink:to="lab_us-gaap_StatementOfCashFlowsAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xml:lang="en-US">Net Cash Provided by (Used in) Operating Activities [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xml:lang="en-US">OPERATING ACTIVITIES</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="lab_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NetCashProvidedByUsedInOperatingActivities" xml:lang="en-US">Net Cash Provided by (Used in) Operating Activities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_NetCashProvidedByUsedInOperatingActivities" xml:lang="en-US">NET CASH PROVIDED BY OPERATING ACTIVITIES</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="lab_us-gaap_NetCashProvidedByUsedInOperatingActivities" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xml:lang="en-US">Net Cash Provided by (Used in) Investing Activities [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xml:lang="en-US">INVESTING ACTIVITIES</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:to="lab_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities" xml:lang="en-US">Proceeds from Sale and Maturity of Marketable Securities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities" xml:lang="en-US">Proceeds from sales of securities available for sale</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities" xlink:to="lab_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" xml:lang="en-US">Proceeds from Maturities, Prepayments and Calls of Debt Securities, Available-for-sale</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" xml:lang="en-US">Proceeds from maturities and calls of securities available for sale</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" xlink:to="lab_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ProceedsFromSalesOfEquitySecurities" xlink:label="loc_ubsi_ProceedsFromSalesOfEquitySecurities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_ProceedsFromSalesOfEquitySecurities" xml:lang="en-US">Proceeds From Sales Of Equity Securities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_ProceedsFromSalesOfEquitySecurities" xml:lang="en-US">Proceeds from sales of equity securities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_ProceedsFromSalesOfEquitySecurities" xlink:to="lab_ubsi_ProceedsFromSalesOfEquitySecurities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_ProceedsFromSalesOfEquitySecurities" xml:lang="en-US">The cash inflow associated with the sale of equity securities.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PaymentsToAcquireEquitySecurities" xlink:label="loc_ubsi_PaymentsToAcquireEquitySecurities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_PaymentsToAcquireEquitySecurities" xml:lang="en-US">Payments To Acquire Equity Securities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_ubsi_PaymentsToAcquireEquitySecurities" xml:lang="en-US">Purchases of equity securities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_PaymentsToAcquireEquitySecurities" xlink:to="lab_ubsi_PaymentsToAcquireEquitySecurities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_PaymentsToAcquireEquitySecurities" xml:lang="en-US">The cash outflow to acquire equity securities.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments" xml:lang="en-US">Proceeds from Sale and Maturity of Other Investments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments" xml:lang="en-US">Proceeds from sales and redemptions of other investment securities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments" xlink:to="lab_us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xml:lang="en-US">Payments for (Proceeds from) Other Investing Activities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xml:lang="en-US">Purchases of other investment securities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:to="lab_us-gaap_PaymentsForProceedsFromOtherInvestingActivities" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xml:lang="en-US">Payments to Acquire Property, Plant, and Equipment</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xml:lang="en-US">Purchases of bank premises and equipment</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:to="lab_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xml:lang="en-US">Proceeds from Sale of Property, Plant, and Equipment</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xml:lang="en-US">Proceeds from sales of bank premises and equipment</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:to="lab_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfOtherRealEstate" xlink:label="loc_us-gaap_ProceedsFromSaleOfOtherRealEstate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ProceedsFromSaleOfOtherRealEstate" xml:lang="en-US">Proceeds from Sale of Other Real Estate</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ProceedsFromSaleOfOtherRealEstate" xml:lang="en-US">Proceeds from sales of OREO properties</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProceedsFromSaleOfOtherRealEstate" xlink:to="lab_us-gaap_ProceedsFromSaleOfOtherRealEstate" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForProceedsFromLoansAndLeases" xlink:label="loc_us-gaap_PaymentsForProceedsFromLoansAndLeases" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PaymentsForProceedsFromLoansAndLeases" xml:lang="en-US">Payments for (Proceeds from) Loans and Leases</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_PaymentsForProceedsFromLoansAndLeases" xml:lang="en-US">Net change in loans and leases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PaymentsForProceedsFromLoansAndLeases" xlink:to="lab_us-gaap_PaymentsForProceedsFromLoansAndLeases" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NetCashProvidedByUsedInInvestingActivities" xml:lang="en-US">Net Cash Provided by (Used in) Investing Activities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_NetCashProvidedByUsedInInvestingActivities" xml:lang="en-US">NET CASH USED IN INVESTING ACTIVITIES</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="lab_us-gaap_NetCashProvidedByUsedInInvestingActivities" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireMarketableSecurities" xlink:label="loc_us-gaap_PaymentsToAcquireMarketableSecurities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PaymentsToAcquireMarketableSecurities" xml:lang="en-US">Payments to Acquire Marketable Securities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_PaymentsToAcquireMarketableSecurities" xml:lang="en-US">Purchases of securities available for sale</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PaymentsToAcquireMarketableSecurities" xlink:to="lab_us-gaap_PaymentsToAcquireMarketableSecurities" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ProceedsFromBankOwnedLifeInsuranceDeathBenefits" xlink:label="loc_ubsi_ProceedsFromBankOwnedLifeInsuranceDeathBenefits" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_ProceedsFromBankOwnedLifeInsuranceDeathBenefits" xml:lang="en-US">Proceeds From Bank Owned Life Insurance Death Benefits</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_ProceedsFromBankOwnedLifeInsuranceDeathBenefits" xml:lang="en-US">Proceeds from bank-owned life insurance death benefits</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_ProceedsFromBankOwnedLifeInsuranceDeathBenefits" xlink:to="lab_ubsi_ProceedsFromBankOwnedLifeInsuranceDeathBenefits" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_ProceedsFromBankOwnedLifeInsuranceDeathBenefits" xml:lang="en-US">The cash inflow from a life insurance policy on an officer, executive or employee for which the reporting entity (a bank) receives upon the death of the insured or surrender of the insurance policy.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAcquiredFromAcquisition" xlink:label="loc_us-gaap_CashAcquiredFromAcquisition" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CashAcquiredFromAcquisition" xml:lang="en-US">Cash Acquired from Acquisition</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CashAcquiredFromAcquisition" xml:lang="en-US">Acquisition of Piedmont Bancorp, Inc., net of cash paid</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CashAcquiredFromAcquisition" xlink:to="lab_us-gaap_CashAcquiredFromAcquisition" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xml:lang="en-US">Net Cash Provided by (Used in) Financing Activities [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xml:lang="en-US">FINANCING ACTIVITIES</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:to="lab_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_IncreaseDecreaseInDepositsAndShortTermBorrowingsAbstract" xlink:label="loc_ubsi_IncreaseDecreaseInDepositsAndShortTermBorrowingsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_IncreaseDecreaseInDepositsAndShortTermBorrowingsAbstract" xml:lang="en-US">Increase Decrease In Deposits And Short Term Borrowings [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_IncreaseDecreaseInDepositsAndShortTermBorrowingsAbstract" xml:lang="en-US">Changes in:</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_IncreaseDecreaseInDepositsAndShortTermBorrowingsAbstract" xlink:to="lab_ubsi_IncreaseDecreaseInDepositsAndShortTermBorrowingsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_IncreaseDecreaseInDepositsAndShortTermBorrowingsAbstract" xml:lang="en-US">Increase Decrease In Deposits And Short Term Borrowings</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_IncreaseDecreaseInFederalFundsPurchasedSecuritiesSoldUnderAgreementsToRepurchaseAndOtherShortTermBorrowingsNet" xlink:label="loc_ubsi_IncreaseDecreaseInFederalFundsPurchasedSecuritiesSoldUnderAgreementsToRepurchaseAndOtherShortTermBorrowingsNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_IncreaseDecreaseInFederalFundsPurchasedSecuritiesSoldUnderAgreementsToRepurchaseAndOtherShortTermBorrowingsNet" xml:lang="en-US">Increase Decrease In Federal Funds Purchased Securities Sold Under Agreements To Repurchase And Other Short Term Borrowings Net</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_IncreaseDecreaseInFederalFundsPurchasedSecuritiesSoldUnderAgreementsToRepurchaseAndOtherShortTermBorrowingsNet" xml:lang="en-US">Federal funds purchased, securities sold under agreements to repurchase and other short-term borrowings</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_IncreaseDecreaseInFederalFundsPurchasedSecuritiesSoldUnderAgreementsToRepurchaseAndOtherShortTermBorrowingsNet" xlink:to="lab_ubsi_IncreaseDecreaseInFederalFundsPurchasedSecuritiesSoldUnderAgreementsToRepurchaseAndOtherShortTermBorrowingsNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_IncreaseDecreaseInFederalFundsPurchasedSecuritiesSoldUnderAgreementsToRepurchaseAndOtherShortTermBorrowingsNet" xml:lang="en-US">The net cash inflow (outflow) due to changes in federal funds purchased, securities sold under agreements to repurchase, and other short-term borrowings .</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInDeposits" xlink:label="loc_us-gaap_IncreaseDecreaseInDeposits" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncreaseDecreaseInDeposits" xml:lang="en-US">Increase (Decrease) in Deposits</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncreaseDecreaseInDeposits" xml:lang="en-US">Deposits</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInDeposits" xlink:to="lab_us-gaap_IncreaseDecreaseInDeposits" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDividends" xlink:label="loc_us-gaap_PaymentsOfDividends" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PaymentsOfDividends" xml:lang="en-US">Payments of Dividends</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_PaymentsOfDividends" xml:lang="en-US">Cash dividends paid</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PaymentsOfDividends" xlink:to="lab_us-gaap_PaymentsOfDividends" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PaymentsForRepurchaseOfCommonStock" xml:lang="en-US">Payments for Repurchase of Common Stock</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_PaymentsForRepurchaseOfCommonStock" xml:lang="en-US">Acquisition of treasury stock</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:to="lab_us-gaap_PaymentsForRepurchaseOfCommonStock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromStockOptionsExercised" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ProceedsFromStockOptionsExercised" xml:lang="en-US">Proceeds from Stock Options Exercised</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_ProceedsFromStockOptionsExercised" xml:lang="en-US">Proceeds from exercise of stock options</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProceedsFromStockOptionsExercised" xlink:to="lab_us-gaap_ProceedsFromStockOptionsExercised" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings" xlink:label="loc_us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings" xml:lang="en-US">Payments of FHLBank Borrowings, Financing Activities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings" xml:lang="en-US">Repayment of long-term Federal Home Loan Bank borrowings</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings" xlink:to="lab_us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NetCashProvidedByUsedInFinancingActivities" xml:lang="en-US">Net Cash Provided by (Used in) Financing Activities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_NetCashProvidedByUsedInFinancingActivities" xml:lang="en-US">NET CASH (USED IN) PROVIDED BY FINANCING ACTIVITIES</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="lab_us-gaap_NetCashProvidedByUsedInFinancingActivities" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SupplementalCashFlowInformationAbstract" xlink:label="loc_us-gaap_SupplementalCashFlowInformationAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SupplementalCashFlowInformationAbstract" xml:lang="en-US">Supplemental Cash Flow Information [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SupplementalCashFlowInformationAbstract" xml:lang="en-US">Supplemental information</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract" xlink:to="lab_us-gaap_SupplementalCashFlowInformationAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract" xlink:label="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract" xml:lang="en-US">Cash Flow, Noncash Investing and Financing Activities Disclosure [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract" xml:lang="en-US">Noncash investing activities:</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract" xlink:to="lab_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransferToOtherRealEstate" xlink:label="loc_us-gaap_TransferToOtherRealEstate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_TransferToOtherRealEstate" xml:lang="en-US">Real Estate Owned, Transfer to Real Estate Owned</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_TransferToOtherRealEstate" xml:lang="en-US">Transfers of loans to OREO</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TransferToOtherRealEstate" xlink:to="lab_us-gaap_TransferToOtherRealEstate" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NoncashExciseTaxOnNetStockRepurchases" xlink:label="loc_ubsi_NoncashExciseTaxOnNetStockRepurchases" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_NoncashExciseTaxOnNetStockRepurchases" xml:lang="en-US">Noncash Excise Tax On Net Stock Repurchases</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_NoncashExciseTaxOnNetStockRepurchases" xml:lang="en-US">Excise tax on net stock repurchases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_NoncashExciseTaxOnNetStockRepurchases" xlink:to="lab_ubsi_NoncashExciseTaxOnNetStockRepurchases" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_NoncashExciseTaxOnNetStockRepurchases" xml:lang="en-US">The noncash amount of the indirect tax levied on the net value of stock repurchased by publicly traded U.S. corporations.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability" xlink:label="loc_us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability" xml:lang="en-US">Right-of-Use Asset Obtained in Exchange for Operating Lease Liability</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability" xml:lang="en-US">Right-of-use assets obtained in the exchange for lease liabilities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability" xml:lang="en-US">ROU assets obtained in the exchange for lease liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability" xlink:to="lab_us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumedAbstract" xlink:label="loc_us-gaap_NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumedAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumedAbstract" xml:lang="en-US">Noncash or Part Noncash Acquisition, Net Nonmonetary Assets Acquired (Liabilities Assumed) [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumedAbstract" xml:lang="en-US">Acquisition of Piedmont Bancorp, Inc.:</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumedAbstract" xlink:to="lab_us-gaap_NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumedAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoncashOrPartNoncashAcquisitionValueOfAssetsAcquired1" xlink:label="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfAssetsAcquired1" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NoncashOrPartNoncashAcquisitionValueOfAssetsAcquired1" xml:lang="en-US">Noncash or Part Noncash Acquisition, Value of Assets Acquired</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_NoncashOrPartNoncashAcquisitionValueOfAssetsAcquired1" xml:lang="en-US">Assets acquired, net of cash</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfAssetsAcquired1" xlink:to="lab_us-gaap_NoncashOrPartNoncashAcquisitionValueOfAssetsAcquired1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumed1" xlink:label="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumed1" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumed1" xml:lang="en-US">Noncash or Part Noncash Acquisition, Value of Liabilities Assumed</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumed1" xml:lang="en-US">Liabilities assumed</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumed1" xlink:to="lab_us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumed1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoncashOrPartNoncashAcquisitionNoncashFinancialOrEquityInstrumentConsiderationSharesIssued1" xlink:label="loc_us-gaap_NoncashOrPartNoncashAcquisitionNoncashFinancialOrEquityInstrumentConsiderationSharesIssued1" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NoncashOrPartNoncashAcquisitionNoncashFinancialOrEquityInstrumentConsiderationSharesIssued1" xml:lang="en-US">Noncash or Part Noncash Acquisition, Noncash Financial or Equity Instrument Consideration, Shares Issued</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_NoncashOrPartNoncashAcquisitionNoncashFinancialOrEquityInstrumentConsiderationSharesIssued1" xml:lang="en-US">Issuance of common stock as consideration for acquisition</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NoncashOrPartNoncashAcquisitionNoncashFinancialOrEquityInstrumentConsiderationSharesIssued1" xlink:to="lab_us-gaap_NoncashOrPartNoncashAcquisitionNoncashFinancialOrEquityInstrumentConsiderationSharesIssued1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillAcquiredDuringPeriod" xlink:label="loc_us-gaap_GoodwillAcquiredDuringPeriod" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_GoodwillAcquiredDuringPeriod" xml:lang="en-US">Goodwill, Acquired During Period</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_GoodwillAcquiredDuringPeriod" xml:lang="en-US">Goodwill</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GoodwillAcquiredDuringPeriod" xlink:to="lab_us-gaap_GoodwillAcquiredDuringPeriod" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" xml:lang="en-US">Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Period Increase (Decrease), Excluding Exchange Rate Effect</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" xml:lang="en-US">(Decrease) Increase in cash and cash equivalents</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" xlink:to="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xml:lang="en-US">Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xml:lang="en-US">Cash and cash equivalents at beginning of year</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xml:lang="en-US">Cash and cash equivalents at end of period</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:to="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SeriesOfIndividuallySubsidiariesMember" xlink:label="loc_ubsi_SeriesOfIndividuallySubsidiariesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_SeriesOfIndividuallySubsidiariesMember" xml:lang="en-US">Series of Individually Subsidiaries [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_SeriesOfIndividuallySubsidiariesMember" xml:lang="en-US">Subsidiaries [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_SeriesOfIndividuallySubsidiariesMember" xlink:to="lab_ubsi_SeriesOfIndividuallySubsidiariesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_SeriesOfIndividuallySubsidiariesMember" xml:lang="en-US">Series of individually subsidiaries.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountingPoliciesAbstract" xlink:label="loc_us-gaap_AccountingPoliciesAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AccountingPoliciesAbstract" xml:lang="en-US">Accounting Policies [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccountingPoliciesAbstract" xlink:to="lab_us-gaap_AccountingPoliciesAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SignificantAccountingPoliciesTextBlock" xlink:label="loc_us-gaap_SignificantAccountingPoliciesTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SignificantAccountingPoliciesTextBlock" xml:lang="en-US">Significant Accounting Policies [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SignificantAccountingPoliciesTextBlock" xml:lang="en-US">Summary of Significant Accounting Policies</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SignificantAccountingPoliciesTextBlock" xlink:to="lab_us-gaap_SignificantAccountingPoliciesTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract" xlink:label="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract" xml:lang="en-US">Investments, Debt and Equity Securities [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract" xlink:to="lab_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock" xlink:label="loc_us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock" xml:lang="en-US">Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock" xml:lang="en-US">Investment Securities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock" xlink:to="lab_us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivablesAbstract" xlink:label="loc_us-gaap_ReceivablesAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ReceivablesAbstract" xml:lang="en-US">Receivables [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ReceivablesAbstract" xlink:to="lab_us-gaap_ReceivablesAbstract" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndLeasesReceivableTextBlock" xlink:label="loc_ubsi_LoansAndLeasesReceivableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_LoansAndLeasesReceivableTextBlock" xml:lang="en-US">Loans And Leases Receivable [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_LoansAndLeasesReceivableTextBlock" xml:lang="en-US">Loans and Leases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_LoansAndLeasesReceivableTextBlock" xlink:to="lab_ubsi_LoansAndLeasesReceivableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_LoansAndLeasesReceivableTextBlock" xml:lang="en-US">Loans and leases receivable</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TextBlockAbstract" xlink:label="loc_us-gaap_TextBlockAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_TextBlockAbstract" xml:lang="en-US">Text Block [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TextBlockAbstract" xlink:to="lab_us-gaap_TextBlockAbstract" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CreditQualityTextBlock" xlink:label="loc_ubsi_CreditQualityTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_CreditQualityTextBlock" xml:lang="en-US">Credit Quality [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_CreditQualityTextBlock" xml:lang="en-US">Credit Quality</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_CreditQualityTextBlock" xlink:to="lab_ubsi_CreditQualityTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_CreditQualityTextBlock" xml:lang="en-US">This disclosure presents quantitative and qualitative information about the credit quality of a portfolio of financing receivables, by class, including an analysis of the age of financing receivables that are past due, on nonaccrual status, impaired, and modified as of the end of the reporting period.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AllowanceForCreditLossesTextBlock" xlink:label="loc_us-gaap_AllowanceForCreditLossesTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AllowanceForCreditLossesTextBlock" xml:lang="en-US">Allowance for Credit Losses [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AllowanceForCreditLossesTextBlock" xml:lang="en-US">Allowance for Credit Losses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AllowanceForCreditLossesTextBlock" xlink:to="lab_us-gaap_AllowanceForCreditLossesTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract" xml:lang="en-US">Goodwill and Intangible Assets Disclosure [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract" xml:lang="en-US">INTANGIBLE ASSETS [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract" xlink:to="lab_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock" xml:lang="en-US">Goodwill and Intangible Assets Disclosure [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock" xml:lang="en-US">Intangible Assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock" xlink:to="lab_us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeasesAbstract" xlink:label="loc_us-gaap_LeasesAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LeasesAbstract" xml:lang="en-US">Leases [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LeasesAbstract" xlink:to="lab_us-gaap_LeasesAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeasesTextBlock" xlink:label="loc_us-gaap_LesseeOperatingLeasesTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LesseeOperatingLeasesTextBlock" xml:lang="en-US">Lessee, Operating Leases [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LesseeOperatingLeasesTextBlock" xml:lang="en-US">Leases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LesseeOperatingLeasesTextBlock" xlink:to="lab_us-gaap_LesseeOperatingLeasesTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtDisclosureAbstract" xlink:label="loc_us-gaap_DebtDisclosureAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtDisclosureAbstract" xml:lang="en-US">Debt Disclosure [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtDisclosureAbstract" xlink:to="lab_us-gaap_DebtDisclosureAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermDebtTextBlock" xlink:label="loc_us-gaap_ShortTermDebtTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShortTermDebtTextBlock" xml:lang="en-US">Short-term Debt [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShortTermDebtTextBlock" xml:lang="en-US">Short-Term Borrowings</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShortTermDebtTextBlock" xlink:to="lab_us-gaap_ShortTermDebtTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtTextBlock" xlink:label="loc_us-gaap_LongTermDebtTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LongTermDebtTextBlock" xml:lang="en-US">Long-term Debt [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LongTermDebtTextBlock" xml:lang="en-US">Long-Term Borrowings</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermDebtTextBlock" xlink:to="lab_us-gaap_LongTermDebtTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:label="loc_us-gaap_CommitmentsAndContingenciesDisclosureAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xml:lang="en-US">Commitments and Contingencies Disclosure [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:to="lab_us-gaap_CommitmentsAndContingenciesDisclosureAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:label="loc_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xml:lang="en-US">Commitments and Contingencies Disclosure [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xml:lang="en-US">Commitments and Contingent Liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:to="lab_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:label="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xml:lang="en-US">Derivative Instruments and Hedging Activities Disclosure [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:to="lab_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock" xlink:label="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock" xml:lang="en-US">Derivative Instruments and Hedging Activities Disclosure [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock" xml:lang="en-US">Derivative Financial Instruments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock" xlink:to="lab_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueDisclosuresAbstract" xlink:label="loc_us-gaap_FairValueDisclosuresAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueDisclosuresAbstract" xml:lang="en-US">Fair Value Disclosures [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueDisclosuresAbstract" xlink:to="lab_us-gaap_FairValueDisclosuresAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueDisclosuresTextBlock" xlink:label="loc_us-gaap_FairValueDisclosuresTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueDisclosuresTextBlock" xml:lang="en-US">Fair Value Disclosures [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FairValueDisclosuresTextBlock" xml:lang="en-US">Fair Value Measurements</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueDisclosuresTextBlock" xlink:to="lab_us-gaap_FairValueDisclosuresTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:label="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xml:lang="en-US">Disclosure of Compensation Related Costs, Share-based Payments [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:to="lab_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock" xlink:label="loc_us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock" xml:lang="en-US">Disclosure of Compensation Related Costs, Share-based Payments [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock" xml:lang="en-US">Stock Based Compensation</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock" xlink:to="lab_us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CompensationAndRetirementDisclosureAbstract" xlink:label="loc_us-gaap_CompensationAndRetirementDisclosureAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CompensationAndRetirementDisclosureAbstract" xml:lang="en-US">Retirement Benefits [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CompensationAndRetirementDisclosureAbstract" xlink:to="lab_us-gaap_CompensationAndRetirementDisclosureAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock" xlink:label="loc_us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock" xml:lang="en-US">Pension and Other Postretirement Benefits Disclosure [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock" xml:lang="en-US">Employee Benefit Plans</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock" xlink:to="lab_us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxDisclosureAbstract" xlink:label="loc_us-gaap_IncomeTaxDisclosureAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxDisclosureAbstract" xml:lang="en-US">Income Tax Disclosure [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract" xlink:to="lab_us-gaap_IncomeTaxDisclosureAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxDisclosureTextBlock" xlink:label="loc_us-gaap_IncomeTaxDisclosureTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxDisclosureTextBlock" xml:lang="en-US">Income Tax Disclosure [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncomeTaxDisclosureTextBlock" xml:lang="en-US">Income Taxes</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxDisclosureTextBlock" xlink:to="lab_us-gaap_IncomeTaxDisclosureTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityAbstract" xlink:label="loc_us-gaap_EquityAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EquityAbstract" xml:lang="en-US">Equity [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquityAbstract" xlink:to="lab_us-gaap_EquityAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNoteTextBlock" xlink:label="loc_us-gaap_ComprehensiveIncomeNoteTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ComprehensiveIncomeNoteTextBlock" xml:lang="en-US">Comprehensive Income (Loss) Note [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ComprehensiveIncomeNoteTextBlock" xml:lang="en-US">Comprehensive Income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ComprehensiveIncomeNoteTextBlock" xlink:to="lab_us-gaap_ComprehensiveIncomeNoteTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EarningsPerShareTextBlock" xlink:label="loc_us-gaap_EarningsPerShareTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EarningsPerShareTextBlock" xml:lang="en-US">Earnings Per Share [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EarningsPerShareTextBlock" xml:lang="en-US">Earnings Per Share</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EarningsPerShareTextBlock" xlink:to="lab_us-gaap_EarningsPerShareTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:label="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xml:lang="en-US">Organization, Consolidation and Presentation of Financial Statements [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:to="lab_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableInterestEntityDisclosureTextBlock" xlink:label="loc_us-gaap_VariableInterestEntityDisclosureTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_VariableInterestEntityDisclosureTextBlock" xml:lang="en-US">Variable Interest Entity Disclosure [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_VariableInterestEntityDisclosureTextBlock" xml:lang="en-US">Variable Interest Entities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_VariableInterestEntityDisclosureTextBlock" xlink:to="lab_us-gaap_VariableInterestEntityDisclosureTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingAbstract" xlink:label="loc_us-gaap_SegmentReportingAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SegmentReportingAbstract" xml:lang="en-US">Segment Reporting [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SegmentReportingAbstract" xlink:to="lab_us-gaap_SegmentReportingAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingDisclosureTextBlock" xlink:label="loc_us-gaap_SegmentReportingDisclosureTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SegmentReportingDisclosureTextBlock" xml:lang="en-US">Segment Reporting Disclosure [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SegmentReportingDisclosureTextBlock" xml:lang="en-US">Segment Information</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SegmentReportingDisclosureTextBlock" xlink:to="lab_us-gaap_SegmentReportingDisclosureTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BasisOfAccountingPolicyPolicyTextBlock" xlink:label="loc_us-gaap_BasisOfAccountingPolicyPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BasisOfAccountingPolicyPolicyTextBlock" xml:lang="en-US">Basis of Accounting, Policy [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_BasisOfAccountingPolicyPolicyTextBlock" xml:lang="en-US">Basis of Presentation</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BasisOfAccountingPolicyPolicyTextBlock" xlink:to="lab_us-gaap_BasisOfAccountingPolicyPolicyTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" xlink:label="loc_us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" xml:lang="en-US">New Accounting Pronouncements, Policy [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" xml:lang="en-US">Recent Accounting Pronouncements</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" xlink:to="lab_us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingPolicyPolicyTextBlock" xlink:label="loc_us-gaap_SegmentReportingPolicyPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SegmentReportingPolicyPolicyTextBlock" xml:lang="en-US">Segment Reporting, Policy [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SegmentReportingPolicyPolicyTextBlock" xml:lang="en-US">Operating and Reporting Segments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SegmentReportingPolicyPolicyTextBlock" xlink:to="lab_us-gaap_SegmentReportingPolicyPolicyTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleTableTextBlock" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleTableTextBlock" xml:lang="en-US">Debt Securities, Available-for-sale [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleTableTextBlock" xml:lang="en-US">Summary of Amortized Cost and Estimated Fair Values of Available for Sale Securities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTableTextBlock" xlink:to="lab_us-gaap_DebtSecuritiesAvailableForSaleTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnrealizedGainLossOnInvestmentsTableTextBlock" xlink:label="loc_us-gaap_UnrealizedGainLossOnInvestmentsTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_UnrealizedGainLossOnInvestmentsTableTextBlock" xml:lang="en-US">Unrealized Gain (Loss) on Investments [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_UnrealizedGainLossOnInvestmentsTableTextBlock" xml:lang="en-US">Summary of Securities Available for Sale in an Unrealized Loss Position</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_UnrealizedGainLossOnInvestmentsTableTextBlock" xlink:to="lab_us-gaap_UnrealizedGainLossOnInvestmentsTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfRealizedGainLossTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfRealizedGainLossTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfRealizedGainLossTableTextBlock" xml:lang="en-US">Schedule of Realized Gain (Loss) [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfRealizedGainLossTableTextBlock" xml:lang="en-US">Summary of Gains or Losses on Proceeds from Maturities, Sales and Calls of Available for Sale Securities by Specific Identification Method</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfRealizedGainLossTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfRealizedGainLossTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock" xlink:label="loc_us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock" xml:lang="en-US">Investments Classified by Contractual Maturity Date [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock" xml:lang="en-US">Summary of Maturities of Debt Securities Held to Maturity by Amortized Cost and Estimated Fair Value</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock" xlink:to="lab_us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock" xml:lang="en-US">Schedule of Available-for-sale Securities Reconciliation [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock" xml:lang="en-US">Summary of Equity Securities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock" xml:lang="en-US">Schedule of Accounts, Notes, Loans and Financing Receivable [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock" xml:lang="en-US">Major Classes of Loans And Leases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock" xlink:to="lab_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PastDueFinancingReceivablesTableTextBlock" xlink:label="loc_us-gaap_PastDueFinancingReceivablesTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PastDueFinancingReceivablesTableTextBlock" xml:lang="en-US">Past Due Financing Receivables [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_PastDueFinancingReceivablesTableTextBlock" xml:lang="en-US">Schedule of Age Analysis of its Past Due Loans, Segregated by Class of Loans and Leases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PastDueFinancingReceivablesTableTextBlock" xlink:to="lab_us-gaap_PastDueFinancingReceivablesTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock" xml:lang="en-US">Schedule of Financing Receivables, Non Accrual Status [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock" xml:lang="en-US">Schedule of Nonaccrual Loans, Segregated by Class of Loans and Leases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CollateralDependentLoansAndLeasesTableTextBlock" xlink:label="loc_ubsi_CollateralDependentLoansAndLeasesTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_CollateralDependentLoansAndLeasesTableTextBlock" xml:lang="en-US">Collateral Dependent Loans And Leases [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_CollateralDependentLoansAndLeasesTableTextBlock" xml:lang="en-US">Schedule of Amortized Cost Loans and Leases Pledged As Collateral</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_CollateralDependentLoansAndLeasesTableTextBlock" xlink:to="lab_ubsi_CollateralDependentLoansAndLeasesTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_CollateralDependentLoansAndLeasesTableTextBlock" xml:lang="en-US">Tabular disclosure of financing receivables that are collateral dependent.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ScheduleOfTermLoansAndFinancingReceivableTableTextBlock" xlink:label="loc_ubsi_ScheduleOfTermLoansAndFinancingReceivableTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_ScheduleOfTermLoansAndFinancingReceivableTableTextBlock" xml:lang="en-US">Schedule Of Term Loans And Financing Receivable [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_ScheduleOfTermLoansAndFinancingReceivableTableTextBlock" xml:lang="en-US">Schedule of Risk Category of Loans by Class of Loans and Leases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_ScheduleOfTermLoansAndFinancingReceivableTableTextBlock" xlink:to="lab_ubsi_ScheduleOfTermLoansAndFinancingReceivableTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_ScheduleOfTermLoansAndFinancingReceivableTableTextBlock" xml:lang="en-US">Schedule of the loan terms in which financing receivables are reviewed to classify as to credit risk.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ScheduleOfFinancialEffectOfLoanAndLeaseModificationsTableTextBlock" xlink:label="loc_ubsi_ScheduleOfFinancialEffectOfLoanAndLeaseModificationsTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_ScheduleOfFinancialEffectOfLoanAndLeaseModificationsTableTextBlock" xml:lang="en-US">Schedule Of Financial Effect Of Loan And Lease Modifications [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_ScheduleOfFinancialEffectOfLoanAndLeaseModificationsTableTextBlock" xml:lang="en-US">Schedule of Financial Effect of Loan and Lease Modifications</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_ScheduleOfFinancialEffectOfLoanAndLeaseModificationsTableTextBlock" xlink:to="lab_ubsi_ScheduleOfFinancialEffectOfLoanAndLeaseModificationsTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_ScheduleOfFinancialEffectOfLoanAndLeaseModificationsTableTextBlock" xml:lang="en-US">Schedule of financial effect of loan and lease modifications.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ScheduleOfAmortizedCostBasisPaymentStatusTableTextBlock" xlink:label="loc_ubsi_ScheduleOfAmortizedCostBasisPaymentStatusTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_ScheduleOfAmortizedCostBasisPaymentStatusTableTextBlock" xml:lang="en-US">Schedule Of Amortized Cost Basis Payment Status [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_ScheduleOfAmortizedCostBasisPaymentStatusTableTextBlock" xml:lang="en-US">Schedule of Amortized Cost Basis Payment Status</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_ScheduleOfAmortizedCostBasisPaymentStatusTableTextBlock" xlink:to="lab_ubsi_ScheduleOfAmortizedCostBasisPaymentStatusTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_ScheduleOfAmortizedCostBasisPaymentStatusTableTextBlock" xml:lang="en-US">Schedule of amortized cost basis payment status.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ScheduleOfAmortizedCostBasisOfLoanModificationsMadeToBorrowersTableTextBlock" xlink:label="loc_ubsi_ScheduleOfAmortizedCostBasisOfLoanModificationsMadeToBorrowersTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_ScheduleOfAmortizedCostBasisOfLoanModificationsMadeToBorrowersTableTextBlock" xml:lang="en-US">Schedule Of Amortized Cost Basis of Loan Modifications Made to Borrowers [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_ScheduleOfAmortizedCostBasisOfLoanModificationsMadeToBorrowersTableTextBlock" xml:lang="en-US">Schedule of Amortized Cost Basis of Loan Modifications Made to Borrowers</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_ScheduleOfAmortizedCostBasisOfLoanModificationsMadeToBorrowersTableTextBlock" xlink:to="lab_ubsi_ScheduleOfAmortizedCostBasisOfLoanModificationsMadeToBorrowersTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_ScheduleOfAmortizedCostBasisOfLoanModificationsMadeToBorrowersTableTextBlock" xml:lang="en-US">Schedule of amortized cost basis of Loan modifications made to borrowers.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock" xlink:label="loc_us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock" xml:lang="en-US">Allowance for Credit Losses on Financing Receivables [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock" xml:lang="en-US">Schedule of Allowance for Loan Losses and Carrying Amount of Loans</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock" xlink:to="lab_us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ScheduleRelatedToAccruedInterestReceivablesAndWrittenOff" xlink:label="loc_ubsi_ScheduleRelatedToAccruedInterestReceivablesAndWrittenOff" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_ScheduleRelatedToAccruedInterestReceivablesAndWrittenOff" xml:lang="en-US">Schedule Related To Accrued Interest Receivables And Written Off</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_ScheduleRelatedToAccruedInterestReceivablesAndWrittenOff" xml:lang="en-US">Schedule Of Credit Losses Related To Accrued Interest Receivables and Written Off</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_ScheduleRelatedToAccruedInterestReceivablesAndWrittenOff" xlink:to="lab_ubsi_ScheduleRelatedToAccruedInterestReceivablesAndWrittenOff" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_ScheduleRelatedToAccruedInterestReceivablesAndWrittenOff" xml:lang="en-US">Schedule of accrued but unpaid interest on loans and amounts written off by reversing interest income.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ScheduleOfAccruedInterestReceivablesWrittenOffByReversingInterestTableTextBlock" xlink:label="loc_ubsi_ScheduleOfAccruedInterestReceivablesWrittenOffByReversingInterestTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_ScheduleOfAccruedInterestReceivablesWrittenOffByReversingInterestTableTextBlock" xml:lang="en-US">Schedule Of Accrued Interest Receivables Written Off By Reversing Interest [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_ScheduleOfAccruedInterestReceivablesWrittenOffByReversingInterestTableTextBlock" xml:lang="en-US">Schedule of Accrued Interest Receivables Written off by Reversing Interest</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_ScheduleOfAccruedInterestReceivablesWrittenOffByReversingInterestTableTextBlock" xlink:to="lab_ubsi_ScheduleOfAccruedInterestReceivablesWrittenOffByReversingInterestTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_ScheduleOfAccruedInterestReceivablesWrittenOffByReversingInterestTableTextBlock" xml:lang="en-US">Schedule of accrued interest receivables written off by reversing interest.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock" xml:lang="en-US">Schedule of Intangible Assets and Goodwill [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock" xml:lang="en-US">Summary of Intangible Assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock" xlink:label="loc_us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock" xml:lang="en-US">Schedule of Finite-Lived Intangible Assets, Future Amortization Expense [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock" xml:lang="en-US">Schedule of Anticipated Amortization Expense</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock" xlink:to="lab_us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeaseCostTableTextBlock" xlink:label="loc_us-gaap_LeaseCostTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LeaseCostTableTextBlock" xml:lang="en-US">Lease, Cost [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LeaseCostTableTextBlock" xml:lang="en-US">Components of Lease Expense</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LeaseCostTableTextBlock" xlink:to="lab_us-gaap_LeaseCostTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OperatingLeaseBalanceSheetLocationTableTextBlock" xlink:label="loc_ubsi_OperatingLeaseBalanceSheetLocationTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_OperatingLeaseBalanceSheetLocationTableTextBlock" xml:lang="en-US">Operating Lease Balance Sheet Location Table Text Block [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_OperatingLeaseBalanceSheetLocationTableTextBlock" xml:lang="en-US">Supplemental Balance Sheet Information Related to Leases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_OperatingLeaseBalanceSheetLocationTableTextBlock" xlink:to="lab_ubsi_OperatingLeaseBalanceSheetLocationTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_OperatingLeaseBalanceSheetLocationTableTextBlock" xml:lang="en-US">Tabular disclosure of the location and amounts of operating leases reported in the statement of financial position.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OperatingLeaseTermAndDiscountRateTextBlock" xlink:label="loc_ubsi_OperatingLeaseTermAndDiscountRateTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_OperatingLeaseTermAndDiscountRateTextBlock" xml:lang="en-US">Operating Lease Term And Discount Rate [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_OperatingLeaseTermAndDiscountRateTextBlock" xml:lang="en-US">Other Information Related to Leases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_OperatingLeaseTermAndDiscountRateTextBlock" xlink:to="lab_ubsi_OperatingLeaseTermAndDiscountRateTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_OperatingLeaseTermAndDiscountRateTextBlock" xml:lang="en-US">Tabular disclosure of the weighted-average remaining lease term of operating leases and the weighted-average discount rate used to present value operating lease payments over the term of the operating leases.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OperatingLeasesCashFlowInformationTextBlock" xlink:label="loc_ubsi_OperatingLeasesCashFlowInformationTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_OperatingLeasesCashFlowInformationTextBlock" xml:lang="en-US">Operating Leases Cash Flow Information [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_OperatingLeasesCashFlowInformationTextBlock" xml:lang="en-US">Supplemental Cash Flow Information Related to Leases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_OperatingLeasesCashFlowInformationTextBlock" xlink:to="lab_ubsi_OperatingLeasesCashFlowInformationTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_OperatingLeasesCashFlowInformationTextBlock" xml:lang="en-US">Tabular disclosure of cash flow information related to operating leases.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock" xml:lang="en-US">Lessee, Operating Lease, Liability, Maturity [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock" xml:lang="en-US">Maturities of Lease Liabilities by Year</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock" xlink:to="lab_us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShortTermDebtTextBlock" xlink:label="loc_us-gaap_ScheduleOfShortTermDebtTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfShortTermDebtTextBlock" xml:lang="en-US">Schedule of Short-term Debt [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfShortTermDebtTextBlock" xml:lang="en-US">Funds Purchased and Securities Sold Under Agreements to Repurchase and Weighted-Average Interest Rates</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfShortTermDebtTextBlock" xlink:to="lab_us-gaap_ScheduleOfShortTermDebtTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock" xlink:label="loc_us-gaap_ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock" xml:lang="en-US">Schedule of Derivative Instruments in Statement of Financial Position, Fair Value [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock" xml:lang="en-US">Schedule of Notional Amount and Fair Value of Derivative Financial Instruments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock" xlink:to="lab_us-gaap_ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock" xml:lang="en-US">Schedule of Fair Value Hedging Instruments, Statements of Financial Performance and Financial Position, Location [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock" xml:lang="en-US">Summary of Carrying Amount Hedged Assets/(Liabilities)</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock" xlink:label="loc_us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock" xml:lang="en-US">Derivative Instruments, Gain (Loss) [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock" xml:lang="en-US">Schedule of Derivative Financial Instruments on Statements of Income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock" xlink:to="lab_us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" xml:lang="en-US">Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" xml:lang="en-US">Schedule of Financial Assets and Liabilities Measured at Fair Value</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock" xml:lang="en-US">Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock" xml:lang="en-US">Schedule of Additional Information about Financial Assets and Liabilities Measured at Fair Value Utilized Level 3</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock" xlink:to="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueOptionTextBlock" xlink:label="loc_us-gaap_FairValueOptionTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueOptionTextBlock" xml:lang="en-US">Fair Value, Option [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FairValueOptionTextBlock" xml:lang="en-US">Schedule of Changes in Fair Value Included in Earnings of Financial Instruments for which Fair Value Option has been Elected</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueOptionTextBlock" xlink:to="lab_us-gaap_FairValueOptionTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueOptionQuantitativeDisclosuresTextBlock" xlink:label="loc_us-gaap_FairValueOptionQuantitativeDisclosuresTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueOptionQuantitativeDisclosuresTextBlock" xml:lang="en-US">Fair Value Option, Disclosures [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FairValueOptionQuantitativeDisclosuresTextBlock" xml:lang="en-US">Summary of Difference Between Aggregate Fair Value and Remaining Contractual Principal Outstanding for Financial Instruments for which Fair Value Option has been Elected</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueOptionQuantitativeDisclosuresTextBlock" xlink:to="lab_us-gaap_FairValueOptionQuantitativeDisclosuresTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueAssetsMeasuredOnNonrecurringBasisTextBlock" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnNonrecurringBasisTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueAssetsMeasuredOnNonrecurringBasisTextBlock" xml:lang="en-US">Fair Value Measurements, Nonrecurring [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FairValueAssetsMeasuredOnNonrecurringBasisTextBlock" xml:lang="en-US">Summary of Financial Assets Measured at Fair Value on Nonrecurring Basis</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnNonrecurringBasisTextBlock" xlink:to="lab_us-gaap_FairValueAssetsMeasuredOnNonrecurringBasisTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByBalanceSheetGroupingTextBlock" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueByBalanceSheetGroupingTextBlock" xml:lang="en-US">Fair Value, by Balance Sheet Grouping [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FairValueByBalanceSheetGroupingTextBlock" xml:lang="en-US">Summary of Estimated Fair Values of Financial Instruments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTextBlock" xlink:to="lab_us-gaap_FairValueByBalanceSheetGroupingTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock" xml:lang="en-US">Share-based Compensation, Stock Options, Activity [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock" xml:lang="en-US">Summary of Stock Option Plans</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSharebasedCompensationRestrictedStockAndRestrictedStockUnitsActivityTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfSharebasedCompensationRestrictedStockAndRestrictedStockUnitsActivityTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfSharebasedCompensationRestrictedStockAndRestrictedStockUnitsActivityTableTextBlock" xml:lang="en-US">Schedule of Share-based Compensation, Restricted Stock and Restricted Stock Units Activity [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfSharebasedCompensationRestrictedStockAndRestrictedStockUnitsActivityTableTextBlock" xml:lang="en-US">Summary of Changes to United's Restricted Common Shares</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfSharebasedCompensationRestrictedStockAndRestrictedStockUnitsActivityTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfSharebasedCompensationRestrictedStockAndRestrictedStockUnitsActivityTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfNonvestedShareActivityTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfNonvestedShareActivityTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfNonvestedShareActivityTableTextBlock" xml:lang="en-US">Schedule of Nonvested Share Activity [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfNonvestedShareActivityTableTextBlock" xml:lang="en-US">Summary of Status of United's Nonvested Stock Option Awards</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfNonvestedShareActivityTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfNonvestedShareActivityTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfNetBenefitCostsTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfNetBenefitCostsTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfNetBenefitCostsTableTextBlock" xml:lang="en-US">Schedule of Net Benefit Costs [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfNetBenefitCostsTableTextBlock" xml:lang="en-US">Net Periodic Pension Cost</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfNetBenefitCostsTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfNetBenefitCostsTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfComprehensiveIncomeLossTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfComprehensiveIncomeLossTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfComprehensiveIncomeLossTableTextBlock" xml:lang="en-US">Comprehensive Income (Loss) [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfComprehensiveIncomeLossTableTextBlock" xml:lang="en-US">Components of Total Comprehensive Income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfComprehensiveIncomeLossTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfComprehensiveIncomeLossTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock" xml:lang="en-US">Schedule of Accumulated Other Comprehensive Income (Loss) [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock" xml:lang="en-US">Components of Accumulated Other Comprehensive Income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTableTextBlock" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTableTextBlock" xml:lang="en-US">Reclassification out of Accumulated Other Comprehensive Income [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTableTextBlock" xml:lang="en-US">Reclassifications Out of Accumulated Other Comprehensive Income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTableTextBlock" xlink:to="lab_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" xml:lang="en-US">Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" xml:lang="en-US">Reconciliation of Numerator and Denominator of Basic Earnings Per Share with that of Diluted Earnings Per Share</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_InformationRelatedToStatutoryTrustsTableTextBlock" xlink:label="loc_ubsi_InformationRelatedToStatutoryTrustsTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_InformationRelatedToStatutoryTrustsTableTextBlock" xml:lang="en-US">Information Related To Statutory Trusts [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_InformationRelatedToStatutoryTrustsTableTextBlock" xml:lang="en-US">Information Related to Statutory Trusts</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_InformationRelatedToStatutoryTrustsTableTextBlock" xlink:to="lab_ubsi_InformationRelatedToStatutoryTrustsTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_InformationRelatedToStatutoryTrustsTableTextBlock" xml:lang="en-US">Tabular disclosure of certain information related to the statutory trusts including the issuance date, amount of capital securities issued, interest rate and maturity date.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" xml:lang="en-US">Schedule of Segment Reporting Information, by Segment [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" xml:lang="en-US">Summary of Community Banking Segment Information</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" xlink:to="lab_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ScheduleOfSegmentReportingFinanacialPositionInformationBySegmentTableTextBlock" xlink:label="loc_ubsi_ScheduleOfSegmentReportingFinanacialPositionInformationBySegmentTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_ScheduleOfSegmentReportingFinanacialPositionInformationBySegmentTableTextBlock" xml:lang="en-US">Schedule Of Segment Reporting Finanacial Position Information By Segment [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_ScheduleOfSegmentReportingFinanacialPositionInformationBySegmentTableTextBlock" xml:lang="en-US">Summary of Community Banking Segment Total Assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_ScheduleOfSegmentReportingFinanacialPositionInformationBySegmentTableTextBlock" xlink:to="lab_ubsi_ScheduleOfSegmentReportingFinanacialPositionInformationBySegmentTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_ScheduleOfSegmentReportingFinanacialPositionInformationBySegmentTableTextBlock" xml:lang="en-US">Schedule of segment reporting finanacial position information by segment.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfInvestmentsTable" xlink:label="loc_us-gaap_ScheduleOfInvestmentsTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfInvestmentsTable" xml:lang="en-US">Schedule of Investments [Table]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfInvestmentsTable" xml:lang="en-US">Schedule of Investments [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable" xlink:to="lab_us-gaap_ScheduleOfInvestmentsTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancialInstrumentAxis" xml:lang="en-US">Financial Instrument [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinancialInstrumentAxis" xml:lang="en-US">Financial Instrument [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancialInstrumentAxis" xlink:to="lab_us-gaap_FinancialInstrumentAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xml:lang="en-US">Financial Instruments [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xml:lang="en-US">Financial Instruments [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="lab_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember" xml:lang="en-US">US Government Corporations and Agencies Securities [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember" xml:lang="en-US">U.S. Treasury Securities and Obligations of U.S. Government Corporations and Agencies [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember" xml:lang="en-US">U.S. Treasury securities and&#160;obligations of U.S. Government corporations and agencies [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember" xlink:to="lab_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember" xlink:label="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_USStatesAndPoliticalSubdivisionsMember" xml:lang="en-US">US States and Political Subdivisions Debt Securities [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_USStatesAndPoliticalSubdivisionsMember" xml:lang="en-US">State and Political Subdivisions [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_USStatesAndPoliticalSubdivisionsMember" xml:lang="en-US">State and Political Subdivisions [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember" xlink:to="lab_us-gaap_USStatesAndPoliticalSubdivisionsMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ResidentialMortgageBackedSecuritiesNonAgencyMember" xlink:label="loc_ubsi_ResidentialMortgageBackedSecuritiesNonAgencyMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_ResidentialMortgageBackedSecuritiesNonAgencyMember" xml:lang="en-US">Residential Mortgage Backed Securities Non Agency [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_ResidentialMortgageBackedSecuritiesNonAgencyMember" xml:lang="en-US">Residential Mortgage-Backed Securities, Non-agency [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_ResidentialMortgageBackedSecuritiesNonAgencyMember" xlink:to="lab_ubsi_ResidentialMortgageBackedSecuritiesNonAgencyMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_ResidentialMortgageBackedSecuritiesNonAgencyMember" xml:lang="en-US">Residential mortgage-backed securities non-agency.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialMortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_CommercialMortgageBackedSecuritiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CommercialMortgageBackedSecuritiesMember" xml:lang="en-US">Commercial Mortgage Backed Securities [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/disclosureGuidance" xlink:label="lab_us-gaap_CommercialMortgageBackedSecuritiesMember" xml:lang="en-US">Commercial Mortgage-Backed Securities Agency [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/presentationGuidance" xlink:label="lab_us-gaap_CommercialMortgageBackedSecuritiesMember" xml:lang="en-US">Commercial Mortgage-Backed Securities Agency [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CommercialMortgageBackedSecuritiesMember" xml:lang="en-US">Commercial Mortgage-Backed Securities [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_CommercialMortgageBackedSecuritiesMember" xml:lang="en-US">Commercial Mortgage-Backed Securities [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommercialMortgageBackedSecuritiesMember" xlink:to="lab_us-gaap_CommercialMortgageBackedSecuritiesMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AssetBackedSecuritiesMember" xml:lang="en-US">Asset-backed Securities [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AssetBackedSecuritiesMember" xml:lang="en-US">Asset-backed Securities [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_AssetBackedSecuritiesMember" xml:lang="en-US">Asset-Backed Securities [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AssetBackedSecuritiesMember" xlink:to="lab_us-gaap_AssetBackedSecuritiesMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SingleIssueTrustPreferredSecuritiesMember" xlink:label="loc_ubsi_SingleIssueTrustPreferredSecuritiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_SingleIssueTrustPreferredSecuritiesMember" xml:lang="en-US">Single Issue Trust Preferred Securities [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_SingleIssueTrustPreferredSecuritiesMember" xml:lang="en-US">Single Issue Trust Preferred Securities [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_SingleIssueTrustPreferredSecuritiesMember" xml:lang="en-US">Single Issue Trust Preferred Securities [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_SingleIssueTrustPreferredSecuritiesMember" xlink:to="lab_ubsi_SingleIssueTrustPreferredSecuritiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_SingleIssueTrustPreferredSecuritiesMember" xml:lang="en-US">Single issue trust preferred securities.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CorporateDebtSecuritiesMember" xml:lang="en-US">Corporate Debt Securities [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/presentationGuidance" xlink:label="lab_us-gaap_CorporateDebtSecuritiesMember" xml:lang="en-US">Other Corporate Securities [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CorporateDebtSecuritiesMember" xml:lang="en-US">Corporate Bonds [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_CorporateDebtSecuritiesMember" xml:lang="en-US">Other corporate securities [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CorporateDebtSecuritiesMember" xlink:to="lab_us-gaap_CorporateDebtSecuritiesMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialMortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ResidentialMortgageBackedSecuritiesMember" xml:lang="en-US">Residential Mortgage-Backed Securities [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_ResidentialMortgageBackedSecuritiesMember" xml:lang="en-US">Residential mortgage-backed securities Agency [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_ResidentialMortgageBackedSecuritiesMember" xml:lang="en-US">Residential Mortgage-Backed Securities, Agency [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/presentationGuidance" xlink:label="lab_us-gaap_ResidentialMortgageBackedSecuritiesMember" xml:lang="en-US">Residential Mortgage-Backed Securities, Agency [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ResidentialMortgageBackedSecuritiesMember" xml:lang="en-US">Residential Mortgage-Backed Securities [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember" xlink:to="lab_us-gaap_ResidentialMortgageBackedSecuritiesMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfInvestmentsLineItems" xlink:label="loc_us-gaap_ScheduleOfInvestmentsLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfInvestmentsLineItems" xml:lang="en-US">Schedule of Investments [Line Items]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfInvestmentsLineItems" xml:lang="en-US">Schedule of Investments [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems" xlink:to="lab_us-gaap_ScheduleOfInvestmentsLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xml:lang="en-US">Debt Securities, Available-for-sale, Accumulated Gross Unrealized Gain, before Tax</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xml:lang="en-US">Gross Unrealized Gains</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:to="lab_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xml:lang="en-US">Debt Securities, Available-for-sale, Accumulated Gross Unrealized Loss, before Tax</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xml:lang="en-US">Gross Unrealized Losses</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xml:lang="en-US">Gross unrealized losses on available for sale securities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:to="lab_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months" xml:lang="en-US">Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, Less than 12 Months</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months" xml:lang="en-US">Less than 12 months, Fair Value</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months" xlink:to="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xml:lang="en-US">Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, Less than 12 Months, Accumulated Loss</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xml:lang="en-US">Less than 12 months, Unrealized Losses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:to="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValues" xlink:label="loc_ubsi_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValues" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValues" xml:lang="en-US">Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Values</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValues" xml:lang="en-US">12 months or longer, Fair Value</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValues" xlink:to="lab_ubsi_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValues" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValues" xml:lang="en-US">Amount of investment in debt security measured at fair value (available-for-sale), in continuous unrealized loss position for 12 months or longer.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xml:lang="en-US">Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xml:lang="en-US">12 months or longer, Unrealized Losses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:to="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition" xml:lang="en-US">Debt Securities, Available-for-sale, Unrealized Loss Position</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition" xml:lang="en-US">Total, Fair Value</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition" xlink:to="lab_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss" xml:lang="en-US">Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss" xml:lang="en-US">Total, Unrealized Losses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss" xlink:to="lab_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGain" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain" xml:lang="en-US">Debt Securities, Available-for-sale, Realized Gain</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain" xml:lang="en-US">Gross realized gains</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain" xlink:to="lab_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss" xml:lang="en-US">Debt Securities, Available-for-sale, Realized Loss</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss" xml:lang="en-US">Gross realized losses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss" xlink:to="lab_us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities" xml:lang="en-US">Proceeds from Sale and Maturity of Debt Securities, Available-for-Sale</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities" xml:lang="en-US">Proceeds from sales, calls and maturities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities" xlink:to="lab_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AgencyMortgageBackedSecuritiesMember" xlink:label="loc_ubsi_AgencyMortgageBackedSecuritiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_AgencyMortgageBackedSecuritiesMember" xml:lang="en-US">Agency Mortgage Backed Securities [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_AgencyMortgageBackedSecuritiesMember" xml:lang="en-US">Agency Mortgage Backed Securities [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_AgencyMortgageBackedSecuritiesMember" xlink:to="lab_ubsi_AgencyMortgageBackedSecuritiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_AgencyMortgageBackedSecuritiesMember" xml:lang="en-US">Agency Mortgage Backed Securities [Member]</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_MortgageBackedSecuritiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_MortgageBackedSecuritiesMember" xml:lang="en-US">Collateralized Mortgage Backed Securities [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_MortgageBackedSecuritiesMember" xml:lang="en-US">Mortgage Backed Securities [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_MortgageBackedSecuritiesMember" xlink:to="lab_us-gaap_MortgageBackedSecuritiesMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InternalCreditAssessmentAxis" xlink:label="loc_us-gaap_InternalCreditAssessmentAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InternalCreditAssessmentAxis" xml:lang="en-US">Internal Credit Assessment [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InternalCreditAssessmentAxis" xml:lang="en-US">Internal Credit Assessment [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis" xlink:to="lab_us-gaap_InternalCreditAssessmentAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InternalCreditAssessmentDomain" xml:lang="en-US">Internal Credit Assessment [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InternalCreditAssessmentDomain" xml:lang="en-US">Internal Credit Assessment [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain" xlink:to="lab_us-gaap_InternalCreditAssessmentDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InternalInvestmentGradeMember" xlink:label="loc_us-gaap_InternalInvestmentGradeMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InternalInvestmentGradeMember" xml:lang="en-US">Internal Investment Grade [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InternalInvestmentGradeMember" xml:lang="en-US">Investment Grade [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InternalInvestmentGradeMember" xlink:to="lab_us-gaap_InternalInvestmentGradeMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InternalNoninvestmentGradeMember" xlink:label="loc_us-gaap_InternalNoninvestmentGradeMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InternalNoninvestmentGradeMember" xml:lang="en-US">Internal Noninvestment Grade [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InternalNoninvestmentGradeMember" xml:lang="en-US">Below Investment Grade [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InternalNoninvestmentGradeMember" xlink:to="lab_us-gaap_InternalNoninvestmentGradeMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_UnratedBondsInvestmentGradeMember" xlink:label="loc_ubsi_UnratedBondsInvestmentGradeMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_UnratedBondsInvestmentGradeMember" xml:lang="en-US">Unrated Bonds Investment Grade [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_UnratedBondsInvestmentGradeMember" xml:lang="en-US">Unrated Bonds Investment Grade [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_UnratedBondsInvestmentGradeMember" xlink:to="lab_ubsi_UnratedBondsInvestmentGradeMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_UnratedBondsInvestmentGradeMember" xml:lang="en-US">Unrated Bonds Investment Grade Member.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AaaMember" xlink:label="loc_ubsi_AaaMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_AaaMember" xml:lang="en-US">Aaa [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_AaaMember" xml:lang="en-US">AAA [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_AaaMember" xlink:to="lab_ubsi_AaaMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_InvestmentSecurityAxis" xlink:label="loc_ubsi_InvestmentSecurityAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_InvestmentSecurityAxis" xml:lang="en-US">Investment Security [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_InvestmentSecurityAxis" xml:lang="en-US">Investment [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_InvestmentSecurityAxis" xlink:to="lab_ubsi_InvestmentSecurityAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_InvestmentSecurityAxis" xml:lang="en-US">Investment security.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_InvestmentSecurityDomain" xlink:label="loc_ubsi_InvestmentSecurityDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_InvestmentSecurityDomain" xml:lang="en-US">Investment Security [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_InvestmentSecurityDomain" xml:lang="en-US">Investment [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_InvestmentSecurityDomain" xlink:to="lab_ubsi_InvestmentSecurityDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_InvestmentSecurityDomain" xml:lang="en-US">Investment security.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PlanNameAxis" xml:lang="en-US">Plan Name [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_PlanNameAxis" xml:lang="en-US">Plan Name [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PlanNameAxis" xlink:to="lab_us-gaap_PlanNameAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PlanNameDomain" xml:lang="en-US">Plan Name [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_PlanNameDomain" xml:lang="en-US">Plan Name [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PlanNameDomain" xlink:to="lab_us-gaap_PlanNameDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions" xml:lang="en-US">Debt Securities, Available-for-sale, Unrealized Loss Position, Number of Positions</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions" xml:lang="en-US">Available for sale securities in unrealized loss position</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions" xlink:to="lab_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AvailableForSaleSecuritiesNumber" xlink:label="loc_ubsi_AvailableForSaleSecuritiesNumber" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_AvailableForSaleSecuritiesNumber" xml:lang="en-US">Available For Sale Securities Number</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_AvailableForSaleSecuritiesNumber" xml:lang="en-US">Available for sale securities in portfolio, number</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_AvailableForSaleSecuritiesNumber" xlink:to="lab_ubsi_AvailableForSaleSecuritiesNumber" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_AvailableForSaleSecuritiesNumber" xml:lang="en-US">The number of available for sale securities in the investment portfolio.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentOfMunicipalBondPortfolioWithCreditSupport" xlink:label="loc_ubsi_PercentOfMunicipalBondPortfolioWithCreditSupport" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_PercentOfMunicipalBondPortfolioWithCreditSupport" xml:lang="en-US">Percent Of Municipal Bond Portfolio With Credit Support</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_PercentOfMunicipalBondPortfolioWithCreditSupport" xml:lang="en-US">Percent of portfolio with credit support</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_PercentOfMunicipalBondPortfolioWithCreditSupport" xlink:to="lab_ubsi_PercentOfMunicipalBondPortfolioWithCreditSupport" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_PercentOfMunicipalBondPortfolioWithCreditSupport" xml:lang="en-US">Percent of municipal bond portfolio supported by the general obligation of the issuing municipality which allows for the securities to be repaid by any means available to the municipality.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CapitalizationOfBanksEqualToOrGreaterThanInSingleIssueTrustPreferredPortfolio" xlink:label="loc_ubsi_CapitalizationOfBanksEqualToOrGreaterThanInSingleIssueTrustPreferredPortfolio" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_CapitalizationOfBanksEqualToOrGreaterThanInSingleIssueTrustPreferredPortfolio" xml:lang="en-US">Capitalization Of Banks Equal To Or Greater Than In Single Issue Trust Preferred Portfolio</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_CapitalizationOfBanksEqualToOrGreaterThanInSingleIssueTrustPreferredPortfolio" xml:lang="en-US">Capitalization of banks, equal to or greater than, in the single-issue trust preferred portfolio</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_CapitalizationOfBanksEqualToOrGreaterThanInSingleIssueTrustPreferredPortfolio" xlink:to="lab_ubsi_CapitalizationOfBanksEqualToOrGreaterThanInSingleIssueTrustPreferredPortfolio" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_CapitalizationOfBanksEqualToOrGreaterThanInSingleIssueTrustPreferredPortfolio" xml:lang="en-US">Represents the minimum amount of market capitalization for banks with obligations in the single-issue trust preferred portfolio.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AmortizedCostOfAvailableForSaleSingleIssueTrustPreferredSecurities" xlink:label="loc_ubsi_AmortizedCostOfAvailableForSaleSingleIssueTrustPreferredSecurities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_AmortizedCostOfAvailableForSaleSingleIssueTrustPreferredSecurities" xml:lang="en-US">Amortized Cost Of Available For Sale Single Issue Trust Preferred Securities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_AmortizedCostOfAvailableForSaleSingleIssueTrustPreferredSecurities" xml:lang="en-US">Amortized cost of available for sale single issue trust preferred securities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_AmortizedCostOfAvailableForSaleSingleIssueTrustPreferredSecurities" xlink:to="lab_ubsi_AmortizedCostOfAvailableForSaleSingleIssueTrustPreferredSecurities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_AmortizedCostOfAvailableForSaleSingleIssueTrustPreferredSecurities" xml:lang="en-US">This item represents the cost of single issue trust preferred securities categorized as available-for-sale, net of adjustments including accretion, amortization, collection of cash, previous other-than-temporary impairments recognized in earnings (less any cumulative-effect adjustments recognized, as defined), and fair value hedge accounting adjustments, if any.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentOfCorporateSecuritiesPortfolio" xlink:label="loc_ubsi_PercentOfCorporateSecuritiesPortfolio" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_PercentOfCorporateSecuritiesPortfolio" xml:lang="en-US">Percent Of Corporate Securities Portfolio</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_PercentOfCorporateSecuritiesPortfolio" xml:lang="en-US">Percent of corporate securities portfolio</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_PercentOfCorporateSecuritiesPortfolio" xlink:to="lab_ubsi_PercentOfCorporateSecuritiesPortfolio" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_PercentOfCorporateSecuritiesPortfolio" xml:lang="en-US">The percentage of the portfolio of corporate debt securities issued by domestic or foreign corporate business, banks and other entities with a promise of repayment.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_EquitySecurities" xlink:label="loc_ubsi_EquitySecurities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_EquitySecurities" xml:lang="en-US">Equity Securities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_EquitySecurities" xml:lang="en-US">Equity securities at estimated fair value</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_EquitySecurities" xlink:to="lab_ubsi_EquitySecurities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_EquitySecurities" xml:lang="en-US">Amount of investment in equity securities at estimated fair value.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_InvestmentSecuritiesPledgedAsCollateral" xlink:label="loc_ubsi_InvestmentSecuritiesPledgedAsCollateral" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_InvestmentSecuritiesPledgedAsCollateral" xml:lang="en-US">Investment Securities Pledged As Collateral</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_InvestmentSecuritiesPledgedAsCollateral" xml:lang="en-US">Carrying value of securities pledged</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_InvestmentSecuritiesPledgedAsCollateral" xlink:to="lab_ubsi_InvestmentSecuritiesPledgedAsCollateral" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_InvestmentSecuritiesPledgedAsCollateral" xml:lang="en-US">The carrying amount of investments securities that serve as collateral for borrowings.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesUnrealizedGainLoss" xlink:label="loc_us-gaap_DebtSecuritiesUnrealizedGainLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtSecuritiesUnrealizedGainLoss" xml:lang="en-US">Debt Securities, Unrealized Gain (Loss)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_DebtSecuritiesUnrealizedGainLoss" xml:lang="en-US">Net unrealized gains</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecuritiesUnrealizedGainLoss" xlink:to="lab_us-gaap_DebtSecuritiesUnrealizedGainLoss" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xml:lang="en-US">Increase (Decrease) in Accrued Interest Receivable, Net</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xml:lang="en-US">Accrued interest receivable</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:to="lab_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentageOfAssetBackedSecuritiesWithCreditRating" xlink:label="loc_ubsi_PercentageOfAssetBackedSecuritiesWithCreditRating" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_PercentageOfAssetBackedSecuritiesWithCreditRating" xml:lang="en-US">Percentage Of Asset Backed Securities With Credit Rating</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_PercentageOfAssetBackedSecuritiesWithCreditRating" xml:lang="en-US">Percentage of asset backed securities with credit rating</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_PercentageOfAssetBackedSecuritiesWithCreditRating" xlink:to="lab_ubsi_PercentageOfAssetBackedSecuritiesWithCreditRating" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_PercentageOfAssetBackedSecuritiesWithCreditRating" xml:lang="en-US">Percentage of asset backed securities with credit rating.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentageOfRepaymentOfInvestmentGuaranteedByGovernment" xlink:label="loc_ubsi_PercentageOfRepaymentOfInvestmentGuaranteedByGovernment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_PercentageOfRepaymentOfInvestmentGuaranteedByGovernment" xml:lang="en-US">Percentage Of Repayment Of Investment Guaranteed By Government</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_PercentageOfRepaymentOfInvestmentGuaranteedByGovernment" xml:lang="en-US">Percentage of repayment guaranteed by the government</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_PercentageOfRepaymentOfInvestmentGuaranteedByGovernment" xlink:to="lab_ubsi_PercentageOfRepaymentOfInvestmentGuaranteedByGovernment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_PercentageOfRepaymentOfInvestmentGuaranteedByGovernment" xml:lang="en-US">Percentage of repayment of investment guaranteed by government.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtSecurities" xml:lang="en-US">Debt Securities, Available-for-Sale</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtSecurities" xml:lang="en-US">Available for sale debt securities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtSecurities" xml:lang="en-US">Available for sale debt securities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:to="lab_us-gaap_AvailableForSaleSecuritiesDebtSecurities" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonAgencyResidentialMortgageBackedSecuritiesAxis" xlink:label="loc_ubsi_NonAgencyResidentialMortgageBackedSecuritiesAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_NonAgencyResidentialMortgageBackedSecuritiesAxis" xml:lang="en-US">Non Agency Residential Mortgage Backed Securities [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_NonAgencyResidentialMortgageBackedSecuritiesAxis" xlink:to="lab_ubsi_NonAgencyResidentialMortgageBackedSecuritiesAxis" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonAgencyResidentialMortgageBackedSecuritiesDomain" xlink:label="loc_ubsi_NonAgencyResidentialMortgageBackedSecuritiesDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_NonAgencyResidentialMortgageBackedSecuritiesDomain" xml:lang="en-US">Non Agency Residential Mortgage Backed Securities [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_NonAgencyResidentialMortgageBackedSecuritiesDomain" xlink:to="lab_ubsi_NonAgencyResidentialMortgageBackedSecuritiesDomain" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonAgencyResidentialMortgageBackedSecuritiesMember" xlink:label="loc_ubsi_NonAgencyResidentialMortgageBackedSecuritiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_NonAgencyResidentialMortgageBackedSecuritiesMember" xml:lang="en-US">Non Agency Residential Mortgage Backed Securities [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_NonAgencyResidentialMortgageBackedSecuritiesMember" xml:lang="en-US">Non Agency Residential Mortgage Backed Securities [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_NonAgencyResidentialMortgageBackedSecuritiesMember" xlink:to="lab_ubsi_NonAgencyResidentialMortgageBackedSecuritiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_NonAgencyResidentialMortgageBackedSecuritiesMember" xml:lang="en-US">Non Agency Residential Mortgage Backed Securities Member.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_RangeAxis" xml:lang="en-US">Statistical Measurement [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_srt_RangeAxis" xml:lang="en-US">Range [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_RangeAxis" xlink:to="lab_srt_RangeAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_RangeMember" xml:lang="en-US">Statistical Measurement [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_srt_RangeMember" xml:lang="en-US">Range [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_RangeMember" xlink:to="lab_srt_RangeMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_MinimumMember" xml:lang="en-US">Minimum [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_srt_MinimumMember" xml:lang="en-US">Minimum [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_MinimumMember" xlink:to="lab_srt_MinimumMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CollateralAxis" xlink:label="loc_us-gaap_CollateralAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CollateralAxis" xml:lang="en-US">Collateral Held [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CollateralAxis" xlink:to="lab_us-gaap_CollateralAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CollateralDomain" xlink:label="loc_us-gaap_CollateralDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CollateralDomain" xml:lang="en-US">Collateral Held [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CollateralDomain" xlink:to="lab_us-gaap_CollateralDomain" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FederalFamilyEducationLoanProgramMember" xlink:label="loc_ubsi_FederalFamilyEducationLoanProgramMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_FederalFamilyEducationLoanProgramMember" xml:lang="en-US">Federal Family Education Loan Program [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_FederalFamilyEducationLoanProgramMember" xml:lang="en-US">Federal Family Education Loan Program [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_FederalFamilyEducationLoanProgramMember" xlink:to="lab_ubsi_FederalFamilyEducationLoanProgramMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_CreditRatingFitchAxis" xlink:label="loc_srt_CreditRatingFitchAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_CreditRatingFitchAxis" xml:lang="en-US">Credit Rating, Fitch [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_CreditRatingFitchAxis" xlink:to="lab_srt_CreditRatingFitchAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ExternalCreditRatingFitchMember" xlink:label="loc_srt_ExternalCreditRatingFitchMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_ExternalCreditRatingFitchMember" xml:lang="en-US">External Credit Rating, Fitch [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_ExternalCreditRatingFitchMember" xlink:to="lab_srt_ExternalCreditRatingFitchMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_FitchAAPlusRatingMember" xlink:label="loc_srt_FitchAAPlusRatingMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_FitchAAPlusRatingMember" xml:lang="en-US">Fitch, AA+ Rating [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_srt_FitchAAPlusRatingMember" xml:lang="en-US">Fitch, AA+ Rating [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_FitchAAPlusRatingMember" xlink:to="lab_srt_FitchAAPlusRatingMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_FitchAAARatingMember" xlink:label="loc_srt_FitchAAARatingMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_FitchAAARatingMember" xml:lang="en-US">Fitch, AAA Rating [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_FitchAAARatingMember" xlink:to="lab_srt_FitchAAARatingMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost" xml:lang="en-US">Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, within One Year, Amortized Cost</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost" xml:lang="en-US">Due in one year or less, Amortized Cost</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost" xlink:to="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost" xml:lang="en-US">Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, after One Through Five Years, Amortized Cost</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost" xml:lang="en-US">Due after one year through five years, Amortized Cost</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost" xlink:to="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost" xml:lang="en-US">Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, after Five Through Ten Years, Amortized Cost</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost" xml:lang="en-US">Due after five years through ten years, Amortized Cost</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost" xlink:to="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost" xml:lang="en-US">Debt Securities, Available-for-sale, Allocated and Single Maturity Date, Maturity, after 10 Years, Amortized Cost</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost" xml:lang="en-US">Due after ten years, Amortized Cost</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost" xlink:to="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" xml:lang="en-US">Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, within One Year, Fair Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" xml:lang="en-US">Due in one year or less, Estimated Fair Value</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:to="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xml:lang="en-US">Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, after One Through Five Years, Fair Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xml:lang="en-US">Due after one year through five years, Estimated Fair Value</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:to="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xml:lang="en-US">Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, after Five Through Ten Years, Fair Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xml:lang="en-US">Due after five years through ten years, Estimated Fair Value</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xlink:to="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" xml:lang="en-US">Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, after 10 Years, Fair Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" xml:lang="en-US">Due after ten years, Estimated Fair Value</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" xlink:to="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGainLossAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGainLossAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGainLossAbstract" xml:lang="en-US">Debt Securities, Available-for-sale, Unrealized Gain (Loss) [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGainLossAbstract" xlink:to="lab_us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGainLossAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleTable" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleTable" xml:lang="en-US">Debt Securities, Available-for-Sale [Table]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleTable" xml:lang="en-US">Debt Securities, Available-for-Sale [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable" xlink:to="lab_us-gaap_DebtSecuritiesAvailableForSaleTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesMember" xlink:label="loc_us-gaap_EquitySecuritiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EquitySecuritiesMember" xml:lang="en-US">Equity Securities [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EquitySecuritiesMember" xml:lang="en-US">Equity Securities [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_EquitySecuritiesMember" xml:lang="en-US">Marketable Equity Securities [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquitySecuritiesMember" xlink:to="lab_us-gaap_EquitySecuritiesMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xml:lang="en-US">Debt Securities, Available-for-sale [Line Items]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xml:lang="en-US">Debt Securities, Available-for-sale [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:to="lab_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss" xml:lang="en-US">Debt Securities, Available-for-Sale, Realized Gain (Loss)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss" xml:lang="en-US">Net gains recognized during the period on equity securities sold</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss" xlink:to="lab_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax" xml:lang="en-US">Other Comprehensive Income (Loss), Securities, Available-for-sale, Adjustment, before Tax</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax" xml:lang="en-US">Net gains recognized during the period</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax" xlink:to="lab_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNiUnrealizedGain" xlink:label="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EquitySecuritiesFvNiUnrealizedGain" xml:lang="en-US">Equity Securities, FV-NI, Unrealized Gain</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EquitySecuritiesFvNiUnrealizedGain" xml:lang="en-US">Unrealized gains recognized during the period on equity securities still held at period end</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGain" xlink:to="lab_us-gaap_EquitySecuritiesFvNiUnrealizedGain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNiUnrealizedLoss" xlink:label="loc_us-gaap_EquitySecuritiesFvNiUnrealizedLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EquitySecuritiesFvNiUnrealizedLoss" xml:lang="en-US">Equity Securities, FV-NI, Unrealized Loss</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_EquitySecuritiesFvNiUnrealizedLoss" xml:lang="en-US">Unrealized losses recognized during the period on equity securities still held at period end</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquitySecuritiesFvNiUnrealizedLoss" xlink:to="lab_us-gaap_EquitySecuritiesFvNiUnrealizedLoss" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAbstract" xlink:label="loc_ubsi_LoansAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_LoansAbstract" xml:lang="en-US">Loans [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_LoansAbstract" xlink:to="lab_ubsi_LoansAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_LoansAbstract" xml:lang="en-US">Loans.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xml:lang="en-US">Accounts and Financing Receivables [Table]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xml:lang="en-US">Schedule of Accounts, Notes, Loans and Financing Receivable [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:to="lab_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xml:lang="en-US">Class of Financing Receivable, Type [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xml:lang="en-US">Class of Financing Receivable, Type [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="lab_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xml:lang="en-US">Class of Financing Receivable, Type [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xml:lang="en-US">Class of Financing Receivable, Type [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="lab_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OwnerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_OwnerOccupiedCommercialRealEstateMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_OwnerOccupiedCommercialRealEstateMember" xml:lang="en-US">Owner Occupied Commercial Real Estate [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_OwnerOccupiedCommercialRealEstateMember" xml:lang="en-US">Owner-Occupied Commercial Real Estate [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_OwnerOccupiedCommercialRealEstateMember" xml:lang="en-US">Owner-Occupied [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/disclosureGuidance" xlink:label="lab_ubsi_OwnerOccupiedCommercialRealEstateMember" xml:lang="en-US">Owner-occupied [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_OwnerOccupiedCommercialRealEstateMember" xlink:to="lab_ubsi_OwnerOccupiedCommercialRealEstateMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_OwnerOccupiedCommercialRealEstateMember" xml:lang="en-US">Owner-occupied commercial real estate.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonownerOccupiedCommercialRealEstateMember" xlink:label="loc_ubsi_NonownerOccupiedCommercialRealEstateMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_NonownerOccupiedCommercialRealEstateMember" xml:lang="en-US">Nonowner Occupied Commercial Real Estate [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_NonownerOccupiedCommercialRealEstateMember" xml:lang="en-US">Nonowner-Occupied Commercial Real Estate [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_NonownerOccupiedCommercialRealEstateMember" xml:lang="en-US">Nonowner-Occupied [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/disclosureGuidance" xlink:label="lab_ubsi_NonownerOccupiedCommercialRealEstateMember" xml:lang="en-US">Nonowner-occupied [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_NonownerOccupiedCommercialRealEstateMember" xlink:to="lab_ubsi_NonownerOccupiedCommercialRealEstateMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_NonownerOccupiedCommercialRealEstateMember" xml:lang="en-US">Nonowner-occupied commercial real estate.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherCommercialLoansAndLeasesMember" xlink:label="loc_ubsi_OtherCommercialLoansAndLeasesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_OtherCommercialLoansAndLeasesMember" xml:lang="en-US">Other Commercial Loans And Leases [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_OtherCommercialLoansAndLeasesMember" xml:lang="en-US">Other Commercial Loans And Leases [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_OtherCommercialLoansAndLeasesMember" xlink:to="lab_ubsi_OtherCommercialLoansAndLeasesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_OtherCommercialLoansAndLeasesMember" xml:lang="en-US">Other commercial loans and leases [member].</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AccountsNotesAndLoansReceivableLineItems" xml:lang="en-US">Accounts, Notes, Loans and Financing Receivable [Line Items]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AccountsNotesAndLoansReceivableLineItems" xml:lang="en-US">Accounts, Notes, Loans and Financing Receivable [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:to="lab_us-gaap_AccountsNotesAndLoansReceivableLineItems" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndLeasesReceivableResidentialRealEstate" xlink:label="loc_ubsi_LoansAndLeasesReceivableResidentialRealEstate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_LoansAndLeasesReceivableResidentialRealEstate" xml:lang="en-US">Loans and Leases Receivable Residential Real Estate</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_LoansAndLeasesReceivableResidentialRealEstate" xml:lang="en-US">Residential real estate</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_LoansAndLeasesReceivableResidentialRealEstate" xlink:to="lab_ubsi_LoansAndLeasesReceivableResidentialRealEstate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_LoansAndLeasesReceivableResidentialRealEstate" xml:lang="en-US">The gross carrying amount of mortgage loans to individuals including home equity lines of credit.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CommercialFinancialAndAgriculturalAbstract" xlink:label="loc_ubsi_CommercialFinancialAndAgriculturalAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_CommercialFinancialAndAgriculturalAbstract" xml:lang="en-US">Commercial Financial And Agricultural [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_CommercialFinancialAndAgriculturalAbstract" xml:lang="en-US">Commercial, financial and agricultural:</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_CommercialFinancialAndAgriculturalAbstract" xlink:to="lab_ubsi_CommercialFinancialAndAgriculturalAbstract" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndFinanceReceivablesGross" xlink:label="loc_ubsi_LoansAndFinanceReceivablesGross" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_LoansAndFinanceReceivablesGross" xml:lang="en-US">Loans and Finance Receivables Gross</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_LoansAndFinanceReceivablesGross" xml:lang="en-US">Total commercial, financial &amp; agricultural</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_LoansAndFinanceReceivablesGross" xml:lang="en-US">Total</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_LoansAndFinanceReceivablesGross" xlink:to="lab_ubsi_LoansAndFinanceReceivablesGross" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_LoansAndFinanceReceivablesGross" xml:lang="en-US">The Gross carrying amount of Loans and Finance Receivables from various Credit transaction before Providing for Doubtful accounts.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndLeasesReceivableConsumerAbstract" xlink:label="loc_ubsi_LoansAndLeasesReceivableConsumerAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_LoansAndLeasesReceivableConsumerAbstract" xml:lang="en-US">Loans And Leases Receivable Consumer [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_LoansAndLeasesReceivableConsumerAbstract" xml:lang="en-US">Consumer:</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_LoansAndLeasesReceivableConsumerAbstract" xlink:to="lab_ubsi_LoansAndLeasesReceivableConsumerAbstract" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndFinanceReceivablesThroughCreditCards" xlink:label="loc_ubsi_LoansAndFinanceReceivablesThroughCreditCards" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_LoansAndFinanceReceivablesThroughCreditCards" xml:lang="en-US">Loans and Finance Receivables Through Credit Cards</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_LoansAndFinanceReceivablesThroughCreditCards" xml:lang="en-US">Bankcard</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_LoansAndFinanceReceivablesThroughCreditCards" xlink:to="lab_ubsi_LoansAndFinanceReceivablesThroughCreditCards" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_LoansAndFinanceReceivablesThroughCreditCards" xml:lang="en-US">The Gross carrying amount of Loans and Finance Receivables from various Credit transaction Specifically Bank Credit Cards before Providing for Doubtful accounts.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndFinanceReceivablesThroughOtherCustomers" xlink:label="loc_ubsi_LoansAndFinanceReceivablesThroughOtherCustomers" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_LoansAndFinanceReceivablesThroughOtherCustomers" xml:lang="en-US">Loans and Finance Receivables Through Other Customers</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_LoansAndFinanceReceivablesThroughOtherCustomers" xml:lang="en-US">Other consumer</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_LoansAndFinanceReceivablesThroughOtherCustomers" xlink:to="lab_ubsi_LoansAndFinanceReceivablesThroughOtherCustomers" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_LoansAndFinanceReceivablesThroughOtherCustomers" xml:lang="en-US">The gross carrying amount of Loans and Finance Receivables from the transacation with customers classified as Other before providing for doubtful accounts.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndLeasesNetOfUnearnedIncome" xlink:label="loc_ubsi_LoansAndLeasesNetOfUnearnedIncome" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_LoansAndLeasesNetOfUnearnedIncome" xml:lang="en-US">Loans and Leases Net of Unearned Income</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_ubsi_LoansAndLeasesNetOfUnearnedIncome" xml:lang="en-US">Loans and leases, net of unearned income</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/presentationGuidance" xlink:label="lab_ubsi_LoansAndLeasesNetOfUnearnedIncome" xml:lang="en-US">Net loans</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_LoansAndLeasesNetOfUnearnedIncome" xlink:to="lab_ubsi_LoansAndLeasesNetOfUnearnedIncome" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_LoansAndLeasesNetOfUnearnedIncome" xml:lang="en-US">Loans and Leases Net of Unearned Income.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoanAndLeasesUnearnedIncome" xlink:label="loc_ubsi_LoanAndLeasesUnearnedIncome" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_LoanAndLeasesUnearnedIncome" xml:lang="en-US">Loan And Leases Unearned Income</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_ubsi_LoanAndLeasesUnearnedIncome" xml:lang="en-US">Less: Unearned income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_LoanAndLeasesUnearnedIncome" xlink:to="lab_ubsi_LoanAndLeasesUnearnedIncome" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_LoanAndLeasesUnearnedIncome" xml:lang="en-US">Interest and fees that has been collected on a loan by a lending institution but has not yet been recognized as income.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndLeasesReceivableConstructionAndLandDevelopmentConsumer" xlink:label="loc_ubsi_LoansAndLeasesReceivableConstructionAndLandDevelopmentConsumer" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_LoansAndLeasesReceivableConstructionAndLandDevelopmentConsumer" xml:lang="en-US">Loans and Leases Receivable Construction and Land Development Consumer</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_LoansAndLeasesReceivableConstructionAndLandDevelopmentConsumer" xml:lang="en-US">Construction &amp; land development</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_LoansAndLeasesReceivableConstructionAndLandDevelopmentConsumer" xlink:to="lab_ubsi_LoansAndLeasesReceivableConstructionAndLandDevelopmentConsumer" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_LoansAndLeasesReceivableConstructionAndLandDevelopmentConsumer" xml:lang="en-US">Reflects the gross carrying amount of unpaid loans issued to individuals or commercial developers to build, improve or remodel a residential home or commercial property. Such loans are usually secured by the property; and after the construction period, the borrower generally will obtain long-term financing to replace and satisfy the construction loan.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditLossStatusAxis" xlink:label="loc_us-gaap_CreditLossStatusAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CreditLossStatusAxis" xml:lang="en-US">Credit Loss Status [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CreditLossStatusAxis" xml:lang="en-US">Credit Loss Status [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CreditLossStatusAxis" xlink:to="lab_us-gaap_CreditLossStatusAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditLossStatusDomain" xlink:label="loc_us-gaap_CreditLossStatusDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CreditLossStatusDomain" xml:lang="en-US">Credit Loss Status [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CreditLossStatusDomain" xml:lang="en-US">Credit Loss Status [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CreditLossStatusDomain" xlink:to="lab_us-gaap_CreditLossStatusDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xml:lang="en-US">Related and Nonrelated Parties [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xml:lang="en-US">Related Party [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:to="lab_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RelatedPartyDomain" xml:lang="en-US">Related and Nonrelated Parties [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_RelatedPartyDomain" xml:lang="en-US">Related Party [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RelatedPartyDomain" xlink:to="lab_us-gaap_RelatedPartyDomain" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DirectorsAndOfficersMember" xlink:label="loc_ubsi_DirectorsAndOfficersMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_DirectorsAndOfficersMember" xml:lang="en-US">Directors And Officers [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_DirectorsAndOfficersMember" xml:lang="en-US">Directors and Officers [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_DirectorsAndOfficersMember" xlink:to="lab_ubsi_DirectorsAndOfficersMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_DirectorsAndOfficersMember" xml:lang="en-US">Directors And Officers [Member]</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_MinimumPeriodRelatedToAccrualOfInterestOnDiscontinuedCommercialAndConsumerLoans" xlink:label="loc_ubsi_MinimumPeriodRelatedToAccrualOfInterestOnDiscontinuedCommercialAndConsumerLoans" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_MinimumPeriodRelatedToAccrualOfInterestOnDiscontinuedCommercialAndConsumerLoans" xml:lang="en-US">Minimum Period Related To Accrual Of Interest On Discontinued Commercial And Consumer Loans</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_MinimumPeriodRelatedToAccrualOfInterestOnDiscontinuedCommercialAndConsumerLoans" xml:lang="en-US">Minimum days for discontinue of accrual interest on commercial and consumer loan</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_MinimumPeriodRelatedToAccrualOfInterestOnDiscontinuedCommercialAndConsumerLoans" xlink:to="lab_ubsi_MinimumPeriodRelatedToAccrualOfInterestOnDiscontinuedCommercialAndConsumerLoans" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_MinimumPeriodRelatedToAccrualOfInterestOnDiscontinuedCommercialAndConsumerLoans" xml:lang="en-US">Minimum number of days past due to discontinue the accrual of interest on commercial and consumer loans.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_MaximumPeriodRelatedToAccrualOfInterestOnDiscontinuedCommercialAndConsumerLoans" xlink:label="loc_ubsi_MaximumPeriodRelatedToAccrualOfInterestOnDiscontinuedCommercialAndConsumerLoans" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_MaximumPeriodRelatedToAccrualOfInterestOnDiscontinuedCommercialAndConsumerLoans" xml:lang="en-US">Maximum Period Related To Accrual Of Interest On Discontinued Commercial And Consumer Loans</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_MaximumPeriodRelatedToAccrualOfInterestOnDiscontinuedCommercialAndConsumerLoans" xml:lang="en-US">Maximum days for discontinue of accrual interest on commercial and consumer loan</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_MaximumPeriodRelatedToAccrualOfInterestOnDiscontinuedCommercialAndConsumerLoans" xlink:to="lab_ubsi_MaximumPeriodRelatedToAccrualOfInterestOnDiscontinuedCommercialAndConsumerLoans" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_MaximumPeriodRelatedToAccrualOfInterestOnDiscontinuedCommercialAndConsumerLoans" xml:lang="en-US">Maximum number of days past due to discontinue the accrual of interest on commercial and consumer loans.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSpecialMentionMinimum" xlink:label="loc_ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSpecialMentionMinimum" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSpecialMentionMinimum" xml:lang="en-US">Consumer Credit Exposures, Period Past Due Required To Classify Loans As Special Mention, Minimum</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSpecialMentionMinimum" xml:lang="en-US">Minimum number of days required for special mention</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSpecialMentionMinimum" xlink:to="lab_ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSpecialMentionMinimum" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSpecialMentionMinimum" xml:lang="en-US">For consumer credit exposures, minimum number of days past due required for special mention rating.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSpecialMentionMaximum" xlink:label="loc_ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSpecialMentionMaximum" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSpecialMentionMaximum" xml:lang="en-US">Consumer Credit Exposures, Period Past Due Required To Classify Loans As Special Mention, Maximum</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSpecialMentionMaximum" xml:lang="en-US">Maximum number of days required for special mention</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSpecialMentionMaximum" xlink:to="lab_ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSpecialMentionMaximum" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSpecialMentionMaximum" xml:lang="en-US">For consumer credit exposures, maximum number of days past due required for special mention rating.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSubstandard" xlink:label="loc_ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSubstandard" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSubstandard" xml:lang="en-US">Consumer Credit Exposures, Period Past Due Required To Classify Loans As Substandard</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSubstandard" xml:lang="en-US">Number of days required for substandard</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSubstandard" xlink:to="lab_ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSubstandard" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSubstandard" xml:lang="en-US">For consumer credit exposures, the number of days past due required for substandard rating.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealEstateAcquiredThroughForeclosure" xlink:label="loc_us-gaap_RealEstateAcquiredThroughForeclosure" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RealEstateAcquiredThroughForeclosure" xml:lang="en-US">Real Estate Acquired Through Foreclosure</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_RealEstateAcquiredThroughForeclosure" xml:lang="en-US">OREO</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RealEstateAcquiredThroughForeclosure" xlink:to="lab_us-gaap_RealEstateAcquiredThroughForeclosure" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet" xlink:label="loc_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet" xml:lang="en-US">Mortgage Loans on Real Estate, Commercial and Consumer, Net</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet" xml:lang="en-US">Recorded investment of consumer mortgage loans</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet" xlink:to="lab_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DescriptionOfCreditRiskExposure" xlink:label="loc_us-gaap_DescriptionOfCreditRiskExposure" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DescriptionOfCreditRiskExposure" xml:lang="en-US">Description of Credit Risk Exposure</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DescriptionOfCreditRiskExposure" xml:lang="en-US">Description of Credit Risk Exposure</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DescriptionOfCreditRiskExposure" xlink:to="lab_us-gaap_DescriptionOfCreditRiskExposure" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TroubledDebtRestructuringsPostModificationAdditionalFundsRecordedInvestment" xlink:label="loc_ubsi_TroubledDebtRestructuringsPostModificationAdditionalFundsRecordedInvestment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_TroubledDebtRestructuringsPostModificationAdditionalFundsRecordedInvestment" xml:lang="en-US">Troubled Debt Restructurings Post Modification Additional Funds Recorded Investment</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_TroubledDebtRestructuringsPostModificationAdditionalFundsRecordedInvestment" xml:lang="en-US">Modification additional funds recorded investment</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_TroubledDebtRestructuringsPostModificationAdditionalFundsRecordedInvestment" xlink:to="lab_ubsi_TroubledDebtRestructuringsPostModificationAdditionalFundsRecordedInvestment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_TroubledDebtRestructuringsPostModificationAdditionalFundsRecordedInvestment" xml:lang="en-US">Additional funds advanced on outstanding recorded investment in troubled debt restructured loans.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFinancingReceivablesPastDueTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfFinancingReceivablesPastDueTable" xml:lang="en-US">Schedule of Financing Receivables Past Due [Table]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfFinancingReceivablesPastDueTable" xml:lang="en-US">Schedule of Financing Receivables Past Due [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable" xlink:to="lab_us-gaap_ScheduleOfFinancingReceivablesPastDueTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancingReceivablePortfolioSegmentAxis" xml:lang="en-US">Financing Receivable Portfolio Segment [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinancingReceivablePortfolioSegmentAxis" xml:lang="en-US">Financing Receivable Portfolio Segment [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:to="lab_us-gaap_FinancingReceivablePortfolioSegmentAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancingReceivablePortfolioSegmentDomain" xml:lang="en-US">Financing Receivable Portfolio Segment [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinancingReceivablePortfolioSegmentDomain" xml:lang="en-US">Financing Receivable Portfolio Segment [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:to="lab_us-gaap_FinancingReceivablePortfolioSegmentDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CommercialRealEstatePortfolioSegmentMember" xml:lang="en-US">Commercial Real Estate Portfolio Segment [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CommercialRealEstatePortfolioSegmentMember" xml:lang="en-US">Commercial Real Estate [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_CommercialRealEstatePortfolioSegmentMember" xml:lang="en-US">Commercial real estate [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommercialRealEstatePortfolioSegmentMember" xlink:to="lab_us-gaap_CommercialRealEstatePortfolioSegmentMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialPortfolioSegmentMember" xlink:label="loc_us-gaap_CommercialPortfolioSegmentMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CommercialPortfolioSegmentMember" xml:lang="en-US">Commercial Portfolio Segment [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CommercialPortfolioSegmentMember" xml:lang="en-US">Other Commercial [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_CommercialPortfolioSegmentMember" xml:lang="en-US">Other commercial [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommercialPortfolioSegmentMember" xlink:to="lab_us-gaap_CommercialPortfolioSegmentMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialPortfolioSegmentMember" xlink:label="loc_us-gaap_ResidentialPortfolioSegmentMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ResidentialPortfolioSegmentMember" xml:lang="en-US">Residential Portfolio Segment [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ResidentialPortfolioSegmentMember" xml:lang="en-US">Residential Real Estate [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_ResidentialPortfolioSegmentMember" xml:lang="en-US">Residential real estate [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ResidentialPortfolioSegmentMember" xlink:to="lab_us-gaap_ResidentialPortfolioSegmentMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConsumerPortfolioSegmentMember" xlink:label="loc_us-gaap_ConsumerPortfolioSegmentMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ConsumerPortfolioSegmentMember" xml:lang="en-US">Consumer Portfolio Segment [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ConsumerPortfolioSegmentMember" xml:lang="en-US">Consumer [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ConsumerPortfolioSegmentMember" xlink:to="lab_us-gaap_ConsumerPortfolioSegmentMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaap_ConstructionLoansMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ConstructionLoansMember" xml:lang="en-US">Construction Loans [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ConstructionLoansMember" xml:lang="en-US">Construction &amp; Land Development [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_ConstructionLoansMember" xml:lang="en-US">Construction&#160;&amp; land development [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_ConstructionLoansMember" xml:lang="en-US">Construction [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ConstructionLoansMember" xlink:to="lab_us-gaap_ConstructionLoansMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BankCardMember" xlink:label="loc_ubsi_BankCardMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_BankCardMember" xml:lang="en-US">Bank Card [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_BankCardMember" xml:lang="en-US">Bankcard [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_BankCardMember" xlink:to="lab_ubsi_BankCardMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_BankCardMember" xml:lang="en-US">Bank card.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherConsumerMember" xlink:label="loc_ubsi_OtherConsumerMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_OtherConsumerMember" xml:lang="en-US">Other Consumer [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_OtherConsumerMember" xml:lang="en-US">Other Consumer [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_OtherConsumerMember" xml:lang="en-US">Other consumer [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_OtherConsumerMember" xlink:to="lab_ubsi_OtherConsumerMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_OtherConsumerMember" xml:lang="en-US">Other Consumer [Member]</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablesPeriodPastDueAxis" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancingReceivablesPeriodPastDueAxis" xml:lang="en-US">Financing Receivables, Period Past Due [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinancingReceivablesPeriodPastDueAxis" xml:lang="en-US">Financing Receivables, Period Past Due [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis" xlink:to="lab_us-gaap_FinancingReceivablesPeriodPastDueAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancingReceivablesPeriodPastDueDomain" xml:lang="en-US">Financing Receivables, Period Past Due [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinancingReceivablesPeriodPastDueDomain" xml:lang="en-US">Financing Receivables, Period Past Due [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:to="lab_us-gaap_FinancingReceivablesPeriodPastDueDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" xlink:label="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" xml:lang="en-US">Financing Receivables, Equal to Greater than 90 Days Past Due [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" xml:lang="en-US">90 Days or more Past Due [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" xml:lang="en-US">90+ Days Past Due [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" xlink:to="lab_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancialAsset30To89DaysPastDueMember" xlink:label="loc_ubsi_FinancialAsset30To89DaysPastDueMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_FinancialAsset30To89DaysPastDueMember" xml:lang="en-US">Financial Asset, 30 to 89 Days Past Due [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_FinancialAsset30To89DaysPastDueMember" xml:lang="en-US">30-89 Days Past Due [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_FinancialAsset30To89DaysPastDueMember" xlink:to="lab_ubsi_FinancialAsset30To89DaysPastDueMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_FinancialAsset30To89DaysPastDueMember" xml:lang="en-US">Financial Asset, 30 to 89 Days Past Due.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialAssetPastDueMember" xlink:label="loc_us-gaap_FinancialAssetPastDueMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancialAssetPastDueMember" xml:lang="en-US">Financial Asset, Past Due [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinancialAssetPastDueMember" xml:lang="en-US">Total Past Due [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancialAssetPastDueMember" xlink:to="lab_us-gaap_FinancialAssetPastDueMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialAssetNotPastDueMember" xlink:label="loc_us-gaap_FinancialAssetNotPastDueMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancialAssetNotPastDueMember" xml:lang="en-US">Financial Asset, Not Past Due [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FinancialAssetNotPastDueMember" xml:lang="en-US">Current &amp; Other [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancialAssetNotPastDueMember" xlink:to="lab_us-gaap_FinancialAssetNotPastDueMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems" xml:lang="en-US">Financing Receivable, Past Due [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems" xlink:to="lab_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing" xml:lang="en-US">Financing Receivable, Recorded Investment, 90 Days Past Due and Still Accruing</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing" xml:lang="en-US">Loans, Recorded Investment &gt;90 Days &amp; Accruing</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing" xlink:to="lab_us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus" xml:lang="en-US">Financing Receivable, Recorded Investment, Nonaccrual Status</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus" xml:lang="en-US">Nonaccruals</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus" xlink:to="lab_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableNonaccrualNoAllowance" xlink:label="loc_us-gaap_FinancingReceivableNonaccrualNoAllowance" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancingReceivableNonaccrualNoAllowance" xml:lang="en-US">Financing Receivable, Nonaccrual, No Allowance</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinancingReceivableNonaccrualNoAllowance" xml:lang="en-US">With No Related Allowance for Credit Losses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableNonaccrualNoAllowance" xlink:to="lab_us-gaap_FinancingReceivableNonaccrualNoAllowance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable" xml:lang="en-US">Schedule of Financing Receivable, Troubled Debt Restructurings [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable" xlink:to="lab_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableModificationsLineItems" xlink:label="loc_us-gaap_FinancingReceivableModificationsLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancingReceivableModificationsLineItems" xml:lang="en-US">Financing Receivable, Modifications [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableModificationsLineItems" xlink:to="lab_us-gaap_FinancingReceivableModificationsLineItems" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AmortizedCostBasisLoanModificationTermExtensionAndPermanentDelay" xlink:label="loc_ubsi_AmortizedCostBasisLoanModificationTermExtensionAndPermanentDelay" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_AmortizedCostBasisLoanModificationTermExtensionAndPermanentDelay" xml:lang="en-US">Amortized Cost Basis Loan Modification Term Extension And Permanent Delay</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_AmortizedCostBasisLoanModificationTermExtensionAndPermanentDelay" xml:lang="en-US">Amortized Cost Basis Loan Modification Term Extension And Permanent Delay</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_AmortizedCostBasisLoanModificationTermExtensionAndPermanentDelay" xlink:to="lab_ubsi_AmortizedCostBasisLoanModificationTermExtensionAndPermanentDelay" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_AmortizedCostBasisLoanModificationTermExtensionAndPermanentDelay" xml:lang="en-US">Amortized cost basis loan modification term extension and permanent delay.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AmortizedCostBasisLoanModificationTermExtensionAndInterestRateReduction" xlink:label="loc_ubsi_AmortizedCostBasisLoanModificationTermExtensionAndInterestRateReduction" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_AmortizedCostBasisLoanModificationTermExtensionAndInterestRateReduction" xml:lang="en-US">Amortized Cost Basis Loan Modification Term Extension And Interest Rate Reduction</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_AmortizedCostBasisLoanModificationTermExtensionAndInterestRateReduction" xml:lang="en-US">Amortized Cost Basis Loan Modification Term Extension&#160;And Interest Rate Reduction</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_AmortizedCostBasisLoanModificationTermExtensionAndInterestRateReduction" xlink:to="lab_ubsi_AmortizedCostBasisLoanModificationTermExtensionAndInterestRateReduction" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_AmortizedCostBasisLoanModificationTermExtensionAndInterestRateReduction" xml:lang="en-US">Amortized cost basis loan modification term extension and interest rate reduction.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableModificationToTotalFinancingReceivablesPercent" xlink:label="loc_us-gaap_FinancingReceivableModificationToTotalFinancingReceivablesPercent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancingReceivableModificationToTotalFinancingReceivablesPercent" xml:lang="en-US">Financing Receivable, Modified in Period, to Total Financing Receivables, Percentage</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinancingReceivableModificationToTotalFinancingReceivablesPercent" xml:lang="en-US">% of Total Class of Financing Receivable</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableModificationToTotalFinancingReceivablesPercent" xlink:to="lab_us-gaap_FinancingReceivableModificationToTotalFinancingReceivablesPercent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2" xlink:label="loc_us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2" xml:lang="en-US">Financing Receivable, Modified in Period, Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2" xml:lang="en-US">Financing Receivable, Modified</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2" xlink:to="lab_us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoanRestructuringModificationAxis" xlink:label="loc_us-gaap_LoanRestructuringModificationAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LoanRestructuringModificationAxis" xml:lang="en-US">Loan Restructuring Modification [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LoanRestructuringModificationAxis" xlink:to="lab_us-gaap_LoanRestructuringModificationAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoanRestructuringModificationDomain" xlink:label="loc_us-gaap_LoanRestructuringModificationDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LoanRestructuringModificationDomain" xml:lang="en-US">Loan Restructuring Modification [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LoanRestructuringModificationDomain" xlink:to="lab_us-gaap_LoanRestructuringModificationDomain" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherThanInsignificantPaymentDelayMember" xlink:label="loc_ubsi_OtherThanInsignificantPaymentDelayMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_OtherThanInsignificantPaymentDelayMember" xml:lang="en-US">Other Than Insignificant Payment Delay [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_OtherThanInsignificantPaymentDelayMember" xml:lang="en-US">Other than insignificant payment delay [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_OtherThanInsignificantPaymentDelayMember" xlink:to="lab_ubsi_OtherThanInsignificantPaymentDelayMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_OtherThanInsignificantPaymentDelayMember" xml:lang="en-US">Other than insignificant payment delay.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ExtendedMaturityMember" xlink:label="loc_us-gaap_ExtendedMaturityMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ExtendedMaturityMember" xml:lang="en-US">Extended Maturity [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_ExtendedMaturityMember" xml:lang="en-US">Term Extension [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ExtendedMaturityMember" xlink:to="lab_us-gaap_ExtendedMaturityMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AmortizedCostBasisPaymentStatus" xlink:label="loc_ubsi_AmortizedCostBasisPaymentStatus" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_AmortizedCostBasisPaymentStatus" xml:lang="en-US">Amortized Cost Basis Payment Status</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_AmortizedCostBasisPaymentStatus" xml:lang="en-US">Payment Status (Amortized Cost Basis)</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_AmortizedCostBasisPaymentStatus" xlink:to="lab_ubsi_AmortizedCostBasisPaymentStatus" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_AmortizedCostBasisPaymentStatus" xml:lang="en-US">The amortized cost of modified financial receivables by class based on their payment status.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancingReceivablesCurrentMember" xlink:label="loc_ubsi_FinancingReceivablesCurrentMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_FinancingReceivablesCurrentMember" xml:lang="en-US">Financing Receivables Current [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_FinancingReceivablesCurrentMember" xml:lang="en-US">Current [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_FinancingReceivablesCurrentMember" xlink:to="lab_ubsi_FinancingReceivablesCurrentMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancingReceivableWeightedAverageModifiedPaymentDeferralPeriod" xlink:label="loc_ubsi_FinancingReceivableWeightedAverageModifiedPaymentDeferralPeriod" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_FinancingReceivableWeightedAverageModifiedPaymentDeferralPeriod" xml:lang="en-US">Financing Receivable Weighted Average Modified Payment Deferral Period</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_FinancingReceivableWeightedAverageModifiedPaymentDeferralPeriod" xml:lang="en-US">Weighted Average Payment Delay (in years)</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_FinancingReceivableWeightedAverageModifiedPaymentDeferralPeriod" xlink:to="lab_ubsi_FinancingReceivableWeightedAverageModifiedPaymentDeferralPeriod" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_FinancingReceivableWeightedAverageModifiedPaymentDeferralPeriod" xml:lang="en-US">Period of payment deferral of financing receivable modified for debtor experiencing financial difficulty.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableModifiedWeightedAverageTermIncreaseFromModification" xlink:label="loc_us-gaap_FinancingReceivableModifiedWeightedAverageTermIncreaseFromModification" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancingReceivableModifiedWeightedAverageTermIncreaseFromModification" xml:lang="en-US">Financing Receivable, Modified, Weighted Average Term Increase from Modification</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinancingReceivableModifiedWeightedAverageTermIncreaseFromModification" xml:lang="en-US">Weighted Average Term Extension (in years)</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableModifiedWeightedAverageTermIncreaseFromModification" xlink:to="lab_us-gaap_FinancingReceivableModifiedWeightedAverageTermIncreaseFromModification" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableModifiedWeightedAverageInterestRateDecreaseFromModification" xlink:label="loc_us-gaap_FinancingReceivableModifiedWeightedAverageInterestRateDecreaseFromModification" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancingReceivableModifiedWeightedAverageInterestRateDecreaseFromModification" xml:lang="en-US">Financing Receivable, Modified, Weighted Average Interest Rate Decrease from Modification</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinancingReceivableModifiedWeightedAverageInterestRateDecreaseFromModification" xml:lang="en-US">Weighted-Average Interest Rate Reduction</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableModifiedWeightedAverageInterestRateDecreaseFromModification" xlink:to="lab_us-gaap_FinancingReceivableModifiedWeightedAverageInterestRateDecreaseFromModification" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditLossAbstract" xlink:label="loc_us-gaap_CreditLossAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CreditLossAbstract" xml:lang="en-US">Credit Loss [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CreditLossAbstract" xlink:to="lab_us-gaap_CreditLossAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xml:lang="en-US">Schedule of Financing Receivable, Allowance for Credit Losses [Table]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xml:lang="en-US">Schedule of Financing Receivable, Allowance for Credit Losses [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:to="lab_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResidentialRealEstateMember" xlink:label="loc_us-gaap_ResidentialRealEstateMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ResidentialRealEstateMember" xml:lang="en-US">Residential Real Estate [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ResidentialRealEstateMember" xlink:to="lab_us-gaap_ResidentialRealEstateMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BusinessAssetsMember" xlink:label="loc_ubsi_BusinessAssetsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_BusinessAssetsMember" xml:lang="en-US">Business Assets [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_BusinessAssetsMember" xlink:to="lab_ubsi_BusinessAssetsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_BusinessAssetsMember" xml:lang="en-US">Business assets.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LandMember" xlink:label="loc_us-gaap_LandMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LandMember" xml:lang="en-US">Land [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LandMember" xlink:to="lab_us-gaap_LandMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialRealEstateMember" xlink:label="loc_us-gaap_CommercialRealEstateMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CommercialRealEstateMember" xml:lang="en-US">Commercial Real Estate [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommercialRealEstateMember" xlink:to="lab_us-gaap_CommercialRealEstateMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherAssetMember" xlink:label="loc_ubsi_OtherAssetMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_OtherAssetMember" xml:lang="en-US">Other Asset [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_OtherAssetMember" xml:lang="en-US">Other Assets [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_OtherAssetMember" xlink:to="lab_ubsi_OtherAssetMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_OtherAssetMember" xml:lang="en-US">Other assets.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancingReceivablePortfolioSegmentIAxis" xlink:label="loc_ubsi_FinancingReceivablePortfolioSegmentIAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_FinancingReceivablePortfolioSegmentIAxis" xml:lang="en-US">Financing Receivable Portfolio Segment I [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_FinancingReceivablePortfolioSegmentIAxis" xlink:to="lab_ubsi_FinancingReceivablePortfolioSegmentIAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_FinancingReceivablePortfolioSegmentIAxis" xml:lang="en-US">Financing receivable portfolio segment.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancingReceivablePortfolioSegmentIDomain" xlink:label="loc_ubsi_FinancingReceivablePortfolioSegmentIDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_FinancingReceivablePortfolioSegmentIDomain" xml:lang="en-US">Financing Receivable Portfolio Segment I [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_FinancingReceivablePortfolioSegmentIDomain" xlink:to="lab_ubsi_FinancingReceivablePortfolioSegmentIDomain" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AmortizedCostCollateralDependentLoansLineItems" xlink:label="loc_ubsi_AmortizedCostCollateralDependentLoansLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_AmortizedCostCollateralDependentLoansLineItems" xml:lang="en-US">Amortized Cost Collateral Dependent Loans [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_AmortizedCostCollateralDependentLoansLineItems" xlink:to="lab_ubsi_AmortizedCostCollateralDependentLoansLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_AmortizedCostCollateralDependentLoansLineItems" xml:lang="en-US">Amortized cost collateral dependent loans.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CollateralDependentLoansAndLeases" xlink:label="loc_ubsi_CollateralDependentLoansAndLeases" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_CollateralDependentLoansAndLeases" xml:lang="en-US">Collateral Dependent Loans And Leases</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_CollateralDependentLoansAndLeases" xml:lang="en-US">Amortized Cost Loans and Leases Pledged As Collateral</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_CollateralDependentLoansAndLeases" xlink:to="lab_ubsi_CollateralDependentLoansAndLeases" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_CollateralDependentLoansAndLeases" xml:lang="en-US">The amortized cost of financing receivables in which repayment is expected to be derived substantially through the operation or sale of the collateral and where the borrower is experiencing financial difficulty.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherCommercialLoansMember" xlink:label="loc_ubsi_OtherCommercialLoansMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_OtherCommercialLoansMember" xml:lang="en-US">Other Commercial Loans [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_OtherCommercialLoansMember" xlink:to="lab_ubsi_OtherCommercialLoansMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_OtherCommercialLoansMember" xml:lang="en-US">Other commercial loans.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PassMember" xlink:label="loc_us-gaap_PassMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PassMember" xml:lang="en-US">Pass [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PassMember" xlink:to="lab_us-gaap_PassMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SpecialMentionMember" xlink:label="loc_us-gaap_SpecialMentionMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SpecialMentionMember" xml:lang="en-US">Special Mention [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SpecialMentionMember" xlink:to="lab_us-gaap_SpecialMentionMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubstandardMember" xlink:label="loc_us-gaap_SubstandardMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SubstandardMember" xml:lang="en-US">Substandard [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SubstandardMember" xlink:to="lab_us-gaap_SubstandardMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DoubtfulMember" xlink:label="loc_us-gaap_DoubtfulMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DoubtfulMember" xml:lang="en-US">Doubtful [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DoubtfulMember" xlink:to="lab_us-gaap_DoubtfulMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CurrentPeriodChargeOffsMember" xlink:label="loc_ubsi_CurrentPeriodChargeOffsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_CurrentPeriodChargeOffsMember" xml:lang="en-US">Current Period Charge Offs [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_CurrentPeriodChargeOffsMember" xml:lang="en-US">Current-period charge-offs [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_CurrentPeriodChargeOffsMember" xlink:to="lab_ubsi_CurrentPeriodChargeOffsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_CurrentPeriodChargeOffsMember" xml:lang="en-US">Current-period charge-offs.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CurrentPeriodRecoveriesMember" xlink:label="loc_ubsi_CurrentPeriodRecoveriesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_CurrentPeriodRecoveriesMember" xml:lang="en-US">Current Period Recoveries [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_CurrentPeriodRecoveriesMember" xml:lang="en-US">Current-period recoveries [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_CurrentPeriodRecoveriesMember" xlink:to="lab_ubsi_CurrentPeriodRecoveriesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_CurrentPeriodRecoveriesMember" xml:lang="en-US">Current-period recoveries.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CurrentPeriodNetChargeOffsRecoveriesMember" xlink:label="loc_ubsi_CurrentPeriodNetChargeOffsRecoveriesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_CurrentPeriodNetChargeOffsRecoveriesMember" xml:lang="en-US">Current Period Net Charge Offs Recoveries [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_CurrentPeriodNetChargeOffsRecoveriesMember" xml:lang="en-US">Current-period net (charge-offs) recoveries [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_CurrentPeriodNetChargeOffsRecoveriesMember" xlink:to="lab_ubsi_CurrentPeriodNetChargeOffsRecoveriesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_CurrentPeriodNetChargeOffsRecoveriesMember" xml:lang="en-US">Current period net charge offs recoveries.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems" xlink:label="loc_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems" xml:lang="en-US">Disclosure Details Of Loans And Leases By Risk Category [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems" xlink:to="lab_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems" xml:lang="en-US">Disclosure Details Of Loans and Leases Outstanding Based On Risk Category [Line Items]</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TermLoansOriginationYearOne" xlink:label="loc_ubsi_TermLoansOriginationYearOne" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_TermLoansOriginationYearOne" xml:lang="en-US">Term Loans Origination Year One</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_TermLoansOriginationYearOne" xml:lang="en-US">2026</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_TermLoansOriginationYearOne" xlink:to="lab_ubsi_TermLoansOriginationYearOne" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_TermLoansOriginationYearOne" xml:lang="en-US">Term loans originated in year one.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TermLoansOriginationYearTwo" xlink:label="loc_ubsi_TermLoansOriginationYearTwo" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_TermLoansOriginationYearTwo" xml:lang="en-US">Term Loans Origination Year Two</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_TermLoansOriginationYearTwo" xml:lang="en-US">2025</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_TermLoansOriginationYearTwo" xlink:to="lab_ubsi_TermLoansOriginationYearTwo" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_TermLoansOriginationYearTwo" xml:lang="en-US">Term loans originated in year two.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TermLoansOriginationYearThree" xlink:label="loc_ubsi_TermLoansOriginationYearThree" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_TermLoansOriginationYearThree" xml:lang="en-US">Term Loans Origination Year Three</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_TermLoansOriginationYearThree" xml:lang="en-US">2024</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_TermLoansOriginationYearThree" xlink:to="lab_ubsi_TermLoansOriginationYearThree" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_TermLoansOriginationYearThree" xml:lang="en-US">Term Loans Origination Year Three.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TermLoansOriginationYearFour" xlink:label="loc_ubsi_TermLoansOriginationYearFour" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_TermLoansOriginationYearFour" xml:lang="en-US">Term Loans Origination Year Four</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_TermLoansOriginationYearFour" xml:lang="en-US">2023</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_TermLoansOriginationYearFour" xlink:to="lab_ubsi_TermLoansOriginationYearFour" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_TermLoansOriginationYearFour" xml:lang="en-US">Term Loans Origination Year Four.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TermLoansOriginationYearFive" xlink:label="loc_ubsi_TermLoansOriginationYearFive" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_TermLoansOriginationYearFive" xml:lang="en-US">Term Loans Origination Year Five</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_TermLoansOriginationYearFive" xml:lang="en-US">2022</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_TermLoansOriginationYearFive" xlink:to="lab_ubsi_TermLoansOriginationYearFive" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_TermLoansOriginationYearFive" xml:lang="en-US">Term loans originated in year five.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TermLoansOriginationYearPrior" xlink:label="loc_ubsi_TermLoansOriginationYearPrior" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_TermLoansOriginationYearPrior" xml:lang="en-US">Term Loans Origination Year Prior</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_TermLoansOriginationYearPrior" xml:lang="en-US">Prior</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_TermLoansOriginationYearPrior" xlink:to="lab_ubsi_TermLoansOriginationYearPrior" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_TermLoansOriginationYearPrior" xml:lang="en-US">Term loans originated prior to year five.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_RevolvingloansAmortizedCostBasis" xlink:label="loc_ubsi_RevolvingloansAmortizedCostBasis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_RevolvingloansAmortizedCostBasis" xml:lang="en-US">RevolvingLoans Amortized Cost Basis</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_RevolvingloansAmortizedCostBasis" xml:lang="en-US">Revolving&#160;loans amortized&#160;cost basis</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_RevolvingloansAmortizedCostBasis" xlink:to="lab_ubsi_RevolvingloansAmortizedCostBasis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_RevolvingloansAmortizedCostBasis" xml:lang="en-US">Revolving loans on an amortized basis.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_RevolvingLoansConvertedtoTermLoans" xlink:label="loc_ubsi_RevolvingLoansConvertedtoTermLoans" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_RevolvingLoansConvertedtoTermLoans" xml:lang="en-US">Revolving Loans Convertedto Term Loans</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_RevolvingLoansConvertedtoTermLoans" xml:lang="en-US">Revolving loans converted&#160;to term&#160;loans</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_RevolvingLoansConvertedtoTermLoans" xlink:to="lab_ubsi_RevolvingLoansConvertedtoTermLoans" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_RevolvingLoansConvertedtoTermLoans" xml:lang="en-US">Revolving Loans Convertedto Term Loans.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TermLoansOriginationYearSix" xlink:label="loc_ubsi_TermLoansOriginationYearSix" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_TermLoansOriginationYearSix" xml:lang="en-US">Term Loans Origination Year Six</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_TermLoansOriginationYearSix" xml:lang="en-US">2021</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_TermLoansOriginationYearSix" xlink:to="lab_ubsi_TermLoansOriginationYearSix" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_TermLoansOriginationYearSix" xml:lang="en-US">Term loans origination year six.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xml:lang="en-US">Financing Receivable, Allowance for Credit Losses [Line Items]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xml:lang="en-US">Financing Receivable, Allowance for Credit Losses [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:to="lab_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_MaximumPeriodRelatedToAccrualOfInterestOnLoans" xlink:label="loc_ubsi_MaximumPeriodRelatedToAccrualOfInterestOnLoans" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_MaximumPeriodRelatedToAccrualOfInterestOnLoans" xml:lang="en-US">Maximum Period Related To Accrual Of Interest On Loans</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_MaximumPeriodRelatedToAccrualOfInterestOnLoans" xml:lang="en-US">Maximum Period Related To Accrual Of Interest On Discontinued Loans</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_MaximumPeriodRelatedToAccrualOfInterestOnLoans" xlink:to="lab_ubsi_MaximumPeriodRelatedToAccrualOfInterestOnLoans" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_MaximumPeriodRelatedToAccrualOfInterestOnLoans" xml:lang="en-US">Maximum period of time related to the accrual of interest on loans that have become past due.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentageOfProjectionForRealDisposablePersonalIncome" xlink:label="loc_ubsi_PercentageOfProjectionForRealDisposablePersonalIncome" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_PercentageOfProjectionForRealDisposablePersonalIncome" xml:lang="en-US">Percentage Of Projection For Real Disposable Personal Income</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_PercentageOfProjectionForRealDisposablePersonalIncome" xml:lang="en-US">Percentage of projection for real disposable personal income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_PercentageOfProjectionForRealDisposablePersonalIncome" xlink:to="lab_ubsi_PercentageOfProjectionForRealDisposablePersonalIncome" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_PercentageOfProjectionForRealDisposablePersonalIncome" xml:lang="en-US">Percentage of projection for real disposable personal income.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentageOfProjectionForMortgageRate" xlink:label="loc_ubsi_PercentageOfProjectionForMortgageRate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_PercentageOfProjectionForMortgageRate" xml:lang="en-US">Percentage Of Projection For Mortgage Rate</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_PercentageOfProjectionForMortgageRate" xml:lang="en-US">Percentage of projection for mortgage rate</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_PercentageOfProjectionForMortgageRate" xlink:to="lab_ubsi_PercentageOfProjectionForMortgageRate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_PercentageOfProjectionForMortgageRate" xml:lang="en-US">Percentage of projection for house price index.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentageOfProjectionForHousePriceIndex" xlink:label="loc_ubsi_PercentageOfProjectionForHousePriceIndex" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_PercentageOfProjectionForHousePriceIndex" xml:lang="en-US">Percentage Of Projection For House Price Index</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_PercentageOfProjectionForHousePriceIndex" xml:lang="en-US">Percentage of projection for house price index</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_PercentageOfProjectionForHousePriceIndex" xlink:to="lab_ubsi_PercentageOfProjectionForHousePriceIndex" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_PercentageOfProjectionForHousePriceIndex" xml:lang="en-US">Percentage of projection for house price index.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentagePointsIncreaseInUnemploymentRate" xlink:label="loc_ubsi_PercentagePointsIncreaseInUnemploymentRate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_PercentagePointsIncreaseInUnemploymentRate" xml:lang="en-US">Percentage Points Increase In Unemployment Rate</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_PercentagePointsIncreaseInUnemploymentRate" xlink:to="lab_ubsi_PercentagePointsIncreaseInUnemploymentRate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_PercentagePointsIncreaseInUnemploymentRate" xml:lang="en-US">Percentage points increase in unemployment rate.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentagePointsReductionInGdpProjection" xlink:label="loc_ubsi_PercentagePointsReductionInGdpProjection" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_PercentagePointsReductionInGdpProjection" xml:lang="en-US">Percentage Points Reduction In GDP Projection</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_PercentagePointsReductionInGdpProjection" xml:lang="en-US">Percentage points reduction in gdp projection.</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_PercentagePointsReductionInGdpProjection" xlink:to="lab_ubsi_PercentagePointsReductionInGdpProjection" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_PercentagePointsReductionInGdpProjection" xml:lang="en-US">Percentage points reduction in gdp projection.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentageOfAllowanceForLoanAndLeaseLosses" xlink:label="loc_ubsi_PercentageOfAllowanceForLoanAndLeaseLosses" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_PercentageOfAllowanceForLoanAndLeaseLosses" xml:lang="en-US">Percentage Of Allowance For Loan And Lease Losses</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_PercentageOfAllowanceForLoanAndLeaseLosses" xml:lang="en-US">Percentage Of Allowance For Loan And Lease Losses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_PercentageOfAllowanceForLoanAndLeaseLosses" xlink:to="lab_ubsi_PercentageOfAllowanceForLoanAndLeaseLosses" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_PercentageOfAllowanceForLoanAndLeaseLosses" xml:lang="en-US">The amount of increase or decrease in the allowance for loan and lease losses expressed as a percentage.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesPeriodIncreaseDecrease" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesPeriodIncreaseDecrease" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancingReceivableAllowanceForCreditLossesPeriodIncreaseDecrease" xml:lang="en-US">Financing Receivable, Allowance for Credit Loss, Period Increase (Decrease)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinancingReceivableAllowanceForCreditLossesPeriodIncreaseDecrease" xml:lang="en-US">Allowance for Loan and Lease Losses, Period Increase (Decrease)</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesPeriodIncreaseDecrease" xlink:to="lab_us-gaap_FinancingReceivableAllowanceForCreditLossesPeriodIncreaseDecrease" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentageOfProjectionForRealGdp" xlink:label="loc_ubsi_PercentageOfProjectionForRealGdp" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_PercentageOfProjectionForRealGdp" xml:lang="en-US">Percentage Of Projection For Real Gdp</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_PercentageOfProjectionForRealGdp" xml:lang="en-US">Percentage of projection for real GDP</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_PercentageOfProjectionForRealGdp" xlink:to="lab_ubsi_PercentageOfProjectionForRealGdp" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_PercentageOfProjectionForRealGdp" xml:lang="en-US">Projection of the growth rate of the real gross domestic product (GDP) based on a direct comparison of the GDP from one year to the next.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PercentageOfUnemploymentRate" xlink:label="loc_ubsi_PercentageOfUnemploymentRate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_PercentageOfUnemploymentRate" xml:lang="en-US">Percentage Of Unemployment Rate</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_PercentageOfUnemploymentRate" xml:lang="en-US">Percentage of unemployment rate</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_PercentageOfUnemploymentRate" xlink:to="lab_ubsi_PercentageOfUnemploymentRate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_PercentageOfUnemploymentRate" xml:lang="en-US">Percentage of unemployment rate.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis" xlink:label="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis" xml:lang="en-US">Receivable Type [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis" xlink:to="lab_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivableTypeDomain" xlink:label="loc_us-gaap_ReceivableTypeDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ReceivableTypeDomain" xml:lang="en-US">Receivable [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ReceivableTypeDomain" xlink:to="lab_us-gaap_ReceivableTypeDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedIncomeReceivableMember" xlink:label="loc_us-gaap_AccruedIncomeReceivableMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AccruedIncomeReceivableMember" xml:lang="en-US">Accrued Income Receivable [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccruedIncomeReceivableMember" xlink:to="lab_us-gaap_AccruedIncomeReceivableMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PeriodAxis" xlink:label="loc_ubsi_PeriodAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_PeriodAxis" xml:lang="en-US">Period [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_PeriodAxis" xlink:to="lab_ubsi_PeriodAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_PeriodAxis" xml:lang="en-US">Period axis.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PeriodDomain" xlink:label="loc_ubsi_PeriodDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_PeriodDomain" xml:lang="en-US">Period [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_PeriodDomain" xlink:to="lab_ubsi_PeriodDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_PeriodDomain" xml:lang="en-US">Period domain.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TwoThousandAndTwentySevenMember" xlink:label="loc_ubsi_TwoThousandAndTwentySevenMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_TwoThousandAndTwentySevenMember" xml:lang="en-US">Two Thousand And Twenty Seven [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_TwoThousandAndTwentySevenMember" xml:lang="en-US">2027 [member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_TwoThousandAndTwentySevenMember" xlink:to="lab_ubsi_TwoThousandAndTwentySevenMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_TwoThousandAndTwentySevenMember" xml:lang="en-US">Two thousand and twenty seven.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TwoThousandAndTwentySixMember" xlink:label="loc_ubsi_TwoThousandAndTwentySixMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_TwoThousandAndTwentySixMember" xml:lang="en-US">Two Thousand And Twenty Six [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_TwoThousandAndTwentySixMember" xml:lang="en-US">2026 [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_TwoThousandAndTwentySixMember" xlink:to="lab_ubsi_TwoThousandAndTwentySixMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_TwoThousandAndTwentySixMember" xml:lang="en-US">Two thousand and twenty six member.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AccruedInterestReceivablesAndWrittenOffTable" xlink:label="loc_ubsi_AccruedInterestReceivablesAndWrittenOffTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_AccruedInterestReceivablesAndWrittenOffTable" xml:lang="en-US">Accrued Interest Receivables And Written Off [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_AccruedInterestReceivablesAndWrittenOffTable" xlink:to="lab_ubsi_AccruedInterestReceivablesAndWrittenOffTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_AccruedInterestReceivablesAndWrittenOffTable" xml:lang="en-US">Accrued interest receivables and written off.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AccruedInterestReceivablesAndWrittenOffStatusLineItems" xlink:label="loc_ubsi_AccruedInterestReceivablesAndWrittenOffStatusLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_AccruedInterestReceivablesAndWrittenOffStatusLineItems" xml:lang="en-US">Accrued Interest Receivables And Written Off Status [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_AccruedInterestReceivablesAndWrittenOffStatusLineItems" xlink:to="lab_ubsi_AccruedInterestReceivablesAndWrittenOffStatusLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_AccruedInterestReceivablesAndWrittenOffStatusLineItems" xml:lang="en-US">Accrued interest receivables and written off status.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AccruedInterestReceivableLoans" xlink:label="loc_ubsi_AccruedInterestReceivableLoans" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_AccruedInterestReceivableLoans" xml:lang="en-US">Accrued Interest Receivable Loans</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_AccruedInterestReceivableLoans" xml:lang="en-US">Accrued Interest Receivable</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_AccruedInterestReceivableLoans" xlink:to="lab_ubsi_AccruedInterestReceivableLoans" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_AccruedInterestReceivableLoans" xml:lang="en-US">Carrying amount as of the balance sheet date of interest earned but not received on loans. Also called accrued interest or accrued interest receivable on loans.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AccruedInterestReceivableLoansNetOfAllowance" xlink:label="loc_ubsi_AccruedInterestReceivableLoansNetOfAllowance" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_AccruedInterestReceivableLoansNetOfAllowance" xml:lang="en-US">Accrued Interest Receivable Loans Net Of Allowance</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_ubsi_AccruedInterestReceivableLoansNetOfAllowance" xml:lang="en-US">Total</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_AccruedInterestReceivableLoansNetOfAllowance" xlink:to="lab_ubsi_AccruedInterestReceivableLoansNetOfAllowance" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_AccruedInterestReceivableLoansNetOfAllowance" xml:lang="en-US">Carrying amount as of the balance sheet date of interest earned but not received on loans, net of any allowance for probable credit losses. Also called net accrued interest or net accrued interest receivable on loans.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_InterestReceivableWrittenOff" xlink:label="loc_ubsi_InterestReceivableWrittenOff" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_InterestReceivableWrittenOff" xml:lang="en-US">Interest Receivable Written Off</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_InterestReceivableWrittenOff" xml:lang="en-US">Accrued Interest Receivables Written Off by Reversing Interest Income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_InterestReceivableWrittenOff" xlink:to="lab_ubsi_InterestReceivableWrittenOff" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_InterestReceivableWrittenOff" xml:lang="en-US">Amount of accrued but unpaid interest on loans written off by reversing interest income.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerAssetAccumulatedAllowanceForCreditLoss" xlink:label="loc_us-gaap_ContractWithCustomerAssetAccumulatedAllowanceForCreditLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ContractWithCustomerAssetAccumulatedAllowanceForCreditLoss" xml:lang="en-US">Contract with Customer, Asset, Allowance for Credit Loss</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="lab_us-gaap_ContractWithCustomerAssetAccumulatedAllowanceForCreditLoss" xml:lang="en-US">Allowance for Loan and Lease Losses Beginning balance</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="lab_us-gaap_ContractWithCustomerAssetAccumulatedAllowanceForCreditLoss" xml:lang="en-US">Allowance for Loan and Lease Losses Ending balance</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ContractWithCustomerAssetAccumulatedAllowanceForCreditLoss" xlink:to="lab_us-gaap_ContractWithCustomerAssetAccumulatedAllowanceForCreditLoss" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerAssetAllowanceForCreditLossWriteoff" xlink:label="loc_us-gaap_ContractWithCustomerAssetAllowanceForCreditLossWriteoff" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ContractWithCustomerAssetAllowanceForCreditLossWriteoff" xml:lang="en-US">Contract with Customer, Asset, Allowance for Credit Loss, Writeoff</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_ContractWithCustomerAssetAllowanceForCreditLossWriteoff" xml:lang="en-US">Charge-offs</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ContractWithCustomerAssetAllowanceForCreditLossWriteoff" xlink:to="lab_us-gaap_ContractWithCustomerAssetAllowanceForCreditLossWriteoff" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerAssetAllowanceForCreditLossRecovery" xlink:label="loc_us-gaap_ContractWithCustomerAssetAllowanceForCreditLossRecovery" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ContractWithCustomerAssetAllowanceForCreditLossRecovery" xml:lang="en-US">Contract with Customer, Asset, Allowance for Credit Loss, Recovery</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ContractWithCustomerAssetAllowanceForCreditLossRecovery" xml:lang="en-US">Recoveries</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ContractWithCustomerAssetAllowanceForCreditLossRecovery" xlink:to="lab_us-gaap_ContractWithCustomerAssetAllowanceForCreditLossRecovery" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ProvisionForRecoveryOfLoanLosses" xlink:label="loc_ubsi_ProvisionForRecoveryOfLoanLosses" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_ProvisionForRecoveryOfLoanLosses" xml:lang="en-US">Provision For Recovery Of Loan Losses</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_ProvisionForRecoveryOfLoanLosses" xml:lang="en-US">Provision</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_ProvisionForRecoveryOfLoanLosses" xlink:to="lab_ubsi_ProvisionForRecoveryOfLoanLosses" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_ProvisionForRecoveryOfLoanLosses" xml:lang="en-US">Amount of expense (or recovery of expense) related to the estimated loss from loan transactions.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivablePurchasedWithCreditDeteriorationAllowanceForCreditLossAtAcquisitionDate" xlink:label="loc_us-gaap_FinancingReceivablePurchasedWithCreditDeteriorationAllowanceForCreditLossAtAcquisitionDate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancingReceivablePurchasedWithCreditDeteriorationAllowanceForCreditLossAtAcquisitionDate" xml:lang="en-US">Financing Receivable, Purchased with Credit Deterioration, Allowance for Credit Loss at Acquisition Date</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FinancingReceivablePurchasedWithCreditDeteriorationAllowanceForCreditLossAtAcquisitionDate" xml:lang="en-US">Initial&#160;allowance&#160;for&#160;PCD loans (acquired during the period)</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivablePurchasedWithCreditDeteriorationAllowanceForCreditLossAtAcquisitionDate" xlink:to="lab_us-gaap_FinancingReceivablePurchasedWithCreditDeteriorationAllowanceForCreditLossAtAcquisitionDate" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xml:lang="en-US">Adjustments for New Accounting Pronouncements [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:to="lab_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_TypeOfAdoptionMember" xml:lang="en-US">Type of Adoption [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TypeOfAdoptionMember" xlink:to="lab_us-gaap_TypeOfAdoptionMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xml:lang="en-US">Schedule of Finite-Lived Intangible Assets [Table]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xml:lang="en-US">Schedule of Finite-Lived Intangible Assets [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:to="lab_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SegmentTypeAxis" xlink:label="loc_ubsi_SegmentTypeAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_SegmentTypeAxis" xml:lang="en-US">Segment Type [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_SegmentTypeAxis" xml:lang="en-US">Segments [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_SegmentTypeAxis" xlink:to="lab_ubsi_SegmentTypeAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_SegmentTypeAxis" xml:lang="en-US">Segment type.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SegmentTypeDomain" xlink:label="loc_ubsi_SegmentTypeDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_SegmentTypeDomain" xml:lang="en-US">Segment Type [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_SegmentTypeDomain" xml:lang="en-US">Segments [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_SegmentTypeDomain" xlink:to="lab_ubsi_SegmentTypeDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_SegmentTypeDomain" xml:lang="en-US">Segment type.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CommunityBankingMember" xlink:label="loc_ubsi_CommunityBankingMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_CommunityBankingMember" xml:lang="en-US">Community Banking [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_CommunityBankingMember" xml:lang="en-US">Community Banking [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_CommunityBankingMember" xlink:to="lab_ubsi_CommunityBankingMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_CommunityBankingMember" xml:lang="en-US">Community banking.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xml:lang="en-US">Finite-Lived Intangible Assets by Major Class [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xml:lang="en-US">Finite-Lived Intangible Assets by Major Class [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:to="lab_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xml:lang="en-US">Finite-Lived Intangible Assets, Major Class Name [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xml:lang="en-US">Finite-Lived Intangible Assets, Major Class Name [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:to="lab_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CoreDepositsMember" xlink:label="loc_us-gaap_CoreDepositsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CoreDepositsMember" xml:lang="en-US">Core Deposits [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CoreDepositsMember" xml:lang="en-US">Core Deposit Intangible Assets [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CoreDepositsMember" xlink:to="lab_us-gaap_CoreDepositsMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsLineItems" xml:lang="en-US">Finite-Lived Intangible Assets [Line Items]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsLineItems" xml:lang="en-US">Finite-Lived Intangible Assets [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:to="lab_us-gaap_FiniteLivedIntangibleAssetsLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsGross" xml:lang="en-US">Finite-Lived Intangible Assets, Gross</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsGross" xml:lang="en-US">Gross Carrying Amount</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsGross" xlink:to="lab_us-gaap_FiniteLivedIntangibleAssetsGross" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xml:lang="en-US">Finite-Lived Intangible Assets, Accumulated Amortization</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xml:lang="en-US">Accumulated Amortization</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:to="lab_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AmortizationExpenseOnIntangibleAssets" xlink:label="loc_ubsi_AmortizationExpenseOnIntangibleAssets" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_AmortizationExpenseOnIntangibleAssets" xml:lang="en-US">Amortization Expense On Intangible Assets</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_AmortizationExpenseOnIntangibleAssets" xml:lang="en-US">Amortization expense on intangible assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_AmortizationExpenseOnIntangibleAssets" xlink:to="lab_ubsi_AmortizationExpenseOnIntangibleAssets" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_AmortizationExpenseOnIntangibleAssets" xml:lang="en-US">The process of expensing the cost of an intangible asset over the estimated useful life of the asset.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xml:lang="en-US">Finite-Lived Intangible Assets, Amortization Expense, Year Two</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xml:lang="en-US">2027</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xlink:to="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xml:lang="en-US">Finite-Lived Intangible Assets, Amortization Expense, Year Three</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xml:lang="en-US">2028</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xlink:to="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xml:lang="en-US">Finite-Lived Intangible Assets, Amortization Expense, Year Four</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xml:lang="en-US">2029</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xlink:to="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xml:lang="en-US">Finite-Lived Intangible Assets, Amortization Expense, Year Five</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xml:lang="en-US">2030</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xlink:to="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xml:lang="en-US">Finite-Lived Intangible Assets, Amortization Expense, after Year Five</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xml:lang="en-US">2031 and thereafter</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xlink:to="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" xml:lang="en-US">Finite-Lived Intangible Asset, Expected Amortization, Year One</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" xml:lang="en-US">2026</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" xlink:to="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeLeaseDescriptionTable" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LesseeLeaseDescriptionTable" xml:lang="en-US">Lessee, Lease, Description [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable" xlink:to="lab_us-gaap_LesseeLeaseDescriptionTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_MaximumMember" xml:lang="en-US">Maximum [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_srt_MaximumMember" xml:lang="en-US">Maximum [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_MaximumMember" xlink:to="lab_srt_MaximumMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeLeaseDescriptionLineItems" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LesseeLeaseDescriptionLineItems" xml:lang="en-US">Lessee, Lease, Description [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems" xlink:to="lab_us-gaap_LesseeLeaseDescriptionLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseRemainingLeaseTerm" xlink:label="loc_us-gaap_LesseeOperatingLeaseRemainingLeaseTerm" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LesseeOperatingLeaseRemainingLeaseTerm" xml:lang="en-US">Lessee, Operating Lease, Remaining Lease Term</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LesseeOperatingLeaseRemainingLeaseTerm" xml:lang="en-US">Operating lease remaining lease term</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LesseeOperatingLeaseRemainingLeaseTerm" xlink:to="lab_us-gaap_LesseeOperatingLeaseRemainingLeaseTerm" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseRenewalTerm" xlink:label="loc_us-gaap_LesseeOperatingLeaseRenewalTerm" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LesseeOperatingLeaseRenewalTerm" xml:lang="en-US">Lessee, Operating Lease, Renewal Term</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LesseeOperatingLeaseRenewalTerm" xml:lang="en-US">Operating leases, option to extend term</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LesseeOperatingLeaseRenewalTerm" xlink:to="lab_us-gaap_LesseeOperatingLeaseRenewalTerm" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseCost" xlink:label="loc_us-gaap_OperatingLeaseCost" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OperatingLeaseCost" xml:lang="en-US">Operating Lease, Cost</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_OperatingLeaseCost" xml:lang="en-US">Operating lease cost</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingLeaseCost" xlink:to="lab_us-gaap_OperatingLeaseCost" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubleaseIncome" xlink:label="loc_us-gaap_SubleaseIncome" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SubleaseIncome" xml:lang="en-US">Sublease Income</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_SubleaseIncome" xml:lang="en-US">Sublease income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SubleaseIncome" xlink:to="lab_us-gaap_SubleaseIncome" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeaseCost" xlink:label="loc_us-gaap_LeaseCost" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LeaseCost" xml:lang="en-US">Lease, Cost</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_LeaseCost" xml:lang="en-US">Net lease cost</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LeaseCost" xlink:to="lab_us-gaap_LeaseCost" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_WeightedaverageRemainingLeaseTermAbstract" xlink:label="loc_ubsi_WeightedaverageRemainingLeaseTermAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_WeightedaverageRemainingLeaseTermAbstract" xml:lang="en-US">Weightedaverage remaining lease term [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_WeightedaverageRemainingLeaseTermAbstract" xml:lang="en-US">Weighted-average remaining lease term:</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_WeightedaverageRemainingLeaseTermAbstract" xlink:to="lab_ubsi_WeightedaverageRemainingLeaseTermAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1" xlink:label="loc_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1" xml:lang="en-US">Operating Lease, Weighted Average Remaining Lease Term</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1" xml:lang="en-US">Operating leases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1" xlink:to="lab_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_WeightedaverageDiscountRateAbstract" xlink:label="loc_ubsi_WeightedaverageDiscountRateAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_WeightedaverageDiscountRateAbstract" xml:lang="en-US">Weightedaverage discount rate [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_WeightedaverageDiscountRateAbstract" xml:lang="en-US">Weighted-average discount rate:</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_WeightedaverageDiscountRateAbstract" xlink:to="lab_ubsi_WeightedaverageDiscountRateAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent" xlink:label="loc_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent" xml:lang="en-US">Operating Lease, Weighted Average Discount Rate, Percent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent" xml:lang="en-US">Operating leases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent" xlink:to="lab_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CashPaidForAmountsInTheMeasurementOfLeaseLiabilitiesAbstract" xlink:label="loc_ubsi_CashPaidForAmountsInTheMeasurementOfLeaseLiabilitiesAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_CashPaidForAmountsInTheMeasurementOfLeaseLiabilitiesAbstract" xml:lang="en-US">Cash paid for amounts in the measurement of lease liabilities [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_CashPaidForAmountsInTheMeasurementOfLeaseLiabilitiesAbstract" xml:lang="en-US">Cash paid for amounts in the measurement of lease liabilities:</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_CashPaidForAmountsInTheMeasurementOfLeaseLiabilitiesAbstract" xlink:to="lab_ubsi_CashPaidForAmountsInTheMeasurementOfLeaseLiabilitiesAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeasePayments" xlink:label="loc_us-gaap_OperatingLeasePayments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OperatingLeasePayments" xml:lang="en-US">Operating Lease, Payments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_OperatingLeasePayments" xml:lang="en-US">Operating cash flows from operating leases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingLeasePayments" xlink:to="lab_us-gaap_OperatingLeasePayments" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths" xml:lang="en-US">Lessee, Operating Lease, Liability, to be Paid, Year One</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths" xml:lang="en-US">2026</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths" xlink:to="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo" xml:lang="en-US">Lessee, Operating Lease, Liability, to be Paid, Year Two</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo" xml:lang="en-US">2027</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo" xlink:to="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree" xml:lang="en-US">Lessee, Operating Lease, Liability, to be Paid, Year Three</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree" xml:lang="en-US">2028</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree" xlink:to="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour" xml:lang="en-US">Lessee, Operating Lease, Liability, to be Paid, Year Four</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour" xml:lang="en-US">2029</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour" xlink:to="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive" xml:lang="en-US">Lessee, Operating Lease, Liability, to be Paid, Year Five</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive" xml:lang="en-US">2030</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive" xlink:to="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive" xml:lang="en-US">Lessee, Operating Lease, Liability, to be Paid, after Year Five</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive" xml:lang="en-US">Thereafter</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive" xlink:to="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" xml:lang="en-US">Lessee, Operating Lease, Liability, to be Paid</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" xml:lang="en-US">Total lease payments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" xlink:to="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount" xml:lang="en-US">Lessee, Operating Lease, Liability, Undiscounted Excess Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount" xml:lang="en-US">Less: imputed interest</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount" xlink:to="lab_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShortTermDebtTable" xlink:label="loc_us-gaap_ScheduleOfShortTermDebtTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfShortTermDebtTable" xml:lang="en-US">Short-Term Debt [Table]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfShortTermDebtTable" xml:lang="en-US">Schedule of Short-term Debt [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfShortTermDebtTable" xlink:to="lab_us-gaap_ScheduleOfShortTermDebtTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StatementClassOfStockAxis" xml:lang="en-US">Class of Stock [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementClassOfStockAxis" xlink:to="lab_us-gaap_StatementClassOfStockAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ClassOfStockDomain" xml:lang="en-US">Class of Stock [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ClassOfStockDomain" xlink:to="lab_us-gaap_ClassOfStockDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermDebtLineItems" xlink:label="loc_us-gaap_ShortTermDebtLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShortTermDebtLineItems" xml:lang="en-US">Short-Term Debt [Line Items]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShortTermDebtLineItems" xml:lang="en-US">Short-term Debt [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShortTermDebtLineItems" xlink:to="lab_us-gaap_ShortTermDebtLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermBorrowings" xlink:label="loc_us-gaap_ShortTermBorrowings" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShortTermBorrowings" xml:lang="en-US">Short-term Debt</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShortTermBorrowings" xml:lang="en-US">Short-term borrowings</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShortTermBorrowings" xlink:to="lab_us-gaap_ShortTermBorrowings" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermDebtTypeAxis" xlink:label="loc_us-gaap_ShortTermDebtTypeAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShortTermDebtTypeAxis" xml:lang="en-US">Short-term Debt, Type [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis" xlink:to="lab_us-gaap_ShortTermDebtTypeAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermDebtTypeDomain" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShortTermDebtTypeDomain" xml:lang="en-US">Short-term Debt, Type [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShortTermDebtTypeDomain" xlink:to="lab_us-gaap_ShortTermDebtTypeDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FederalFundsPurchasedMember" xlink:label="loc_us-gaap_FederalFundsPurchasedMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FederalFundsPurchasedMember" xml:lang="en-US">Federal Funds Purchased [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FederalFundsPurchasedMember" xlink:to="lab_us-gaap_FederalFundsPurchasedMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseMember" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseMember" xml:lang="en-US">Securities Sold under Agreements to Repurchase [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseMember" xml:lang="en-US">Securities Sold Under Agreements to Repurchase [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseMember" xlink:to="lab_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtInstrumentAxis" xml:lang="en-US">Debt Instrument [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DebtInstrumentAxis" xml:lang="en-US">Debt Instrument [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentAxis" xlink:to="lab_us-gaap_DebtInstrumentAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtInstrumentNameDomain" xml:lang="en-US">Debt Instrument, Name [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DebtInstrumentNameDomain" xml:lang="en-US">Debt Instrument, Name [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="lab_us-gaap_DebtInstrumentNameDomain" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_UnrelatedFinancialInstitutionMember" xlink:label="loc_ubsi_UnrelatedFinancialInstitutionMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_UnrelatedFinancialInstitutionMember" xml:lang="en-US">Unrelated Financial Institution [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_UnrelatedFinancialInstitutionMember" xml:lang="en-US">Unrelated Financial Institution [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_UnrelatedFinancialInstitutionMember" xlink:to="lab_ubsi_UnrelatedFinancialInstitutionMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_UnrelatedFinancialInstitutionMember" xml:lang="en-US">Unrelated financial institution.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ExtinguishmentOfDebtAxis" xlink:label="loc_us-gaap_ExtinguishmentOfDebtAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ExtinguishmentOfDebtAxis" xml:lang="en-US">Extinguishment of Debt [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ExtinguishmentOfDebtAxis" xml:lang="en-US">Extinguishment of Debt [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ExtinguishmentOfDebtAxis" xlink:to="lab_us-gaap_ExtinguishmentOfDebtAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ExtinguishmentOfDebtTypeDomain" xlink:label="loc_us-gaap_ExtinguishmentOfDebtTypeDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ExtinguishmentOfDebtTypeDomain" xml:lang="en-US">Extinguishment of Debt, Type [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ExtinguishmentOfDebtTypeDomain" xml:lang="en-US">Extinguishment of Debt, Type [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ExtinguishmentOfDebtTypeDomain" xlink:to="lab_us-gaap_ExtinguishmentOfDebtTypeDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xml:lang="en-US">Line of Credit Facility, Maximum Borrowing Capacity</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xml:lang="en-US">Unused lines of credit</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:to="lab_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_RenewalPeriodOfLineOfCredit" xlink:label="loc_ubsi_RenewalPeriodOfLineOfCredit" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_RenewalPeriodOfLineOfCredit" xml:lang="en-US">Renewal Period Of Line Of Credit</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_RenewalPeriodOfLineOfCredit" xml:lang="en-US">Renewal period of line of credit</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_RenewalPeriodOfLineOfCredit" xlink:to="lab_ubsi_RenewalPeriodOfLineOfCredit" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_RenewalPeriodOfLineOfCredit" xml:lang="en-US">The time period for renewal of a line of credit.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtInstrumentTable" xml:lang="en-US">Schedule of Long-Term Debt Instruments [Table]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DebtInstrumentTable" xml:lang="en-US">Schedule of Long-term Debt Instruments [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentTable" xlink:to="lab_us-gaap_DebtInstrumentTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByLiabilityClassAxis" xlink:label="loc_us-gaap_FairValueByLiabilityClassAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueByLiabilityClassAxis" xml:lang="en-US">Liability Class [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FairValueByLiabilityClassAxis" xml:lang="en-US">Liability Class [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis" xlink:to="lab_us-gaap_FairValueByLiabilityClassAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain" xml:lang="en-US">Fair Value by Liability Class [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain" xml:lang="en-US">Fair Value by Liability Class [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain" xlink:to="lab_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LongtermDebtTypeAxis" xml:lang="en-US">Long-term Debt, Type [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LongtermDebtTypeAxis" xml:lang="en-US">Long-term Debt, Type [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongtermDebtTypeAxis" xlink:to="lab_us-gaap_LongtermDebtTypeAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LongtermDebtTypeDomain" xml:lang="en-US">Long-term Debt, Type [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LongtermDebtTypeDomain" xml:lang="en-US">Long-term Debt, Type [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongtermDebtTypeDomain" xlink:to="lab_us-gaap_LongtermDebtTypeDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtInstrumentLineItems" xml:lang="en-US">Debt Instrument [Line Items]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DebtInstrumentLineItems" xml:lang="en-US">Debt Instrument [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentLineItems" xlink:to="lab_us-gaap_DebtInstrumentLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FederalHomeLoanBankAdvancesGeneralDebtObligationsDisclosuresAmountOfAvailableUnusedFunds" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesGeneralDebtObligationsDisclosuresAmountOfAvailableUnusedFunds" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FederalHomeLoanBankAdvancesGeneralDebtObligationsDisclosuresAmountOfAvailableUnusedFunds" xml:lang="en-US">Federal Home Loan Bank, Advances, General Debt Obligations, Amount of Available, Unused Funds</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FederalHomeLoanBankAdvancesGeneralDebtObligationsDisclosuresAmountOfAvailableUnusedFunds" xml:lang="en-US">Unused borrowing amount</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FederalHomeLoanBankAdvancesGeneralDebtObligationsDisclosuresAmountOfAvailableUnusedFunds" xlink:to="lab_us-gaap_FederalHomeLoanBankAdvancesGeneralDebtObligationsDisclosuresAmountOfAvailableUnusedFunds" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_JuniorSubordinatedLongTermNotes" xlink:label="loc_us-gaap_JuniorSubordinatedLongTermNotes" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_JuniorSubordinatedLongTermNotes" xml:lang="en-US">Junior Subordinated Notes, Noncurrent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_JuniorSubordinatedLongTermNotes" xml:lang="en-US">Outstanding balances of debentures</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_JuniorSubordinatedLongTermNotes" xlink:to="lab_us-gaap_JuniorSubordinatedLongTermNotes" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_MaximumTimeToDeferPaymentOfInterestOnSubordinateDebt" xlink:label="loc_ubsi_MaximumTimeToDeferPaymentOfInterestOnSubordinateDebt" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_MaximumTimeToDeferPaymentOfInterestOnSubordinateDebt" xml:lang="en-US">Maximum Time To Defer Payment Of Interest On Subordinate Debt</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_MaximumTimeToDeferPaymentOfInterestOnSubordinateDebt" xml:lang="en-US">Maximum time to defer payment of interest on subordinate debt</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_MaximumTimeToDeferPaymentOfInterestOnSubordinateDebt" xlink:to="lab_ubsi_MaximumTimeToDeferPaymentOfInterestOnSubordinateDebt" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_MaximumTimeToDeferPaymentOfInterestOnSubordinateDebt" xml:lang="en-US">Maximum time to defer payment of interest on subordinate debt.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FederalHomeLoanBankAdvancesActivityForYearAverageInterestRateForYear" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesActivityForYearAverageInterestRateForYear" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FederalHomeLoanBankAdvancesActivityForYearAverageInterestRateForYear" xml:lang="en-US">Federal Home Loan Bank, Advances, Activity for Year, Average Interest Rate for Year</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_FederalHomeLoanBankAdvancesActivityForYearAverageInterestRateForYear" xml:lang="en-US">Federal Home Loan Bank, Advances, Activity for Year, Average Interest Rate for Year</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FederalHomeLoanBankAdvancesActivityForYearAverageInterestRateForYear" xlink:to="lab_us-gaap_FederalHomeLoanBankAdvancesActivityForYearAverageInterestRateForYear" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtWeightedAverageInterestRate" xlink:label="loc_us-gaap_DebtWeightedAverageInterestRate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtWeightedAverageInterestRate" xml:lang="en-US">Debt, Weighted Average Interest Rate</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtWeightedAverageInterestRate" xlink:to="lab_us-gaap_DebtWeightedAverageInterestRate" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_MaturityPeriodAxis" xlink:label="loc_ubsi_MaturityPeriodAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_MaturityPeriodAxis" xml:lang="en-US">Maturity Period [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_MaturityPeriodAxis" xlink:to="lab_ubsi_MaturityPeriodAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_MaturityPeriodAxis" xml:lang="en-US">Maturity period.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_MaturityPeriodDomain" xlink:label="loc_ubsi_MaturityPeriodDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_MaturityPeriodDomain" xml:lang="en-US">Maturity Period [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_MaturityPeriodDomain" xlink:to="lab_ubsi_MaturityPeriodDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_MaturityPeriodDomain" xml:lang="en-US">Maturity period.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PledgingPurposeAxis" xlink:label="loc_us-gaap_PledgingPurposeAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PledgingPurposeAxis" xml:lang="en-US">Pledging Purpose [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PledgingPurposeAxis" xlink:to="lab_us-gaap_PledgingPurposeAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PledgingPurposeDomain" xlink:label="loc_us-gaap_PledgingPurposeDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PledgingPurposeDomain" xml:lang="en-US">Pledging Purpose [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PledgingPurposeDomain" xlink:to="lab_us-gaap_PledgingPurposeDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LossContingenciesTable" xlink:label="loc_us-gaap_LossContingenciesTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LossContingenciesTable" xml:lang="en-US">Loss Contingencies [Table]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LossContingenciesTable" xml:lang="en-US">Loss Contingencies [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LossContingenciesTable" xlink:to="lab_us-gaap_LossContingenciesTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LossContingenciesByNatureOfContingencyAxis" xlink:label="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LossContingenciesByNatureOfContingencyAxis" xml:lang="en-US">Loss Contingency Nature [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LossContingenciesByNatureOfContingencyAxis" xml:lang="en-US">Loss Contingency Nature [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis" xlink:to="lab_us-gaap_LossContingenciesByNatureOfContingencyAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LossContingencyNatureDomain" xlink:label="loc_us-gaap_LossContingencyNatureDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LossContingencyNatureDomain" xml:lang="en-US">Loss Contingency, Nature [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LossContingencyNatureDomain" xml:lang="en-US">Loss Contingency, Nature [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LossContingencyNatureDomain" xlink:to="lab_us-gaap_LossContingencyNatureDomain" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CommercialLettersOfCreditMember" xlink:label="loc_ubsi_CommercialLettersOfCreditMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_CommercialLettersOfCreditMember" xml:lang="en-US">Commercial Letters Of Credit [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_CommercialLettersOfCreditMember" xml:lang="en-US">Commercial Letters of Credit [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_CommercialLettersOfCreditMember" xlink:to="lab_ubsi_CommercialLettersOfCreditMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_CommercialLettersOfCreditMember" xml:lang="en-US">Commercial letters of credit.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StandbyLettersOfCreditMember" xlink:label="loc_us-gaap_StandbyLettersOfCreditMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StandbyLettersOfCreditMember" xml:lang="en-US">Standby Letters of Credit [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_StandbyLettersOfCreditMember" xml:lang="en-US">Standby Letters of Credit [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StandbyLettersOfCreditMember" xlink:to="lab_us-gaap_StandbyLettersOfCreditMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesAxis" xlink:label="loc_srt_ConsolidatedEntitiesAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_ConsolidatedEntitiesAxis" xml:lang="en-US">Consolidated Entities [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_srt_ConsolidatedEntitiesAxis" xml:lang="en-US">Consolidated Entities [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_ConsolidatedEntitiesAxis" xlink:to="lab_srt_ConsolidatedEntitiesAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_ConsolidatedEntitiesDomain" xml:lang="en-US">Consolidated Entities [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_srt_ConsolidatedEntitiesDomain" xml:lang="en-US">Consolidated Entities [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_ConsolidatedEntitiesDomain" xlink:to="lab_srt_ConsolidatedEntitiesDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerDurationAxis" xlink:label="loc_us-gaap_ContractWithCustomerDurationAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ContractWithCustomerDurationAxis" xml:lang="en-US">Contract with Customer, Duration [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ContractWithCustomerDurationAxis" xml:lang="en-US">Contract with Customer, Duration [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ContractWithCustomerDurationAxis" xlink:to="lab_us-gaap_ContractWithCustomerDurationAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerDurationDomain" xlink:label="loc_us-gaap_ContractWithCustomerDurationDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ContractWithCustomerDurationDomain" xml:lang="en-US">Contract with Customer, Duration [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ContractWithCustomerDurationDomain" xml:lang="en-US">Contract with Customer, Duration [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ContractWithCustomerDurationDomain" xlink:to="lab_us-gaap_ContractWithCustomerDurationDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LossContingenciesLineItems" xlink:label="loc_us-gaap_LossContingenciesLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LossContingenciesLineItems" xml:lang="en-US">Loss Contingencies [Line Items]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LossContingenciesLineItems" xml:lang="en-US">Loss Contingencies [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LossContingenciesLineItems" xlink:to="lab_us-gaap_LossContingenciesLineItems" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoanCommitmentsOutstanding" xlink:label="loc_ubsi_LoanCommitmentsOutstanding" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_LoanCommitmentsOutstanding" xml:lang="en-US">Loan Commitments Outstanding</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_LoanCommitmentsOutstanding" xml:lang="en-US">Loan commitments outstanding</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_LoanCommitmentsOutstanding" xlink:to="lab_ubsi_LoanCommitmentsOutstanding" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_LoanCommitmentsOutstanding" xml:lang="en-US">The outstanding dollar amount of commitments to extend additional credit issued as of the balance sheet date.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityExpirationPeriod" xlink:label="loc_us-gaap_LineOfCreditFacilityExpirationPeriod" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LineOfCreditFacilityExpirationPeriod" xml:lang="en-US">Line of Credit Facility, Expiration Period</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LineOfCreditFacilityExpirationPeriod" xml:lang="en-US">Loan commitments expiry period</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LineOfCreditFacilityExpirationPeriod" xlink:to="lab_us-gaap_LineOfCreditFacilityExpirationPeriod" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LettersOfCreditOutstandingAmount" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LettersOfCreditOutstandingAmount" xml:lang="en-US">Letters of Credit Outstanding, Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LettersOfCreditOutstandingAmount" xml:lang="en-US">Letters of credit issued</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LettersOfCreditOutstandingAmount" xlink:to="lab_us-gaap_LettersOfCreditOutstandingAmount" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeTable" xlink:label="loc_us-gaap_DerivativeTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DerivativeTable" xml:lang="en-US">Derivative [Table]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DerivativeTable" xml:lang="en-US">Derivative [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeTable" xlink:to="lab_us-gaap_DerivativeTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FederalHomeLoanBankBorrowingsMember" xlink:label="loc_us-gaap_FederalHomeLoanBankBorrowingsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FederalHomeLoanBankBorrowingsMember" xml:lang="en-US">Federal Home Loan Bank Borrowings [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FederalHomeLoanBankBorrowingsMember" xlink:to="lab_us-gaap_FederalHomeLoanBankBorrowingsMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DerivativeInstrumentRiskAxis" xml:lang="en-US">Derivative Instrument [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DerivativeInstrumentRiskAxis" xml:lang="en-US">Derivative Instrument [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis" xlink:to="lab_us-gaap_DerivativeInstrumentRiskAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DerivativeContractTypeDomain" xml:lang="en-US">Derivative Contract [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DerivativeContractTypeDomain" xml:lang="en-US">Derivative Contract [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeContractTypeDomain" xlink:to="lab_us-gaap_DerivativeContractTypeDomain" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_InterestRateCashFlowHedgeMember" xlink:label="loc_ubsi_InterestRateCashFlowHedgeMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_InterestRateCashFlowHedgeMember" xml:lang="en-US">Interest Rate Cash Flow Hedge [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_InterestRateCashFlowHedgeMember" xlink:to="lab_ubsi_InterestRateCashFlowHedgeMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_InterestRateCashFlowHedgeMember" xml:lang="en-US">Interest Rate Cash Flow Hedge</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLineItems" xlink:label="loc_us-gaap_DerivativeLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DerivativeLineItems" xml:lang="en-US">Derivative [Line Items]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DerivativeLineItems" xml:lang="en-US">Derivative [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeLineItems" xlink:to="lab_us-gaap_DerivativeLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilityNotionalAmount" xlink:label="loc_us-gaap_DerivativeLiabilityNotionalAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DerivativeLiabilityNotionalAmount" xml:lang="en-US">Derivative liabilities notional amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_DerivativeLiabilityNotionalAmount" xml:lang="en-US">Derivative liabilities notional amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DerivativeLiabilityNotionalAmount" xml:lang="en-US">Liability derivatives, notional amount</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeLiabilityNotionalAmount" xlink:to="lab_us-gaap_DerivativeLiabilityNotionalAmount" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet" xlink:label="loc_us-gaap_InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet" xml:lang="en-US">Cash flow hedge reclassification amount to be reclassified from aoci to income in the next twelve months</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet" xml:lang="en-US">Cash flow hedge reclassification amount to be reclassified from aoci to income in the next twelve months</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet" xlink:to="lab_us-gaap_InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeNetLiabilityPositionAggregateFairValue" xlink:label="loc_us-gaap_DerivativeNetLiabilityPositionAggregateFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DerivativeNetLiabilityPositionAggregateFairValue" xml:lang="en-US">Fair value of interest rate swaps liability net</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DerivativeNetLiabilityPositionAggregateFairValue" xml:lang="en-US">Fair value of interest rate swaps liability net</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeNetLiabilityPositionAggregateFairValue" xlink:to="lab_us-gaap_DerivativeNetLiabilityPositionAggregateFairValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssetNotionalAmount" xlink:label="loc_us-gaap_DerivativeAssetNotionalAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DerivativeAssetNotionalAmount" xml:lang="en-US">Derivative Asset, Notional Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_DerivativeAssetNotionalAmount" xml:lang="en-US">Derivative Asset, Notional Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DerivativeAssetNotionalAmount" xml:lang="en-US">Asset derivatives, notional amount</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeAssetNotionalAmount" xlink:to="lab_us-gaap_DerivativeAssetNotionalAmount" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InterestRateSwapMember" xml:lang="en-US">Interest Rate Swap [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InterestRateSwapMember" xml:lang="en-US">Interest Rate Swap Contracts [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_InterestRateSwapMember" xml:lang="en-US">Interest rate swaps [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_InterestRateSwapMember" xml:lang="en-US">Interest Rate Contracts [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestRateSwapMember" xlink:to="lab_us-gaap_InterestRateSwapMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ForwardLoanSaleCommitmentsMember" xlink:label="loc_ubsi_ForwardLoanSaleCommitmentsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_ForwardLoanSaleCommitmentsMember" xml:lang="en-US">Forward Loan Sale Commitments [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_ForwardLoanSaleCommitmentsMember" xml:lang="en-US">Forward Loan Sale Commitments [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_ForwardLoanSaleCommitmentsMember" xlink:to="lab_ubsi_ForwardLoanSaleCommitmentsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_ForwardLoanSaleCommitmentsMember" xml:lang="en-US">Forward loan sale commitments.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DerivativeInstrumentsAxis" xlink:label="loc_ubsi_DerivativeInstrumentsAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_DerivativeInstrumentsAxis" xml:lang="en-US">Derivative Instruments [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_DerivativeInstrumentsAxis" xml:lang="en-US">Derivative Instruments [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_DerivativeInstrumentsAxis" xlink:to="lab_ubsi_DerivativeInstrumentsAxis" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DerivativeInstrumentsDomain" xlink:label="loc_ubsi_DerivativeInstrumentsDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_DerivativeInstrumentsDomain" xml:lang="en-US">Derivative Instruments [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_DerivativeInstrumentsDomain" xml:lang="en-US">Derivative Instruments [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_DerivativeInstrumentsDomain" xlink:to="lab_ubsi_DerivativeInstrumentsDomain" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OthersLiabilitiesMember" xlink:label="loc_ubsi_OthersLiabilitiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_OthersLiabilitiesMember" xml:lang="en-US">Others Liabilities [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_OthersLiabilitiesMember" xml:lang="en-US">Other Liabilities [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_OthersLiabilitiesMember" xlink:to="lab_ubsi_OthersLiabilitiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_OthersLiabilitiesMember" xml:lang="en-US">Other Liabilities.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis" xml:lang="en-US">Hedging Relationship [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis" xml:lang="en-US">Hedging Relationship [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis" xlink:to="lab_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_HedgingRelationshipDomain" xml:lang="en-US">Hedging Relationship [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_HedgingRelationshipDomain" xml:lang="en-US">Hedging Relationship [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_HedgingRelationshipDomain" xlink:to="lab_us-gaap_HedgingRelationshipDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueHedgingMember" xlink:label="loc_us-gaap_FairValueHedgingMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueHedgingMember" xml:lang="en-US">Fair Value Hedging [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FairValueHedgingMember" xml:lang="en-US">Fair Value Hedging [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueHedgingMember" xlink:to="lab_us-gaap_FairValueHedgingMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashFlowHedgingMember" xlink:label="loc_us-gaap_CashFlowHedgingMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CashFlowHedgingMember" xml:lang="en-US">Cash Flow Hedging [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CashFlowHedgingMember" xlink:to="lab_us-gaap_CashFlowHedgingMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingDesignationAxis" xlink:label="loc_us-gaap_HedgingDesignationAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_HedgingDesignationAxis" xml:lang="en-US">Hedging Designation [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_HedgingDesignationAxis" xml:lang="en-US">Hedging Designation [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_HedgingDesignationAxis" xlink:to="lab_us-gaap_HedgingDesignationAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_HedgingDesignationDomain" xml:lang="en-US">Hedging Designation [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_HedgingDesignationDomain" xml:lang="en-US">Hedging Designation [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_HedgingDesignationDomain" xlink:to="lab_us-gaap_HedgingDesignationDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DesignatedAsHedgingInstrumentMember" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DesignatedAsHedgingInstrumentMember" xml:lang="en-US">Designated as Hedging Instrument [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DesignatedAsHedgingInstrumentMember" xml:lang="en-US">Designated as Hedging Instrument [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DesignatedAsHedgingInstrumentMember" xlink:to="lab_us-gaap_DesignatedAsHedgingInstrumentMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NondesignatedMember" xlink:label="loc_us-gaap_NondesignatedMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NondesignatedMember" xml:lang="en-US">Not Designated as Hedging Instrument [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_NondesignatedMember" xml:lang="en-US">Not Designated as Hedging Instrument [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NondesignatedMember" xlink:to="lab_us-gaap_NondesignatedMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_HedgedCommercialLoansMember" xlink:label="loc_ubsi_HedgedCommercialLoansMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_HedgedCommercialLoansMember" xml:lang="en-US">Hedged Commercial Loans [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_HedgedCommercialLoansMember" xml:lang="en-US">Hedged Commercial Loans [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_HedgedCommercialLoansMember" xlink:to="lab_ubsi_HedgedCommercialLoansMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_HedgedCommercialLoansMember" xml:lang="en-US">Hedged Commercial Loans [Member]</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestRateLockCommitmentsMember" xlink:label="loc_us-gaap_InterestRateLockCommitmentsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InterestRateLockCommitmentsMember" xml:lang="en-US">Interest Rate Lock Commitments [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InterestRateLockCommitmentsMember" xml:lang="en-US">Interest Rate Lock Commitments [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_InterestRateLockCommitmentsMember" xml:lang="en-US">Interest Rate Lock Commitments [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestRateLockCommitmentsMember" xlink:to="lab_us-gaap_InterestRateLockCommitmentsMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_HedgedCommercialLoansFederalHomeLoanBankMember" xlink:label="loc_ubsi_HedgedCommercialLoansFederalHomeLoanBankMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_HedgedCommercialLoansFederalHomeLoanBankMember" xml:lang="en-US">Hedged Commercial Loans Federal Home Loan Bank [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_HedgedCommercialLoansFederalHomeLoanBankMember" xlink:to="lab_ubsi_HedgedCommercialLoansFederalHomeLoanBankMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue" xlink:label="loc_us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue" xml:lang="en-US">Derivative Instruments in Hedges, Assets, at Fair Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue" xml:lang="en-US">Asset derivatives designated as hedging instruments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue" xlink:to="lab_us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue" xlink:label="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue" xml:lang="en-US">Derivative Instruments Not Designated as Hedging Instruments, Asset, at Fair Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue" xml:lang="en-US">Asset derivatives not designated as hedging instruments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue" xlink:to="lab_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DerivativeAssets" xml:lang="en-US">Derivative Asset</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_DerivativeAssets" xml:lang="en-US">Total asset derivatives</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_DerivativeAssets" xml:lang="en-US">Derivative financial assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeAssets" xlink:to="lab_us-gaap_DerivativeAssets" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue" xlink:label="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue" xml:lang="en-US">Derivative Instruments Not Designated as Hedging Instruments, Liability, at Fair Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue" xml:lang="en-US">Liability derivatives not designated as hedging instruments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue" xlink:to="lab_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilities" xlink:label="loc_us-gaap_DerivativeLiabilities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DerivativeLiabilities" xml:lang="en-US">Derivative Liability</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_DerivativeLiabilities" xml:lang="en-US">Total liability derivatives</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_DerivativeLiabilities" xml:lang="en-US">Derivative financial liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeLiabilities" xlink:to="lab_us-gaap_DerivativeLiabilities" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ScheduleOfCarryingAmountHedgedAssetsLiabilitiesTable" xlink:label="loc_ubsi_ScheduleOfCarryingAmountHedgedAssetsLiabilitiesTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_ScheduleOfCarryingAmountHedgedAssetsLiabilitiesTable" xml:lang="en-US">Schedule of Carrying Amount Hedged Assets Liabilities [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_ScheduleOfCarryingAmountHedgedAssetsLiabilitiesTable" xlink:to="lab_ubsi_ScheduleOfCarryingAmountHedgedAssetsLiabilitiesTable" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ServicingRightsAxis" xlink:label="loc_ubsi_ServicingRightsAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_ServicingRightsAxis" xml:lang="en-US">Servicing Rights [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_ServicingRightsAxis" xlink:to="lab_ubsi_ServicingRightsAxis" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ServicingRightsDomain" xlink:label="loc_ubsi_ServicingRightsDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_ServicingRightsDomain" xml:lang="en-US">Servicing Rights [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_ServicingRightsDomain" xlink:to="lab_ubsi_ServicingRightsDomain" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CarryingAmountHedgedAssetsLiabilitiesLineItems" xlink:label="loc_ubsi_CarryingAmountHedgedAssetsLiabilitiesLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_CarryingAmountHedgedAssetsLiabilitiesLineItems" xml:lang="en-US">Carrying Amount Hedged Assets Liabilities [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_CarryingAmountHedgedAssetsLiabilitiesLineItems" xlink:to="lab_ubsi_CarryingAmountHedgedAssetsLiabilitiesLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgedAssetFairValueHedge" xlink:label="loc_us-gaap_HedgedAssetFairValueHedge" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_HedgedAssetFairValueHedge" xml:lang="en-US">Hedged Asset, Fair Value Hedge</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_HedgedAssetFairValueHedge" xml:lang="en-US">Carrying Amount of the Hedged Assets/(Liabilities)</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_HedgedAssetFairValueHedge" xlink:to="lab_us-gaap_HedgedAssetFairValueHedge" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgedAssetFairValueHedgeCumulativeIncreaseDecrease" xlink:label="loc_us-gaap_HedgedAssetFairValueHedgeCumulativeIncreaseDecrease" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_HedgedAssetFairValueHedgeCumulativeIncreaseDecrease" xml:lang="en-US">Hedged Asset, Fair Value Hedge, Cumulative Increase (Decrease)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_HedgedAssetFairValueHedgeCumulativeIncreaseDecrease" xml:lang="en-US">Cumulative Amount of Fair Value Hedging Adjustment Included in the Carrying Amount of the Hedged Assets/(Liabilities)</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_HedgedAssetFairValueHedgeCumulativeIncreaseDecrease" xlink:to="lab_us-gaap_HedgedAssetFairValueHedgeCumulativeIncreaseDecrease" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgedAssetDiscontinuedFairValueHedgeCumulativeIncreaseDecrease" xlink:label="loc_us-gaap_HedgedAssetDiscontinuedFairValueHedgeCumulativeIncreaseDecrease" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_HedgedAssetDiscontinuedFairValueHedgeCumulativeIncreaseDecrease" xml:lang="en-US">Hedged Asset, Discontinued Fair Value Hedge, Cumulative Increase (Decrease)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_HedgedAssetDiscontinuedFairValueHedgeCumulativeIncreaseDecrease" xml:lang="en-US">Cumulative Amount of Fair Value Hedging Adjustment Remaining for any Hedged Assets/(Liabilities) for which Hedge Accounting has been Discontinued</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_HedgedAssetDiscontinuedFairValueHedgeCumulativeIncreaseDecrease" xlink:to="lab_us-gaap_HedgedAssetDiscontinuedFairValueHedgeCumulativeIncreaseDecrease" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BalanceSheetsLocationAxis" xlink:label="loc_ubsi_BalanceSheetsLocationAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_BalanceSheetsLocationAxis" xml:lang="en-US">Balance Sheets Location [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_BalanceSheetsLocationAxis" xlink:to="lab_ubsi_BalanceSheetsLocationAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_BalanceSheetsLocationAxis" xml:lang="en-US">Balance sheets location.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BalanceSheetsLocationDomain" xlink:label="loc_ubsi_BalanceSheetsLocationDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_BalanceSheetsLocationDomain" xml:lang="en-US">Balance Sheets Location [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_BalanceSheetsLocationDomain" xlink:to="lab_ubsi_BalanceSheetsLocationDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_BalanceSheetsLocationDomain" xml:lang="en-US">Balance sheets location.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansAndLeasesNetOfUnearnedIncomeMember" xlink:label="loc_ubsi_LoansAndLeasesNetOfUnearnedIncomeMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_LoansAndLeasesNetOfUnearnedIncomeMember" xml:lang="en-US">Loans And Leases Net Of Unearned Income [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_LoansAndLeasesNetOfUnearnedIncomeMember" xml:lang="en-US">Loans And Leases Net Of Unearned Income [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_LoansAndLeasesNetOfUnearnedIncomeMember" xlink:to="lab_ubsi_LoansAndLeasesNetOfUnearnedIncomeMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_LoansAndLeasesNetOfUnearnedIncomeMember" xml:lang="en-US">Loans And Leases Net Of Unearned Income [Member]</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_StatementOfIncomeLocationAxis" xlink:label="loc_ubsi_StatementOfIncomeLocationAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_StatementOfIncomeLocationAxis" xml:lang="en-US">Statement Of Income Location [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_StatementOfIncomeLocationAxis" xml:lang="en-US">Income Statement Location [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_StatementOfIncomeLocationAxis" xlink:to="lab_ubsi_StatementOfIncomeLocationAxis" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_StatementOfIncomeLocationDomain" xlink:label="loc_ubsi_StatementOfIncomeLocationDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_StatementOfIncomeLocationDomain" xml:lang="en-US">Statement of Income Location [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_StatementOfIncomeLocationDomain" xml:lang="en-US">Income Statement Location [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_StatementOfIncomeLocationDomain" xlink:to="lab_ubsi_StatementOfIncomeLocationDomain" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_InterestAndFeesOnLoansMember" xlink:label="loc_ubsi_InterestAndFeesOnLoansMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_InterestAndFeesOnLoansMember" xml:lang="en-US">Interest And Fees On Loans [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_InterestAndFeesOnLoansMember" xml:lang="en-US">Interest And Fees On Loans [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_InterestAndFeesOnLoansMember" xlink:to="lab_ubsi_InterestAndFeesOnLoansMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_InterestAndFeesOnLoansMember" xml:lang="en-US">Interest income expense.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_IncomeFromMortgageBankingActivitiesMember" xlink:label="loc_ubsi_IncomeFromMortgageBankingActivitiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_IncomeFromMortgageBankingActivitiesMember" xml:lang="en-US">Income from Mortgage Banking Activities [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_IncomeFromMortgageBankingActivitiesMember" xml:lang="en-US">Income from Mortgage Banking Activities [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_IncomeFromMortgageBankingActivitiesMember" xlink:to="lab_ubsi_IncomeFromMortgageBankingActivitiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_IncomeFromMortgageBankingActivitiesMember" xml:lang="en-US">Income from Mortgage Banking Activities [Member]</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_InterestOnLongTermBorrowingsMember" xlink:label="loc_ubsi_InterestOnLongTermBorrowingsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_InterestOnLongTermBorrowingsMember" xml:lang="en-US">Interest On Long Term Borrowings [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_InterestOnLongTermBorrowingsMember" xml:lang="en-US">Interest on long-term borrowings [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_InterestOnLongTermBorrowingsMember" xlink:to="lab_ubsi_InterestOnLongTermBorrowingsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_InterestOnLongTermBorrowingsMember" xml:lang="en-US">Interest on long term borrowings.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TbaMortgageBackedSecuritiesMember" xlink:label="loc_ubsi_TbaMortgageBackedSecuritiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_TbaMortgageBackedSecuritiesMember" xml:lang="en-US">TBA Mortgage Backed Securities [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_TbaMortgageBackedSecuritiesMember" xml:lang="en-US">TBA Mortgage Backed Securities [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_TbaMortgageBackedSecuritiesMember" xlink:to="lab_ubsi_TbaMortgageBackedSecuritiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_TbaMortgageBackedSecuritiesMember" xml:lang="en-US">TBA mortgage backed securities.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeGainLossOnDerivativeNet" xlink:label="loc_us-gaap_DerivativeGainLossOnDerivativeNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DerivativeGainLossOnDerivativeNet" xml:lang="en-US">Derivative, Gain (Loss) on Derivative, Net</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DerivativeGainLossOnDerivativeNet" xml:lang="en-US">Derivatives in hedging relationships</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeGainLossOnDerivativeNet" xlink:to="lab_us-gaap_DerivativeGainLossOnDerivativeNet" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet" xlink:label="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet" xml:lang="en-US">Derivative Instruments Not Designated as Hedging Instruments, Gain (Loss), Net</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet" xml:lang="en-US">Derivatives not designated as hedging instruments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet" xlink:to="lab_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByBalanceSheetGroupingTable" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueByBalanceSheetGroupingTable" xml:lang="en-US">Fair Value, by Balance Sheet Grouping [Table]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FairValueByBalanceSheetGroupingTable" xml:lang="en-US">Fair Value, by Balance Sheet Grouping [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable" xlink:to="lab_us-gaap_FairValueByBalanceSheetGroupingTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xml:lang="en-US">Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xml:lang="en-US">Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:to="lab_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNi" xlink:label="loc_us-gaap_EquitySecuritiesFvNi" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EquitySecuritiesFvNi" xml:lang="en-US">Equity Securities, FV-NI, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_EquitySecuritiesFvNi" xml:lang="en-US">Equity securities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquitySecuritiesFvNi" xlink:to="lab_us-gaap_EquitySecuritiesFvNi" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShorttermDebtFairValue" xlink:label="loc_us-gaap_ShorttermDebtFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShorttermDebtFairValue" xml:lang="en-US">Short-term Debt, Fair Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_ShorttermDebtFairValue" xml:lang="en-US">Short-term borrowings</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShorttermDebtFairValue" xlink:to="lab_us-gaap_ShorttermDebtFairValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtFairValue" xlink:label="loc_us-gaap_LongTermDebtFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LongTermDebtFairValue" xml:lang="en-US">Long-term Debt, Fair Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_LongTermDebtFairValue" xml:lang="en-US">Long-term borrowings</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermDebtFairValue" xlink:to="lab_us-gaap_LongTermDebtFairValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueByFairValueHierarchyLevelAxis" xml:lang="en-US">Fair Value Hierarchy and NAV [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FairValueByFairValueHierarchyLevelAxis" xml:lang="en-US">Fair Value Hierarchy and NAV [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="lab_us-gaap_FairValueByFairValueHierarchyLevelAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xml:lang="en-US">Fair Value Hierarchy and NAV [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xml:lang="en-US">Fair Value Hierarchy and NAV [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="lab_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueInputsLevel1Member" xml:lang="en-US">Fair Value, Inputs, Level 1 [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FairValueInputsLevel1Member" xml:lang="en-US">Quoted Prices in Active Markets for Identical Assets (Level 1) [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueInputsLevel1Member" xlink:to="lab_us-gaap_FairValueInputsLevel1Member" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueInputsLevel2Member" xml:lang="en-US">Fair Value, Inputs, Level 2 [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FairValueInputsLevel2Member" xml:lang="en-US">Significant Other Observable Inputs (Level 2) [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueInputsLevel2Member" xlink:to="lab_us-gaap_FairValueInputsLevel2Member" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueInputsLevel3Member" xml:lang="en-US">Fair Value, Inputs, Level 3 [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FairValueInputsLevel3Member" xml:lang="en-US">Significant Unobservable Inputs (Level 3) [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FairValueInputsLevel3Member" xml:lang="en-US">Significant Unobservable Inputs (Level 3) [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueInputsLevel3Member" xlink:to="lab_us-gaap_FairValueInputsLevel3Member" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueByMeasurementBasisAxis" xml:lang="en-US">Measurement Basis [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis" xlink:to="lab_us-gaap_FairValueByMeasurementBasisAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PortionAtFairValueFairValueDisclosureMember" xml:lang="en-US">Portion at Fair Value Measurement [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:to="lab_us-gaap_PortionAtFairValueFairValueDisclosureMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EstimateOfFairValueFairValueDisclosureMember" xml:lang="en-US">Estimate of Fair Value Measurement [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EstimateOfFairValueFairValueDisclosureMember" xml:lang="en-US">Fair Value [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:to="lab_us-gaap_EstimateOfFairValueFairValueDisclosureMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember" xlink:label="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CarryingReportedAmountFairValueDisclosureMember" xml:lang="en-US">Reported Value Measurement [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CarryingReportedAmountFairValueDisclosureMember" xml:lang="en-US">Carrying Amount [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember" xlink:to="lab_us-gaap_CarryingReportedAmountFairValueDisclosureMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_OtherRealEstateOwnedGainsLosses" xlink:label="loc_ubsi_OtherRealEstateOwnedGainsLosses" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_OtherRealEstateOwnedGainsLosses" xml:lang="en-US">Other Real Estate Owned Gains Losses</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_OtherRealEstateOwnedGainsLosses" xml:lang="en-US">YTD Losses, OREO</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_OtherRealEstateOwnedGainsLosses" xlink:to="lab_ubsi_OtherRealEstateOwnedGainsLosses" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_OtherRealEstateOwnedGainsLosses" xml:lang="en-US">Losses incurred due to a change in the fair value of other real estate owned properties acquired through foreclosure or other settlement of loans.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancingReceivableIndividuallyEvaluatedForImpairmentGainLoss" xlink:label="loc_ubsi_FinancingReceivableIndividuallyEvaluatedForImpairmentGainLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_FinancingReceivableIndividuallyEvaluatedForImpairmentGainLoss" xml:lang="en-US">Financing Receivable Individually Evaluated For Impairment Gain Loss</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_FinancingReceivableIndividuallyEvaluatedForImpairmentGainLoss" xml:lang="en-US">YTD Losses, Individually assessed loans</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_FinancingReceivableIndividuallyEvaluatedForImpairmentGainLoss" xlink:to="lab_ubsi_FinancingReceivableIndividuallyEvaluatedForImpairmentGainLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_FinancingReceivableIndividuallyEvaluatedForImpairmentGainLoss" xml:lang="en-US">Gains (losses) recognized due to a change in the fair value of loans individually evaluated for impairment on nonrecurring basis.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" xlink:label="loc_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" xml:lang="en-US">Financing Receivable, Individually Evaluated for Impairment</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" xml:lang="en-US">Individually assessed loans</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" xlink:to="lab_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueByMeasurementFrequencyAxis" xml:lang="en-US">Measurement Frequency [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis" xlink:to="lab_us-gaap_FairValueByMeasurementFrequencyAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueMeasurementFrequencyDomain" xml:lang="en-US">Fair Value, Measurement Frequency [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain" xlink:to="lab_us-gaap_FairValueMeasurementFrequencyDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsNonrecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsNonrecurringMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueMeasurementsNonrecurringMember" xml:lang="en-US">Fair Value, Measurements, Nonrecurring [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FairValueMeasurementsNonrecurringMember" xml:lang="en-US">Fair Value, Measurements, Nonrecurring [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementsNonrecurringMember" xlink:to="lab_us-gaap_FairValueMeasurementsNonrecurringMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PrincipalAmountOutstandingOnLoansHeldForSaleOrSecuritization" xlink:label="loc_us-gaap_PrincipalAmountOutstandingOnLoansHeldForSaleOrSecuritization" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PrincipalAmountOutstandingOnLoansHeldForSaleOrSecuritization" xml:lang="en-US">Principal Amount Outstanding on Loans Held-for-sale or Securitization or Asset-backed Financing Arrangement</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_PrincipalAmountOutstandingOnLoansHeldForSaleOrSecuritization" xml:lang="en-US">Loans held for sale, unpaid principal balance</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PrincipalAmountOutstandingOnLoansHeldForSaleOrSecuritization" xlink:to="lab_us-gaap_PrincipalAmountOutstandingOnLoansHeldForSaleOrSecuritization" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoansHeldForSaleFairValueDisclosure" xlink:label="loc_us-gaap_LoansHeldForSaleFairValueDisclosure" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LoansHeldForSaleFairValueDisclosure" xml:lang="en-US">Loans Held-for-sale, Fair Value Disclosure</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_LoansHeldForSaleFairValueDisclosure" xml:lang="en-US">Loans held for sale, fair value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LoansHeldForSaleFairValueDisclosure" xml:lang="en-US">Loans held for sale</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LoansHeldForSaleFairValueDisclosure" xlink:to="lab_us-gaap_LoansHeldForSaleFairValueDisclosure" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueOptionAggregateDifferencesLoansAndLongTermReceivables" xlink:label="loc_us-gaap_FairValueOptionAggregateDifferencesLoansAndLongTermReceivables" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueOptionAggregateDifferencesLoansAndLongTermReceivables" xml:lang="en-US">Fair Value, Option, Aggregate Differences, Loans and Long-term Receivables</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FairValueOptionAggregateDifferencesLoansAndLongTermReceivables" xml:lang="en-US">Loans held for sale, fair value over/(under) unpaid principal balance</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueOptionAggregateDifferencesLoansAndLongTermReceivables" xlink:to="lab_us-gaap_FairValueOptionAggregateDifferencesLoansAndLongTermReceivables" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable" xlink:label="loc_us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable" xml:lang="en-US">Schedule of Fair Value, Off-balance Sheet Risks [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable" xlink:to="lab_us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueOptionQuantitativeDisclosuresLineItems" xlink:label="loc_us-gaap_FairValueOptionQuantitativeDisclosuresLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueOptionQuantitativeDisclosuresLineItems" xml:lang="en-US">Fair Value, Option, Quantitative Disclosures [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueOptionQuantitativeDisclosuresLineItems" xlink:to="lab_us-gaap_FairValueOptionQuantitativeDisclosuresLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueOptionChangesInFairValueGainLoss1" xlink:label="loc_us-gaap_FairValueOptionChangesInFairValueGainLoss1" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueOptionChangesInFairValueGainLoss1" xml:lang="en-US">Fair Value, Option, Changes in Fair Value, Gain (Loss)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FairValueOptionChangesInFairValueGainLoss1" xml:lang="en-US">Income from mortgage banking activities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueOptionChangesInFairValueGainLoss1" xlink:to="lab_us-gaap_FairValueOptionChangesInFairValueGainLoss1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue" xml:lang="en-US">Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue" xml:lang="en-US">Balance, beginning of period</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue" xml:lang="en-US">Balance, end of period</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue" xlink:to="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1" xml:lang="en-US">Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Gain (Loss) Included in Earnings</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1" xml:lang="en-US">Total gains during the period recognized in earnings</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1" xlink:to="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetIssues" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetIssues" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetIssues" xml:lang="en-US">Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Issuances</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetIssues" xml:lang="en-US">Originations</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetIssues" xlink:to="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetIssues" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales" xml:lang="en-US">Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Sales</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales" xml:lang="en-US">Sales proceeds</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales" xlink:to="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet" xml:lang="en-US">Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Transfers, Net</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet" xml:lang="en-US">Transfers other</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet" xlink:to="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss" xml:lang="en-US">Fair Value, Assets Measured on Recurring Basis, Change in Unrealized Gain (Loss)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss" xml:lang="en-US">The amount of total (Losses) gains for the period included in earnings (or changes in net assets) attributable to the change in unrealized gains or losses relating to assets still held at reporting date</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss" xlink:to="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_LoansHeldForSaleMember" xlink:label="loc_ubsi_LoansHeldForSaleMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_LoansHeldForSaleMember" xml:lang="en-US">Loans Held For Sale [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_LoansHeldForSaleMember" xml:lang="en-US">Loans Held For Sale [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_LoansHeldForSaleMember" xlink:to="lab_ubsi_LoansHeldForSaleMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_LoansHeldForSaleMember" xml:lang="en-US">Loans held for sale.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DerivativeFinancialLiabilitiesForwardSalesCommitmentsMember" xlink:label="loc_ubsi_DerivativeFinancialLiabilitiesForwardSalesCommitmentsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_DerivativeFinancialLiabilitiesForwardSalesCommitmentsMember" xml:lang="en-US">Derivative Financial Liabilities Forward Sales Commitments [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_DerivativeFinancialLiabilitiesForwardSalesCommitmentsMember" xlink:to="lab_ubsi_DerivativeFinancialLiabilitiesForwardSalesCommitmentsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_DerivativeFinancialLiabilitiesForwardSalesCommitmentsMember" xml:lang="en-US">Derivative financial liabilities forward sales commitments.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DerivativeFinancialAssetsTbaSecuritiesMember" xlink:label="loc_ubsi_DerivativeFinancialAssetsTbaSecuritiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_DerivativeFinancialAssetsTbaSecuritiesMember" xml:lang="en-US">Derivative Financial Assets Tba Securities [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_DerivativeFinancialAssetsTbaSecuritiesMember" xlink:to="lab_ubsi_DerivativeFinancialAssetsTbaSecuritiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_DerivativeFinancialAssetsTbaSecuritiesMember" xml:lang="en-US">Derivative financial assets Tba securities.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DerivativeFinancialLiabilitiesTbaSecuritiesMember" xlink:label="loc_ubsi_DerivativeFinancialLiabilitiesTbaSecuritiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_DerivativeFinancialLiabilitiesTbaSecuritiesMember" xml:lang="en-US">Derivative Financial Liabilities Tba Securities [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_DerivativeFinancialLiabilitiesTbaSecuritiesMember" xlink:to="lab_ubsi_DerivativeFinancialLiabilitiesTbaSecuritiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_DerivativeFinancialLiabilitiesTbaSecuritiesMember" xml:lang="en-US">Derivative financial liabilities Tba securities.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ForwardContractsMember" xlink:label="loc_us-gaap_ForwardContractsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ForwardContractsMember" xml:lang="en-US">Forward Contracts [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ForwardContractsMember" xml:lang="en-US">Derivative Financial Assets Forward Sales Commitments [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ForwardContractsMember" xlink:to="lab_us-gaap_ForwardContractsMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueMeasurementsRecurringMember" xml:lang="en-US">Fair Value, Measurements, Recurring [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementsRecurringMember" xlink:to="lab_us-gaap_FairValueMeasurementsRecurringMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InvestmentTypeAxis" xml:lang="en-US">Investment Type [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InvestmentTypeAxis" xlink:to="lab_us-gaap_InvestmentTypeAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InvestmentTypeCategorizationMember" xml:lang="en-US">Investments [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember" xlink:to="lab_us-gaap_InvestmentTypeCategorizationMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityFundsMember" xlink:label="loc_us-gaap_EquityFundsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EquityFundsMember" xml:lang="en-US">Equity Funds [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_EquityFundsMember" xml:lang="en-US">Equity Mutual Funds [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquityFundsMember" xlink:to="lab_us-gaap_EquityFundsMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancialServicesIndustryMember" xlink:label="loc_ubsi_FinancialServicesIndustryMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_FinancialServicesIndustryMember" xml:lang="en-US">Financial Services Industry [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_FinancialServicesIndustryMember" xml:lang="en-US">Financial Services Industry [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_FinancialServicesIndustryMember" xlink:to="lab_ubsi_FinancialServicesIndustryMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_FinancialServicesIndustryMember" xml:lang="en-US">Financial services industry.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ForwardLoanSalesCommitmentsMember" xlink:label="loc_ubsi_ForwardLoanSalesCommitmentsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_ForwardLoanSalesCommitmentsMember" xml:lang="en-US">Forward loan sales commitments [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_ForwardLoanSalesCommitmentsMember" xlink:to="lab_ubsi_ForwardLoanSalesCommitmentsMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_EquitySecuritiesFixedIncomeMutualFundsMember" xlink:label="loc_ubsi_EquitySecuritiesFixedIncomeMutualFundsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_EquitySecuritiesFixedIncomeMutualFundsMember" xml:lang="en-US">Equity Securities Fixed Income Mutual Funds [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_EquitySecuritiesFixedIncomeMutualFundsMember" xml:lang="en-US">Fixed Income Mutual Funds [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_EquitySecuritiesFixedIncomeMutualFundsMember" xlink:to="lab_ubsi_EquitySecuritiesFixedIncomeMutualFundsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_EquitySecuritiesFixedIncomeMutualFundsMember" xml:lang="en-US">Equity securities fixed income mutual funds member.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnderlyingAssetClassAxis" xlink:label="loc_us-gaap_UnderlyingAssetClassAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_UnderlyingAssetClassAxis" xml:lang="en-US">Underlying Asset Class [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_UnderlyingAssetClassAxis" xlink:to="lab_us-gaap_UnderlyingAssetClassAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnderlyingAssetClassDomain" xlink:label="loc_us-gaap_UnderlyingAssetClassDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_UnderlyingAssetClassDomain" xml:lang="en-US">Underlying Asset Class [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_UnderlyingAssetClassDomain" xlink:to="lab_us-gaap_UnderlyingAssetClassDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AgencySecuritiesMember" xlink:label="loc_us-gaap_AgencySecuritiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AgencySecuritiesMember" xml:lang="en-US">Agency Securities [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_AgencySecuritiesMember" xml:lang="en-US">Agency [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AgencySecuritiesMember" xlink:to="lab_us-gaap_AgencySecuritiesMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NonAgencySecuritiesMember" xlink:label="loc_ubsi_NonAgencySecuritiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_NonAgencySecuritiesMember" xml:lang="en-US">Non Agency Securities [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_NonAgencySecuritiesMember" xml:lang="en-US">Non-Agency [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_NonAgencySecuritiesMember" xlink:to="lab_ubsi_NonAgencySecuritiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_NonAgencySecuritiesMember" xml:lang="en-US">Non Agency Securities [Member]</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByAssetClassAxis" xlink:label="loc_us-gaap_FairValueByAssetClassAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueByAssetClassAxis" xml:lang="en-US">Asset Class [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FairValueByAssetClassAxis" xml:lang="en-US">Asset Class [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueByAssetClassAxis" xlink:to="lab_us-gaap_FairValueByAssetClassAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xml:lang="en-US">Asset Class [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xml:lang="en-US">Asset Class [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:to="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DerivativesMember" xlink:label="loc_ubsi_DerivativesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_DerivativesMember" xml:lang="en-US">Derivatives [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_DerivativesMember" xml:lang="en-US">Derivatives [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_DerivativesMember" xlink:to="lab_ubsi_DerivativesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_DerivativesMember" xml:lang="en-US">Derivatives [Member]</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_WeightedAverageMember" xlink:label="loc_srt_WeightedAverageMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_WeightedAverageMember" xml:lang="en-US">Weighted Average [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_srt_WeightedAverageMember" xml:lang="en-US">Weighted Average [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_WeightedAverageMember" xlink:to="lab_srt_WeightedAverageMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SalesPriceOfLoansHeldForSaleIncreasePercentage" xlink:label="loc_ubsi_SalesPriceOfLoansHeldForSaleIncreasePercentage" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_SalesPriceOfLoansHeldForSaleIncreasePercentage" xml:lang="en-US">Sales Price Of Loans Held For Sale Increase Percentage</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_SalesPriceOfLoansHeldForSaleIncreasePercentage" xml:lang="en-US">Sales price of loans held for sale increase percentage</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_SalesPriceOfLoansHeldForSaleIncreasePercentage" xlink:to="lab_ubsi_SalesPriceOfLoansHeldForSaleIncreasePercentage" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_SalesPriceOfLoansHeldForSaleIncreasePercentage" xml:lang="en-US">Percentage increase to investor's indicated pricing based on historical sales prices for loans held for sale and associated derivatives.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FairValueAssetsLevelOneToLevelThreeTransfersAmount" xlink:label="loc_ubsi_FairValueAssetsLevelOneToLevelThreeTransfersAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_FairValueAssetsLevelOneToLevelThreeTransfersAmount" xml:lang="en-US">Fair Value Assets Level One To Level Three Transfers Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_FairValueAssetsLevelOneToLevelThreeTransfersAmount" xml:lang="en-US">Transfers from Level 1 to Level 3 for financial assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_FairValueAssetsLevelOneToLevelThreeTransfersAmount" xlink:to="lab_ubsi_FairValueAssetsLevelOneToLevelThreeTransfersAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_FairValueAssetsLevelOneToLevelThreeTransfersAmount" xml:lang="en-US">The transfer of financial assets using Level 1 fair value measurement techniques to financial assets using Level 3 fair value measurement techniques.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FairValueAssetsLevelThreeToLevelOneTransfersAmount" xlink:label="loc_ubsi_FairValueAssetsLevelThreeToLevelOneTransfersAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_FairValueAssetsLevelThreeToLevelOneTransfersAmount" xml:lang="en-US">Fair Value Assets Level Three To Level One Transfers Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_FairValueAssetsLevelThreeToLevelOneTransfersAmount" xml:lang="en-US">Transfers from Level 3 to Level 1 for financial assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_FairValueAssetsLevelThreeToLevelOneTransfersAmount" xlink:to="lab_ubsi_FairValueAssetsLevelThreeToLevelOneTransfersAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_FairValueAssetsLevelThreeToLevelOneTransfersAmount" xml:lang="en-US">The transfer of financial assets using Level 3 fair value measurement techniques to financial assets using Level 1 fair value measurement techniques.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FairValueAssetsLevelTwoToLevelThreeTransfersAmount" xlink:label="loc_ubsi_FairValueAssetsLevelTwoToLevelThreeTransfersAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_FairValueAssetsLevelTwoToLevelThreeTransfersAmount" xml:lang="en-US">Fair Value Assets Level Two To Level Three Transfers Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_FairValueAssetsLevelTwoToLevelThreeTransfersAmount" xml:lang="en-US">Transfers from Level 2 to Level 3 for financial assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_FairValueAssetsLevelTwoToLevelThreeTransfersAmount" xlink:to="lab_ubsi_FairValueAssetsLevelTwoToLevelThreeTransfersAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_FairValueAssetsLevelTwoToLevelThreeTransfersAmount" xml:lang="en-US">The transfer of financial assets using Level 2 fair value measurement techniques to financial assets using Level 3 fair value measurement techniques.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FairValueAssetsLevelThreeToLevelTwoTransfersAmount" xlink:label="loc_ubsi_FairValueAssetsLevelThreeToLevelTwoTransfersAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_FairValueAssetsLevelThreeToLevelTwoTransfersAmount" xml:lang="en-US">Fair Value Assets Level Three To Level Two Transfers Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_FairValueAssetsLevelThreeToLevelTwoTransfersAmount" xml:lang="en-US">Transfers from Level 3 to Level 2 for financial assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_FairValueAssetsLevelThreeToLevelTwoTransfersAmount" xlink:to="lab_ubsi_FairValueAssetsLevelThreeToLevelTwoTransfersAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_FairValueAssetsLevelThreeToLevelTwoTransfersAmount" xml:lang="en-US">The transfer of financial assets using Level 3 fair value measurement techniques to financial assets using Level 2 fair value measurement techniques.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FairValueLiabilitiesLevelOneToLevelThreeTransfersAmount" xlink:label="loc_ubsi_FairValueLiabilitiesLevelOneToLevelThreeTransfersAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_FairValueLiabilitiesLevelOneToLevelThreeTransfersAmount" xml:lang="en-US">Fair Value Liabilities Level One To Level Three Transfers Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_FairValueLiabilitiesLevelOneToLevelThreeTransfersAmount" xml:lang="en-US">Transfers from Level 1 to Level 3 for financial liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_FairValueLiabilitiesLevelOneToLevelThreeTransfersAmount" xlink:to="lab_ubsi_FairValueLiabilitiesLevelOneToLevelThreeTransfersAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_FairValueLiabilitiesLevelOneToLevelThreeTransfersAmount" xml:lang="en-US">The transfer of financial liabilities using Level 1 fair value measurement techniques to financial assets using Level 3 fair value measurement techniques.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FairValueLiabilitiesLevelThreeToLevelOneTransfersAmount" xlink:label="loc_ubsi_FairValueLiabilitiesLevelThreeToLevelOneTransfersAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_FairValueLiabilitiesLevelThreeToLevelOneTransfersAmount" xml:lang="en-US">Fair Value Liabilities Level Three to Level One Transfers Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_FairValueLiabilitiesLevelThreeToLevelOneTransfersAmount" xml:lang="en-US">Transfers from Level 3 to Level 1 for financial liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_FairValueLiabilitiesLevelThreeToLevelOneTransfersAmount" xlink:to="lab_ubsi_FairValueLiabilitiesLevelThreeToLevelOneTransfersAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_FairValueLiabilitiesLevelThreeToLevelOneTransfersAmount" xml:lang="en-US">The transfer of financial liabilities using Level 3 fair value measurement techniques to financial liabilities using Level 1 fair value measurement techniques.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FairValueLiabilitiesLevelTwoToLevelThreeTransfersAmount" xlink:label="loc_ubsi_FairValueLiabilitiesLevelTwoToLevelThreeTransfersAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_FairValueLiabilitiesLevelTwoToLevelThreeTransfersAmount" xml:lang="en-US">Fair Value Liabilities Level Two to Level Three Transfers Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_FairValueLiabilitiesLevelTwoToLevelThreeTransfersAmount" xml:lang="en-US">Transfers from Level 2 to Level 3 for financial liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_FairValueLiabilitiesLevelTwoToLevelThreeTransfersAmount" xlink:to="lab_ubsi_FairValueLiabilitiesLevelTwoToLevelThreeTransfersAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_FairValueLiabilitiesLevelTwoToLevelThreeTransfersAmount" xml:lang="en-US">The transfer of financial liabilities using Level 2 fair value measurement techniques to financial liabilities using Level 3 fair value measurement techniques.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FairValueLiabilitiesLevelThreeToLevelTwoTransfersAmount" xlink:label="loc_ubsi_FairValueLiabilitiesLevelThreeToLevelTwoTransfersAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_FairValueLiabilitiesLevelThreeToLevelTwoTransfersAmount" xml:lang="en-US">Fair Value Liabilities Level Three to Level Two Transfers Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_FairValueLiabilitiesLevelThreeToLevelTwoTransfersAmount" xml:lang="en-US">Transfers from Level 3 to Level 2 for financial liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_FairValueLiabilitiesLevelThreeToLevelTwoTransfersAmount" xlink:to="lab_ubsi_FairValueLiabilitiesLevelThreeToLevelTwoTransfersAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_FairValueLiabilitiesLevelThreeToLevelTwoTransfersAmount" xml:lang="en-US">The transfer of financial liabilities using Level 3 fair value measurement techniques to financial liabilities using Level 2 fair value measurement techniques.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure" xml:lang="en-US">Finite-lived Intangible Assets, Fair Value Disclosure</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure" xml:lang="en-US">Fair value measurement of intangible assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure" xlink:to="lab_us-gaap_FiniteLivedIntangibleAssetsFairValueDisclosure" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancingLiabilitiesPeriodPastDueAxis" xlink:label="loc_ubsi_FinancingLiabilitiesPeriodPastDueAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_FinancingLiabilitiesPeriodPastDueAxis" xml:lang="en-US">Financing Liabilities Period Past Due [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_FinancingLiabilitiesPeriodPastDueAxis" xlink:to="lab_ubsi_FinancingLiabilitiesPeriodPastDueAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_FinancingLiabilitiesPeriodPastDueAxis" xml:lang="en-US">Financing Liabilities Period Past Due Axis.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FinancingLiabilitiesPeriodPastDueDomain" xlink:label="loc_ubsi_FinancingLiabilitiesPeriodPastDueDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_FinancingLiabilitiesPeriodPastDueDomain" xml:lang="en-US">Financing Liabilities Period Past Due [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_FinancingLiabilitiesPeriodPastDueDomain" xlink:to="lab_ubsi_FinancingLiabilitiesPeriodPastDueDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_FinancingLiabilitiesPeriodPastDueDomain" xml:lang="en-US">Financing Liabilities Period Past Due.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xml:lang="en-US">Schedule of Share-Based Compensation Arrangements by Share-Based Payment Award [Table]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xml:lang="en-US">Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="lab_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_AwardTypeAxis" xml:lang="en-US">Award Type [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AwardTypeAxis" xlink:to="lab_us-gaap_AwardTypeAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RestrictedStockMember" xml:lang="en-US">Restricted Stock [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_RestrictedStockMember" xml:lang="en-US">Restricted Stock [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RestrictedStockMember" xlink:to="lab_us-gaap_RestrictedStockMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RestrictedStockUnitsRSUMember" xml:lang="en-US">Restricted Stock Units (RSUs) [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RestrictedStockUnitsRSUMember" xlink:to="lab_us-gaap_RestrictedStockUnitsRSUMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xml:lang="en-US">Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xml:lang="en-US">Authorized shares of stock, option plan, maximum</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_MaximumVestingAmountOfAwards" xlink:label="loc_ubsi_MaximumVestingAmountOfAwards" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_MaximumVestingAmountOfAwards" xml:lang="en-US">Maximum Vesting Amount Of Awards</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_MaximumVestingAmountOfAwards" xml:lang="en-US">Vesting period of awards</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_MaximumVestingAmountOfAwards" xlink:to="lab_ubsi_MaximumVestingAmountOfAwards" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_MaximumVestingAmountOfAwards" xml:lang="en-US">The maximum vesting amount per calendar year of share based compensation awards.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AllocatedShareBasedCompensationExpense" xml:lang="en-US">Allocated Share-based Compensation Expense</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AllocatedShareBasedCompensationExpense" xml:lang="en-US">Recognition of compensation expense</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AllocatedShareBasedCompensationExpense" xlink:to="lab_us-gaap_AllocatedShareBasedCompensationExpense" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Expiration Period</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" xml:lang="en-US">Maximum term for awards granted (years)</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" xlink:to="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xml:lang="en-US">Shares issued related stock option exercises</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xml:lang="en-US">Shares, Exercised</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:to="lab_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period, Intrinsic Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue" xml:lang="en-US">Total intrinsic value of options exercised</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xml:lang="en-US">Vesting period</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xml:lang="en-US">Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount, Total</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xml:lang="en-US">Total unrecognized compensation cost related to nonvested option awards</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:to="lab_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xml:lang="en-US">Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xml:lang="en-US">Weighted-average expense recognition period</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:to="lab_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xml:lang="en-US">Weighted-average grant-date fair value of options granted</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xml:lang="en-US">Weighted-Average Grant Date Fair Value Per Share, Granted</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xml:lang="en-US">Number of Options granted</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xml:lang="en-US">Shares, Granted</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesAvailableGrantsInPeriod" xlink:label="loc_ubsi_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesAvailableGrantsInPeriod" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesAvailableGrantsInPeriod" xml:lang="en-US">Share Based Compensation Arrangement By Share Based Payment Award Shares Available Grants In Period</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesAvailableGrantsInPeriod" xml:lang="en-US">Number of shares granted</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesAvailableGrantsInPeriod" xlink:to="lab_ubsi_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesAvailableGrantsInPeriod" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesAvailableGrantsInPeriod" xml:lang="en-US">Net number of restricted shares (or restricted share units) granted during the period.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xml:lang="en-US">Number of share available for grant for prior plans</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" xml:lang="en-US">Share-Based Compensation Arrangement by Share-Based Payment Award, Award Vesting Rights, Percentage</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" xml:lang="en-US">Share-Based Compensation Arrangement by Share-Based Payment Award, Award Vesting Rights, Percentage</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" xlink:to="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_TwoThousandAndTwentyFiveEquityIncentivePlanMember" xlink:label="loc_ubsi_TwoThousandAndTwentyFiveEquityIncentivePlanMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_TwoThousandAndTwentyFiveEquityIncentivePlanMember" xml:lang="en-US">Two Thousand And Twenty Five Equity Incentive Plan [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_TwoThousandAndTwentyFiveEquityIncentivePlanMember" xml:lang="en-US">2025 Equity incentive plan [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_TwoThousandAndTwentyFiveEquityIncentivePlanMember" xlink:to="lab_ubsi_TwoThousandAndTwentyFiveEquityIncentivePlanMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_EquityIncentivePlanMember" xlink:label="loc_ubsi_EquityIncentivePlanMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_EquityIncentivePlanMember" xml:lang="en-US">Equity Incentive Plan [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_EquityIncentivePlanMember" xlink:to="lab_ubsi_EquityIncentivePlanMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DisclosureStockBasedCompensationStockOptionPlanAbstract" xlink:label="loc_ubsi_DisclosureStockBasedCompensationStockOptionPlanAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_DisclosureStockBasedCompensationStockOptionPlanAbstract" xml:lang="en-US">Disclosure Stock Based Compensation Stock Option Plan [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_DisclosureStockBasedCompensationStockOptionPlanAbstract" xlink:to="lab_ubsi_DisclosureStockBasedCompensationStockOptionPlanAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_DisclosureStockBasedCompensationStockOptionPlanAbstract" xml:lang="en-US">Disclosure Stock Based Compensation Stock Option Plan [Abstract]</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Number</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xml:lang="en-US">Shares, Outstanding, Beginning balance</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xml:lang="en-US">Shares, Outstanding, Ending balance</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures in Period</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod" xml:lang="en-US">Shares, Forfeited or expired</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Number</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber" xml:lang="en-US">Shares, Exercisable at June 30, 2026</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Intrinsic Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue" xml:lang="en-US">Aggregate Intrinsic Value, Outstanding at June 30, 2026</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Intrinsic Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1" xml:lang="en-US">Aggregate Intrinsic Value, Exercisable at June 30, 2026</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1" xlink:to="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Remaining Contractual Term</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2" xml:lang="en-US">Weighted Average Remaining Contractual Term, Outstanding at June 30, 2026</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2" xlink:to="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Remaining Contractual Term</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1" xml:lang="en-US">Weighted Average Remaining Contractual Term, Exercisable at June 30, 2026</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1" xlink:to="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice" xml:lang="en-US">Weighted Average Exercise Price, Outstanding, Beginning balance</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice" xml:lang="en-US">Weighted Average Exercise Price, Outstanding, Ending balance</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice" xml:lang="en-US">Share-based Compensation Arrangements by Share-based Payment Award, Options, Exercises in Period, Weighted Average Exercise Price</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice" xml:lang="en-US">Weighted Average Exercise Price, Exercised</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice" xml:lang="en-US">Share-based Compensation Arrangements by Share-based Payment Award, Options, Forfeitures in Period, Weighted Average Exercise Price</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice" xml:lang="en-US">Weighted Average Exercise Price, Forfeited or expired</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Exercise Price</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice" xml:lang="en-US">Weighted Average Exercise Price, Exercisable</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_ShareBasedCompensationRestrictedStockActivityAbstract" xlink:label="loc_ubsi_ShareBasedCompensationRestrictedStockActivityAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_ShareBasedCompensationRestrictedStockActivityAbstract" xml:lang="en-US">Share Based Compensation Restricted Stock Activity [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_ShareBasedCompensationRestrictedStockActivityAbstract" xlink:to="lab_ubsi_ShareBasedCompensationRestrictedStockActivityAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_ShareBasedCompensationRestrictedStockActivityAbstract" xml:lang="en-US">Share Based Compensation Restricted Stock Activity [Abstract]</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xml:lang="en-US">Number of Shares, Outstanding, Beginning balance</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xml:lang="en-US">Number of Shares, Outstanding, Ending balance</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xml:lang="en-US">Shares, Granted</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xml:lang="en-US">Shares, Vested</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeited in Period</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xml:lang="en-US">Shares, Forfeited</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xml:lang="en-US">Weighted-Average Grant Date Fair Value Per Share, Outstanding, Beginning balance</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xml:lang="en-US">Weighted-Average Grant Date Fair Value Per Share, Outstanding, Ending balance</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period, Weighted Average Grant Date Fair Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xml:lang="en-US">Weighted-Average Grant Date Fair Value Per Share, Vested</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeitures, Weighted Average Grant Date Fair Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xml:lang="en-US">Weighted-Average Grant Date Fair Value Per Share, Forfeited</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Nonvested, Number of Shares</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares" xml:lang="en-US">Shares, Nonvested, Beginning balance</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares" xml:lang="en-US">Shares, Nonvested, Ending balance</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares" xlink:to="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested, Number of Shares</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares" xml:lang="en-US">Shares, Vested</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares" xlink:to="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Nonvested Options Forfeited, Number of Shares</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares" xml:lang="en-US">Shares, Forfeited or expired</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares" xlink:to="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Option, Nonvested, Weighted Average Exercise Price</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue" xml:lang="en-US">Weighted-Average Grant Date Fair Value Per Share, Nonvested Beginning balance</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue" xml:lang="en-US">Weighted-Average Grant Date Fair Value Per Share, Nonvested Ending balance</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:to="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xml:lang="en-US">Weighted-Average Grant Date Fair Value Per Share, Granted</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested, Weighted Average Grant Date Fair Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue" xml:lang="en-US">Weighted-Average Grant Date Fair Value Per Share, Vested</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue" xlink:to="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Nonvested Options Forfeited, Weighted Average Grant Date Fair Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue" xml:lang="en-US">Weighted-Average Grant Date Fair Value Per Share, Forfeited or expired</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue" xlink:to="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xml:lang="en-US">Schedule of Defined Benefit Plans Disclosures [Table]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xml:lang="en-US">Schedule of Defined Benefit Plans Disclosures [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:to="lab_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis" xlink:label="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis" xml:lang="en-US">Defined Benefit Plan, Plan Assets, Category [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis" xml:lang="en-US">Defined Benefit Plan, Plan Assets, Category [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis" xlink:to="lab_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanAssetCategoriesDomain" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PlanAssetCategoriesDomain" xml:lang="en-US">Defined Benefit Plan, Plan Assets, Category [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_PlanAssetCategoriesDomain" xml:lang="en-US">Defined Benefit Plan, Plan Assets, Category [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain" xlink:to="lab_us-gaap_PlanAssetCategoriesDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DefinedBenefitPlanDisclosureLineItems" xml:lang="en-US">Defined Benefit Plan Disclosure [Line Items]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DefinedBenefitPlanDisclosureLineItems" xml:lang="en-US">Defined Benefit Plan Disclosure [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:to="lab_us-gaap_DefinedBenefitPlanDisclosureLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax" xml:lang="en-US">Defined Benefit Plan, Accumulated Other Comprehensive Income (Loss), Gain (Loss), before Tax</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax" xml:lang="en-US">Unrecognized actuarial gains (losses), before tax</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax" xlink:to="lab_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanNameAxis" xlink:label="loc_us-gaap_RetirementPlanNameAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RetirementPlanNameAxis" xml:lang="en-US">Retirement Plan Name [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_RetirementPlanNameAxis" xml:lang="en-US">Retirement Plan Name [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RetirementPlanNameAxis" xlink:to="lab_us-gaap_RetirementPlanNameAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanNameDomain" xlink:label="loc_us-gaap_RetirementPlanNameDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RetirementPlanNameDomain" xml:lang="en-US">Retirement Plan Name [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_RetirementPlanNameDomain" xml:lang="en-US">Retirement Plan Name [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RetirementPlanNameDomain" xlink:to="lab_us-gaap_RetirementPlanNameDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanNameOtherMember" xlink:label="loc_us-gaap_RetirementPlanNameOtherMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RetirementPlanNameOtherMember" xml:lang="en-US">Retirement Plan Name, Other [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_RetirementPlanNameOtherMember" xml:lang="en-US">Otherwise [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RetirementPlanNameOtherMember" xlink:to="lab_us-gaap_RetirementPlanNameOtherMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PriorToAgeFortyMember" xlink:label="loc_ubsi_PriorToAgeFortyMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_PriorToAgeFortyMember" xml:lang="en-US">Prior To Age Forty [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_PriorToAgeFortyMember" xml:lang="en-US">Prior to Age 40 [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_PriorToAgeFortyMember" xlink:to="lab_ubsi_PriorToAgeFortyMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AgesFiftyFiveToSixtyFourMember" xlink:label="loc_ubsi_AgesFiftyFiveToSixtyFourMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_AgesFiftyFiveToSixtyFourMember" xml:lang="en-US">Ages Fifty five To Sixty four [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_AgesFiftyFiveToSixtyFourMember" xml:lang="en-US">Ages 55-64 [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_AgesFiftyFiveToSixtyFourMember" xlink:to="lab_ubsi_AgesFiftyFiveToSixtyFourMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AgesFiftyToFiftyFourMember" xlink:label="loc_ubsi_AgesFiftyToFiftyFourMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_AgesFiftyToFiftyFourMember" xml:lang="en-US">Ages Fifty To Fifty four [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_AgesFiftyToFiftyFourMember" xml:lang="en-US">Ages 50-54 [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_AgesFiftyToFiftyFourMember" xlink:to="lab_ubsi_AgesFiftyToFiftyFourMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AgesfourtytofortynineMember" xlink:label="loc_ubsi_AgesfourtytofortynineMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_AgesfourtytofortynineMember" xml:lang="en-US">Ages 40-49 [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_AgesfourtytofortynineMember" xlink:to="lab_ubsi_AgesfourtytofortynineMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract" xlink:label="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract" xml:lang="en-US">Defined Benefit Plan, Weighted Average Assumptions Used in Calculating Net Periodic Benefit Cost [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract" xml:lang="en-US">Weighted-average assumptions:</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract" xlink:to="lab_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_WeightedAverageAssumptionsDiscountRate" xlink:label="loc_ubsi_WeightedAverageAssumptionsDiscountRate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_WeightedAverageAssumptionsDiscountRate" xml:lang="en-US">Weighted Average Assumptions Discount Rate</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_WeightedAverageAssumptionsDiscountRate" xml:lang="en-US">Discount rate</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_WeightedAverageAssumptionsDiscountRate" xlink:to="lab_ubsi_WeightedAverageAssumptionsDiscountRate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_WeightedAverageAssumptionsDiscountRate" xml:lang="en-US">Assumption of the interest rate used to bring future cash flows to the present to account for the time value of money.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets" xml:lang="en-US">Defined Benefit Plan, Assumptions Used Calculating Net Periodic Benefit Cost, Expected Long-term Rate of Return on Plan Assets</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets" xml:lang="en-US">Expected return on assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets" xlink:to="lab_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease" xml:lang="en-US">Defined Benefit Plan, Assumptions Used Calculating Benefit Obligation, Rate of Compensation Increase</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease" xml:lang="en-US">Rate of Compensation increase</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease" xlink:to="lab_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanServiceCost" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DefinedBenefitPlanServiceCost" xml:lang="en-US">Defined Benefit Plan, Service Cost</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DefinedBenefitPlanServiceCost" xml:lang="en-US">Service cost</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DefinedBenefitPlanServiceCost" xlink:to="lab_us-gaap_DefinedBenefitPlanServiceCost" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanInterestCost" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DefinedBenefitPlanInterestCost" xml:lang="en-US">Defined Benefit Plan, Interest Cost</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DefinedBenefitPlanInterestCost" xml:lang="en-US">Interest cost</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DefinedBenefitPlanInterestCost" xlink:to="lab_us-gaap_DefinedBenefitPlanInterestCost" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets" xml:lang="en-US">Defined Benefit Plan, Expected Return (Loss) on Plan Assets</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets" xml:lang="en-US">Expected return on plan assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets" xlink:to="lab_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanActuarialGainLossImmediateRecognitionAsComponentInNetPeriodicBenefitCostCredit" xlink:label="loc_us-gaap_DefinedBenefitPlanActuarialGainLossImmediateRecognitionAsComponentInNetPeriodicBenefitCostCredit" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DefinedBenefitPlanActuarialGainLossImmediateRecognitionAsComponentInNetPeriodicBenefitCostCredit" xml:lang="en-US">Defined Benefit Plan, Actuarial Gain (Loss), Immediate Recognition as Component in Net Periodic Benefit (Cost) Credit</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DefinedBenefitPlanActuarialGainLossImmediateRecognitionAsComponentInNetPeriodicBenefitCostCredit" xml:lang="en-US">Recognized net actuarial loss</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DefinedBenefitPlanActuarialGainLossImmediateRecognitionAsComponentInNetPeriodicBenefitCostCredit" xlink:to="lab_us-gaap_DefinedBenefitPlanActuarialGainLossImmediateRecognitionAsComponentInNetPeriodicBenefitCostCredit" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost" xml:lang="en-US">Defined Benefit Plan, Net Periodic Benefit Cost (Credit)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost" xml:lang="en-US">Net periodic pension (benefit) cost</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost" xlink:to="lab_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_IncomeTaxesTable" xlink:label="loc_ubsi_IncomeTaxesTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_IncomeTaxesTable" xml:lang="en-US">Income Taxes [Table]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_IncomeTaxesTable" xml:lang="en-US">Income Taxes [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_IncomeTaxesTable" xlink:to="lab_ubsi_IncomeTaxesTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_IncomeTaxesTable" xml:lang="en-US">Income Taxes [Table]</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxAuthorityAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxAuthorityAxis" xml:lang="en-US">Income Tax Authority [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncomeTaxAuthorityAxis" xml:lang="en-US">Income Tax Authority [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis" xlink:to="lab_us-gaap_IncomeTaxAuthorityAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxAuthorityDomain" xml:lang="en-US">Income Tax Authority [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncomeTaxAuthorityDomain" xml:lang="en-US">Income Tax Authority [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain" xlink:to="lab_us-gaap_IncomeTaxAuthorityDomain" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_IncomeTaxesLineItems" xlink:label="loc_ubsi_IncomeTaxesLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_IncomeTaxesLineItems" xml:lang="en-US">Income Taxes [Line Items]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_IncomeTaxesLineItems" xml:lang="en-US">Income Taxes [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_IncomeTaxesLineItems" xlink:to="lab_ubsi_IncomeTaxesLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_IncomeTaxesLineItems" xml:lang="en-US">Income Taxes [Line Items]</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesAccrued" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesAccrued" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesAccrued" xml:lang="en-US">Unrecognized Tax Benefits, Interest on Income Taxes Accrued</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesAccrued" xml:lang="en-US">Accrued interest related to uncertain tax positions</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesAccrued" xlink:to="lab_us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesAccrued" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateContinuingOperations" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Percent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateContinuingOperations" xml:lang="en-US">Effective income tax rate reconciliation, percent</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:to="lab_us-gaap_EffectiveIncomeTaxRateContinuingOperations" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAbstract" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ComprehensiveIncomeNetOfTaxAbstract" xml:lang="en-US">Comprehensive Income (Loss), Net of Tax, Attributable to Parent [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxAbstract" xlink:to="lab_us-gaap_ComprehensiveIncomeNetOfTaxAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParentAbstract" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParentAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParentAbstract" xml:lang="en-US">Other Comprehensive Income (Loss), Available-for-sale Securities Adjustment, Net of Tax, Portion Attributable to Parent [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParentAbstract" xml:lang="en-US">Available for sale ("AFS") securities:</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParentAbstract" xlink:to="lab_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParentAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" xml:lang="en-US">Other Comprehensive Income (Loss), Securities, Available-for-Sale, Unrealized Holding Gain (Loss) Arising During Period, before Tax</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" xml:lang="en-US">Change in net unrealized (loss) gain on AFS securities arising during the period</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" xlink:to="lab_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" xml:lang="en-US">Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, before Tax</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" xml:lang="en-US">Net reclassification adjustment for losses included in net income</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" xml:lang="en-US">Net reclassification adjustment for losses included in net income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" xlink:to="lab_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax" xml:lang="en-US">Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, Tax</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax" xml:lang="en-US">Related income tax effect</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax" xlink:to="lab_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax" xml:lang="en-US">OCI, Debt Securities, Available-for-Sale, Gain (Loss), after Adjustment, Tax</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax" xml:lang="en-US">Related income tax effect</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax" xlink:to="lab_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxPortionAttributableToParentAbstract" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxPortionAttributableToParentAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxPortionAttributableToParentAbstract" xml:lang="en-US">Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), after Reclassification, Tax, Parent [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxPortionAttributableToParentAbstract" xml:lang="en-US">Cash flow hedge derivatives:</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxPortionAttributableToParentAbstract" xml:lang="en-US">Cash flow hedge:</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxPortionAttributableToParentAbstract" xlink:to="lab_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxPortionAttributableToParentAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTax" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTax" xml:lang="en-US">Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), after Reclassification, before Tax</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTax" xml:lang="en-US">Net reclassification adjustment for gains included in net income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTax" xlink:to="lab_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTax" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTax" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTax" xml:lang="en-US">Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), after Reclassification, Tax</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTax" xml:lang="en-US">Related income tax effect</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTax" xlink:to="lab_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTax" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax" xml:lang="en-US">Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), before Reclassification and Tax</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax" xml:lang="en-US">Unrealized gain (loss) on cash flow hedge before reclassification to interest expense</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax" xlink:to="lab_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax" xml:lang="en-US">Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), before Reclassification, Tax</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax" xml:lang="en-US">Related income tax effect</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax" xlink:to="lab_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xml:lang="en-US">Accumulated Other Comprehensive Income (Loss) [Table]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xml:lang="en-US">Accumulated Other Comprehensive Income (Loss) [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:to="lab_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember" xlink:label="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember" xml:lang="en-US">Accumulated Net Investment Gain (Loss) Attributable to Parent [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember" xml:lang="en-US">Unrealized Gains/Losses on AFS Securities [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember" xlink:to="lab_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember" xlink:label="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember" xml:lang="en-US">Accumulated Gain (Loss), Net, Cash Flow Hedge, Parent [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember" xml:lang="en-US">Unrealized Gains/Losses on Cash Flow Hedges [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember" xml:lang="en-US">Accumulated Gain Loss Net Cash Flow Hedge Parent [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember" xlink:to="lab_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeAxis" xlink:label="loc_us-gaap_RetirementPlanTypeAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RetirementPlanTypeAxis" xml:lang="en-US">Retirement Plan Type [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_RetirementPlanTypeAxis" xml:lang="en-US">Retirement Plan Type [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RetirementPlanTypeAxis" xlink:to="lab_us-gaap_RetirementPlanTypeAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RetirementPlanTypeDomain" xml:lang="en-US">Retirement Plan Type [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_RetirementPlanTypeDomain" xml:lang="en-US">Retirement Plan Type [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RetirementPlanTypeDomain" xlink:to="lab_us-gaap_RetirementPlanTypeDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PensionPlansDefinedBenefitMember" xml:lang="en-US">Pension Plan [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_PensionPlansDefinedBenefitMember" xml:lang="en-US">Defined Benefit Pension Item [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PensionPlansDefinedBenefitMember" xlink:to="lab_us-gaap_PensionPlansDefinedBenefitMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xml:lang="en-US">Accumulated Other Comprehensive Income (Loss) [Line Items]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xml:lang="en-US">Accumulated Other Comprehensive Income (Loss) [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:to="lab_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent" xlink:label="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent" xml:lang="en-US">OCI, before Reclassifications, Net of Tax, Attributable to Parent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent" xml:lang="en-US">Other comprehensive (loss) income before reclassification</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent" xlink:to="lab_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent" xml:lang="en-US">Reclassification from AOCI, Current Period, Net of Tax, Attributable to Parent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent" xml:lang="en-US">Amounts reclassified from accumulated other comprehensive income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent" xlink:to="lab_us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis" xml:lang="en-US">Reclassification out of Accumulated Other Comprehensive Income [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis" xml:lang="en-US">Reclassification out of Accumulated Other Comprehensive Income [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis" xlink:to="lab_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain" xml:lang="en-US">Reclassification out of Accumulated Other Comprehensive Income [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain" xml:lang="en-US">Reclassification out of Accumulated Other Comprehensive Income [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain" xlink:to="lab_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember" xml:lang="en-US">Reclassification out of Accumulated Other Comprehensive Income [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember" xml:lang="en-US">Reclassification out of Accumulated Other Comprehensive Income [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember" xlink:to="lab_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract" xml:lang="en-US">Other Comprehensive Income (Loss), Securities, Available-for-sale, Adjustment, before Reclassification Adjustments, after Tax [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract" xml:lang="en-US">Available for sale ("AFS") securities:</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract" xlink:to="lab_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax" xml:lang="en-US">Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), Reclassification, before Tax</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax" xml:lang="en-US">Net reclassification adjustment for gains included in net income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax" xlink:to="lab_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_DistributedEarningsAllocatedToCommonStock" xlink:label="loc_ubsi_DistributedEarningsAllocatedToCommonStock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_DistributedEarningsAllocatedToCommonStock" xml:lang="en-US">Distributed Earnings Allocated To Common Stock</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_DistributedEarningsAllocatedToCommonStock" xml:lang="en-US">Distributed earnings allocated to common stock</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_DistributedEarningsAllocatedToCommonStock" xlink:to="lab_ubsi_DistributedEarningsAllocatedToCommonStock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_DistributedEarningsAllocatedToCommonStock" xml:lang="en-US">Dividends paid on common shares and vested participating securities.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_UndistributedEarningsAllocatedToCommonStockholders" xlink:label="loc_ubsi_UndistributedEarningsAllocatedToCommonStockholders" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_UndistributedEarningsAllocatedToCommonStockholders" xml:lang="en-US">Undistributed Earnings Allocated To Common Stockholders</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_UndistributedEarningsAllocatedToCommonStockholders" xml:lang="en-US">Undistributed earnings allocated to common stock</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_UndistributedEarningsAllocatedToCommonStockholders" xlink:to="lab_ubsi_UndistributedEarningsAllocatedToCommonStockholders" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_UndistributedEarningsAllocatedToCommonStockholders" xml:lang="en-US">Undistributed earnings (net income less dividends paid) available to common stockholders.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xml:lang="en-US">Net Income (Loss) Available to Common Stockholders, Basic</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xml:lang="en-US">Net earnings allocated to common shareholders</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:to="lab_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment" xml:lang="en-US">Weighted Average Number Diluted Shares Outstanding Adjustment</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment" xml:lang="en-US">Effect of dilutive common stock-based awards</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment" xlink:to="lab_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xml:lang="en-US">Antidilutive Security, Excluded EPS Calculation [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:to="lab_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xml:lang="en-US">Antidilutive Securities [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:to="lab_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AntidilutiveSecuritiesNameDomain" xml:lang="en-US">Antidilutive Securities, Name [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain" xlink:to="lab_us-gaap_AntidilutiveSecuritiesNameDomain" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_EmployeeStockOptionAndRestrictedStockUnitsMember" xlink:label="loc_ubsi_EmployeeStockOptionAndRestrictedStockUnitsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_EmployeeStockOptionAndRestrictedStockUnitsMember" xml:lang="en-US">Employee Stock Option And Restricted Stock Units [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_EmployeeStockOptionAndRestrictedStockUnitsMember" xlink:to="lab_ubsi_EmployeeStockOptionAndRestrictedStockUnitsMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xml:lang="en-US">Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:to="lab_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xml:lang="en-US">Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xml:lang="en-US">Antidilutive stock options and restricted stock outstanding shares</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:to="lab_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AntidilutiveStockOptionsAndRestrictedStockOutstandingShares" xlink:label="loc_ubsi_AntidilutiveStockOptionsAndRestrictedStockOutstandingShares" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_AntidilutiveStockOptionsAndRestrictedStockOutstandingShares" xml:lang="en-US">Antidilutive Stock Options And Restricted Stock Outstanding Shares</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_AntidilutiveStockOptionsAndRestrictedStockOutstandingShares" xml:lang="en-US">Antidilutive securities excluded from computation of earnings per share, amount</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_AntidilutiveStockOptionsAndRestrictedStockOutstandingShares" xlink:to="lab_ubsi_AntidilutiveStockOptionsAndRestrictedStockOutstandingShares" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_AntidilutiveStockOptionsAndRestrictedStockOutstandingShares" xml:lang="en-US">The number of outstanding shares related to stock options and restricted stock excluded from the earnings per diluted common share calculation.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableInterestEntityNotPrimaryBeneficiaryDisclosuresAbstract" xlink:label="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryDisclosuresAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryDisclosuresAbstract" xml:lang="en-US">Variable Interest Entity, Not Primary Beneficiary, Disclosures [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryDisclosuresAbstract" xlink:to="lab_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryDisclosuresAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionTable" xlink:label="loc_us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionTable" xml:lang="en-US">Schedule of Financial Instruments Subject to Mandatory Redemption [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionTable" xlink:to="lab_us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_DirectorMember" xlink:label="loc_srt_DirectorMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_DirectorMember" xml:lang="en-US">Director [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_DirectorMember" xlink:to="lab_srt_DirectorMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnfundedLoanCommitmentMember" xlink:label="loc_us-gaap_UnfundedLoanCommitmentMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_UnfundedLoanCommitmentMember" xml:lang="en-US">Unfunded Loan Commitment [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_UnfundedLoanCommitmentMember" xlink:to="lab_us-gaap_UnfundedLoanCommitmentMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionBySettlementTermsAxis" xlink:label="loc_us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionBySettlementTermsAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionBySettlementTermsAxis" xml:lang="en-US">Schedule of Financial Instruments Subject to Mandatory Redemption by Settlement Terms [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionBySettlementTermsAxis" xlink:to="lab_us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionBySettlementTermsAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharesSubjectToMandatoryRedemptionFinancialInstrumentDomain" xlink:label="loc_us-gaap_SharesSubjectToMandatoryRedemptionFinancialInstrumentDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SharesSubjectToMandatoryRedemptionFinancialInstrumentDomain" xml:lang="en-US">Financial Instruments Subject to Mandatory Redemption, Financial Instrument [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SharesSubjectToMandatoryRedemptionFinancialInstrumentDomain" xlink:to="lab_us-gaap_SharesSubjectToMandatoryRedemptionFinancialInstrumentDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TrustPreferredSecuritiesSubjectToMandatoryRedemptionMember" xlink:label="loc_us-gaap_TrustPreferredSecuritiesSubjectToMandatoryRedemptionMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_TrustPreferredSecuritiesSubjectToMandatoryRedemptionMember" xml:lang="en-US">Trust Preferred Securities Subject to Mandatory Redemption [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TrustPreferredSecuritiesSubjectToMandatoryRedemptionMember" xlink:to="lab_us-gaap_TrustPreferredSecuritiesSubjectToMandatoryRedemptionMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharesSubjectToMandatoryRedemptionBySettlementTermsLineItems" xlink:label="loc_us-gaap_SharesSubjectToMandatoryRedemptionBySettlementTermsLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SharesSubjectToMandatoryRedemptionBySettlementTermsLineItems" xml:lang="en-US">Financial Instruments Subject to Mandatory Redemption by Settlement Terms [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SharesSubjectToMandatoryRedemptionBySettlementTermsLineItems" xlink:to="lab_us-gaap_SharesSubjectToMandatoryRedemptionBySettlementTermsLineItems" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_NumberOfStatutoryBusinessTrusts" xlink:label="loc_ubsi_NumberOfStatutoryBusinessTrusts" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_NumberOfStatutoryBusinessTrusts" xml:lang="en-US">Number Of Statutory Business Trusts</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_NumberOfStatutoryBusinessTrusts" xml:lang="en-US">Number of statutory business trusts</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_NumberOfStatutoryBusinessTrusts" xlink:to="lab_ubsi_NumberOfStatutoryBusinessTrusts" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_NumberOfStatutoryBusinessTrusts" xml:lang="en-US">The number of statutory business trusts formed for the purpose of issuing or participating in pools of trust preferred capital securities.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableInterestEntityOwnershipPercentage" xlink:label="loc_us-gaap_VariableInterestEntityOwnershipPercentage" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_VariableInterestEntityOwnershipPercentage" xml:lang="en-US">Variable Interest Entity, Qualitative or Quantitative Information, Ownership Percentage</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_VariableInterestEntityOwnershipPercentage" xml:lang="en-US">Percentage of equity shares of each trust owned by the company</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_VariableInterestEntityOwnershipPercentage" xlink:to="lab_us-gaap_VariableInterestEntityOwnershipPercentage" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount" xlink:label="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount" xml:lang="en-US">Variable Interest Entity, Reporting Entity Involvement, Maximum Loss Exposure, Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount" xml:lang="en-US">Variable Interest Entity, Reporting Entity Involvement, Maximum Loss Exposure, Amount</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount" xlink:to="lab_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfVariableInterestEntitiesTable" xlink:label="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfVariableInterestEntitiesTable" xml:lang="en-US">Schedule of Variable Interest Entities [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable" xlink:to="lab_us-gaap_ScheduleOfVariableInterestEntitiesTable" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_UnitedStatutoryTrustIiiMember" xlink:label="loc_ubsi_UnitedStatutoryTrustIiiMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_UnitedStatutoryTrustIiiMember" xml:lang="en-US">United Statutory Trust III [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_UnitedStatutoryTrustIiiMember" xml:lang="en-US">United Statutory Trust III [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_UnitedStatutoryTrustIiiMember" xlink:to="lab_ubsi_UnitedStatutoryTrustIiiMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_UnitedStatutoryTrustIiiMember" xml:lang="en-US">United statutory trust III.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_UnitedStatutoryTrustIvMember" xlink:label="loc_ubsi_UnitedStatutoryTrustIvMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_UnitedStatutoryTrustIvMember" xml:lang="en-US">United Statutory Trust Iv [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_UnitedStatutoryTrustIvMember" xml:lang="en-US">United Statutory Trust IV [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_UnitedStatutoryTrustIvMember" xlink:to="lab_ubsi_UnitedStatutoryTrustIvMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_UnitedStatutoryTrustIvMember" xml:lang="en-US">United statutory trust IV.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_UnitedStatutoryTrustVMember" xlink:label="loc_ubsi_UnitedStatutoryTrustVMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_UnitedStatutoryTrustVMember" xml:lang="en-US">United Statutory Trust V [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_UnitedStatutoryTrustVMember" xlink:to="lab_ubsi_UnitedStatutoryTrustVMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_UnitedStatutoryTrustVMember" xml:lang="en-US">United statutory trust V.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_UnitedStatutoryTrustViMember" xlink:label="loc_ubsi_UnitedStatutoryTrustViMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_UnitedStatutoryTrustViMember" xml:lang="en-US">United Statutory Trust VI [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_UnitedStatutoryTrustViMember" xml:lang="en-US">United Statutory Trust VI [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_UnitedStatutoryTrustViMember" xlink:to="lab_ubsi_UnitedStatutoryTrustViMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_UnitedStatutoryTrustViMember" xml:lang="en-US">United statutory trust VI.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PremierStatutoryTrustIiMember" xlink:label="loc_ubsi_PremierStatutoryTrustIiMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_PremierStatutoryTrustIiMember" xml:lang="en-US">Premier Statutory Trust II [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_PremierStatutoryTrustIiMember" xml:lang="en-US">Premier Statutory Trust II [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_PremierStatutoryTrustIiMember" xlink:to="lab_ubsi_PremierStatutoryTrustIiMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_PremierStatutoryTrustIiMember" xml:lang="en-US">Premier statutory trust II.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PremierStatutoryTrustIiiMember" xlink:label="loc_ubsi_PremierStatutoryTrustIiiMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_PremierStatutoryTrustIiiMember" xml:lang="en-US">Premier Statutory Trust III [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_PremierStatutoryTrustIiiMember" xml:lang="en-US">Premier Statutory Trust III [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_PremierStatutoryTrustIiiMember" xlink:to="lab_ubsi_PremierStatutoryTrustIiiMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_PremierStatutoryTrustIiiMember" xml:lang="en-US">Premier statutory trust III.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PremierStatutoryTrustIvMember" xlink:label="loc_ubsi_PremierStatutoryTrustIvMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_PremierStatutoryTrustIvMember" xml:lang="en-US">Premier Statutory Trust Iv [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_PremierStatutoryTrustIvMember" xml:lang="en-US">Premier Statutory Trust IV [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_PremierStatutoryTrustIvMember" xlink:to="lab_ubsi_PremierStatutoryTrustIvMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_PremierStatutoryTrustIvMember" xml:lang="en-US">Premier statutory trust IV.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_PremierStatutoryTrustVMember" xlink:label="loc_ubsi_PremierStatutoryTrustVMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_PremierStatutoryTrustVMember" xml:lang="en-US">Premier Statutory Trust V [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_PremierStatutoryTrustVMember" xlink:to="lab_ubsi_PremierStatutoryTrustVMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_PremierStatutoryTrustVMember" xml:lang="en-US">Premier statutory trust V.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CentraStatutoryTrustIMember" xlink:label="loc_ubsi_CentraStatutoryTrustIMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_CentraStatutoryTrustIMember" xml:lang="en-US">Centra Statutory Trust I [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_CentraStatutoryTrustIMember" xlink:to="lab_ubsi_CentraStatutoryTrustIMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_CentraStatutoryTrustIMember" xml:lang="en-US">Centra statutory trust I.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CentraStatutoryTrustIiMember" xlink:label="loc_ubsi_CentraStatutoryTrustIiMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_CentraStatutoryTrustIiMember" xml:lang="en-US">Centra Statutory Trust II [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_ubsi_CentraStatutoryTrustIiMember" xml:lang="en-US">Centra Statutory Trust II [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_CentraStatutoryTrustIiMember" xlink:to="lab_ubsi_CentraStatutoryTrustIiMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_CentraStatutoryTrustIiMember" xml:lang="en-US">Centra statutory trust II.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_VCBICapitalTrustIIMember" xlink:label="loc_ubsi_VCBICapitalTrustIIMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_VCBICapitalTrustIIMember" xml:lang="en-US">VCBI Capital Trust II [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_VCBICapitalTrustIIMember" xlink:to="lab_ubsi_VCBICapitalTrustIIMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_VCBICapitalTrustIIMember" xml:lang="en-US">VCBI Capital Trust II.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_VCBICapitalTrustIIIMember" xlink:label="loc_ubsi_VCBICapitalTrustIIIMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_VCBICapitalTrustIIIMember" xml:lang="en-US">VCBI Capital Trust III [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_VCBICapitalTrustIIIMember" xlink:to="lab_ubsi_VCBICapitalTrustIIIMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_VCBICapitalTrustIIIMember" xml:lang="en-US">VCBI Capital Trust III.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CardinalStatutoryTrustIMember" xlink:label="loc_ubsi_CardinalStatutoryTrustIMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_CardinalStatutoryTrustIMember" xml:lang="en-US">Cardinal Statutory Trust I [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_CardinalStatutoryTrustIMember" xlink:to="lab_ubsi_CardinalStatutoryTrustIMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_CardinalStatutoryTrustIMember" xml:lang="en-US">Cardinal statutory trust I.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_UFBCCapitalTrustIMember" xlink:label="loc_ubsi_UFBCCapitalTrustIMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_UFBCCapitalTrustIMember" xml:lang="en-US">UFBC Capital Trust I [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_UFBCCapitalTrustIMember" xlink:to="lab_ubsi_UFBCCapitalTrustIMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_UFBCCapitalTrustIMember" xml:lang="en-US">UFBC capital trust I.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_BOEStatutoryTrustIMember" xlink:label="loc_ubsi_BOEStatutoryTrustIMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_BOEStatutoryTrustIMember" xml:lang="en-US">BOE Statutory Trust I [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_BOEStatutoryTrustIMember" xlink:to="lab_ubsi_BOEStatutoryTrustIMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_FirstSouthPreferredTrustIMember" xlink:label="loc_ubsi_FirstSouthPreferredTrustIMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_FirstSouthPreferredTrustIMember" xml:lang="en-US">First South Preferred Trust I [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_FirstSouthPreferredTrustIMember" xlink:to="lab_ubsi_FirstSouthPreferredTrustIMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_FirstSouthPreferredTrustIMember" xml:lang="en-US">First south preferred trust I.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_GreerCapitalTrustIiMember" xlink:label="loc_ubsi_GreerCapitalTrustIiMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_GreerCapitalTrustIiMember" xml:lang="en-US">Greer Capital Trust II [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_GreerCapitalTrustIiMember" xlink:to="lab_ubsi_GreerCapitalTrustIiMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_GreerCapitalTrustIiMember" xml:lang="en-US">Greer capital trust II.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_GreerCapitalTrustIMember" xlink:label="loc_ubsi_GreerCapitalTrustIMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_GreerCapitalTrustIMember" xml:lang="en-US">Greer Capital Trust I [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_GreerCapitalTrustIMember" xlink:to="lab_ubsi_GreerCapitalTrustIMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_GreerCapitalTrustIMember" xml:lang="en-US">Greer capital trust I.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CarolinaFinancialCapitalTrustIiMember" xlink:label="loc_ubsi_CarolinaFinancialCapitalTrustIiMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_CarolinaFinancialCapitalTrustIiMember" xml:lang="en-US">Carolina Financial Capital Trust II [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_CarolinaFinancialCapitalTrustIiMember" xlink:to="lab_ubsi_CarolinaFinancialCapitalTrustIiMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_CarolinaFinancialCapitalTrustIiMember" xml:lang="en-US">Carolina financial capital trust II.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_CarolinaFinancialCapitalTrustIMember" xlink:label="loc_ubsi_CarolinaFinancialCapitalTrustIMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_CarolinaFinancialCapitalTrustIMember" xml:lang="en-US">Carolina Financial Capital Trust I [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_CarolinaFinancialCapitalTrustIMember" xlink:to="lab_ubsi_CarolinaFinancialCapitalTrustIMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_CarolinaFinancialCapitalTrustIMember" xml:lang="en-US">Carolina financial capital trust I.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableInterestEntityLineItems" xlink:label="loc_us-gaap_VariableInterestEntityLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_VariableInterestEntityLineItems" xml:lang="en-US">Variable Interest Entity [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_VariableInterestEntityLineItems" xlink:to="lab_us-gaap_VariableInterestEntityLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentIssuanceDate1" xlink:label="loc_us-gaap_DebtInstrumentIssuanceDate1" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtInstrumentIssuanceDate1" xml:lang="en-US">Debt Instrument, Issuance Date</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_DebtInstrumentIssuanceDate1" xml:lang="en-US">Issuance Date</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentIssuanceDate1" xlink:to="lab_us-gaap_DebtInstrumentIssuanceDate1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust" xlink:label="loc_us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust" xml:lang="en-US">Junior Subordinated Debenture Owed to Unconsolidated Subsidiary Trust</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust" xml:lang="en-US">Amount of Capital Securities Issued</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust" xlink:to="lab_us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityInterestRateDescription" xlink:label="loc_us-gaap_LineOfCreditFacilityInterestRateDescription" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LineOfCreditFacilityInterestRateDescription" xml:lang="en-US">Line of Credit Facility, Interest Rate Description</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_LineOfCreditFacilityInterestRateDescription" xml:lang="en-US">Stated Interest Rate</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LineOfCreditFacilityInterestRateDescription" xlink:to="lab_us-gaap_LineOfCreditFacilityInterestRateDescription" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentMaturityDate" xlink:label="loc_us-gaap_DebtInstrumentMaturityDate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtInstrumentMaturityDate" xml:lang="en-US">Debt Instrument, Maturity Date</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_DebtInstrumentMaturityDate" xml:lang="en-US">Maturity Date</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentMaturityDate" xlink:to="lab_us-gaap_DebtInstrumentMaturityDate" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xml:lang="en-US">Segment Reporting [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:to="lab_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StatementBusinessSegmentsAxis" xml:lang="en-US">Segments [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis" xlink:to="lab_us-gaap_StatementBusinessSegmentsAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SegmentDomain" xml:lang="en-US">Segments [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SegmentDomain" xlink:to="lab_us-gaap_SegmentDomain" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_SingleReportableSegmentMember" xlink:label="loc_ubsi_SingleReportableSegmentMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_SingleReportableSegmentMember" xml:lang="en-US">Single Reportable Segment [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_SingleReportableSegmentMember" xlink:to="lab_ubsi_SingleReportableSegmentMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SegmentReportingInformationLineItems" xml:lang="en-US">Segment Reporting [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems" xlink:to="lab_us-gaap_SegmentReportingInformationLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NumberOfReportableSegments" xlink:label="loc_us-gaap_NumberOfReportableSegments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NumberOfReportableSegments" xml:lang="en-US">Number of Reportable Segments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_NumberOfReportableSegments" xml:lang="en-US">Number of reportable segments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NumberOfReportableSegments" xlink:to="lab_us-gaap_NumberOfReportableSegments" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsAxis" xlink:label="loc_srt_ConsolidationItemsAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_ConsolidationItemsAxis" xml:lang="en-US">Consolidation Items [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_srt_ConsolidationItemsAxis" xml:lang="en-US">Consolidation Items [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_ConsolidationItemsAxis" xlink:to="lab_srt_ConsolidationItemsAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_ConsolidationItemsDomain" xml:lang="en-US">Consolidation Items [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_srt_ConsolidationItemsDomain" xml:lang="en-US">Consolidation Items [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_ConsolidationItemsDomain" xlink:to="lab_srt_ConsolidationItemsDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingSegmentsMember" xlink:label="loc_us-gaap_OperatingSegmentsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OperatingSegmentsMember" xml:lang="en-US">Operating Segments [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OperatingSegmentsMember" xml:lang="en-US">Operating Segments [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingSegmentsMember" xlink:to="lab_us-gaap_OperatingSegmentsMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20260630.xsd#ubsi_AdjustmentsAndReconcilingItemsOfProfitOrLoss" xlink:label="loc_ubsi_AdjustmentsAndReconcilingItemsOfProfitOrLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_AdjustmentsAndReconcilingItemsOfProfitOrLoss" xml:lang="en-US">Adjustments And Reconciling Items Of Profit Or Loss</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_AdjustmentsAndReconcilingItemsOfProfitOrLoss" xml:lang="en-US">Adjustments and reconciling items</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_AdjustmentsAndReconcilingItemsOfProfitOrLoss" xlink:to="lab_ubsi_AdjustmentsAndReconcilingItemsOfProfitOrLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_AdjustmentsAndReconcilingItemsOfProfitOrLoss" xml:lang="en-US">adjustments and reconciling items of profit Or loss.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ProfitLoss" xml:lang="en-US">Net Income (Loss), Including Portion Attributable to Noncontrolling Interest</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ProfitLoss" xml:lang="en-US">Segment net income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProfitLoss" xlink:to="lab_us-gaap_ProfitLoss" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NonoperatingIncomeExpense" xlink:label="loc_us-gaap_NonoperatingIncomeExpense" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NonoperatingIncomeExpense" xml:lang="en-US">Nonoperating Income (Expense)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_NonoperatingIncomeExpense" xml:lang="en-US">Total other expense</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NonoperatingIncomeExpense" xlink:to="lab_us-gaap_NonoperatingIncomeExpense" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNonoperatingExpense" xlink:label="loc_us-gaap_OtherNonoperatingExpense" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherNonoperatingExpense" xml:lang="en-US">Other Nonoperating Expense</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OtherNonoperatingExpense" xml:lang="en-US">Other segment expense</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherNonoperatingExpense" xlink:to="lab_us-gaap_OtherNonoperatingExpense" />
        </link:labelLink>
      </link:linkbase>
    </appinfo>
  </annotation>
  <import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd" />
  <import namespace="http://xbrl.org/2020/extensible-enumerations-2.0" schemaLocation="https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd" />
  <import namespace="http://www.xbrl.org/dtr/type/2024-01-31" schemaLocation="https://www.xbrl.org/dtr/type/2024-01-31/types.xsd" />
  <import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd" />
  <import namespace="http://www.xbrl.org/2006/ref" schemaLocation="http://www.xbrl.org/2006/ref-2006-02-27.xsd" />
  <import namespace="http://fasb.org/srt/2026" schemaLocation="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd" />
  <import namespace="http://xbrl.sec.gov/country/2026" schemaLocation="https://xbrl.sec.gov/country/2026/country-2026.xsd" />
  <import namespace="http://xbrl.sec.gov/dei/2026" schemaLocation="https://xbrl.sec.gov/dei/2026/dei-2026.xsd" />
  <import namespace="http://xbrl.sec.gov/country/2026" schemaLocation="https://xbrl.sec.gov/country/2026/country-2026.xsd" />
  <import namespace="http://xbrl.sec.gov/currency/2026" schemaLocation="https://xbrl.sec.gov/currency/2026/currency-2026.xsd" />
  <import namespace="http://xbrl.sec.gov/exch/2026" schemaLocation="https://xbrl.sec.gov/exch/2026/exch-2026.xsd" />
  <import namespace="http://xbrl.sec.gov/stpr/2026" schemaLocation="https://xbrl.sec.gov/stpr/2026/stpr-2026.xsd" />
  <import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" />
  <import namespace="http://www.xbrl.org/2003/XLink" schemaLocation="http://www.xbrl.org/2003/xl-2003-12-31.xsd" />
  <import namespace="http://www.w3.org/1999/xlink" schemaLocation="http://www.xbrl.org/2003/xlink-2003-12-31.xsd" />
  <import namespace="http://fasb.org/srt-types/2026" schemaLocation="https://xbrl.fasb.org/srt/2026/elts/srt-types-2026.xsd" />
  <import namespace="http://xbrl.sec.gov/ecd-sub/2026" schemaLocation="https://xbrl.sec.gov/ecd/2026/ecd-sub-2026.xsd" />
  <import namespace="http://fasb.org/us-gaap/2026" schemaLocation="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd" />
  <element name="FinancingReceivableNetOfDeferredIncome" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_FinancingReceivableNetOfDeferredIncome" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="ReserveForLendingRelatedCommitments" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_ReserveForLendingRelatedCommitments" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="OtherRealEstateOwnedExpense" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_OtherRealEstateOwnedExpense" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="BankcardProcessingExpense" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_BankcardProcessingExpense" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="ExciseTaxOnNetStockRepurchases" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_ExciseTaxOnNetStockRepurchases" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="StockIssuedDuringPeriodValueIssuanceOfCommonStockUnderStockBasedCompensationPlan" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_StockIssuedDuringPeriodValueIssuanceOfCommonStockUnderStockBasedCompensationPlan" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="StockIssuedDuringPeriodSharesIssaunceOfCommonStockUnderStockBasedCompensationPlan" type="xbrli:sharesItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_StockIssuedDuringPeriodSharesIssaunceOfCommonStockUnderStockBasedCompensationPlan" substitutionGroup="xbrli:item" />
  <element name="ForfeitureOfNonVestedRestrictedStockShares" type="xbrli:sharesItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_ForfeitureOfNonVestedRestrictedStockShares" substitutionGroup="xbrli:item" />
  <element name="StockIssuedDuringPeriodSharesIssuanceOfCommonStockUnderStockBasedCompensationPlan" type="xbrli:sharesItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_StockIssuedDuringPeriodSharesIssuanceOfCommonStockUnderStockBasedCompensationPlan" substitutionGroup="xbrli:item" />
  <element name="ProceedsFromSalesOfEquitySecurities" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_ProceedsFromSalesOfEquitySecurities" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="PaymentsToAcquireEquitySecurities" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_PaymentsToAcquireEquitySecurities" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="ProceedsFromBankOwnedLifeInsuranceDeathBenefits" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_ProceedsFromBankOwnedLifeInsuranceDeathBenefits" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="IncreaseDecreaseInDepositsAndShortTermBorrowingsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_IncreaseDecreaseInDepositsAndShortTermBorrowingsAbstract" substitutionGroup="xbrli:item" />
  <element name="IncreaseDecreaseInFederalFundsPurchasedSecuritiesSoldUnderAgreementsToRepurchaseAndOtherShortTermBorrowingsNet" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_IncreaseDecreaseInFederalFundsPurchasedSecuritiesSoldUnderAgreementsToRepurchaseAndOtherShortTermBorrowingsNet" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="NoncashExciseTaxOnNetStockRepurchases" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_NoncashExciseTaxOnNetStockRepurchases" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="SeriesOfIndividuallySubsidiariesMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_SeriesOfIndividuallySubsidiariesMember" substitutionGroup="xbrli:item" />
  <element name="LoansAndLeasesReceivableTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_LoansAndLeasesReceivableTextBlock" substitutionGroup="xbrli:item" />
  <element name="CreditQualityTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_CreditQualityTextBlock" substitutionGroup="xbrli:item" />
  <element name="CollateralDependentLoansAndLeasesTableTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_CollateralDependentLoansAndLeasesTableTextBlock" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfTermLoansAndFinancingReceivableTableTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_ScheduleOfTermLoansAndFinancingReceivableTableTextBlock" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfFinancialEffectOfLoanAndLeaseModificationsTableTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_ScheduleOfFinancialEffectOfLoanAndLeaseModificationsTableTextBlock" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfAmortizedCostBasisPaymentStatusTableTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_ScheduleOfAmortizedCostBasisPaymentStatusTableTextBlock" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfAmortizedCostBasisOfLoanModificationsMadeToBorrowersTableTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_ScheduleOfAmortizedCostBasisOfLoanModificationsMadeToBorrowersTableTextBlock" substitutionGroup="xbrli:item" />
  <element name="ScheduleRelatedToAccruedInterestReceivablesAndWrittenOff" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_ScheduleRelatedToAccruedInterestReceivablesAndWrittenOff" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfAccruedInterestReceivablesWrittenOffByReversingInterestTableTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_ScheduleOfAccruedInterestReceivablesWrittenOffByReversingInterestTableTextBlock" substitutionGroup="xbrli:item" />
  <element name="OperatingLeaseBalanceSheetLocationTableTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_OperatingLeaseBalanceSheetLocationTableTextBlock" substitutionGroup="xbrli:item" />
  <element name="OperatingLeaseTermAndDiscountRateTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_OperatingLeaseTermAndDiscountRateTextBlock" substitutionGroup="xbrli:item" />
  <element name="OperatingLeasesCashFlowInformationTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_OperatingLeasesCashFlowInformationTextBlock" substitutionGroup="xbrli:item" />
  <element name="InformationRelatedToStatutoryTrustsTableTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_InformationRelatedToStatutoryTrustsTableTextBlock" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfSegmentReportingFinanacialPositionInformationBySegmentTableTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_ScheduleOfSegmentReportingFinanacialPositionInformationBySegmentTableTextBlock" substitutionGroup="xbrli:item" />
  <element name="ResidentialMortgageBackedSecuritiesNonAgencyMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_ResidentialMortgageBackedSecuritiesNonAgencyMember" substitutionGroup="xbrli:item" />
  <element name="SingleIssueTrustPreferredSecuritiesMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_SingleIssueTrustPreferredSecuritiesMember" substitutionGroup="xbrli:item" />
  <element name="AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValues" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValues" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="AgencyMortgageBackedSecuritiesMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_AgencyMortgageBackedSecuritiesMember" substitutionGroup="xbrli:item" />
  <element name="UnratedBondsInvestmentGradeMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_UnratedBondsInvestmentGradeMember" substitutionGroup="xbrli:item" />
  <element name="AaaMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_AaaMember" substitutionGroup="xbrli:item" />
  <element name="InvestmentSecurityAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_InvestmentSecurityAxis" substitutionGroup="xbrldt:dimensionItem" />
  <element name="InvestmentSecurityDomain" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_InvestmentSecurityDomain" substitutionGroup="xbrli:item" />
  <element name="AvailableForSaleSecuritiesNumber" type="xbrli:integerItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_AvailableForSaleSecuritiesNumber" substitutionGroup="xbrli:item" />
  <element name="PercentOfMunicipalBondPortfolioWithCreditSupport" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_PercentOfMunicipalBondPortfolioWithCreditSupport" substitutionGroup="xbrli:item" />
  <element name="CapitalizationOfBanksEqualToOrGreaterThanInSingleIssueTrustPreferredPortfolio" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_CapitalizationOfBanksEqualToOrGreaterThanInSingleIssueTrustPreferredPortfolio" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="AmortizedCostOfAvailableForSaleSingleIssueTrustPreferredSecurities" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_AmortizedCostOfAvailableForSaleSingleIssueTrustPreferredSecurities" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="PercentOfCorporateSecuritiesPortfolio" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_PercentOfCorporateSecuritiesPortfolio" substitutionGroup="xbrli:item" />
  <element name="EquitySecurities" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_EquitySecurities" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="InvestmentSecuritiesPledgedAsCollateral" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_InvestmentSecuritiesPledgedAsCollateral" substitutionGroup="xbrli:item" />
  <element name="PercentageOfAssetBackedSecuritiesWithCreditRating" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_PercentageOfAssetBackedSecuritiesWithCreditRating" substitutionGroup="xbrli:item" />
  <element name="PercentageOfRepaymentOfInvestmentGuaranteedByGovernment" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_PercentageOfRepaymentOfInvestmentGuaranteedByGovernment" substitutionGroup="xbrli:item" />
  <element name="NonAgencyResidentialMortgageBackedSecuritiesAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_NonAgencyResidentialMortgageBackedSecuritiesAxis" substitutionGroup="xbrldt:dimensionItem" />
  <element name="NonAgencyResidentialMortgageBackedSecuritiesDomain" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_NonAgencyResidentialMortgageBackedSecuritiesDomain" substitutionGroup="xbrli:item" />
  <element name="NonAgencyResidentialMortgageBackedSecuritiesMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_NonAgencyResidentialMortgageBackedSecuritiesMember" substitutionGroup="xbrli:item" />
  <element name="FederalFamilyEducationLoanProgramMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_FederalFamilyEducationLoanProgramMember" substitutionGroup="xbrli:item" />
  <element name="LoansAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_LoansAbstract" substitutionGroup="xbrli:item" />
  <element name="OwnerOccupiedCommercialRealEstateMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_OwnerOccupiedCommercialRealEstateMember" substitutionGroup="xbrli:item" />
  <element name="NonownerOccupiedCommercialRealEstateMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_NonownerOccupiedCommercialRealEstateMember" substitutionGroup="xbrli:item" />
  <element name="OtherCommercialLoansAndLeasesMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_OtherCommercialLoansAndLeasesMember" substitutionGroup="xbrli:item" />
  <element name="LoansAndLeasesReceivableResidentialRealEstate" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_LoansAndLeasesReceivableResidentialRealEstate" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="CommercialFinancialAndAgriculturalAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_CommercialFinancialAndAgriculturalAbstract" substitutionGroup="xbrli:item" />
  <element name="LoansAndFinanceReceivablesGross" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_LoansAndFinanceReceivablesGross" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="LoansAndLeasesReceivableConsumerAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_LoansAndLeasesReceivableConsumerAbstract" substitutionGroup="xbrli:item" />
  <element name="LoansAndFinanceReceivablesThroughCreditCards" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_LoansAndFinanceReceivablesThroughCreditCards" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="LoansAndFinanceReceivablesThroughOtherCustomers" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_LoansAndFinanceReceivablesThroughOtherCustomers" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="LoansAndLeasesNetOfUnearnedIncome" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_LoansAndLeasesNetOfUnearnedIncome" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="LoanAndLeasesUnearnedIncome" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_LoanAndLeasesUnearnedIncome" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="LoansAndLeasesReceivableConstructionAndLandDevelopmentConsumer" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_LoansAndLeasesReceivableConstructionAndLandDevelopmentConsumer" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="DirectorsAndOfficersMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_DirectorsAndOfficersMember" substitutionGroup="xbrli:item" />
  <element name="MinimumPeriodRelatedToAccrualOfInterestOnDiscontinuedCommercialAndConsumerLoans" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_MinimumPeriodRelatedToAccrualOfInterestOnDiscontinuedCommercialAndConsumerLoans" substitutionGroup="xbrli:item" />
  <element name="MaximumPeriodRelatedToAccrualOfInterestOnDiscontinuedCommercialAndConsumerLoans" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_MaximumPeriodRelatedToAccrualOfInterestOnDiscontinuedCommercialAndConsumerLoans" substitutionGroup="xbrli:item" />
  <element name="ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSpecialMentionMinimum" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSpecialMentionMinimum" substitutionGroup="xbrli:item" />
  <element name="ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSpecialMentionMaximum" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSpecialMentionMaximum" substitutionGroup="xbrli:item" />
  <element name="ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSubstandard" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_ConsumerCreditExposuresPeriodPastDueRequiredToClassifyLoansAsSubstandard" substitutionGroup="xbrli:item" />
  <element name="TroubledDebtRestructuringsPostModificationAdditionalFundsRecordedInvestment" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_TroubledDebtRestructuringsPostModificationAdditionalFundsRecordedInvestment" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="BankCardMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_BankCardMember" substitutionGroup="xbrli:item" />
  <element name="OtherConsumerMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_OtherConsumerMember" substitutionGroup="xbrli:item" />
  <element name="FinancialAsset30To89DaysPastDueMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_FinancialAsset30To89DaysPastDueMember" substitutionGroup="xbrli:item" />
  <element name="AmortizedCostBasisLoanModificationTermExtensionAndPermanentDelay" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_AmortizedCostBasisLoanModificationTermExtensionAndPermanentDelay" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="AmortizedCostBasisLoanModificationTermExtensionAndInterestRateReduction" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_AmortizedCostBasisLoanModificationTermExtensionAndInterestRateReduction" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="OtherThanInsignificantPaymentDelayMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_OtherThanInsignificantPaymentDelayMember" substitutionGroup="xbrli:item" />
  <element name="AmortizedCostBasisPaymentStatus" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_AmortizedCostBasisPaymentStatus" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="FinancingReceivablesCurrentMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_FinancingReceivablesCurrentMember" substitutionGroup="xbrli:item" />
  <element name="FinancingReceivableWeightedAverageModifiedPaymentDeferralPeriod" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_FinancingReceivableWeightedAverageModifiedPaymentDeferralPeriod" substitutionGroup="xbrli:item" />
  <element name="BusinessAssetsMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_BusinessAssetsMember" substitutionGroup="xbrli:item" />
  <element name="OtherAssetMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_OtherAssetMember" substitutionGroup="xbrli:item" />
  <element name="FinancingReceivablePortfolioSegmentIAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_FinancingReceivablePortfolioSegmentIAxis" substitutionGroup="xbrldt:dimensionItem" />
  <element name="FinancingReceivablePortfolioSegmentIDomain" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_FinancingReceivablePortfolioSegmentIDomain" substitutionGroup="xbrli:item" />
  <element name="AmortizedCostCollateralDependentLoansLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_AmortizedCostCollateralDependentLoansLineItems" substitutionGroup="xbrli:item" />
  <element name="CollateralDependentLoansAndLeases" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_CollateralDependentLoansAndLeases" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="OtherCommercialLoansMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_OtherCommercialLoansMember" substitutionGroup="xbrli:item" />
  <element name="CurrentPeriodChargeOffsMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_CurrentPeriodChargeOffsMember" substitutionGroup="xbrli:item" />
  <element name="CurrentPeriodRecoveriesMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_CurrentPeriodRecoveriesMember" substitutionGroup="xbrli:item" />
  <element name="CurrentPeriodNetChargeOffsRecoveriesMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_CurrentPeriodNetChargeOffsRecoveriesMember" substitutionGroup="xbrli:item" />
  <element name="DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_DisclosureDetailsOfLoansAndLeasesByRiskCategoryLineItems" substitutionGroup="xbrli:item" />
  <element name="TermLoansOriginationYearOne" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_TermLoansOriginationYearOne" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="TermLoansOriginationYearTwo" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_TermLoansOriginationYearTwo" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="TermLoansOriginationYearThree" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_TermLoansOriginationYearThree" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="TermLoansOriginationYearFour" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_TermLoansOriginationYearFour" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="TermLoansOriginationYearFive" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_TermLoansOriginationYearFive" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="TermLoansOriginationYearPrior" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_TermLoansOriginationYearPrior" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="RevolvingloansAmortizedCostBasis" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_RevolvingloansAmortizedCostBasis" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="RevolvingLoansConvertedtoTermLoans" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_RevolvingLoansConvertedtoTermLoans" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="TermLoansOriginationYearSix" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_TermLoansOriginationYearSix" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="MaximumPeriodRelatedToAccrualOfInterestOnLoans" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_MaximumPeriodRelatedToAccrualOfInterestOnLoans" substitutionGroup="xbrli:item" />
  <element name="PercentageOfProjectionForRealDisposablePersonalIncome" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_PercentageOfProjectionForRealDisposablePersonalIncome" substitutionGroup="xbrli:item" />
  <element name="PercentageOfProjectionForMortgageRate" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_PercentageOfProjectionForMortgageRate" substitutionGroup="xbrli:item" />
  <element name="PercentageOfProjectionForHousePriceIndex" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_PercentageOfProjectionForHousePriceIndex" substitutionGroup="xbrli:item" />
  <element name="PercentagePointsIncreaseInUnemploymentRate" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_PercentagePointsIncreaseInUnemploymentRate" substitutionGroup="xbrli:item" />
  <element name="PercentagePointsReductionInGdpProjection" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_PercentagePointsReductionInGdpProjection" substitutionGroup="xbrli:item" />
  <element name="PercentageOfAllowanceForLoanAndLeaseLosses" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_PercentageOfAllowanceForLoanAndLeaseLosses" substitutionGroup="xbrli:item" />
  <element name="PercentageOfProjectionForRealGdp" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_PercentageOfProjectionForRealGdp" substitutionGroup="xbrli:item" />
  <element name="PercentageOfUnemploymentRate" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_PercentageOfUnemploymentRate" substitutionGroup="xbrli:item" />
  <element name="PeriodAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_PeriodAxis" substitutionGroup="xbrldt:dimensionItem" />
  <element name="PeriodDomain" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_PeriodDomain" substitutionGroup="xbrli:item" />
  <element name="TwoThousandAndTwentySevenMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_TwoThousandAndTwentySevenMember" substitutionGroup="xbrli:item" />
  <element name="TwoThousandAndTwentySixMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_TwoThousandAndTwentySixMember" substitutionGroup="xbrli:item" />
  <element name="AccruedInterestReceivablesAndWrittenOffTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_AccruedInterestReceivablesAndWrittenOffTable" substitutionGroup="xbrldt:hypercubeItem" />
  <element name="AccruedInterestReceivablesAndWrittenOffStatusLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_AccruedInterestReceivablesAndWrittenOffStatusLineItems" substitutionGroup="xbrli:item" />
  <element name="AccruedInterestReceivableLoans" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_AccruedInterestReceivableLoans" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="AccruedInterestReceivableLoansNetOfAllowance" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_AccruedInterestReceivableLoansNetOfAllowance" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="InterestReceivableWrittenOff" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_InterestReceivableWrittenOff" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="ProvisionForRecoveryOfLoanLosses" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_ProvisionForRecoveryOfLoanLosses" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="SegmentTypeAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_SegmentTypeAxis" substitutionGroup="xbrldt:dimensionItem" />
  <element name="SegmentTypeDomain" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_SegmentTypeDomain" substitutionGroup="xbrli:item" />
  <element name="CommunityBankingMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_CommunityBankingMember" substitutionGroup="xbrli:item" />
  <element name="AmortizationExpenseOnIntangibleAssets" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_AmortizationExpenseOnIntangibleAssets" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="WeightedaverageRemainingLeaseTermAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_WeightedaverageRemainingLeaseTermAbstract" substitutionGroup="xbrli:item" />
  <element name="WeightedaverageDiscountRateAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_WeightedaverageDiscountRateAbstract" substitutionGroup="xbrli:item" />
  <element name="CashPaidForAmountsInTheMeasurementOfLeaseLiabilitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_CashPaidForAmountsInTheMeasurementOfLeaseLiabilitiesAbstract" substitutionGroup="xbrli:item" />
  <element name="UnrelatedFinancialInstitutionMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_UnrelatedFinancialInstitutionMember" substitutionGroup="xbrli:item" />
  <element name="RenewalPeriodOfLineOfCredit" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_RenewalPeriodOfLineOfCredit" substitutionGroup="xbrli:item" />
  <element name="MaximumTimeToDeferPaymentOfInterestOnSubordinateDebt" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_MaximumTimeToDeferPaymentOfInterestOnSubordinateDebt" substitutionGroup="xbrli:item" />
  <element name="MaturityPeriodAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_MaturityPeriodAxis" substitutionGroup="xbrldt:dimensionItem" />
  <element name="MaturityPeriodDomain" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_MaturityPeriodDomain" substitutionGroup="xbrli:item" />
  <element name="CommercialLettersOfCreditMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_CommercialLettersOfCreditMember" substitutionGroup="xbrli:item" />
  <element name="LoanCommitmentsOutstanding" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_LoanCommitmentsOutstanding" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="InterestRateCashFlowHedgeMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_InterestRateCashFlowHedgeMember" substitutionGroup="xbrli:item" />
  <element name="ForwardLoanSaleCommitmentsMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_ForwardLoanSaleCommitmentsMember" substitutionGroup="xbrli:item" />
  <element name="DerivativeInstrumentsAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_DerivativeInstrumentsAxis" substitutionGroup="xbrldt:dimensionItem" />
  <element name="DerivativeInstrumentsDomain" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_DerivativeInstrumentsDomain" substitutionGroup="xbrli:item" />
  <element name="OthersLiabilitiesMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_OthersLiabilitiesMember" substitutionGroup="xbrli:item" />
  <element name="HedgedCommercialLoansMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_HedgedCommercialLoansMember" substitutionGroup="xbrli:item" />
  <element name="HedgedCommercialLoansFederalHomeLoanBankMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_HedgedCommercialLoansFederalHomeLoanBankMember" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfCarryingAmountHedgedAssetsLiabilitiesTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_ScheduleOfCarryingAmountHedgedAssetsLiabilitiesTable" substitutionGroup="xbrldt:hypercubeItem" />
  <element name="ServicingRightsAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_ServicingRightsAxis" substitutionGroup="xbrldt:dimensionItem" />
  <element name="ServicingRightsDomain" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_ServicingRightsDomain" substitutionGroup="xbrli:item" />
  <element name="CarryingAmountHedgedAssetsLiabilitiesLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_CarryingAmountHedgedAssetsLiabilitiesLineItems" substitutionGroup="xbrli:item" />
  <element name="BalanceSheetsLocationAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_BalanceSheetsLocationAxis" substitutionGroup="xbrldt:dimensionItem" />
  <element name="BalanceSheetsLocationDomain" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_BalanceSheetsLocationDomain" substitutionGroup="xbrli:item" />
  <element name="LoansAndLeasesNetOfUnearnedIncomeMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_LoansAndLeasesNetOfUnearnedIncomeMember" substitutionGroup="xbrli:item" />
  <element name="StatementOfIncomeLocationAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_StatementOfIncomeLocationAxis" substitutionGroup="xbrldt:dimensionItem" />
  <element name="StatementOfIncomeLocationDomain" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_StatementOfIncomeLocationDomain" substitutionGroup="xbrli:item" />
  <element name="InterestAndFeesOnLoansMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_InterestAndFeesOnLoansMember" substitutionGroup="xbrli:item" />
  <element name="IncomeFromMortgageBankingActivitiesMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_IncomeFromMortgageBankingActivitiesMember" substitutionGroup="xbrli:item" />
  <element name="InterestOnLongTermBorrowingsMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_InterestOnLongTermBorrowingsMember" substitutionGroup="xbrli:item" />
  <element name="TbaMortgageBackedSecuritiesMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_TbaMortgageBackedSecuritiesMember" substitutionGroup="xbrli:item" />
  <element name="OtherRealEstateOwnedGainsLosses" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_OtherRealEstateOwnedGainsLosses" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="FinancingReceivableIndividuallyEvaluatedForImpairmentGainLoss" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_FinancingReceivableIndividuallyEvaluatedForImpairmentGainLoss" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="LoansHeldForSaleMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_LoansHeldForSaleMember" substitutionGroup="xbrli:item" />
  <element name="DerivativeFinancialLiabilitiesForwardSalesCommitmentsMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_DerivativeFinancialLiabilitiesForwardSalesCommitmentsMember" substitutionGroup="xbrli:item" />
  <element name="DerivativeFinancialAssetsTbaSecuritiesMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_DerivativeFinancialAssetsTbaSecuritiesMember" substitutionGroup="xbrli:item" />
  <element name="DerivativeFinancialLiabilitiesTbaSecuritiesMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_DerivativeFinancialLiabilitiesTbaSecuritiesMember" substitutionGroup="xbrli:item" />
  <element name="FinancialServicesIndustryMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_FinancialServicesIndustryMember" substitutionGroup="xbrli:item" />
  <element name="ForwardLoanSalesCommitmentsMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_ForwardLoanSalesCommitmentsMember" substitutionGroup="xbrli:item" />
  <element name="EquitySecuritiesFixedIncomeMutualFundsMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_EquitySecuritiesFixedIncomeMutualFundsMember" substitutionGroup="xbrli:item" />
  <element name="NonAgencySecuritiesMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_NonAgencySecuritiesMember" substitutionGroup="xbrli:item" />
  <element name="DerivativesMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_DerivativesMember" substitutionGroup="xbrli:item" />
  <element name="SalesPriceOfLoansHeldForSaleIncreasePercentage" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_SalesPriceOfLoansHeldForSaleIncreasePercentage" substitutionGroup="xbrli:item" />
  <element name="FairValueAssetsLevelOneToLevelThreeTransfersAmount" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_FairValueAssetsLevelOneToLevelThreeTransfersAmount" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="FairValueAssetsLevelThreeToLevelOneTransfersAmount" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_FairValueAssetsLevelThreeToLevelOneTransfersAmount" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="FairValueAssetsLevelTwoToLevelThreeTransfersAmount" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_FairValueAssetsLevelTwoToLevelThreeTransfersAmount" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="FairValueAssetsLevelThreeToLevelTwoTransfersAmount" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_FairValueAssetsLevelThreeToLevelTwoTransfersAmount" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="FairValueLiabilitiesLevelOneToLevelThreeTransfersAmount" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_FairValueLiabilitiesLevelOneToLevelThreeTransfersAmount" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="FairValueLiabilitiesLevelThreeToLevelOneTransfersAmount" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_FairValueLiabilitiesLevelThreeToLevelOneTransfersAmount" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="FairValueLiabilitiesLevelTwoToLevelThreeTransfersAmount" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_FairValueLiabilitiesLevelTwoToLevelThreeTransfersAmount" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="FairValueLiabilitiesLevelThreeToLevelTwoTransfersAmount" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_FairValueLiabilitiesLevelThreeToLevelTwoTransfersAmount" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="FinancingLiabilitiesPeriodPastDueAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_FinancingLiabilitiesPeriodPastDueAxis" substitutionGroup="xbrldt:dimensionItem" />
  <element name="FinancingLiabilitiesPeriodPastDueDomain" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_FinancingLiabilitiesPeriodPastDueDomain" substitutionGroup="xbrli:item" />
  <element name="MaximumVestingAmountOfAwards" type="xbrli:stringItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_MaximumVestingAmountOfAwards" substitutionGroup="xbrli:item" />
  <element name="ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesAvailableGrantsInPeriod" type="xbrli:sharesItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesAvailableGrantsInPeriod" substitutionGroup="xbrli:item" />
  <element name="TwoThousandAndTwentyFiveEquityIncentivePlanMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_TwoThousandAndTwentyFiveEquityIncentivePlanMember" substitutionGroup="xbrli:item" />
  <element name="EquityIncentivePlanMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_EquityIncentivePlanMember" substitutionGroup="xbrli:item" />
  <element name="DisclosureStockBasedCompensationStockOptionPlanAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_DisclosureStockBasedCompensationStockOptionPlanAbstract" substitutionGroup="xbrli:item" />
  <element name="ShareBasedCompensationRestrictedStockActivityAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_ShareBasedCompensationRestrictedStockActivityAbstract" substitutionGroup="xbrli:item" />
  <element name="PriorToAgeFortyMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_PriorToAgeFortyMember" substitutionGroup="xbrli:item" />
  <element name="AgesFiftyFiveToSixtyFourMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_AgesFiftyFiveToSixtyFourMember" substitutionGroup="xbrli:item" />
  <element name="AgesFiftyToFiftyFourMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_AgesFiftyToFiftyFourMember" substitutionGroup="xbrli:item" />
  <element name="AgesfourtytofortynineMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_AgesfourtytofortynineMember" substitutionGroup="xbrli:item" />
  <element name="WeightedAverageAssumptionsDiscountRate" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_WeightedAverageAssumptionsDiscountRate" substitutionGroup="xbrli:item" />
  <element name="IncomeTaxesTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_IncomeTaxesTable" substitutionGroup="xbrldt:hypercubeItem" />
  <element name="IncomeTaxesLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_IncomeTaxesLineItems" substitutionGroup="xbrli:item" />
  <element name="DistributedEarningsAllocatedToCommonStock" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_DistributedEarningsAllocatedToCommonStock" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="UndistributedEarningsAllocatedToCommonStockholders" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_UndistributedEarningsAllocatedToCommonStockholders" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="EmployeeStockOptionAndRestrictedStockUnitsMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_EmployeeStockOptionAndRestrictedStockUnitsMember" substitutionGroup="xbrli:item" />
  <element name="AntidilutiveStockOptionsAndRestrictedStockOutstandingShares" type="xbrli:sharesItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_AntidilutiveStockOptionsAndRestrictedStockOutstandingShares" substitutionGroup="xbrli:item" />
  <element name="NumberOfStatutoryBusinessTrusts" type="xbrli:integerItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_NumberOfStatutoryBusinessTrusts" substitutionGroup="xbrli:item" />
  <element name="UnitedStatutoryTrustIiiMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_UnitedStatutoryTrustIiiMember" substitutionGroup="xbrli:item" />
  <element name="UnitedStatutoryTrustIvMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_UnitedStatutoryTrustIvMember" substitutionGroup="xbrli:item" />
  <element name="UnitedStatutoryTrustVMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_UnitedStatutoryTrustVMember" substitutionGroup="xbrli:item" />
  <element name="UnitedStatutoryTrustViMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_UnitedStatutoryTrustViMember" substitutionGroup="xbrli:item" />
  <element name="PremierStatutoryTrustIiMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_PremierStatutoryTrustIiMember" substitutionGroup="xbrli:item" />
  <element name="PremierStatutoryTrustIiiMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_PremierStatutoryTrustIiiMember" substitutionGroup="xbrli:item" />
  <element name="PremierStatutoryTrustIvMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_PremierStatutoryTrustIvMember" substitutionGroup="xbrli:item" />
  <element name="PremierStatutoryTrustVMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_PremierStatutoryTrustVMember" substitutionGroup="xbrli:item" />
  <element name="CentraStatutoryTrustIMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_CentraStatutoryTrustIMember" substitutionGroup="xbrli:item" />
  <element name="CentraStatutoryTrustIiMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_CentraStatutoryTrustIiMember" substitutionGroup="xbrli:item" />
  <element name="VCBICapitalTrustIIMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_VCBICapitalTrustIIMember" substitutionGroup="xbrli:item" />
  <element name="VCBICapitalTrustIIIMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_VCBICapitalTrustIIIMember" substitutionGroup="xbrli:item" />
  <element name="CardinalStatutoryTrustIMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_CardinalStatutoryTrustIMember" substitutionGroup="xbrli:item" />
  <element name="UFBCCapitalTrustIMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_UFBCCapitalTrustIMember" substitutionGroup="xbrli:item" />
  <element name="BOEStatutoryTrustIMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_BOEStatutoryTrustIMember" substitutionGroup="xbrli:item" />
  <element name="FirstSouthPreferredTrustIMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_FirstSouthPreferredTrustIMember" substitutionGroup="xbrli:item" />
  <element name="GreerCapitalTrustIiMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_GreerCapitalTrustIiMember" substitutionGroup="xbrli:item" />
  <element name="GreerCapitalTrustIMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_GreerCapitalTrustIMember" substitutionGroup="xbrli:item" />
  <element name="CarolinaFinancialCapitalTrustIiMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_CarolinaFinancialCapitalTrustIiMember" substitutionGroup="xbrli:item" />
  <element name="CarolinaFinancialCapitalTrustIMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_CarolinaFinancialCapitalTrustIMember" substitutionGroup="xbrli:item" />
  <element name="SingleReportableSegmentMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_SingleReportableSegmentMember" substitutionGroup="xbrli:item" />
  <element name="AdjustmentsAndReconcilingItemsOfProfitOrLoss" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_AdjustmentsAndReconcilingItemsOfProfitOrLoss" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="InsiderTradingArrangementsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_InsiderTradingArrangementsAbstract" substitutionGroup="xbrli:item" />
</schema>
