XML 160 R149.htm IDEA: XBRL DOCUMENT
v3.25.4

Variable Interest Entities - Additional Information (Detail) | 12 Months Ended |
--- | --- | ---
Dec. 31, 2025 USD ($) Trust | Dec. 31, 2024 USD ($)
Financial Instruments Subject to Mandatory Redemption by Settlement Terms [Line Items] |  |
Number of statutory business trusts | Trust | 20 |
Percentage of equity shares of each trust owned by the company | 100.00% |
Variable Interest Entity, Reporting Entity Involvement, Maximum Loss Exposure, Amount | $ 129,861,000 | $ 98,441,000
Trust Preferred Securities Subject to Mandatory Redemption [Member] |  |
Financial Instruments Subject to Mandatory Redemption by Settlement Terms [Line Items] |  |
Variable Interest Entity, Reporting Entity Involvement, Maximum Loss Exposure, Amount | 12,686,000 | 12,238,000
Unfunded Loan Commitment [Member] |  |
Financial Instruments Subject to Mandatory Redemption by Settlement Terms [Line Items] |  |
Variable Interest Entity, Reporting Entity Involvement, Maximum Loss Exposure, Amount | $ 103,184,000 | $ 89,292,000

X
- Definition The number of statutory business trusts formed for the purpose of issuing or participating in pools of trust preferred capital securities. + References No definition available. + Details
Name: | ubsi_NumberOfStatutoryBusinessTrusts
Namespace Prefix: | ubsi_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

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/2009/role/commonPracticeRef -Topic 480 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481648/480-10-50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 480 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481648/480-10-50-4 + Details
Name: | us-gaap_SharesSubjectToMandatoryRedemptionBySettlementTermsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The reporting entity's maximum amount of exposure to loss as a result of its involvement with the Variable Interest Entity (VIE). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481203/810-10-50-6 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 810 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481203/810-10-50-4 + Details
Name: | us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Percentage of the Variable Interest Entity's (VIE) voting interest owned by (or beneficial interest in) the reporting entity (directly or indirectly). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 5A -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481203/810-10-50-5A + Details
Name: | us-gaap_VariableInterestEntityOwnershipPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionBySettlementTermsAxis=us-gaap_TrustPreferredSecuritiesSubjectToMandatoryRedemptionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_UnfundedLoanCommitmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |