<?xml version="1.0" encoding="utf-8"?>
<!--Generated by DFIN XBRL Instance Document - http://www.dfinsolutions.com/ - Version R3.0 - on 09-June-2026 [07:49:33] {AM}-->
<schema targetNamespace="http://www.ubsi-inc.com/20251231" elementFormDefault="qualified" xmlns:ubsi="http://www.ubsi-inc.com/20251231" 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/2025" xmlns:country="http://xbrl.sec.gov/country/2025" xmlns:currency="http://xbrl.sec.gov/currency/2025" xmlns:dei="http://xbrl.sec.gov/dei/2025" xmlns:exch="http://xbrl.sec.gov/exch/2025" xmlns:naics="http://xbrl.sec.gov/naics/2025" xmlns:sic="http://xbrl.sec.gov/sic/2025" xmlns:us-types="http://fasb.org/us-types/2025" xmlns:stpr="http://xbrl.sec.gov/stpr/2025" xmlns:deprecated="http://www.xbrl.org/2009/arcrole/fact-explanatoryFact" xmlns:srt="http://fasb.org/srt/2025" xmlns:srt-types="http://fasb.org/srt-types/2025" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2024-01-31" xmlns:us-gaap-ebp="http://fasb.org/us-gaap-ebp/2025">
  <annotation>
    <appinfo>
      <link:roleType roleURI="http://www.ubsi-inc.com/role/Cover" id="Cover">
        <link:definition>1001 - Document - Cover</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/StatementsOfNetAssetsAvailableForBenefitsModifiedCashBasis" id="StatementsOfNetAssetsAvailableForBenefitsModifiedCashBasis">
        <link:definition>1002 - Statement - Statements of Net Assets Available for Benefits&amp;#8212;Modified Cash Basis</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/StatementOfChangesInNetAssetsAvailableForBenefitsModifiedCashBasis" id="StatementOfChangesInNetAssetsAvailableForBenefitsModifiedCashBasis">
        <link:definition>1003 - Statement - Statement of Changes in Net Assets Available for Benefits&amp;#8212;Modified Cash Basis</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/SignificantAccountingPolicies" id="SignificantAccountingPolicies">
        <link:definition>1004 - Disclosure - 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/DescriptionOfThePlan" id="DescriptionOfThePlan">
        <link:definition>1005 - Disclosure - Description of the Plan</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/Investments" id="Investments">
        <link:definition>1006 - Disclosure - Investments</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>1007 - 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/ReconciliationOfFinancialStatementsToForm5500" id="ReconciliationOfFinancialStatementsToForm5500">
        <link:definition>1008 - Disclosure - Reconciliation of Financial Statements to Form 5500</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/RisksAndUncertainties" id="RisksAndUncertainties">
        <link:definition>1009 - Disclosure - Risks and Uncertainties</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/IncomeTaxStatus" id="IncomeTaxStatus">
        <link:definition>1010 - Disclosure - Income Tax Status</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/TransactionsWithPartiesInInterest" id="TransactionsWithPartiesInInterest">
        <link:definition>1011 - Disclosure - Transactions With Parties-in-Interest</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/CommitmentsAndContingencies" id="CommitmentsAndContingencies">
        <link:definition>1012 - Disclosure - Commitments and Contingencies</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/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasis" id="ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasis">
        <link:definition>1013 - Disclosure - Schedule H, Line 4i &amp;#8211; Schedule of Assets (Held at  End of Year)&amp;#8212;Modified Cash Basis</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/SignificantAccountingPoliciesPolicies" id="SignificantAccountingPoliciesPolicies">
        <link:definition>1014 - Disclosure - 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/FairValueMeasurementsTables" id="FairValueMeasurementsTables">
        <link:definition>1015 - 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/ReconciliationOfFinancialStatementsToForm5500Tables" id="ReconciliationOfFinancialStatementsToForm5500Tables">
        <link:definition>1016 - Disclosure - Reconciliation of Financial Statements to Form 5500 (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/SignificantAccountingPoliciesAdditionalInformationDetails" id="SignificantAccountingPoliciesAdditionalInformationDetails">
        <link:definition>1017 - Disclosure - Significant Accounting Policies - Additional Information (Details)</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/DescriptionOfThePlanAdditionalInformationDetails" id="DescriptionOfThePlanAdditionalInformationDetails">
        <link:definition>1018 - Schedule - Description of the Plan - Additional Information (Details)</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/FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueDetails" id="FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueDetails">
        <link:definition>1019 - Schedule - Fair Value Measurements - Summary of financial assets measured at fair value (Details)</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/ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfNetAssetsDetails" id="ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfNetAssetsDetails">
        <link:definition>1020 - Disclosure - Reconciliation of Financial Statements to Form 5500 - Summary of reconciliation of net assets (Details)</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/ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfTheDecreaseInNetAssetsDetails" id="ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfTheDecreaseInNetAssetsDetails">
        <link:definition>1021 - Disclosure - Reconciliation of Financial Statements to Form 5500 - Summary of reconciliation of the decrease in net assets (Details)</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/TransactionsWithPartiesInInterestAdditionalInformationDetail" id="TransactionsWithPartiesInInterestAdditionalInformationDetail">
        <link:definition>1022 - Disclosure - Transactions With Parties-in-Interest - 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/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail" id="ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail">
        <link:definition>1023 - Disclosure - Schedule H, Line 4i &amp;#8211; Schedule of Assets (Held at  End of Year)&amp;#8212;Modified Cash 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/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetailAlternate" id="ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetailAlternate">
        <link:definition>1024 - Disclosure - Schedule H, Line 4i &amp;#8211; Schedule of Assets (Held at  End of Year)&amp;#8212;Modified Cash Basis (Detail) Alternate</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-20251231.xsd#Cover" roleURI="http://www.ubsi-inc.com/role/Cover"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20251231.xsd#StatementsOfNetAssetsAvailableForBenefitsModifiedCashBasis" roleURI="http://www.ubsi-inc.com/role/StatementsOfNetAssetsAvailableForBenefitsModifiedCashBasis"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20251231.xsd#StatementOfChangesInNetAssetsAvailableForBenefitsModifiedCashBasis" roleURI="http://www.ubsi-inc.com/role/StatementOfChangesInNetAssetsAvailableForBenefitsModifiedCashBasis"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20251231.xsd#SignificantAccountingPolicies" roleURI="http://www.ubsi-inc.com/role/SignificantAccountingPolicies"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20251231.xsd#DescriptionOfThePlan" roleURI="http://www.ubsi-inc.com/role/DescriptionOfThePlan"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20251231.xsd#Investments" roleURI="http://www.ubsi-inc.com/role/Investments"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20251231.xsd#FairValueMeasurements" roleURI="http://www.ubsi-inc.com/role/FairValueMeasurements"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20251231.xsd#ReconciliationOfFinancialStatementsToForm5500" roleURI="http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20251231.xsd#RisksAndUncertainties" roleURI="http://www.ubsi-inc.com/role/RisksAndUncertainties"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20251231.xsd#IncomeTaxStatus" roleURI="http://www.ubsi-inc.com/role/IncomeTaxStatus"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20251231.xsd#TransactionsWithPartiesInInterest" roleURI="http://www.ubsi-inc.com/role/TransactionsWithPartiesInInterest"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20251231.xsd#CommitmentsAndContingencies" roleURI="http://www.ubsi-inc.com/role/CommitmentsAndContingencies"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20251231.xsd#ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasis" roleURI="http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasis"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20251231.xsd#SignificantAccountingPoliciesPolicies" roleURI="http://www.ubsi-inc.com/role/SignificantAccountingPoliciesPolicies"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20251231.xsd#FairValueMeasurementsTables" roleURI="http://www.ubsi-inc.com/role/FairValueMeasurementsTables"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20251231.xsd#ReconciliationOfFinancialStatementsToForm5500Tables" roleURI="http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500Tables"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20251231.xsd#SignificantAccountingPoliciesAdditionalInformationDetails" roleURI="http://www.ubsi-inc.com/role/SignificantAccountingPoliciesAdditionalInformationDetails"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20251231.xsd#DescriptionOfThePlanAdditionalInformationDetails" roleURI="http://www.ubsi-inc.com/role/DescriptionOfThePlanAdditionalInformationDetails"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20251231.xsd#FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueDetails" roleURI="http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueDetails"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20251231.xsd#ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfNetAssetsDetails" roleURI="http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfNetAssetsDetails"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20251231.xsd#ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfTheDecreaseInNetAssetsDetails" roleURI="http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfTheDecreaseInNetAssetsDetails"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20251231.xsd#TransactionsWithPartiesInInterestAdditionalInformationDetail" roleURI="http://www.ubsi-inc.com/role/TransactionsWithPartiesInInterestAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20251231.xsd#ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail" roleURI="http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="ubsi-20251231.xsd#ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetailAlternate" roleURI="http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetailAlternate"  />
        <link:roleRef xlink:type="simple" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-roles-2025.xsd#eedm" roleURI="http://fasb.org/us-gaap/role/eedm/ExtensibleEnumerationLists"  />
        <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:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/Cover" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_CoverAbstract" xlink:label="loc_dei_CoverAbstract_2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentType" xlink:label="loc_dei_DocumentType_3" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_2" xlink:to="loc_dei_DocumentType_3" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AmendmentFlag" xlink:label="loc_dei_AmendmentFlag_4" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_2" xlink:to="loc_dei_AmendmentFlag_4" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentPeriodEndDate" xlink:label="loc_dei_DocumentPeriodEndDate_5" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_2" xlink:to="loc_dei_DocumentPeriodEndDate_5" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentFiscalYearFocus" xlink:label="loc_dei_DocumentFiscalYearFocus_6" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_2" xlink:to="loc_dei_DocumentFiscalYearFocus_6" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentFiscalPeriodFocus" xlink:label="loc_dei_DocumentFiscalPeriodFocus_7" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_2" xlink:to="loc_dei_DocumentFiscalPeriodFocus_7" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityRegistrantName" xlink:label="loc_dei_EntityRegistrantName_8" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_2" xlink:to="loc_dei_EntityRegistrantName_8" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityCentralIndexKey" xlink:label="loc_dei_EntityCentralIndexKey_9" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_2" xlink:to="loc_dei_EntityCentralIndexKey_9" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_CurrentFiscalYearEndDate" xlink:label="loc_dei_CurrentFiscalYearEndDate_10" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_2" xlink:to="loc_dei_CurrentFiscalYearEndDate_10" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/StatementsOfNetAssetsAvailableForBenefitsModifiedCashBasis" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitAbstract_12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable_13" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitAbstract_12" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable_13" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_66" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable_13" xlink:to="loc_dei_LegalEntityAxis_66" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_67" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_66" xlink:to="loc_dei_EntityDomain_67" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_68" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_67" xlink:to="loc_ubsi_EBP003Member_68" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems_14" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable_13" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems_14" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAssetAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAssetAbstract_15" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems_14" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAssetAbstract_15" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue_16" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAssetAbstract_15" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue_16" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipant" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipant_17" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAssetAbstract_15" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipant_17" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit_18" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAssetAbstract_15" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit_18" 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/StatementOfChangesInNetAssetsAvailableForBenefitsModifiedCashBasis" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitAbstract_20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable_21" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitAbstract_20" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable_21" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_69" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable_21" xlink:to="loc_dei_LegalEntityAxis_69" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_70" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_69" xlink:to="loc_dei_EntityDomain_70" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_71" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_70" xlink:to="loc_ubsi_EBP003Member_71" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems_22" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable_21" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems_22" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestmentAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestmentAbstract_23" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems_22" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestmentAbstract_23" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment_24" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestmentAbstract_23" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment_24" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment_25" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestmentAbstract_23" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment_25" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment_26" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestmentAbstract_23" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment_26" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract_28" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems_22" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract_28" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRollover" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRollover_30" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract_28" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRollover_30" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForEmployerContribution" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForEmployerContribution_31" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract_28" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForEmployerContribution_31" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionRollover" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionRollover_32" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract_28" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionRollover_32" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution_33" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract_28" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution_33" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease_35" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract_28" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease_35" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract_36" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems_22" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract_36" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant_37" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract_36" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant_37" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForAdministrativeExpense" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForAdministrativeExpense_38" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract_36" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForAdministrativeExpense_38" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease_39" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract_36" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease_39" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease_40" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract_36" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease_40" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit_42" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems_22" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit_42" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit_44" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems_22" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit_44" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/SignificantAccountingPolicies" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyAbstract_29" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable_80" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyAbstract_29" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable_80" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_81" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable_80" xlink:to="loc_dei_LegalEntityAxis_81" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_82" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_81" xlink:to="loc_dei_EntityDomain_82" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_83" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_82" xlink:to="loc_ubsi_EBP003Member_83" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_282" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable_80" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_282" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock_34" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_282" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock_34" 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/DescriptionOfThePlan" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract_56" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable_152" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract_56" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable_152" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_153" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable_152" xlink:to="loc_dei_LegalEntityAxis_153" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_154" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_153" xlink:to="loc_dei_EntityDomain_154" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_155" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_154" xlink:to="loc_ubsi_EBP003Member_155" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_156" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable_152" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_156" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTextBlock_57" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_156" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTextBlock_57" 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/Investments" >
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanInvestmentAbstract" xlink:label="loc_ubsi_EmployeeBenefitPlanInvestmentAbstract_53" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanInvestmentTable" xlink:label="loc_ubsi_EmployeeBenefitPlanInvestmentTable_224" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_EmployeeBenefitPlanInvestmentAbstract_53" xlink:to="loc_ubsi_EmployeeBenefitPlanInvestmentTable_224" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_226" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_EmployeeBenefitPlanInvestmentTable_224" xlink:to="loc_dei_LegalEntityAxis_226" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_227" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_226" xlink:to="loc_dei_EntityDomain_227" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_228" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_227" xlink:to="loc_ubsi_EBP003Member_228" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanInvestmentLineItems" xlink:label="loc_ubsi_EmployeeBenefitPlanInvestmentLineItems_225" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_EmployeeBenefitPlanInvestmentTable_224" xlink:to="loc_ubsi_EmployeeBenefitPlanInvestmentLineItems_225" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanInvestmentTextBlock" xlink:label="loc_ubsi_EmployeeBenefitPlanInvestmentTextBlock_54" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_EmployeeBenefitPlanInvestmentLineItems_225" xlink:to="loc_ubsi_EmployeeBenefitPlanInvestmentTextBlock_54" 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/FairValueMeasurements" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavAbstract_59" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_60" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavAbstract_59" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_60" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_61" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_60" xlink:to="loc_dei_LegalEntityAxis_61" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_62" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_61" xlink:to="loc_dei_EntityDomain_62" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_63" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_62" xlink:to="loc_ubsi_EBP003Member_63" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_64" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_60" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_64" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock_65" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_64" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock_65" 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/ReconciliationOfFinancialStatementsToForm5500" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Abstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Abstract_89" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table_90" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Abstract_89" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table_90" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_93" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table_90" xlink:to="loc_dei_LegalEntityAxis_93" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_94" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_93" xlink:to="loc_dei_EntityDomain_94" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_115" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_94" xlink:to="loc_ubsi_EBP003Member_115" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_91" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table_90" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_91" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500TextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500TextBlock_116" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_91" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500TextBlock_116" 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/RisksAndUncertainties" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EbpRiskAndUncertaintyAbstract" xlink:label="loc_us-gaap-ebp_EbpRiskAndUncertaintyAbstract_194" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EbpRiskAndUncertaintyTable" xlink:label="loc_us-gaap-ebp_EbpRiskAndUncertaintyTable_195" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EbpRiskAndUncertaintyAbstract_194" xlink:to="loc_us-gaap-ebp_EbpRiskAndUncertaintyTable_195" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_199" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EbpRiskAndUncertaintyTable_195" xlink:to="loc_dei_LegalEntityAxis_199" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_200" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_199" xlink:to="loc_dei_EntityDomain_200" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_201" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_200" xlink:to="loc_ubsi_EBP003Member_201" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EbpRiskAndUncertaintyLineItems" xlink:label="loc_us-gaap-ebp_EbpRiskAndUncertaintyLineItems_197" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EbpRiskAndUncertaintyTable_195" xlink:to="loc_us-gaap-ebp_EbpRiskAndUncertaintyLineItems_197" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanRiskAndUncertaintyTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRiskAndUncertaintyTextBlock_206" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EbpRiskAndUncertaintyLineItems_197" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanRiskAndUncertaintyTextBlock_206" 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/IncomeTaxStatus" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanTaxStatusAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusAbstract_127" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanTaxStatusTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusTable_140" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusAbstract_127" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusTable_140" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_142" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusTable_140" xlink:to="loc_dei_LegalEntityAxis_142" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_143" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_142" xlink:to="loc_dei_EntityDomain_143" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_147" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_143" xlink:to="loc_ubsi_EBP003Member_147" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanTaxStatusLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusLineItems_149" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusTable_140" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusLineItems_149" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanTaxStatusTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusTextBlock_151" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusLineItems_149" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusTextBlock_151" 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/TransactionsWithPartiesInInterest" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsAbstract_159" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable_160" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsAbstract_159" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable_160" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_161" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable_160" xlink:to="loc_dei_LegalEntityAxis_161" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_162" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_161" xlink:to="loc_dei_EntityDomain_162" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_164" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_162" xlink:to="loc_ubsi_EBP003Member_164" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_165" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable_160" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_165" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock_167" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_165" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock_167" 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/CommitmentsAndContingencies" >
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesAbstract" xlink:label="loc_ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesAbstract_134" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EbpContingencyTable" xlink:label="loc_us-gaap-ebp_EbpContingencyTable_173" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesAbstract_134" xlink:to="loc_us-gaap-ebp_EbpContingencyTable_173" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_174" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EbpContingencyTable_173" xlink:to="loc_dei_LegalEntityAxis_174" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_176" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_174" xlink:to="loc_dei_EntityDomain_176" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_183" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_176" xlink:to="loc_ubsi_EBP003Member_183" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesLineItems" xlink:label="loc_ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesLineItems_188" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EbpContingencyTable_173" xlink:to="loc_ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesLineItems_188" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesTextBlock" xlink:label="loc_ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesTextBlock_139" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesLineItems_188" xlink:to="loc_ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesTextBlock_139" 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/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasis" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EbpContingencyAbstract" xlink:label="loc_us-gaap-ebp_EbpContingencyAbstract_203" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_214" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EbpContingencyAbstract_203" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_214" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_215" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_214" xlink:to="loc_dei_LegalEntityAxis_215" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_216" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_215" xlink:to="loc_dei_EntityDomain_216" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_222" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_216" xlink:to="loc_ubsi_EBP003Member_222" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_218" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_214" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_218" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock_221" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_218" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock_221" 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/SignificantAccountingPoliciesPolicies" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyAbstract_45" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable_84" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyAbstract_45" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable_84" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_85" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable_84" xlink:to="loc_dei_LegalEntityAxis_85" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_86" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_85" xlink:to="loc_dei_EntityDomain_86" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_87" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_86" xlink:to="loc_ubsi_EBP003Member_87" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_92" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable_84" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_92" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock_46" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_92" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock_46" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentPolicyTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentPolicyTextBlock_47" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_92" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentPolicyTextBlock_47" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantPolicyTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantPolicyTextBlock_48" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_92" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantPolicyTextBlock_48" 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/FairValueMeasurementsTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavAbstract_73" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_74" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavAbstract_73" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_74" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_75" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_74" xlink:to="loc_dei_LegalEntityAxis_75" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_76" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_75" xlink:to="loc_dei_EntityDomain_76" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_77" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_76" xlink:to="loc_ubsi_EBP003Member_77" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_78" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_74" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_78" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock_79" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_78" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock_79" 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/ReconciliationOfFinancialStatementsToForm5500Tables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Abstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Abstract_118" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table_119" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Abstract_118" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table_119" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_121" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table_119" xlink:to="loc_dei_LegalEntityAxis_121" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_122" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_121" xlink:to="loc_dei_EntityDomain_122" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_123" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_122" xlink:to="loc_ubsi_EBP003Member_123" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_120" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table_119" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_120" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500TableTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500TableTextBlock_124" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_120" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500TableTextBlock_124" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanReconciliationOfTheChangesInNetAssetsAsPerForm5500TextBlock" xlink:label="loc_ubsi_EmployeeBenefitPlanReconciliationOfTheChangesInNetAssetsAsPerForm5500TextBlock_125" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_120" xlink:to="loc_ubsi_EmployeeBenefitPlanReconciliationOfTheChangesInNetAssetsAsPerForm5500TextBlock_125" 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/SignificantAccountingPoliciesAdditionalInformationDetails" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyAbstract_50" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable_136" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyAbstract_50" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable_136" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_145" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable_136" xlink:to="loc_dei_LegalEntityAxis_145" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_146" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_145" xlink:to="loc_dei_EntityDomain_146" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_148" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_146" xlink:to="loc_ubsi_EBP003Member_148" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_229" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable_136" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_229" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_AcquisitionOfSubsidiaryDescription" xlink:label="loc_ubsi_AcquisitionOfSubsidiaryDescription_335" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_229" xlink:to="loc_ubsi_AcquisitionOfSubsidiaryDescription_335" 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/DescriptionOfThePlanAdditionalInformationDetails" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract_177" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable_178" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract_177" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable_178" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_179" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable_178" xlink:to="loc_dei_LegalEntityAxis_179" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_180" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_179" xlink:to="loc_dei_EntityDomain_180" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_181" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_180" xlink:to="loc_ubsi_EBP003Member_181" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_184" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable_178" xlink:to="loc_srt_RangeAxis_184" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_185" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeAxis_184" xlink:to="loc_srt_RangeMember_185" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_186" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_185" xlink:to="loc_srt_MaximumMember_186" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_187" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_185" xlink:to="loc_srt_MinimumMember_187" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_189" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable_178" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_189" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanParticipantCatchUpContributionYearAge" xlink:label="loc_ubsi_EmployeeBenefitPlanParticipantCatchUpContributionYearAge_330" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_189" xlink:to="loc_ubsi_EmployeeBenefitPlanParticipantCatchUpContributionYearAge_330" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanMandatoryCashOutLimit" xlink:label="loc_ubsi_EmployeeBenefitPlanMandatoryCashOutLimit_191" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_189" xlink:to="loc_ubsi_EmployeeBenefitPlanMandatoryCashOutLimit_191" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage_255" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_189" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage_255" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage_258" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_189" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage_258" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantContributionAutomaticDeferralRate" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantContributionAutomaticDeferralRate_260" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_189" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantContributionAutomaticDeferralRate_260" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_PercentIncrementForInvestmentElections" xlink:label="loc_ubsi_PercentIncrementForInvestmentElections_331" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_189" xlink:to="loc_ubsi_PercentIncrementForInvestmentElections_331" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_AnnualIncreaseInGeneralAdvisoryServicesFee" xlink:label="loc_ubsi_AnnualIncreaseInGeneralAdvisoryServicesFee_332" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_189" xlink:to="loc_ubsi_AnnualIncreaseInGeneralAdvisoryServicesFee_332" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanParticipantAdvisoryServicesFee" xlink:label="loc_ubsi_EmployeeBenefitPlanParticipantAdvisoryServicesFee_270" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_189" xlink:to="loc_ubsi_EmployeeBenefitPlanParticipantAdvisoryServicesFee_270" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanParticipantAnnualTrustFee" xlink:label="loc_ubsi_EmployeeBenefitPlanParticipantAnnualTrustFee_274" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_189" xlink:to="loc_ubsi_EmployeeBenefitPlanParticipantAnnualTrustFee_274" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanParticipantRecordKeepingFee" xlink:label="loc_ubsi_EmployeeBenefitPlanParticipantRecordKeepingFee_275" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_189" xlink:to="loc_ubsi_EmployeeBenefitPlanParticipantRecordKeepingFee_275" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanParticipantLoanOriginationFee" xlink:label="loc_ubsi_EmployeeBenefitPlanParticipantLoanOriginationFee_277" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_189" xlink:to="loc_ubsi_EmployeeBenefitPlanParticipantLoanOriginationFee_277" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanParticipantLoanMaintenanceFee" xlink:label="loc_ubsi_EmployeeBenefitPlanParticipantLoanMaintenanceFee_276" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_189" xlink:to="loc_ubsi_EmployeeBenefitPlanParticipantLoanMaintenanceFee_276" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/label" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueDetails" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavAbstract_97" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_98" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavAbstract_97" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_98" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_99" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_98" xlink:to="loc_dei_LegalEntityAxis_99" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_100" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_99" xlink:to="loc_dei_EntityDomain_100" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_101" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_100" xlink:to="loc_ubsi_EBP003Member_101" 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/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_103" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_98" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_103" 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/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_104" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_103" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_104" 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/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_105" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_104" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_105" 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/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_106" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_104" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_106" 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/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_107" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_104" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_107" 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/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_108" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_98" xlink:to="loc_us-gaap_InvestmentTypeAxis_108" 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/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_109" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentTypeAxis_108" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_109" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_CompanyStockMember" xlink:label="loc_ubsi_CompanyStockMember_110" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_109" xlink:to="loc_ubsi_CompanyStockMember_110" 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/2025/elts/us-gaap-2025.xsd#us-gaap_MutualFundMember" xlink:label="loc_us-gaap_MutualFundMember_111" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_109" xlink:to="loc_us-gaap_MutualFundMember_111" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_InvestmentAtNavMember" xlink:label="loc_ubsi_InvestmentAtNavMember_112" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_109" xlink:to="loc_ubsi_InvestmentAtNavMember_112" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_102" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_98" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_102" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue_113" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_102" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue_113" 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/ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfNetAssetsDetails" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Abstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Abstract_131" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table_132" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Abstract_131" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table_132" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_135" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table_132" xlink:to="loc_dei_LegalEntityAxis_135" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_137" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_135" xlink:to="loc_dei_EntityDomain_137" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_138" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_137" xlink:to="loc_ubsi_EBP003Member_138" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_133" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table_132" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_133" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit_141" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_133" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit_141" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionParticipantLoan" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionParticipantLoan_334" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_133" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionParticipantLoan_334" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetAssetAvailableForBenefit" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetAssetAvailableForBenefit_150" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_133" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetAssetAvailableForBenefit_150" 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/ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfTheDecreaseInNetAssetsDetails" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Abstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Abstract_160" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table_163" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Abstract_160" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table_163" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_168" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table_163" xlink:to="loc_dei_LegalEntityAxis_168" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_169" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_168" xlink:to="loc_dei_EntityDomain_169" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_170" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_169" xlink:to="loc_ubsi_EBP003Member_170" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_166" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table_163" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_166" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease_172" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_166" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease_172" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500ChangeInNetAssetAvailableForBenefitIncreaseDecreaseForDeemedDistribution" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500ChangeInNetAssetAvailableForBenefitIncreaseDecreaseForDeemedDistribution_175" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_166" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500ChangeInNetAssetAvailableForBenefitIncreaseDecreaseForDeemedDistribution_175" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetIncomeLoss" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetIncomeLoss_182" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_166" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetIncomeLoss_182" 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/TransactionsWithPartiesInInterestAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsAbstract_196" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable_198" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsAbstract_196" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable_198" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_202" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable_198" xlink:to="loc_dei_LegalEntityAxis_202" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_204" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_202" xlink:to="loc_dei_EntityDomain_204" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_205" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_204" xlink:to="loc_ubsi_EBP003Member_205" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestAxis" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestAxis_211" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable_198" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestAxis_211" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestDomain" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestDomain_212" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestAxis_211" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestDomain_212" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanOtherRelatedPartyAndPartyInInterestMember" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanOtherRelatedPartyAndPartyInInterestMember_213" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestDomain_212" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanOtherRelatedPartyAndPartyInInterestMember_213" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_217" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable_198" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_217" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForDividendIncomeOnInvestment" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForDividendIncomeOnInvestment_219" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_217" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForDividendIncomeOnInvestment_219" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfShares" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfShares_220" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_217" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfShares_220" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanInvestmentFairValuePerShare" xlink:label="loc_ubsi_EmployeeBenefitPlanInvestmentFairValuePerShare_223" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_217" xlink:to="loc_ubsi_EmployeeBenefitPlanInvestmentFairValuePerShare_223" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage_231" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_217" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage_231" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantContributionAutomaticDeferralRate" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantContributionAutomaticDeferralRate_232" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_217" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantContributionAutomaticDeferralRate_232" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/label" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentAbstract_234" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_235" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentAbstract_234" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_235" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_236" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_235" xlink:to="loc_dei_LegalEntityAxis_236" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_237" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_236" xlink:to="loc_dei_EntityDomain_237" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_238" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_237" xlink:to="loc_ubsi_EBP003Member_238" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_323" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_235" xlink:to="loc_srt_RangeAxis_323" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_324" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeAxis_323" xlink:to="loc_srt_RangeMember_324" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_326" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_324" xlink:to="loc_srt_MinimumMember_326" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_325" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_324" xlink:to="loc_srt_MaximumMember_325" 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/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIdentifierAxis" xlink:label="loc_us-gaap_InvestmentIdentifierAxis_239" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_235" xlink:to="loc_us-gaap_InvestmentIdentifierAxis_239" 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/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIssuerNameAxis" xlink:label="loc_us-gaap_InvestmentIssuerNameAxis_278" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_235" xlink:to="loc_us-gaap_InvestmentIssuerNameAxis_278" 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/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIssuerNameDomain" xlink:label="loc_us-gaap_InvestmentIssuerNameDomain_279" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentIssuerNameAxis_278" xlink:to="loc_us-gaap_InvestmentIssuerNameDomain_279" 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/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_273" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_235" xlink:to="loc_us-gaap_InvestmentTypeAxis_273" 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/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_317" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentTypeAxis_273" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_317" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusAxis" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusAxis_320" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_235" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusAxis_320" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusDomain" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusDomain_321" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusAxis_320" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusDomain_321" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_235" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityTaxIdentificationNumber" xlink:label="loc_dei_EntityTaxIdentificationNumber_308" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_dei_EntityTaxIdentificationNumber_308" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanPlanNumber" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanPlanNumber_309" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanPlanNumber_309" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentIssuerNameExtensibleEnumeration" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentIssuerNameExtensibleEnumeration_310" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentIssuerNameExtensibleEnumeration_310" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustParticipationStatusExtensibleEnumeration" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustParticipationStatusExtensibleEnumeration_312" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustParticipationStatusExtensibleEnumeration_312" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfShares" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfShares_313" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfShares_313" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentTypeExtensibleEnumeration" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentTypeExtensibleEnumeration_311" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentTypeExtensibleEnumeration_311" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentPlanInterestInMasterTrustCurrentValue" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentPlanInterestInMasterTrustCurrentValue_316" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentPlanInterestInMasterTrustCurrentValue_316" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantLoanInterestRate" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantLoanInterestRate_314" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantLoanInterestRate_314" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipant" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipant_315" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipant_315" 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestment" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestment_328" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestment_328" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/label" />
        </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/StatementsOfNetAssetsAvailableForBenefitsModifiedCashBasis" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems_14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable_13" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems_14" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable_13" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_66" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable_13" xlink:to="loc_dei_LegalEntityAxis_66" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_67" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_66" xlink:to="loc_dei_EntityDomain_67" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_67_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_66" xlink:to="loc_dei_EntityDomain_67_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_68" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_67" xlink:to="loc_ubsi_EBP003Member_68" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAssetAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAssetAbstract_15" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems_14" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAssetAbstract_15" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue_16" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAssetAbstract_15" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue_16" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipant" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipant_17" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAssetAbstract_15" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipant_17" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit_18" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAssetAbstract_15" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit_18" use="optional" order="9" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/StatementOfChangesInNetAssetsAvailableForBenefitsModifiedCashBasis" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems_22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable_21" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems_22" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable_21" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_69" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable_21" xlink:to="loc_dei_LegalEntityAxis_69" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_70" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_69" xlink:to="loc_dei_EntityDomain_70" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_70_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_69" xlink:to="loc_dei_EntityDomain_70_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_71" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_70" xlink:to="loc_ubsi_EBP003Member_71" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestmentAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestmentAbstract_23" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems_22" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestmentAbstract_23" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment_24" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestmentAbstract_23" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment_24" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment_25" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestmentAbstract_23" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment_25" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment_26" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestmentAbstract_23" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment_26" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract_28" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems_22" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract_28" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRollover" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRollover_30" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract_28" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRollover_30" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForEmployerContribution" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForEmployerContribution_31" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract_28" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForEmployerContribution_31" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionRollover" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionRollover_32" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract_28" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionRollover_32" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution_33" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract_28" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution_33" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease_35" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract_28" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease_35" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract_36" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems_22" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract_36" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant_37" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract_36" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant_37" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForAdministrativeExpense" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForAdministrativeExpense_38" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract_36" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForAdministrativeExpense_38" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease_39" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract_36" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease_39" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease_40" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract_36" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease_40" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit_42" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems_22" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit_42" use="optional" order="21" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/SignificantAccountingPolicies" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_282" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable_80" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_282" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable_80" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_81" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable_80" xlink:to="loc_dei_LegalEntityAxis_81" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_82" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_81" xlink:to="loc_dei_EntityDomain_82" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_82_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_81" xlink:to="loc_dei_EntityDomain_82_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_83" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_82" xlink:to="loc_ubsi_EBP003Member_83" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock_34" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_282" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock_34" use="optional" order="6" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/DescriptionOfThePlan" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_156" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable_152" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_156" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable_152" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_153" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable_152" xlink:to="loc_dei_LegalEntityAxis_153" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_154" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_153" xlink:to="loc_dei_EntityDomain_154" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_154_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_153" xlink:to="loc_dei_EntityDomain_154_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_155" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_154" xlink:to="loc_ubsi_EBP003Member_155" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTextBlock_57" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_156" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTextBlock_57" use="optional" order="6" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/Investments" >
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanInvestmentLineItems" xlink:label="loc_ubsi_EmployeeBenefitPlanInvestmentLineItems_225" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanInvestmentTextBlock" xlink:label="loc_ubsi_EmployeeBenefitPlanInvestmentTextBlock_54" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_EmployeeBenefitPlanInvestmentLineItems_225" xlink:to="loc_ubsi_EmployeeBenefitPlanInvestmentTextBlock_54" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanInvestmentTable" xlink:label="loc_ubsi_EmployeeBenefitPlanInvestmentTable_224" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ubsi_EmployeeBenefitPlanInvestmentLineItems_225" xlink:to="loc_ubsi_EmployeeBenefitPlanInvestmentTable_224" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_226" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ubsi_EmployeeBenefitPlanInvestmentTable_224" xlink:to="loc_dei_LegalEntityAxis_226" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_227" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_226" xlink:to="loc_dei_EntityDomain_227" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_227_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_226" xlink:to="loc_dei_EntityDomain_227_default" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_228" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_227" xlink:to="loc_ubsi_EBP003Member_228" use="optional" order="6" />
        </link:definitionLink>
        <link:definitionLink 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_64" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_60" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_64" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_60" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_61" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_60" xlink:to="loc_dei_LegalEntityAxis_61" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_62" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_61" xlink:to="loc_dei_EntityDomain_62" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_62_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_61" xlink:to="loc_dei_EntityDomain_62_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_63" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_62" xlink:to="loc_ubsi_EBP003Member_63" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock_65" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_64" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock_65" use="optional" order="6" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_91" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table_90" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_91" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table_90" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_93" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table_90" xlink:to="loc_dei_LegalEntityAxis_93" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_94" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_93" xlink:to="loc_dei_EntityDomain_94" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_94_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_93" xlink:to="loc_dei_EntityDomain_94_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_115" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_94" xlink:to="loc_ubsi_EBP003Member_115" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500TextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500TextBlock_116" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_91" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500TextBlock_116" use="optional" order="6" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/RisksAndUncertainties" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EbpRiskAndUncertaintyLineItems" xlink:label="loc_us-gaap-ebp_EbpRiskAndUncertaintyLineItems_197" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EbpRiskAndUncertaintyTable" xlink:label="loc_us-gaap-ebp_EbpRiskAndUncertaintyTable_195" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EbpRiskAndUncertaintyLineItems_197" xlink:to="loc_us-gaap-ebp_EbpRiskAndUncertaintyTable_195" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_199" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EbpRiskAndUncertaintyTable_195" xlink:to="loc_dei_LegalEntityAxis_199" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_200" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_199" xlink:to="loc_dei_EntityDomain_200" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_200_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_199" xlink:to="loc_dei_EntityDomain_200_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_201" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_200" xlink:to="loc_ubsi_EBP003Member_201" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanRiskAndUncertaintyTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRiskAndUncertaintyTextBlock_206" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EbpRiskAndUncertaintyLineItems_197" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanRiskAndUncertaintyTextBlock_206" use="optional" order="6" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/IncomeTaxStatus" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanTaxStatusLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusLineItems_149" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanTaxStatusTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusTable_140" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusLineItems_149" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusTable_140" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_142" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusTable_140" xlink:to="loc_dei_LegalEntityAxis_142" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_143" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_142" xlink:to="loc_dei_EntityDomain_143" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_143_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_142" xlink:to="loc_dei_EntityDomain_143_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_147" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_143" xlink:to="loc_ubsi_EBP003Member_147" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanTaxStatusTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusTextBlock_151" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusLineItems_149" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusTextBlock_151" use="optional" order="6" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/TransactionsWithPartiesInInterest" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_165" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable_160" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_165" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable_160" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_161" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable_160" xlink:to="loc_dei_LegalEntityAxis_161" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_162" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_161" xlink:to="loc_dei_EntityDomain_162" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_162_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_161" xlink:to="loc_dei_EntityDomain_162_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_164" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_162" xlink:to="loc_ubsi_EBP003Member_164" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock_167" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_165" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock_167" use="optional" order="6" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/CommitmentsAndContingencies" >
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesLineItems" xlink:label="loc_ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesLineItems_188" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesTextBlock" xlink:label="loc_ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesTextBlock_139" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesLineItems_188" xlink:to="loc_ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesTextBlock_139" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EbpContingencyTable" xlink:label="loc_us-gaap-ebp_EbpContingencyTable_173" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesLineItems_188" xlink:to="loc_us-gaap-ebp_EbpContingencyTable_173" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_174" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EbpContingencyTable_173" xlink:to="loc_dei_LegalEntityAxis_174" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_176" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_174" xlink:to="loc_dei_EntityDomain_176" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_176_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_174" xlink:to="loc_dei_EntityDomain_176_default" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_183" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_176" xlink:to="loc_ubsi_EBP003Member_183" use="optional" order="6" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasis" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_218" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_214" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_218" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_214" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_215" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_214" xlink:to="loc_dei_LegalEntityAxis_215" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_216" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_215" xlink:to="loc_dei_EntityDomain_216" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_216_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_215" xlink:to="loc_dei_EntityDomain_216_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_222" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_216" xlink:to="loc_ubsi_EBP003Member_222" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock_221" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_218" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock_221" use="optional" order="6" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/SignificantAccountingPoliciesPolicies" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_92" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable_84" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_92" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable_84" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_85" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable_84" xlink:to="loc_dei_LegalEntityAxis_85" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_86" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_85" xlink:to="loc_dei_EntityDomain_86" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_86_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_85" xlink:to="loc_dei_EntityDomain_86_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_87" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_86" xlink:to="loc_ubsi_EBP003Member_87" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock_46" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_92" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock_46" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentPolicyTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentPolicyTextBlock_47" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_92" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentPolicyTextBlock_47" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantPolicyTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantPolicyTextBlock_48" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_92" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantPolicyTextBlock_48" use="optional" order="8" />
        </link:definitionLink>
        <link:definitionLink 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/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_78" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_74" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_78" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_74" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_75" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_74" xlink:to="loc_dei_LegalEntityAxis_75" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_76" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_75" xlink:to="loc_dei_EntityDomain_76" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_76_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_75" xlink:to="loc_dei_EntityDomain_76_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_77" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_76" xlink:to="loc_ubsi_EBP003Member_77" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock_79" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_78" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock_79" use="optional" order="6" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500Tables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_120" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table_119" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_120" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table_119" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_121" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table_119" xlink:to="loc_dei_LegalEntityAxis_121" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_122" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_121" xlink:to="loc_dei_EntityDomain_122" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_122_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_121" xlink:to="loc_dei_EntityDomain_122_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_123" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_122" xlink:to="loc_ubsi_EBP003Member_123" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500TableTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500TableTextBlock_124" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_120" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500TableTextBlock_124" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanReconciliationOfTheChangesInNetAssetsAsPerForm5500TextBlock" xlink:label="loc_ubsi_EmployeeBenefitPlanReconciliationOfTheChangesInNetAssetsAsPerForm5500TextBlock_125" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_120" xlink:to="loc_ubsi_EmployeeBenefitPlanReconciliationOfTheChangesInNetAssetsAsPerForm5500TextBlock_125" use="optional" order="7" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/SignificantAccountingPoliciesAdditionalInformationDetails" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_229" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable_136" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_229" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable_136" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_145" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable_136" xlink:to="loc_dei_LegalEntityAxis_145" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_146" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_145" xlink:to="loc_dei_EntityDomain_146" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_146_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_145" xlink:to="loc_dei_EntityDomain_146_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_148" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_146" xlink:to="loc_ubsi_EBP003Member_148" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_AcquisitionOfSubsidiaryDescription" xlink:label="loc_ubsi_AcquisitionOfSubsidiaryDescription_335" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_229" xlink:to="loc_ubsi_AcquisitionOfSubsidiaryDescription_335" use="optional" order="6" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/DescriptionOfThePlanAdditionalInformationDetails" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_189" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable_178" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_189" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable_178" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_179" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable_178" xlink:to="loc_dei_LegalEntityAxis_179" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_180" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_179" xlink:to="loc_dei_EntityDomain_180" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_180_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_179" xlink:to="loc_dei_EntityDomain_180_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_181" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_180" xlink:to="loc_ubsi_EBP003Member_181" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_184" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable_178" xlink:to="loc_srt_RangeAxis_184" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_185" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_184" xlink:to="loc_srt_RangeMember_185" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_185_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_184" xlink:to="loc_srt_RangeMember_185_default" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_186" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_185" xlink:to="loc_srt_MaximumMember_186" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_187" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_185" xlink:to="loc_srt_MinimumMember_187" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanParticipantCatchUpContributionYearAge" xlink:label="loc_ubsi_EmployeeBenefitPlanParticipantCatchUpContributionYearAge_330" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_189" xlink:to="loc_ubsi_EmployeeBenefitPlanParticipantCatchUpContributionYearAge_330" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanMandatoryCashOutLimit" xlink:label="loc_ubsi_EmployeeBenefitPlanMandatoryCashOutLimit_191" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_189" xlink:to="loc_ubsi_EmployeeBenefitPlanMandatoryCashOutLimit_191" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage_255" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_189" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage_255" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage_258" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_189" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage_258" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantContributionAutomaticDeferralRate" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantContributionAutomaticDeferralRate_260" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_189" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantContributionAutomaticDeferralRate_260" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_PercentIncrementForInvestmentElections" xlink:label="loc_ubsi_PercentIncrementForInvestmentElections_331" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_189" xlink:to="loc_ubsi_PercentIncrementForInvestmentElections_331" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_AnnualIncreaseInGeneralAdvisoryServicesFee" xlink:label="loc_ubsi_AnnualIncreaseInGeneralAdvisoryServicesFee_332" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_189" xlink:to="loc_ubsi_AnnualIncreaseInGeneralAdvisoryServicesFee_332" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanParticipantAdvisoryServicesFee" xlink:label="loc_ubsi_EmployeeBenefitPlanParticipantAdvisoryServicesFee_270" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_189" xlink:to="loc_ubsi_EmployeeBenefitPlanParticipantAdvisoryServicesFee_270" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanParticipantAnnualTrustFee" xlink:label="loc_ubsi_EmployeeBenefitPlanParticipantAnnualTrustFee_274" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_189" xlink:to="loc_ubsi_EmployeeBenefitPlanParticipantAnnualTrustFee_274" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanParticipantRecordKeepingFee" xlink:label="loc_ubsi_EmployeeBenefitPlanParticipantRecordKeepingFee_275" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_189" xlink:to="loc_ubsi_EmployeeBenefitPlanParticipantRecordKeepingFee_275" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanParticipantLoanOriginationFee" xlink:label="loc_ubsi_EmployeeBenefitPlanParticipantLoanOriginationFee_277" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_189" xlink:to="loc_ubsi_EmployeeBenefitPlanParticipantLoanOriginationFee_277" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanParticipantLoanMaintenanceFee" xlink:label="loc_ubsi_EmployeeBenefitPlanParticipantLoanMaintenanceFee_276" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_189" xlink:to="loc_ubsi_EmployeeBenefitPlanParticipantLoanMaintenanceFee_276" use="optional" order="22" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/FairValueMeasurementsSummaryOfFinancialAssetsMeasuredAtFairValueDetails" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_102" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_98" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_102" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_98" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_99" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_98" xlink:to="loc_dei_LegalEntityAxis_99" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_100" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_99" xlink:to="loc_dei_EntityDomain_100" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_100_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_99" xlink:to="loc_dei_EntityDomain_100_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_101" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_100" xlink:to="loc_ubsi_EBP003Member_101" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_103" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_98" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_103" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_104" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_103" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_104" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_104_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_103" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_104_default" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_105" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_104" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_105" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_106" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_104" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_106" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_107" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_104" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_107" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_108" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_98" xlink:to="loc_us-gaap_InvestmentTypeAxis_108" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_109" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_108" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_109" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_109_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_108" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_109_default" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_CompanyStockMember" xlink:label="loc_ubsi_CompanyStockMember_110" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_109" xlink:to="loc_ubsi_CompanyStockMember_110" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MutualFundMember" xlink:label="loc_us-gaap_MutualFundMember_111" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_109" xlink:to="loc_us-gaap_MutualFundMember_111" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_InvestmentAtNavMember" xlink:label="loc_ubsi_InvestmentAtNavMember_112" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_109" xlink:to="loc_ubsi_InvestmentAtNavMember_112" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue_113" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_102" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue_113" use="optional" order="18" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfNetAssetsDetails" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_133" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table_132" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_133" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table_132" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_135" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table_132" xlink:to="loc_dei_LegalEntityAxis_135" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_137" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_135" xlink:to="loc_dei_EntityDomain_137" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_137_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_135" xlink:to="loc_dei_EntityDomain_137_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_138" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_137" xlink:to="loc_ubsi_EBP003Member_138" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit_141" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_133" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit_141" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionParticipantLoan" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionParticipantLoan_334" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_133" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionParticipantLoan_334" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetAssetAvailableForBenefit" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetAssetAvailableForBenefit_150" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_133" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetAssetAvailableForBenefit_150" use="optional" order="8" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ReconciliationOfFinancialStatementsToForm5500SummaryOfReconciliationOfTheDecreaseInNetAssetsDetails" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_166" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table_163" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_166" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table_163" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_168" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table_163" xlink:to="loc_dei_LegalEntityAxis_168" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_169" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_168" xlink:to="loc_dei_EntityDomain_169" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_169_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_168" xlink:to="loc_dei_EntityDomain_169_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_170" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_169" xlink:to="loc_ubsi_EBP003Member_170" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease_172" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_166" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease_172" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500ChangeInNetAssetAvailableForBenefitIncreaseDecreaseForDeemedDistribution" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500ChangeInNetAssetAvailableForBenefitIncreaseDecreaseForDeemedDistribution_175" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_166" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500ChangeInNetAssetAvailableForBenefitIncreaseDecreaseForDeemedDistribution_175" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetIncomeLoss" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetIncomeLoss_182" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems_166" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetIncomeLoss_182" use="optional" order="8" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/TransactionsWithPartiesInInterestAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_217" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable_198" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_217" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable_198" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_202" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable_198" xlink:to="loc_dei_LegalEntityAxis_202" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_204" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_202" xlink:to="loc_dei_EntityDomain_204" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_204_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_202" xlink:to="loc_dei_EntityDomain_204_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_205" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_204" xlink:to="loc_ubsi_EBP003Member_205" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestAxis" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestAxis_211" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable_198" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestAxis_211" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestDomain" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestDomain_212" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestAxis_211" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestDomain_212" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestDomain" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestDomain_212_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestAxis_211" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestDomain_212_default" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanOtherRelatedPartyAndPartyInInterestMember" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanOtherRelatedPartyAndPartyInInterestMember_213" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestDomain_212" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanOtherRelatedPartyAndPartyInInterestMember_213" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForDividendIncomeOnInvestment" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForDividendIncomeOnInvestment_219" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_217" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForDividendIncomeOnInvestment_219" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfShares" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfShares_220" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_217" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfShares_220" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanInvestmentFairValuePerShare" xlink:label="loc_ubsi_EmployeeBenefitPlanInvestmentFairValuePerShare_223" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_217" xlink:to="loc_ubsi_EmployeeBenefitPlanInvestmentFairValuePerShare_223" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage_231" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_217" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage_231" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantContributionAutomaticDeferralRate" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantContributionAutomaticDeferralRate_232" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_217" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantContributionAutomaticDeferralRate_232" use="optional" order="14" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_235" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_235" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_236" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_235" xlink:to="loc_dei_LegalEntityAxis_236" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_237" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_236" xlink:to="loc_dei_EntityDomain_237" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_237_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_236" xlink:to="loc_dei_EntityDomain_237_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_238" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_237" xlink:to="loc_ubsi_EBP003Member_238" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_323" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_235" xlink:to="loc_srt_RangeAxis_323" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_324" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_323" xlink:to="loc_srt_RangeMember_324" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_324_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_323" xlink:to="loc_srt_RangeMember_324_default" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_326" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_324" xlink:to="loc_srt_MinimumMember_326" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_325" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_324" xlink:to="loc_srt_MaximumMember_325" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIdentifierAxis" xlink:label="loc_us-gaap_InvestmentIdentifierAxis_239" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_235" xlink:to="loc_us-gaap_InvestmentIdentifierAxis_239" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIssuerNameAxis" xlink:label="loc_us-gaap_InvestmentIssuerNameAxis_278" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_235" xlink:to="loc_us-gaap_InvestmentIssuerNameAxis_278" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIssuerNameDomain" xlink:label="loc_us-gaap_InvestmentIssuerNameDomain_279" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentIssuerNameAxis_278" xlink:to="loc_us-gaap_InvestmentIssuerNameDomain_279" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIssuerNameDomain" xlink:label="loc_us-gaap_InvestmentIssuerNameDomain_279_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentIssuerNameAxis_278" xlink:to="loc_us-gaap_InvestmentIssuerNameDomain_279_default" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_273" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_235" xlink:to="loc_us-gaap_InvestmentTypeAxis_273" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_317" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_273" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_317" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_317_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_273" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_317_default" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusAxis" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusAxis_320" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_235" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusAxis_320" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusDomain" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusDomain_321" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusAxis_320" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusDomain_321" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusDomain" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusDomain_321_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusAxis_320" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusDomain_321_default" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityTaxIdentificationNumber" xlink:label="loc_dei_EntityTaxIdentificationNumber_308" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_dei_EntityTaxIdentificationNumber_308" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanPlanNumber" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanPlanNumber_309" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanPlanNumber_309" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentIssuerNameExtensibleEnumeration" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentIssuerNameExtensibleEnumeration_310" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentIssuerNameExtensibleEnumeration_310" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustParticipationStatusExtensibleEnumeration" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustParticipationStatusExtensibleEnumeration_312" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustParticipationStatusExtensibleEnumeration_312" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfShares" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfShares_313" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfShares_313" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentTypeExtensibleEnumeration" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentTypeExtensibleEnumeration_311" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentTypeExtensibleEnumeration_311" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentPlanInterestInMasterTrustCurrentValue" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentPlanInterestInMasterTrustCurrentValue_316" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentPlanInterestInMasterTrustCurrentValue_316" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantLoanInterestRate" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantLoanInterestRate_314" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantLoanInterestRate_314" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipant" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipant_315" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipant_315" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestment" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestment_328" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestment_328" use="optional" order="30" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://fasb.org/us-gaap/role/eedm/ExtensibleEnumerationLists" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIssuerNameDomain" xlink:label="loc_us-gaap_InvestmentIssuerNameDomain" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_AmericanBeaconSmallCapValueR6Member" xlink:label="loc_UBSI_AmericanBeaconSmallCapValueR6Member" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_AmericanBeaconSmallCapValueR6Member" order="1.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_FiamCorePlusCommingledPoolClassIMember" xlink:label="loc_UBSI_FiamCorePlusCommingledPoolClassIMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_FiamCorePlusCommingledPoolClassIMember" order="2.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_GalliardStableReturnFundEMember" xlink:label="loc_UBSI_GalliardStableReturnFundEMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_GalliardStableReturnFundEMember" order="3.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_GreatGrayTrustEuropacificGrowthCtMember" xlink:label="loc_UBSI_GreatGrayTrustEuropacificGrowthCtMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_GreatGrayTrustEuropacificGrowthCtMember" order="4.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_JpMorganLargeCapGrowthR6Member" xlink:label="loc_UBSI_JpMorganLargeCapGrowthR6Member" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_JpMorganLargeCapGrowthR6Member" order="5.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_MassmutualSmallCapGrEqCitFeeCiCtMember" xlink:label="loc_UBSI_MassmutualSmallCapGrEqCitFeeCiCtMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_MassmutualSmallCapGrEqCitFeeCiCtMember" order="6.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_MfsLargeCapValueCitClCtMember" xlink:label="loc_UBSI_MfsLargeCapValueCitClCtMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_MfsLargeCapValueCitClCtMember" order="7.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_MfsMidCapGrowthFundCtMember" xlink:label="loc_UBSI_MfsMidCapGrowthFundCtMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_MfsMidCapGrowthFundCtMember" order="8.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_MfsMidCapValueFundCtMember" xlink:label="loc_UBSI_MfsMidCapValueFundCtMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_MfsMidCapValueFundCtMember" order="9.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_NtCollectiveAcwiExUsImiDcNlCtMember" xlink:label="loc_UBSI_NtCollectiveAcwiExUsImiDcNlCtMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_NtCollectiveAcwiExUsImiDcNlCtMember" order="10.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_NtCollectiveAggBondNlTierCtMember" xlink:label="loc_UBSI_NtCollectiveAggBondNlTierCtMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_NtCollectiveAggBondNlTierCtMember" order="11.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_NtCollectiveExtendedEquityDcNlCtMember" xlink:label="loc_UBSI_NtCollectiveExtendedEquityDcNlCtMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_NtCollectiveExtendedEquityDcNlCtMember" order="12.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_NtCollectiveSp500DcNlTierCtMember" xlink:label="loc_UBSI_NtCollectiveSp500DcNlTierCtMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_NtCollectiveSp500DcNlTierCtMember" order="13.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_UnitedBanksharesIncCommonStockMember" xlink:label="loc_UBSI_UnitedBanksharesIncCommonStockMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_UnitedBanksharesIncCommonStockMember" order="14.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2020InvMember" xlink:label="loc_UBSI_VanguardTargetRetirement2020InvMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_VanguardTargetRetirement2020InvMember" order="15.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2025InvMember" xlink:label="loc_UBSI_VanguardTargetRetirement2025InvMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_VanguardTargetRetirement2025InvMember" order="16.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2030InvMember" xlink:label="loc_UBSI_VanguardTargetRetirement2030InvMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_VanguardTargetRetirement2030InvMember" order="17.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2035InvMember" xlink:label="loc_UBSI_VanguardTargetRetirement2035InvMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_VanguardTargetRetirement2035InvMember" order="18.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2040InvMember" xlink:label="loc_UBSI_VanguardTargetRetirement2040InvMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_VanguardTargetRetirement2040InvMember" order="19.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2045InvMember" xlink:label="loc_UBSI_VanguardTargetRetirement2045InvMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_VanguardTargetRetirement2045InvMember" order="20.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2050InvMember" xlink:label="loc_UBSI_VanguardTargetRetirement2050InvMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_VanguardTargetRetirement2050InvMember" order="21.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2055InvMember" xlink:label="loc_UBSI_VanguardTargetRetirement2055InvMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_VanguardTargetRetirement2055InvMember" order="22.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2060InvMember" xlink:label="loc_UBSI_VanguardTargetRetirement2060InvMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_VanguardTargetRetirement2060InvMember" order="23.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2065InvMember" xlink:label="loc_UBSI_VanguardTargetRetirement2065InvMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_VanguardTargetRetirement2065InvMember" order="24.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2070InvMember" xlink:label="loc_UBSI_VanguardTargetRetirement2070InvMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_VanguardTargetRetirement2070InvMember" order="25.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirementIncomeInvMember" xlink:label="loc_UBSI_VanguardTargetRetirementIncomeInvMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_VanguardTargetRetirementIncomeInvMember" order="26.0" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_SharesMember" xlink:label="loc_UBSI_SharesMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember" xlink:to="loc_UBSI_SharesMember" order="1.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_UnitsMember" xlink:label="loc_UBSI_UnitsMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember" xlink:to="loc_UBSI_UnitsMember" order="2.0" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusDomain" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedMember" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusDomain" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedMember" order="1.0" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.ubsi-inc.com/role/ScheduleHLine4IScheduleOfAssetsHeldAtEndOfYearModifiedCashBasisDetailAlternate" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_235" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_235" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_236" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_235" xlink:to="loc_dei_LegalEntityAxis_236" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_237" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_236" xlink:to="loc_dei_EntityDomain_237" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_237_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_236" xlink:to="loc_dei_EntityDomain_237_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member_238" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_237" xlink:to="loc_ubsi_EBP003Member_238" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_323" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_235" xlink:to="loc_srt_RangeAxis_323" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_324" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_323" xlink:to="loc_srt_RangeMember_324" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_324_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_323" xlink:to="loc_srt_RangeMember_324_default" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_326" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_324" xlink:to="loc_srt_MinimumMember_326" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_325" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_324" xlink:to="loc_srt_MaximumMember_325" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIssuerNameAxis" xlink:label="loc_us-gaap_InvestmentIssuerNameAxis_278" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_235" xlink:to="loc_us-gaap_InvestmentIssuerNameAxis_278" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIssuerNameDomain" xlink:label="loc_us-gaap_InvestmentIssuerNameDomain_279" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentIssuerNameAxis_278" xlink:to="loc_us-gaap_InvestmentIssuerNameDomain_279" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIssuerNameDomain" xlink:label="loc_us-gaap_InvestmentIssuerNameDomain_279_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentIssuerNameAxis_278" xlink:to="loc_us-gaap_InvestmentIssuerNameDomain_279_default" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_273" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_235" xlink:to="loc_us-gaap_InvestmentTypeAxis_273" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_317" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_273" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_317" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_317_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_273" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_317_default" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusAxis" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusAxis_320" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_235" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusAxis_320" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusDomain" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusDomain_321" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusAxis_320" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusDomain_321" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusDomain" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusDomain_321_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusAxis_320" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusDomain_321_default" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityTaxIdentificationNumber" xlink:label="loc_dei_EntityTaxIdentificationNumber_308" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_dei_EntityTaxIdentificationNumber_308" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanPlanNumber" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanPlanNumber_309" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanPlanNumber_309" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentIssuerNameExtensibleEnumeration" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentIssuerNameExtensibleEnumeration_310" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentIssuerNameExtensibleEnumeration_310" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustParticipationStatusExtensibleEnumeration" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustParticipationStatusExtensibleEnumeration_312" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustParticipationStatusExtensibleEnumeration_312" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfShares" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfShares_313" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfShares_313" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentTypeExtensibleEnumeration" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentTypeExtensibleEnumeration_311" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentTypeExtensibleEnumeration_311" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentPlanInterestInMasterTrustCurrentValue" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentPlanInterestInMasterTrustCurrentValue_316" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentPlanInterestInMasterTrustCurrentValue_316" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantLoanInterestRate" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantLoanInterestRate_314" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantLoanInterestRate_314" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipant" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipant_315" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipant_315" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestment" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestment_328" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_307" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestment_328" use="optional" order="30" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://fasb.org/us-gaap/role/eedm/ExtensibleEnumerationLists" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIssuerNameDomain" xlink:label="loc_us-gaap_InvestmentIssuerNameDomain" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_AmericanBeaconSmallCapValueR6Member" xlink:label="loc_UBSI_AmericanBeaconSmallCapValueR6Member" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_AmericanBeaconSmallCapValueR6Member" order="27.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_FiamCorePlusCommingledPoolClassIMember" xlink:label="loc_UBSI_FiamCorePlusCommingledPoolClassIMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_FiamCorePlusCommingledPoolClassIMember" order="28.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_GalliardStableReturnFundEMember" xlink:label="loc_UBSI_GalliardStableReturnFundEMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_GalliardStableReturnFundEMember" order="29.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_GreatGrayTrustEuropacificGrowthCtMember" xlink:label="loc_UBSI_GreatGrayTrustEuropacificGrowthCtMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_GreatGrayTrustEuropacificGrowthCtMember" order="30.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_JpMorganLargeCapGrowthR6Member" xlink:label="loc_UBSI_JpMorganLargeCapGrowthR6Member" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_JpMorganLargeCapGrowthR6Member" order="31.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_MassmutualSmallCapGrEqCitFeeCiCtMember" xlink:label="loc_UBSI_MassmutualSmallCapGrEqCitFeeCiCtMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_MassmutualSmallCapGrEqCitFeeCiCtMember" order="32.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_MfsLargeCapValueCitClCtMember" xlink:label="loc_UBSI_MfsLargeCapValueCitClCtMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_MfsLargeCapValueCitClCtMember" order="33.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_MfsMidCapGrowthFundCtMember" xlink:label="loc_UBSI_MfsMidCapGrowthFundCtMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_MfsMidCapGrowthFundCtMember" order="34.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_MfsMidCapValueFundCtMember" xlink:label="loc_UBSI_MfsMidCapValueFundCtMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_MfsMidCapValueFundCtMember" order="35.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_NtCollectiveAcwiExUsImiDcNlCtMember" xlink:label="loc_UBSI_NtCollectiveAcwiExUsImiDcNlCtMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_NtCollectiveAcwiExUsImiDcNlCtMember" order="36.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_NtCollectiveAggBondNlTierCtMember" xlink:label="loc_UBSI_NtCollectiveAggBondNlTierCtMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_NtCollectiveAggBondNlTierCtMember" order="37.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_NtCollectiveExtendedEquityDcNlCtMember" xlink:label="loc_UBSI_NtCollectiveExtendedEquityDcNlCtMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_NtCollectiveExtendedEquityDcNlCtMember" order="38.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_NtCollectiveSp500DcNlTierCtMember" xlink:label="loc_UBSI_NtCollectiveSp500DcNlTierCtMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_NtCollectiveSp500DcNlTierCtMember" order="39.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_UnitedBanksharesIncCommonStockMember" xlink:label="loc_UBSI_UnitedBanksharesIncCommonStockMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_UnitedBanksharesIncCommonStockMember" order="40.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2020InvMember" xlink:label="loc_UBSI_VanguardTargetRetirement2020InvMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_VanguardTargetRetirement2020InvMember" order="41.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2025InvMember" xlink:label="loc_UBSI_VanguardTargetRetirement2025InvMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_VanguardTargetRetirement2025InvMember" order="42.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2030InvMember" xlink:label="loc_UBSI_VanguardTargetRetirement2030InvMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_VanguardTargetRetirement2030InvMember" order="43.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2035InvMember" xlink:label="loc_UBSI_VanguardTargetRetirement2035InvMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_VanguardTargetRetirement2035InvMember" order="44.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2040InvMember" xlink:label="loc_UBSI_VanguardTargetRetirement2040InvMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_VanguardTargetRetirement2040InvMember" order="45.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2045InvMember" xlink:label="loc_UBSI_VanguardTargetRetirement2045InvMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_VanguardTargetRetirement2045InvMember" order="46.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2050InvMember" xlink:label="loc_UBSI_VanguardTargetRetirement2050InvMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_VanguardTargetRetirement2050InvMember" order="47.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2055InvMember" xlink:label="loc_UBSI_VanguardTargetRetirement2055InvMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_VanguardTargetRetirement2055InvMember" order="48.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2060InvMember" xlink:label="loc_UBSI_VanguardTargetRetirement2060InvMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_VanguardTargetRetirement2060InvMember" order="49.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2065InvMember" xlink:label="loc_UBSI_VanguardTargetRetirement2065InvMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_VanguardTargetRetirement2065InvMember" order="50.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2070InvMember" xlink:label="loc_UBSI_VanguardTargetRetirement2070InvMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_VanguardTargetRetirement2070InvMember" order="51.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirementIncomeInvMember" xlink:label="loc_UBSI_VanguardTargetRetirementIncomeInvMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="loc_UBSI_VanguardTargetRetirementIncomeInvMember" order="52.0" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_SharesMember" xlink:label="loc_UBSI_SharesMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember" xlink:to="loc_UBSI_SharesMember" order="3.0" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_UnitsMember" xlink:label="loc_UBSI_UnitsMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember" xlink:to="loc_UBSI_UnitsMember" order="4.0" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusDomain" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedMember" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusDomain" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedMember" order="2.0" />
        </link:definitionLink>
        <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/2025/dei-2025.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/2025/dei-2025.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/2025/dei-2025.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/2025/dei-2025.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/2025/dei-2025.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.sec.gov/dei/2025/dei-2025.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/2025/dei-2025.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/2025/dei-2025.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/2025/dei-2025.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.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitAbstract" xml:lang="en-US">EBP, Statement of Net Asset Available for Benefit [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitAbstract" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable" xml:lang="en-US">EBP, Statement of Net Asset Available for Benefit [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems" xml:lang="en-US">EBP, Statement of Net Asset Available for Benefit [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAssetAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAssetAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanAssetAbstract" xml:lang="en-US">EBP, Asset [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAssetAbstract" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanAssetAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue" xml:lang="en-US">EBP, Investment, Plan Interest in Master Trust, Fair Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue" xml:lang="en-US">Investments, 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-ebp_EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanInvestmentPlanInterestInMasterTrustFairValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipant" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipant" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipant" xml:lang="en-US">EBP, Note Receivable from Participant</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipant" xml:lang="en-US">Notes receivable from participants</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipant" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipant" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" xml:lang="en-US">EBP, Net Asset Available for Benefit</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" xml:lang="en-US">Net assets available for benefits</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" xml:lang="en-US">Beginning of year</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" xml:lang="en-US">End of year</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" xml:lang="en-US">Net assets available for benefits per the financial statements</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_LegalEntityAxis" xml:lang="en-US">Legal Entity [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_LegalEntityAxis" xlink:to="lab_dei_LegalEntityAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityDomain" xml:lang="en-US">Entity [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityDomain" xlink:to="lab_dei_EntityDomain" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EBP003Member" xlink:label="loc_ubsi_EBP003Member" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_EBP003Member" xml:lang="en-US">EBP 003 [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_EBP003Member" xlink:to="lab_ubsi_EBP003Member" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitAbstract" xml:lang="en-US">EBP, Statement of Change in Net Asset Available for Benefit [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitAbstract" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable" xml:lang="en-US">EBP, Statement of Change in Net Asset Available for Benefit [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems" xml:lang="en-US">EBP, Statement of Change in Net Asset Available for Benefit [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestmentAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestmentAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestmentAbstract" xml:lang="en-US">EBP, Change in Net Asset Available for Benefit, Increase from Interest and Dividend Income on Investment [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestmentAbstract" xml:lang="en-US">Investment income:</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestmentAbstract" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestmentAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment" xml:lang="en-US">EBP, Change in Net Asset Available for Benefit, Increase from Interest and Dividend Income on Investment</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment" xml:lang="en-US">Interest and dividends</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment" xml:lang="en-US">EBP, Change in Net Asset Available for Benefit, Increase (Decrease) from Gain (Loss) on Investment</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment" xml:lang="en-US">Net appreciation in fair value of investments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment" xml:lang="en-US">EBP, Change in Net Asset Available for Benefit, Increase (Decrease) from Income (Loss) on Investment</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment" xml:lang="en-US">Total investment gain</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract" xml:lang="en-US">EBP, Change in Net Asset Available for Benefit, Increase from Contribution [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract" xml:lang="en-US">Contributions:</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRollover" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRollover" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRollover" xml:lang="en-US">EBP, Change in Net Asset Available for Benefit, Increase from Participant Contribution, Excluding Rollover</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRollover" xml:lang="en-US">Employee contributions</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRollover" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRollover" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForEmployerContribution" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForEmployerContribution" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForEmployerContribution" xml:lang="en-US">EBP, Change in Net Asset Available for Benefit, Increase from Employer Contribution, Cash and Noncash</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForEmployerContribution" xml:lang="en-US">Employer contributions</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForEmployerContribution" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForEmployerContribution" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionRollover" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionRollover" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionRollover" xml:lang="en-US">EBP, Change in Net Asset Available for Benefit, Increase from Participant Contribution, Rollover</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionRollover" xml:lang="en-US">Rollover contributions</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionRollover" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionRollover" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution" xml:lang="en-US">EBP, Change in Net Asset Available for Benefit, Increase from Contribution</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution" xml:lang="en-US">Total contributions</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease" xml:lang="en-US">EBP, Change in Net Asset Available for Benefit, Increase</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease" xml:lang="en-US">Total additions</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract" xml:lang="en-US">EBP, Change in Net Asset Available for Benefit, Decrease [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract" xml:lang="en-US">Deductions</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant" xml:lang="en-US">EBP, Change in Net Asset Available for Benefit, Decrease from Payment to Participant</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant" xml:lang="en-US">Withdrawals and benefits paid directly to participants</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForAdministrativeExpense" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForAdministrativeExpense" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForAdministrativeExpense" xml:lang="en-US">EBP, Change in Net Asset Available for Benefit, Decrease from Administrative Expense</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForAdministrativeExpense" xml:lang="en-US">Administrative expenses paid by participants</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForAdministrativeExpense" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForAdministrativeExpense" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease" xml:lang="en-US">EBP, Change in Net Asset Available for Benefit, Decrease</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease" xml:lang="en-US">Total deductions</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease" xml:lang="en-US">EBP, Change in Net Asset Available for Benefit, Increase (Decrease)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease" xml:lang="en-US">Increase in net assets available for benefits per the financial statements</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyAbstract" xml:lang="en-US">EBP, Accounting Policy, Accounting Standard Update, and Change in Accounting Principle [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyAbstract" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable" xml:lang="en-US">EBP, Accounting Policy [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems" xml:lang="en-US">EBP, Accounting Policy [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock" xml:lang="en-US">EBP, Summary of Accounting Policy [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock" xml:lang="en-US">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-ebp_EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract" xml:lang="en-US">EBP, Description of Plan and Accounting Change [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" xml:lang="en-US">EBP, Description of Plan [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xml:lang="en-US">EBP, Description of Plan [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTextBlock" xml:lang="en-US">EBP, Description of Plan [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTextBlock" xml:lang="en-US">Description of the Plan</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTextBlock" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTextBlock" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanInvestmentAbstract" xlink:label="loc_ubsi_EmployeeBenefitPlanInvestmentAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_EmployeeBenefitPlanInvestmentAbstract" xml:lang="en-US">Employee Benefit Plan Investment [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_EmployeeBenefitPlanInvestmentAbstract" xlink:to="lab_ubsi_EmployeeBenefitPlanInvestmentAbstract" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanInvestmentTable" xlink:label="loc_ubsi_EmployeeBenefitPlanInvestmentTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_EmployeeBenefitPlanInvestmentTable" xml:lang="en-US">Employee Benefit Plan Investment [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_EmployeeBenefitPlanInvestmentTable" xlink:to="lab_ubsi_EmployeeBenefitPlanInvestmentTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_EmployeeBenefitPlanInvestmentTable" xml:lang="en-US">Employee Benefit Plan Investment.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanInvestmentLineItems" xlink:label="loc_ubsi_EmployeeBenefitPlanInvestmentLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_EmployeeBenefitPlanInvestmentLineItems" xml:lang="en-US">Employee Benefit Plan Investment [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_EmployeeBenefitPlanInvestmentLineItems" xlink:to="lab_ubsi_EmployeeBenefitPlanInvestmentLineItems" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanInvestmentTextBlock" xlink:label="loc_ubsi_EmployeeBenefitPlanInvestmentTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_EmployeeBenefitPlanInvestmentTextBlock" xml:lang="en-US">Employee Benefit Plan Investment [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_EmployeeBenefitPlanInvestmentTextBlock" xml:lang="en-US">Investments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_EmployeeBenefitPlanInvestmentTextBlock" xlink:to="lab_ubsi_EmployeeBenefitPlanInvestmentTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_EmployeeBenefitPlanInvestmentTextBlock" xml:lang="en-US">Employee benefit plan investment.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavAbstract" xml:lang="en-US">EBP, Investment, Fair Value and NAV [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavAbstract" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable" xml:lang="en-US">EBP, Investment, Fair Value and NAV [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems" xml:lang="en-US">EBP, Investment, Fair Value and NAV [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock" xml:lang="en-US">EBP, Investment, Fair Value and NAV [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock" 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-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Abstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Abstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Abstract" xml:lang="en-US">EBP, Reconciliation of Financial Statement to Form 5500 [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Abstract" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Abstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table" xml:lang="en-US">EBP, Reconciliation of Financial Statement to Form 5500 [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems" xml:lang="en-US">EBP, Reconciliation of Financial Statement to Form 5500 [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500TextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500TextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500TextBlock" xml:lang="en-US">EBP, Reconciliation of Financial Statement to Form 5500 [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500TextBlock" xml:lang="en-US">Reconciliation of Financial Statements to Form 5500</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500TextBlock" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500TextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EbpRiskAndUncertaintyAbstract" xlink:label="loc_us-gaap-ebp_EbpRiskAndUncertaintyAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EbpRiskAndUncertaintyAbstract" xml:lang="en-US">EBP, Risk and Uncertainty [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EbpRiskAndUncertaintyAbstract" xlink:to="lab_us-gaap-ebp_EbpRiskAndUncertaintyAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EbpRiskAndUncertaintyTable" xlink:label="loc_us-gaap-ebp_EbpRiskAndUncertaintyTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EbpRiskAndUncertaintyTable" xml:lang="en-US">EBP, Risk and Uncertainty [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EbpRiskAndUncertaintyTable" xlink:to="lab_us-gaap-ebp_EbpRiskAndUncertaintyTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EbpRiskAndUncertaintyLineItems" xlink:label="loc_us-gaap-ebp_EbpRiskAndUncertaintyLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EbpRiskAndUncertaintyLineItems" xml:lang="en-US">EBP, Risk and Uncertainty [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EbpRiskAndUncertaintyLineItems" xlink:to="lab_us-gaap-ebp_EbpRiskAndUncertaintyLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanRiskAndUncertaintyTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRiskAndUncertaintyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanRiskAndUncertaintyTextBlock" xml:lang="en-US">EBP, Risk and Uncertainty [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanRiskAndUncertaintyTextBlock" xml:lang="en-US">Risks and Uncertainties</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRiskAndUncertaintyTextBlock" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanRiskAndUncertaintyTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanTaxStatusAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanTaxStatusAbstract" xml:lang="en-US">EBP, Tax Status [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusAbstract" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanTaxStatusAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanTaxStatusTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanTaxStatusTable" xml:lang="en-US">EBP, Tax Status [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusTable" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanTaxStatusTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanTaxStatusLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanTaxStatusLineItems" xml:lang="en-US">EBP, Tax Status [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusLineItems" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanTaxStatusLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanTaxStatusTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanTaxStatusTextBlock" xml:lang="en-US">EBP, Tax Status [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanTaxStatusTextBlock" xml:lang="en-US">Income Tax Status</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusTextBlock" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanTaxStatusTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsAbstract" xml:lang="en-US">EBP, Related Party and Party-in-Interest Transactions [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsAbstract" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable" xml:lang="en-US">EBP, Related Party and Party-in-Interest Transactions [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems" xml:lang="en-US">EBP, Related Party and Party-in-Interest Transactions [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock" xml:lang="en-US">EBP, Related Party and Party-in-Interest Transactions [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock" xml:lang="en-US">Transactions With Parties-in-Interest</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesAbstract" xlink:label="loc_ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesAbstract" xml:lang="en-US">Employee Benefit Plan Commitments And Contingencies [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesAbstract" xlink:to="lab_ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EbpContingencyTable" xlink:label="loc_us-gaap-ebp_EbpContingencyTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EbpContingencyTable" xml:lang="en-US">EBP, Contingency [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EbpContingencyTable" xlink:to="lab_us-gaap-ebp_EbpContingencyTable" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesLineItems" xlink:label="loc_ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesLineItems" xml:lang="en-US">Employee Benefit Plan Commitments And Contingencies [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesLineItems" xlink:to="lab_ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesLineItems" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesTextBlock" xlink:label="loc_ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesTextBlock" xml:lang="en-US">Employee Benefit Plan Commitments And Contingencies [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesTextBlock" xml:lang="en-US">Commitments and Contingencies</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesTextBlock" xlink:to="lab_ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesTextBlock" xml:lang="en-US">Employee Benefit Plan Commitments And Contingencies</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EbpContingencyAbstract" xlink:label="loc_us-gaap-ebp_EbpContingencyAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EbpContingencyAbstract" xml:lang="en-US">EBP, Contingency [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EbpContingencyAbstract" xlink:to="lab_us-gaap-ebp_EbpContingencyAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable" xml:lang="en-US">EBP, Schedule of Asset Held for Investment [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems" xml:lang="en-US">EBP, Schedule of Asset Held for Investment [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock" xml:lang="en-US">EBP, Schedule of Asset Held for Investment [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock" xml:lang="en-US">Schedule H, Line 4i - Schedule of Assets (Held at End of Year) - Modified Cash Basis</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock" xml:lang="en-US">EBP, Basis of Accounting [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock" xml:lang="en-US">Accounting Method</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentPolicyTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanInvestmentPolicyTextBlock" xml:lang="en-US">EBP, Investment [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanInvestmentPolicyTextBlock" xml:lang="en-US">Investment Valuation and Income Recognition</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentPolicyTextBlock" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanInvestmentPolicyTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantPolicyTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantPolicyTextBlock" xml:lang="en-US">EBP, Note Receivable from Participant [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantPolicyTextBlock" xml:lang="en-US">Notes Receivable from Participants</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantPolicyTextBlock" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantPolicyTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock" xml:lang="en-US">EBP, Investment, Fair Value and NAV [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock" xml:lang="en-US">Summary of financial assets 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-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500TableTextBlock" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500TableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500TableTextBlock" xml:lang="en-US">EBP, Reconciliation of Financial Statement to Form 5500 [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500TableTextBlock" xml:lang="en-US">Summary of reconciliation of net assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500TableTextBlock" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500TableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanReconciliationOfTheChangesInNetAssetsAsPerForm5500TextBlock" xlink:label="loc_ubsi_EmployeeBenefitPlanReconciliationOfTheChangesInNetAssetsAsPerForm5500TextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_EmployeeBenefitPlanReconciliationOfTheChangesInNetAssetsAsPerForm5500TextBlock" xml:lang="en-US">Employee Benefit Plan Reconciliation Of The Changes In Net Assets As Per Form 5500 [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_EmployeeBenefitPlanReconciliationOfTheChangesInNetAssetsAsPerForm5500TextBlock" xml:lang="en-US">Summary of reconciliation of the decrease in net assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_EmployeeBenefitPlanReconciliationOfTheChangesInNetAssetsAsPerForm5500TextBlock" xlink:to="lab_ubsi_EmployeeBenefitPlanReconciliationOfTheChangesInNetAssetsAsPerForm5500TextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_EmployeeBenefitPlanReconciliationOfTheChangesInNetAssetsAsPerForm5500TextBlock" xml:lang="en-US">Employee benefit plan reconciliation of the changes in net assets as per form 5500.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_AcquisitionOfSubsidiaryDescription" xlink:label="loc_ubsi_AcquisitionOfSubsidiaryDescription" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_AcquisitionOfSubsidiaryDescription" xml:lang="en-US">Acquisition of Subsidiary Description</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_ubsi_AcquisitionOfSubsidiaryDescription" xml:lang="en-US">Acquisition of subsidiary description</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_AcquisitionOfSubsidiaryDescription" xlink:to="lab_ubsi_AcquisitionOfSubsidiaryDescription" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_AcquisitionOfSubsidiaryDescription" xml:lang="en-US">Acquisition of subsidiary description.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.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: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/2025/elts/srt-2025.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: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/2025/elts/srt-2025.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: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/srt/2025/elts/srt-2025.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: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="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanMandatoryCashOutLimit" xlink:label="loc_ubsi_EmployeeBenefitPlanMandatoryCashOutLimit" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_EmployeeBenefitPlanMandatoryCashOutLimit" xml:lang="en-US">Employee Benefit Plan Mandatory Cash Out Limit</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_EmployeeBenefitPlanMandatoryCashOutLimit" xlink:to="lab_ubsi_EmployeeBenefitPlanMandatoryCashOutLimit" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_EmployeeBenefitPlanMandatoryCashOutLimit" xml:lang="en-US">Dollar amount that allows employers to cash out or transfer a former employee's vested retirement account balance without the former employee's consent.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage" xml:lang="en-US">EBP, Participant Contribution, Pretax, Maximum Annual Compensation to Total Compensation, Percentage</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage" xml:lang="en-US">EBP, Employer Contribution, Participant Compensation Matched, Percentage</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantContributionAutomaticDeferralRate" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantContributionAutomaticDeferralRate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanParticipantContributionAutomaticDeferralRate" xml:lang="en-US">EBP, Participant Contribution, Automatic, Deferral Rate</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantContributionAutomaticDeferralRate" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanParticipantContributionAutomaticDeferralRate" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanParticipantAdvisoryServicesFee" xlink:label="loc_ubsi_EmployeeBenefitPlanParticipantAdvisoryServicesFee" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_EmployeeBenefitPlanParticipantAdvisoryServicesFee" xml:lang="en-US">Employee Benefit Plan Participant Advisory Services Fee</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_EmployeeBenefitPlanParticipantAdvisoryServicesFee" xlink:to="lab_ubsi_EmployeeBenefitPlanParticipantAdvisoryServicesFee" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_EmployeeBenefitPlanParticipantAdvisoryServicesFee" xml:lang="en-US">Employee Benefit Plan Participant Advisory Services Fee.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanParticipantAnnualTrustFee" xlink:label="loc_ubsi_EmployeeBenefitPlanParticipantAnnualTrustFee" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_EmployeeBenefitPlanParticipantAnnualTrustFee" xml:lang="en-US">Employee Benefit Plan Participant Annual Trust Fee</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_EmployeeBenefitPlanParticipantAnnualTrustFee" xlink:to="lab_ubsi_EmployeeBenefitPlanParticipantAnnualTrustFee" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_EmployeeBenefitPlanParticipantAnnualTrustFee" xml:lang="en-US">Employee benefit plan participant annual trust fee.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanParticipantRecordKeepingFee" xlink:label="loc_ubsi_EmployeeBenefitPlanParticipantRecordKeepingFee" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_EmployeeBenefitPlanParticipantRecordKeepingFee" xml:lang="en-US">Employee Benefit Plan Participant Record Keeping Fee</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_EmployeeBenefitPlanParticipantRecordKeepingFee" xlink:to="lab_ubsi_EmployeeBenefitPlanParticipantRecordKeepingFee" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_EmployeeBenefitPlanParticipantRecordKeepingFee" xml:lang="en-US">The fee charged to each retirement plan participant to cover the administrative costs of maintaining account balances, processing transactions, and issuing statements.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanParticipantLoanMaintenanceFee" xlink:label="loc_ubsi_EmployeeBenefitPlanParticipantLoanMaintenanceFee" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_EmployeeBenefitPlanParticipantLoanMaintenanceFee" xml:lang="en-US">Employee Benefit Plan Participant Loan Maintenance Fee</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_EmployeeBenefitPlanParticipantLoanMaintenanceFee" xlink:to="lab_ubsi_EmployeeBenefitPlanParticipantLoanMaintenanceFee" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_EmployeeBenefitPlanParticipantLoanMaintenanceFee" xml:lang="en-US">Ongoing administrative charge to cover the paperwork and tracking of a participant's borrowed funds from a retirement plan.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanParticipantLoanOriginationFee" xlink:label="loc_ubsi_EmployeeBenefitPlanParticipantLoanOriginationFee" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_EmployeeBenefitPlanParticipantLoanOriginationFee" xml:lang="en-US">Employee Benefit Plan Participant Loan Origination Fee</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_EmployeeBenefitPlanParticipantLoanOriginationFee" xlink:to="lab_ubsi_EmployeeBenefitPlanParticipantLoanOriginationFee" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_EmployeeBenefitPlanParticipantLoanOriginationFee" xml:lang="en-US">One-time administrative charge to cover the paperwork and processing of a participant loan from a retirement plan.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanParticipantCatchUpContributionYearAge" xlink:label="loc_ubsi_EmployeeBenefitPlanParticipantCatchUpContributionYearAge" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_EmployeeBenefitPlanParticipantCatchUpContributionYearAge" xml:lang="en-US">Employee Benefit Plan Participant Catch-up Contribution Year Age</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_EmployeeBenefitPlanParticipantCatchUpContributionYearAge" xlink:to="lab_ubsi_EmployeeBenefitPlanParticipantCatchUpContributionYearAge" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_EmployeeBenefitPlanParticipantCatchUpContributionYearAge" xml:lang="en-US">The age for retirement plan participants to contribute extra money for retirement beyond standard IRS limits.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_PercentIncrementForInvestmentElections" xlink:label="loc_ubsi_PercentIncrementForInvestmentElections" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_PercentIncrementForInvestmentElections" xml:lang="en-US">Percent Increment For Investment Elections</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_PercentIncrementForInvestmentElections" xlink:to="lab_ubsi_PercentIncrementForInvestmentElections" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_PercentIncrementForInvestmentElections" xml:lang="en-US">Percentage increment that dictates how to divide retirement contributions among different funds.</link:label>
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_AnnualIncreaseInGeneralAdvisoryServicesFee" xlink:label="loc_ubsi_AnnualIncreaseInGeneralAdvisoryServicesFee" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_AnnualIncreaseInGeneralAdvisoryServicesFee" xml:lang="en-US">Annual Increase In General Advisory Services Fee</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_AnnualIncreaseInGeneralAdvisoryServicesFee" xlink:to="lab_ubsi_AnnualIncreaseInGeneralAdvisoryServicesFee" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_AnnualIncreaseInGeneralAdvisoryServicesFee" xml:lang="en-US">Annual increase in the general advisory services fee to compensate a financial professional to monitor the performance of funds within a retirement plan and give personalized financial advice.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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: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/2025/elts/us-gaap-2025.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: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/2025/elts/us-gaap-2025.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/terseLabel" xlink:label="lab_us-gaap_FairValueInputsLevel1Member" xml:lang="en-US">Quoted Prices in Active Markets for Identical Assets (Level 1)</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/2025/elts/us-gaap-2025.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/terseLabel" xlink:label="lab_us-gaap_FairValueInputsLevel2Member" xml:lang="en-US">Significant Other Observable Inputs (Level 2)</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/2025/elts/us-gaap-2025.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)</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/2025/elts/us-gaap-2025.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/2025/elts/us-gaap-2025.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="ubsi-20251231.xsd#ubsi_CompanyStockMember" xlink:label="loc_ubsi_CompanyStockMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_CompanyStockMember" xml:lang="en-US">Company Stock [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_CompanyStockMember" xlink:to="lab_ubsi_CompanyStockMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_CompanyStockMember" xml:lang="en-US">Company stock.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MutualFundMember" xlink:label="loc_us-gaap_MutualFundMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_MutualFundMember" xml:lang="en-US">Mutual Fund [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_MutualFundMember" xlink:to="lab_us-gaap_MutualFundMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_InvestmentAtNavMember" xlink:label="loc_ubsi_InvestmentAtNavMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_InvestmentAtNavMember" xml:lang="en-US">Investment At Nav [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_InvestmentAtNavMember" xlink:to="lab_ubsi_InvestmentAtNavMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_InvestmentAtNavMember" xml:lang="en-US">Investment at nav.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetAssetAvailableForBenefit" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetAssetAvailableForBenefit" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetAssetAvailableForBenefit" xml:lang="en-US">EBP, Form 5500 Caption, Net Assets</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetAssetAvailableForBenefit" xml:lang="en-US">Net assets available for benefits per the Form 5500</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetAssetAvailableForBenefit" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetAssetAvailableForBenefit" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionParticipantLoan" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionParticipantLoan" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionParticipantLoan" xml:lang="en-US">EBP, Form 5500 Caption, Participant Loans</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionParticipantLoan" xml:lang="en-US">Participant loans in default</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionParticipantLoan" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionParticipantLoan" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500ChangeInNetAssetAvailableForBenefitIncreaseDecreaseForDeemedDistribution" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500ChangeInNetAssetAvailableForBenefitIncreaseDecreaseForDeemedDistribution" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500ChangeInNetAssetAvailableForBenefitIncreaseDecreaseForDeemedDistribution" xml:lang="en-US">EBP, Reconciliation to Form 5500, Change in Net Asset Available for Benefit, Increase (Decrease) from Deemed Distribution</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500ChangeInNetAssetAvailableForBenefitIncreaseDecreaseForDeemedDistribution" xml:lang="en-US">Net change in deemed distributions for defaulted loans</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500ChangeInNetAssetAvailableForBenefitIncreaseDecreaseForDeemedDistribution" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500ChangeInNetAssetAvailableForBenefitIncreaseDecreaseForDeemedDistribution" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetIncomeLoss" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetIncomeLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetIncomeLoss" xml:lang="en-US">EBP, Form 5500 Caption, Net Income (Loss)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetIncomeLoss" xml:lang="en-US">Net gain per the Form 5500</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetIncomeLoss" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetIncomeLoss" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestAxis" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestAxis" xml:lang="en-US">EBP, Related Party and Party-in-Interest [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestAxis" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestDomain" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestDomain" xml:lang="en-US">EBP, Related Party and Party-in-Interest [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestDomain" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanOtherRelatedPartyAndPartyInInterestMember" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanOtherRelatedPartyAndPartyInInterestMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanOtherRelatedPartyAndPartyInInterestMember" xml:lang="en-US">EBP, Other Related Party and Party-in-Interest [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanOtherRelatedPartyAndPartyInInterestMember" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanOtherRelatedPartyAndPartyInInterestMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForDividendIncomeOnInvestment" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForDividendIncomeOnInvestment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForDividendIncomeOnInvestment" xml:lang="en-US">EBP, Change in Net Asset Available for Benefit, Increase from Dividend Income on Investment</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForDividendIncomeOnInvestment" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForDividendIncomeOnInvestment" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfShares" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfShares" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfShares" xml:lang="en-US">EBP, Investment, Number of Shares</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfShares" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfShares" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_EmployeeBenefitPlanInvestmentFairValuePerShare" xlink:label="loc_ubsi_EmployeeBenefitPlanInvestmentFairValuePerShare" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_EmployeeBenefitPlanInvestmentFairValuePerShare" xml:lang="en-US">Employee Benefit Plan Investment Fair Value Per Share</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_EmployeeBenefitPlanInvestmentFairValuePerShare" xlink:to="lab_ubsi_EmployeeBenefitPlanInvestmentFairValuePerShare" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_ubsi_EmployeeBenefitPlanInvestmentFairValuePerShare" xml:lang="en-US">Per share fair value of the Company's stock.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentAbstract" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentAbstract" xml:lang="en-US">EBP, Schedule of Asset Held for Investment [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentAbstract" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIdentifierAxis" xlink:label="loc_us-gaap_InvestmentIdentifierAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InvestmentIdentifierAxis" xml:lang="en-US">Investment, Identifier [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InvestmentIdentifierAxis" xlink:to="lab_us-gaap_InvestmentIdentifierAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIssuerNameAxis" xlink:label="loc_us-gaap_InvestmentIssuerNameAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InvestmentIssuerNameAxis" xml:lang="en-US">Investment, Issuer Name [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InvestmentIssuerNameAxis" xlink:to="lab_us-gaap_InvestmentIssuerNameAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIssuerNameDomain" xlink:label="loc_us-gaap_InvestmentIssuerNameDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InvestmentIssuerNameDomain" xml:lang="en-US">Investment, Issuer Name [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain" xlink:to="lab_us-gaap_InvestmentIssuerNameDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.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.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanPlanNumber" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanPlanNumber" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanPlanNumber" xml:lang="en-US">EBP, Plan Number</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanPlanNumber" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanPlanNumber" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentIssuerNameExtensibleEnumeration" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentIssuerNameExtensibleEnumeration" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanInvestmentIssuerNameExtensibleEnumeration" xml:lang="en-US">EBP, Investment, Issuer Name [Extensible Enumeration]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentIssuerNameExtensibleEnumeration" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanInvestmentIssuerNameExtensibleEnumeration" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentTypeExtensibleEnumeration" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentTypeExtensibleEnumeration" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanInvestmentTypeExtensibleEnumeration" xml:lang="en-US">EBP, Investment, Current Value, Type [Extensible Enumeration]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentTypeExtensibleEnumeration" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanInvestmentTypeExtensibleEnumeration" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustParticipationStatusExtensibleEnumeration" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustParticipationStatusExtensibleEnumeration" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustParticipationStatusExtensibleEnumeration" xml:lang="en-US">EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustParticipationStatusExtensibleEnumeration" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustParticipationStatusExtensibleEnumeration" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantLoanInterestRate" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantLoanInterestRate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanParticipantLoanInterestRate" xml:lang="en-US">EBP, Asset Held for Investment, Participant Loan, Interest Rate</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantLoanInterestRate" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanParticipantLoanInterestRate" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentPlanInterestInMasterTrustCurrentValue" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentPlanInterestInMasterTrustCurrentValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentPlanInterestInMasterTrustCurrentValue" xml:lang="en-US">EBP, Asset Held for Investment, Plan Interest in Master Trust, Current Value</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentPlanInterestInMasterTrustCurrentValue" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentPlanInterestInMasterTrustCurrentValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestment" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestment" xml:lang="en-US">EBP, Asset Held for Investment</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestment" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestment" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusAxis" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusAxis" xml:lang="en-US">EBP, Participant-Directed and Nonparticipant-Directed Status [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusAxis" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusDomain" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusDomain" xml:lang="en-US">EBP, Participant-Directed and Nonparticipant-Directed Status [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusDomain" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusDomain" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_AmericanBeaconSmallCapValueR6Member" xlink:label="loc_ubsi_AmericanBeaconSmallCapValueR6Member" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_AmericanBeaconSmallCapValueR6Member" xml:lang="en-US">American Beacon Small Cap Value R6 [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_AmericanBeaconSmallCapValueR6Member" xlink:to="lab_ubsi_AmericanBeaconSmallCapValueR6Member" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_FiamCorePlusCommingledPoolClassIMember" xlink:label="loc_ubsi_FiamCorePlusCommingledPoolClassIMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_FiamCorePlusCommingledPoolClassIMember" xml:lang="en-US">Fiam Core Plus Commingled Pool Class I [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_FiamCorePlusCommingledPoolClassIMember" xlink:to="lab_ubsi_FiamCorePlusCommingledPoolClassIMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_GalliardStableReturnFundEMember" xlink:label="loc_ubsi_GalliardStableReturnFundEMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_GalliardStableReturnFundEMember" xml:lang="en-US">Galliard Stable Return Fund E [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_GalliardStableReturnFundEMember" xlink:to="lab_ubsi_GalliardStableReturnFundEMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_GreatGrayTrustEuropacificGrowthCtMember" xlink:label="loc_ubsi_GreatGrayTrustEuropacificGrowthCtMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_GreatGrayTrustEuropacificGrowthCtMember" xml:lang="en-US">Great Gray Trust Europacific Growth CT [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_GreatGrayTrustEuropacificGrowthCtMember" xlink:to="lab_ubsi_GreatGrayTrustEuropacificGrowthCtMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_JpMorganLargeCapGrowthR6Member" xlink:label="loc_ubsi_JpMorganLargeCapGrowthR6Member" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_JpMorganLargeCapGrowthR6Member" xml:lang="en-US">JP Morgan Large Cap Growth R6 [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_JpMorganLargeCapGrowthR6Member" xlink:to="lab_ubsi_JpMorganLargeCapGrowthR6Member" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_MassmutualSmallCapGrEqCitFeeCiCtMember" xlink:label="loc_ubsi_MassmutualSmallCapGrEqCitFeeCiCtMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_MassmutualSmallCapGrEqCitFeeCiCtMember" xml:lang="en-US">MassMutual Small Cap Gr Eq CIT Fee CI CT [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_MassmutualSmallCapGrEqCitFeeCiCtMember" xlink:to="lab_ubsi_MassmutualSmallCapGrEqCitFeeCiCtMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_MfsLargeCapValueCitClCtMember" xlink:label="loc_ubsi_MfsLargeCapValueCitClCtMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_MfsLargeCapValueCitClCtMember" xml:lang="en-US">MFS Large Cap Value CIT CL CT [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_MfsLargeCapValueCitClCtMember" xlink:to="lab_ubsi_MfsLargeCapValueCitClCtMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_MfsMidCapGrowthFundCtMember" xlink:label="loc_ubsi_MfsMidCapGrowthFundCtMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_MfsMidCapGrowthFundCtMember" xml:lang="en-US">MFS Mid Cap Growth Fund CT [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_MfsMidCapGrowthFundCtMember" xlink:to="lab_ubsi_MfsMidCapGrowthFundCtMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_MfsMidCapValueFundCtMember" xlink:label="loc_ubsi_MfsMidCapValueFundCtMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_MfsMidCapValueFundCtMember" xml:lang="en-US">MFS Mid Cap Value Fund CT [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_MfsMidCapValueFundCtMember" xlink:to="lab_ubsi_MfsMidCapValueFundCtMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_NtCollectiveAcwiExUsImiDcNlCtMember" xlink:label="loc_ubsi_NtCollectiveAcwiExUsImiDcNlCtMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_NtCollectiveAcwiExUsImiDcNlCtMember" xml:lang="en-US">NT Collective ACWI EX US IMI DC NL CT [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_NtCollectiveAcwiExUsImiDcNlCtMember" xlink:to="lab_ubsi_NtCollectiveAcwiExUsImiDcNlCtMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_NtCollectiveAggBondNlTierCtMember" xlink:label="loc_ubsi_NtCollectiveAggBondNlTierCtMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_NtCollectiveAggBondNlTierCtMember" xml:lang="en-US">NT Collective AGG Bond NL Tier CT [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_NtCollectiveAggBondNlTierCtMember" xlink:to="lab_ubsi_NtCollectiveAggBondNlTierCtMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_NtCollectiveExtendedEquityDcNlCtMember" xlink:label="loc_ubsi_NtCollectiveExtendedEquityDcNlCtMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_NtCollectiveExtendedEquityDcNlCtMember" xml:lang="en-US">NT Collective Extended Equity DC NL CT [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_NtCollectiveExtendedEquityDcNlCtMember" xlink:to="lab_ubsi_NtCollectiveExtendedEquityDcNlCtMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_NtCollectiveSp500DcNlTierCtMember" xlink:label="loc_ubsi_NtCollectiveSp500DcNlTierCtMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_NtCollectiveSp500DcNlTierCtMember" xml:lang="en-US">NT Collective SP 500 DC NL Tier CT [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_NtCollectiveSp500DcNlTierCtMember" xlink:to="lab_ubsi_NtCollectiveSp500DcNlTierCtMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_UnitedBanksharesIncCommonStockMember" xlink:label="loc_ubsi_UnitedBanksharesIncCommonStockMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_UnitedBanksharesIncCommonStockMember" xml:lang="en-US">United Bankshares, Inc. Common Stock [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_UnitedBanksharesIncCommonStockMember" xlink:to="lab_ubsi_UnitedBanksharesIncCommonStockMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2020InvMember" xlink:label="loc_ubsi_VanguardTargetRetirement2020InvMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_VanguardTargetRetirement2020InvMember" xml:lang="en-US">Vanguard Target Retirement 2020 Inv [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_VanguardTargetRetirement2020InvMember" xlink:to="lab_ubsi_VanguardTargetRetirement2020InvMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2025InvMember" xlink:label="loc_ubsi_VanguardTargetRetirement2025InvMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_VanguardTargetRetirement2025InvMember" xml:lang="en-US">Vanguard Target Retirement 2025 Inv [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_VanguardTargetRetirement2025InvMember" xlink:to="lab_ubsi_VanguardTargetRetirement2025InvMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2030InvMember" xlink:label="loc_ubsi_VanguardTargetRetirement2030InvMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_VanguardTargetRetirement2030InvMember" xml:lang="en-US">Vanguard Target Retirement 2030 Inv [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_VanguardTargetRetirement2030InvMember" xlink:to="lab_ubsi_VanguardTargetRetirement2030InvMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2035InvMember" xlink:label="loc_ubsi_VanguardTargetRetirement2035InvMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_VanguardTargetRetirement2035InvMember" xml:lang="en-US">Vanguard Target Retirement 2035 Inv [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_VanguardTargetRetirement2035InvMember" xlink:to="lab_ubsi_VanguardTargetRetirement2035InvMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2040InvMember" xlink:label="loc_ubsi_VanguardTargetRetirement2040InvMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_VanguardTargetRetirement2040InvMember" xml:lang="en-US">Vanguard Target Retirement 2040 Inv [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_VanguardTargetRetirement2040InvMember" xlink:to="lab_ubsi_VanguardTargetRetirement2040InvMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2045InvMember" xlink:label="loc_ubsi_VanguardTargetRetirement2045InvMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_VanguardTargetRetirement2045InvMember" xml:lang="en-US">Vanguard Target Retirement 2045 Inv [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_VanguardTargetRetirement2045InvMember" xlink:to="lab_ubsi_VanguardTargetRetirement2045InvMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2050InvMember" xlink:label="loc_ubsi_VanguardTargetRetirement2050InvMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_VanguardTargetRetirement2050InvMember" xml:lang="en-US">Vanguard Target Retirement 2050 Inv [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_VanguardTargetRetirement2050InvMember" xlink:to="lab_ubsi_VanguardTargetRetirement2050InvMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2055InvMember" xlink:label="loc_ubsi_VanguardTargetRetirement2055InvMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_VanguardTargetRetirement2055InvMember" xml:lang="en-US">Vanguard Target Retirement 2055 Inv [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_VanguardTargetRetirement2055InvMember" xlink:to="lab_ubsi_VanguardTargetRetirement2055InvMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2060InvMember" xlink:label="loc_ubsi_VanguardTargetRetirement2060InvMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_VanguardTargetRetirement2060InvMember" xml:lang="en-US">Vanguard Target Retirement 2060 Inv [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_VanguardTargetRetirement2060InvMember" xlink:to="lab_ubsi_VanguardTargetRetirement2060InvMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2065InvMember" xlink:label="loc_ubsi_VanguardTargetRetirement2065InvMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_VanguardTargetRetirement2065InvMember" xml:lang="en-US">Vanguard Target Retirement 2065 Inv [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_VanguardTargetRetirement2065InvMember" xlink:to="lab_ubsi_VanguardTargetRetirement2065InvMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirement2070InvMember" xlink:label="loc_ubsi_VanguardTargetRetirement2070InvMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_VanguardTargetRetirement2070InvMember" xml:lang="en-US">Vanguard Target Retirement 2070 Inv [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_VanguardTargetRetirement2070InvMember" xlink:to="lab_ubsi_VanguardTargetRetirement2070InvMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_VanguardTargetRetirementIncomeInvMember" xlink:label="loc_ubsi_VanguardTargetRetirementIncomeInvMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_VanguardTargetRetirementIncomeInvMember" xml:lang="en-US">Vanguard Target Retirement Income Inv [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_VanguardTargetRetirementIncomeInvMember" xlink:to="lab_ubsi_VanguardTargetRetirementIncomeInvMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_SharesMember" xlink:label="loc_ubsi_SharesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_SharesMember" xml:lang="en-US">shares [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_SharesMember" xlink:to="lab_ubsi_SharesMember" />
          <link:loc xlink:type="locator" xlink:href="ubsi-20251231.xsd#ubsi_UnitsMember" xlink:label="loc_ubsi_UnitsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_ubsi_UnitsMember" xml:lang="en-US">units [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubsi_UnitsMember" xlink:to="lab_ubsi_UnitsMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedMember" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedMember" xml:lang="en-US">EBP, Participant-Directed [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedMember" xlink:to="lab_us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedMember" />
        </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://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/2020/extensible-enumerations-2.0" schemaLocation="https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd" />
  <import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd" />
  <import namespace="http://fasb.org/srt-types/2025" schemaLocation="https://xbrl.fasb.org/srt/2025/elts/srt-types-2025.xsd" />
  <import namespace="http://xbrl.sec.gov/country/2025" schemaLocation="https://xbrl.sec.gov/country/2025/country-2025.xsd" />
  <import namespace="http://xbrl.sec.gov/currency/2025" schemaLocation="https://xbrl.sec.gov/currency/2025/currency-2025.xsd" />
  <import namespace="http://xbrl.sec.gov/exch/2025" schemaLocation="https://xbrl.sec.gov/exch/2025/exch-2025.xsd" />
  <import namespace="http://xbrl.sec.gov/naics/2025" schemaLocation="https://xbrl.sec.gov/naics/2025/naics-2025.xsd" />
  <import namespace="http://xbrl.sec.gov/sic/2025" schemaLocation="https://xbrl.sec.gov/sic/2025/sic-2025.xsd" />
  <import namespace="http://xbrl.sec.gov/stpr/2025" schemaLocation="https://xbrl.sec.gov/stpr/2025/stpr-2025.xsd" />
  <import namespace="http://www.xbrl.org/2009/role/negated" schemaLocation="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd" />
  <import namespace="http://www.xbrl.org/2009/role/net" schemaLocation="http://www.xbrl.org/lrr/role/net-2009-12-16.xsd" />
  <import namespace="http://www.xbrl.org/2009/arcrole/fact-explanatoryFact" schemaLocation="http://www.xbrl.org/lrr/arcrole/factExplanatory-2009-12-16.xsd" />
  <import namespace="http://xbrl.sec.gov/dei/2025" schemaLocation="https://xbrl.sec.gov/dei/2025/dei-2025.xsd" />
  <import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" />
  <import namespace="http://fasb.org/us-gaap/2025" schemaLocation="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd" />
  <import namespace="http://fasb.org/us-types/2025" schemaLocation="https://xbrl.fasb.org/us-gaap/2025/elts/us-types-2025.xsd" />
  <import namespace="http://fasb.org/srt/2025" schemaLocation="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd" />
  <import namespace="http://fasb.org/us-gaap-ebp/2025" schemaLocation="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd" />
  <element name="EBP003Member" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_EBP003Member" substitutionGroup="xbrli:item" />
  <element name="EmployeeBenefitPlanInvestmentAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_EmployeeBenefitPlanInvestmentAbstract" substitutionGroup="xbrli:item" />
  <element name="EmployeeBenefitPlanInvestmentTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_EmployeeBenefitPlanInvestmentTable" substitutionGroup="xbrldt:hypercubeItem" />
  <element name="EmployeeBenefitPlanInvestmentLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_EmployeeBenefitPlanInvestmentLineItems" substitutionGroup="xbrli:item" />
  <element name="EmployeeBenefitPlanInvestmentTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_EmployeeBenefitPlanInvestmentTextBlock" substitutionGroup="xbrli:item" />
  <element name="EmployeeBenefitPlanCommitmentsAndContingenciesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesAbstract" substitutionGroup="xbrli:item" />
  <element name="EmployeeBenefitPlanCommitmentsAndContingenciesLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesLineItems" substitutionGroup="xbrli:item" />
  <element name="EmployeeBenefitPlanCommitmentsAndContingenciesTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_EmployeeBenefitPlanCommitmentsAndContingenciesTextBlock" substitutionGroup="xbrli:item" />
  <element name="EmployeeBenefitPlanReconciliationOfTheChangesInNetAssetsAsPerForm5500TextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_EmployeeBenefitPlanReconciliationOfTheChangesInNetAssetsAsPerForm5500TextBlock" substitutionGroup="xbrli:item" />
  <element name="AcquisitionOfSubsidiaryDescription" type="xbrli:stringItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_AcquisitionOfSubsidiaryDescription" substitutionGroup="xbrli:item" />
  <element name="EmployeeBenefitPlanMandatoryCashOutLimit" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_EmployeeBenefitPlanMandatoryCashOutLimit" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="EmployeeBenefitPlanParticipantAdvisoryServicesFee" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_EmployeeBenefitPlanParticipantAdvisoryServicesFee" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="EmployeeBenefitPlanParticipantAnnualTrustFee" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_EmployeeBenefitPlanParticipantAnnualTrustFee" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="EmployeeBenefitPlanParticipantRecordKeepingFee" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_EmployeeBenefitPlanParticipantRecordKeepingFee" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="EmployeeBenefitPlanParticipantLoanMaintenanceFee" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_EmployeeBenefitPlanParticipantLoanMaintenanceFee" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="EmployeeBenefitPlanParticipantLoanOriginationFee" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_EmployeeBenefitPlanParticipantLoanOriginationFee" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="EmployeeBenefitPlanParticipantCatchUpContributionYearAge" type="xbrli:stringItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_EmployeeBenefitPlanParticipantCatchUpContributionYearAge" substitutionGroup="xbrli:item" />
  <element name="PercentIncrementForInvestmentElections" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_PercentIncrementForInvestmentElections" substitutionGroup="xbrli:item" />
  <element name="AnnualIncreaseInGeneralAdvisoryServicesFee" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="ubsi_AnnualIncreaseInGeneralAdvisoryServicesFee" substitutionGroup="xbrli:item" />
  <element name="CompanyStockMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_CompanyStockMember" substitutionGroup="xbrli:item" />
  <element name="InvestmentAtNavMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_InvestmentAtNavMember" substitutionGroup="xbrli:item" />
  <element name="EmployeeBenefitPlanInvestmentFairValuePerShare" type="dtr-types:perShareItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="ubsi_EmployeeBenefitPlanInvestmentFairValuePerShare" substitutionGroup="xbrli:item" />
  <element name="AmericanBeaconSmallCapValueR6Member" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_AmericanBeaconSmallCapValueR6Member" substitutionGroup="xbrli:item" />
  <element name="FiamCorePlusCommingledPoolClassIMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_FiamCorePlusCommingledPoolClassIMember" substitutionGroup="xbrli:item" />
  <element name="GalliardStableReturnFundEMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_GalliardStableReturnFundEMember" substitutionGroup="xbrli:item" />
  <element name="GreatGrayTrustEuropacificGrowthCtMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_GreatGrayTrustEuropacificGrowthCtMember" substitutionGroup="xbrli:item" />
  <element name="JpMorganLargeCapGrowthR6Member" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_JpMorganLargeCapGrowthR6Member" substitutionGroup="xbrli:item" />
  <element name="MassmutualSmallCapGrEqCitFeeCiCtMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_MassmutualSmallCapGrEqCitFeeCiCtMember" substitutionGroup="xbrli:item" />
  <element name="MfsLargeCapValueCitClCtMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_MfsLargeCapValueCitClCtMember" substitutionGroup="xbrli:item" />
  <element name="MfsMidCapGrowthFundCtMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_MfsMidCapGrowthFundCtMember" substitutionGroup="xbrli:item" />
  <element name="MfsMidCapValueFundCtMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_MfsMidCapValueFundCtMember" substitutionGroup="xbrli:item" />
  <element name="NtCollectiveAcwiExUsImiDcNlCtMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_NtCollectiveAcwiExUsImiDcNlCtMember" substitutionGroup="xbrli:item" />
  <element name="NtCollectiveAggBondNlTierCtMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_NtCollectiveAggBondNlTierCtMember" substitutionGroup="xbrli:item" />
  <element name="NtCollectiveExtendedEquityDcNlCtMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_NtCollectiveExtendedEquityDcNlCtMember" substitutionGroup="xbrli:item" />
  <element name="NtCollectiveSp500DcNlTierCtMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_NtCollectiveSp500DcNlTierCtMember" substitutionGroup="xbrli:item" />
  <element name="UnitedBanksharesIncCommonStockMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_UnitedBanksharesIncCommonStockMember" substitutionGroup="xbrli:item" />
  <element name="VanguardTargetRetirement2020InvMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_VanguardTargetRetirement2020InvMember" substitutionGroup="xbrli:item" />
  <element name="VanguardTargetRetirement2025InvMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_VanguardTargetRetirement2025InvMember" substitutionGroup="xbrli:item" />
  <element name="VanguardTargetRetirement2030InvMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_VanguardTargetRetirement2030InvMember" substitutionGroup="xbrli:item" />
  <element name="VanguardTargetRetirement2035InvMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_VanguardTargetRetirement2035InvMember" substitutionGroup="xbrli:item" />
  <element name="VanguardTargetRetirement2040InvMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_VanguardTargetRetirement2040InvMember" substitutionGroup="xbrli:item" />
  <element name="VanguardTargetRetirement2045InvMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_VanguardTargetRetirement2045InvMember" substitutionGroup="xbrli:item" />
  <element name="VanguardTargetRetirement2050InvMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_VanguardTargetRetirement2050InvMember" substitutionGroup="xbrli:item" />
  <element name="VanguardTargetRetirement2055InvMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_VanguardTargetRetirement2055InvMember" substitutionGroup="xbrli:item" />
  <element name="VanguardTargetRetirement2060InvMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_VanguardTargetRetirement2060InvMember" substitutionGroup="xbrli:item" />
  <element name="VanguardTargetRetirement2065InvMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_VanguardTargetRetirement2065InvMember" substitutionGroup="xbrli:item" />
  <element name="VanguardTargetRetirement2070InvMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_VanguardTargetRetirement2070InvMember" substitutionGroup="xbrli:item" />
  <element name="VanguardTargetRetirementIncomeInvMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_VanguardTargetRetirementIncomeInvMember" substitutionGroup="xbrli:item" />
  <element name="SharesMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_SharesMember" substitutionGroup="xbrli:item" />
  <element name="UnitsMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="ubsi_UnitsMember" substitutionGroup="xbrli:item" />
</schema>
