XML 115 R104.htm IDEA: XBRL DOCUMENT
v3.25.4

Long-Term Borrowings - FHLB Advances and Related Weighted Average Interest Rates (Detail) - USD ($) $ in Thousands | Dec. 31, 2025 | Dec. 31, 2024
--- | --- | ---
Debt Disclosure [Abstract] |  |
FHLB advances, Amount | $ 250,000 | $ 260,199
FHLB advances, Weighted-Average Contractual Rate | 4.05% | 4.62%
FHLB advances, Weighted-Average Effective Rate | 0.59% | 0.63%

X
- Definition Describes the weighted average effective interest rate applicable to the specific advances from the Federal Home Loan Bank, by branch, as of the Balance Sheet date. + References No definition available. + Details
Name: | ubsi_FederalHomeLoanBankAdvancesBranchOfFhlbBankWeightedAverageEffectiveInterestRate
Namespace Prefix: | ubsi_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

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

X
- Definition Amount of advance from Federal Home Loan Bank (FHLBank). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 470 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478878/942-470-45-1 + Details
Name: | us-gaap_FederalHomeLoanBankAdvancesBranchOfFHLBBankAmountOfAdvancesByBranch
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Rate of interest applicable on advance from Federal Home Loan Bank (FHLBank). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 470 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478878/942-470-45-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477734/942-470-50-3 + Details
Name: | us-gaap_FederalHomeLoanBankAdvancesBranchOfFHLBBankInterestRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant