XML 134 R123.htm IDEA: XBRL DOCUMENT
v3.25.4

Employee Benefit Plans - Balances of the Plan Assets, by Fair Value Hierarchy Level (Detail) - USD ($) $ in Thousands | Dec. 31, 2025 | Dec. 31, 2024 | Dec. 31, 2023
--- | --- | --- | ---
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | $ 197,381 | $ 183,035 | $ 173,840
Cash and Cash Equivalents [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 6,505 | 5,829 |
U.S. Government and Agencies [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 29,982 | 24,874 |
Mortgage Backed Securities [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 7,705 | 6,588 |
Collateralized Mortgage Obligations [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value |  | 623 |
Municipal Obligations [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 631 | 707 |
Corporate Bonds [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 9,300 | 8,394 |
General [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 36,667 | 33,537 |
Common Stock [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 20,187 | 19,539 |
Equity Mutual Funds Domestic Equity Large Cap [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 38,185 | 37,990 |
Equity Mutual Funds Domestic Equity Small Cap [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 13,273 | 13,332 |
Equity Mutual Funds Alternative Equity [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 17,500 | 16,145 |
Equity Mutual Funds International Emerging Equity [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 4,304 | 3,993 |
Equity Mutual Funds International Equity Developed [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 13,142 | 11,484 |
Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 143,258 | 183,035 |
Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] | Cash and Cash Equivalents [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 0 | 5,829 |
Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] | U.S. Government and Agencies [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 0 | 24,874 |
Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] | Mortgage Backed Securities [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 0 | 6,588 |
Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] | Collateralized Mortgage Obligations [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value |  | 623 |
Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] | Municipal Obligations [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 0 | 707 |
Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] | Corporate Bonds [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 0 | 8,394 |
Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] | General [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 36,667 | 33,537 |
Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] | Common Stock [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 20,187 | 19,539 |
Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] | Equity Mutual Funds Domestic Equity Large Cap [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 38,185 | 37,990 |
Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] | Equity Mutual Funds Domestic Equity Small Cap [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 13,273 | 13,332 |
Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] | Equity Mutual Funds Alternative Equity [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 17,500 | 16,145 |
Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] | Equity Mutual Funds International Emerging Equity [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 4,304 | 3,993 |
Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] | Equity Mutual Funds International Equity Developed [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 13,142 | 11,484 |
Significant Other Observable Inputs (Level 2) [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 54,123 | 0 |
Significant Other Observable Inputs (Level 2) [Member] | Cash and Cash Equivalents [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 6,505 | 0 |
Significant Other Observable Inputs (Level 2) [Member] | U.S. Government and Agencies [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 29,982 | 0 |
Significant Other Observable Inputs (Level 2) [Member] | Mortgage Backed Securities [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 7,705 | 0 |
Significant Other Observable Inputs (Level 2) [Member] | Collateralized Mortgage Obligations [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value |  | 0 |
Significant Other Observable Inputs (Level 2) [Member] | Municipal Obligations [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 631 | 0 |
Significant Other Observable Inputs (Level 2) [Member] | Corporate Bonds [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 9,300 | 0 |
Significant Other Observable Inputs (Level 2) [Member] | General [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 0 | 0 |
Significant Other Observable Inputs (Level 2) [Member] | Common Stock [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 0 | 0 |
Significant Other Observable Inputs (Level 2) [Member] | Equity Mutual Funds Domestic Equity Large Cap [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 0 | 0 |
Significant Other Observable Inputs (Level 2) [Member] | Equity Mutual Funds Domestic Equity Small Cap [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 0 | 0 |
Significant Other Observable Inputs (Level 2) [Member] | Equity Mutual Funds International Emerging Equity [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 0 | 0 |
Significant Other Observable Inputs (Level 2) [Member] | Equity Mutual Funds International Equity Developed [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 0 | 0 |
Significant Unobservable Inputs (Level 3) [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 0 | 0 |
Significant Unobservable Inputs (Level 3) [Member] | Cash and Cash Equivalents [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 0 | 0 |
Significant Unobservable Inputs (Level 3) [Member] | U.S. Government and Agencies [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 0 | 0 |
Significant Unobservable Inputs (Level 3) [Member] | Mortgage Backed Securities [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 0 | 0 |
Significant Unobservable Inputs (Level 3) [Member] | Collateralized Mortgage Obligations [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value |  | 0 |
Significant Unobservable Inputs (Level 3) [Member] | Municipal Obligations [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 0 | 0 |
Significant Unobservable Inputs (Level 3) [Member] | Corporate Bonds [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 0 | 0 |
Significant Unobservable Inputs (Level 3) [Member] | General [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 0 | 0 |
Significant Unobservable Inputs (Level 3) [Member] | Common Stock [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 0 | 0 |
Significant Unobservable Inputs (Level 3) [Member] | Equity Mutual Funds Domestic Equity Large Cap [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 0 | 0 |
Significant Unobservable Inputs (Level 3) [Member] | Equity Mutual Funds Domestic Equity Small Cap [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 0 | 0 |
Significant Unobservable Inputs (Level 3) [Member] | Equity Mutual Funds International Emerging Equity [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | 0 | 0 |
Significant Unobservable Inputs (Level 3) [Member] | Equity Mutual Funds International Equity Developed [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Asset at fair value | $ 0 | $ 0 |

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (k) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (l) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (g) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (j)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (j)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (j)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (j)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (c)(iv)(02) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (c)(ii) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-7 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (q) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (m) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 + Details
Name: | us-gaap_DefinedBenefitPlanDisclosureLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of asset segregated and restricted to provide benefit under defined benefit plan. Asset includes, but is not limited to, stock, bond, other investment, earning from investment, and contribution by employer and employee. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (c)(ii) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (c)(iv)(01) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (c)(iv)(01) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (c)(ii) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480482/715-20-55-17 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(iv)(02) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(ii) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(iv)(01) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 11: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(ii) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 12: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(iv)(01) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanFairValueOfPlanAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=us-gaap_CashAndCashEquivalentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=ubsi_U.s.GovernmentAndAgenciesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=us-gaap_MortgageBackedSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=us-gaap_CollateralizedMortgageObligationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=us-gaap_MunicipalBondsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=us-gaap_CorporateBondSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=ubsi_TaxableIncomeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=us-gaap_CommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=ubsi_EquityMutualFundsDomesticEquityLargeCapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=ubsi_EquityMutualFundsDomesticEquitySmallCapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=ubsi_EquityMutualFundsAlternativeEquityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=ubsi_EquityMutualFundsInternationalEmergingEquityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=ubsi_EquityMutualFundsInternationalEquityDevelopedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |