XML 125 R114.htm IDEA: XBRL DOCUMENT
v3.25.4

Income Taxes - Reconciliation of the Total Amounts of Unrecognized Tax Benefits (Detail) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2025 | Dec. 31, 2024
Income Tax Disclosure [Abstract] |  |
Unrecognized tax benefits at beginning of year | $ 2,144 | $ 2,599
Increase in unrecognized tax benefits as a result of tax positions taken during the current period | 956 | 323
Decreases in the unrecognized tax benefits as a result of a lapse of the applicable statute of limitations | (2,144) | (778)
Unrecognized tax benefits at end of year | $ 956 | $ 2,144

X
- Definition The gross amount of decrease or increase in unrecognized tax benefits resulting from tax positions that have been or will be taken in the tax return for the current period, excluding amounts pertaining to examined tax returns. + References No definition available. + Details
Name: | ubsi_UnrecognizedTaxBenefitsIncreasesDecreasesResultingFromCurrentPeriodTaxPositions
Namespace Prefix: | ubsi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_IncomeTaxDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of unrecognized tax benefits. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 217 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482663/740-10-55-217 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-15A Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 10B -Publisher FASB -URI https://asc.fasb.org/1943274/2147482525/740-10-45-10B + Details
Name: | us-gaap_UnrecognizedTaxBenefits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of decrease in unrecognized tax benefits resulting from lapses of applicable statutes of limitations. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15A -Subparagraph (a)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-15A + Details
Name: | us-gaap_UnrecognizedTaxBenefitsReductionsResultingFromLapseOfApplicableStatuteOfLimitations
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration