XML 139 R128.htm IDEA: XBRL DOCUMENT
v3.25.4

Commitments and Contingent Liabilities - Additional Information (Detail) - USD ($) | 12 Months Ended |
--- | --- | ---
Dec. 31, 2025 | Dec. 31, 2024
Loss Contingencies [Line Items] |  |
Loan commitments outstanding | $ 6,408,827,000 | $ 5,886,473,000
Loan commitments expiry period | 1 year |
Commercial Letters of Credit [Member] |  |
Loss Contingencies [Line Items] |  |
Letters of credit issued | $ 2,762,000 | 15,546,000
Standby Letters of Credit [Member] |  |
Loss Contingencies [Line Items] |  |
Letters of credit issued | $ 166,885,000 | $ 148,874,000

X
- Definition The outstanding dollar amount of commitments to extend additional credit issued as of the balance sheet date. + References No definition available. + Details
Name: | ubsi_LoanCommitmentsOutstanding
Namespace Prefix: | ubsi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 944 -SubTopic 605 -Name Accounting Standards Codification -Section 55 -Paragraph 15 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477548/944-605-55-15 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 944 -SubTopic 605 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477548/944-605-55-12 + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Period remaining on line of credit facility before it terminates, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityExpirationPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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 275 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482861/275-10-50-9 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 450 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483076/450-20-50-4 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 450 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483076/450-20-50-9 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 720 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483359/720-20-50-1 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 460 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 27 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482395/460-10-55-27 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 450 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483076/450-20-50-9 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 450 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483076/450-20-50-4 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 460 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482425/460-10-50-3 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 450 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483076/450-20-50-1 + Details
Name: | us-gaap_LossContingenciesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_LossContingenciesByNatureOfContingencyAxis=ubsi_CommercialLettersOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LossContingenciesByNatureOfContingencyAxis=us-gaap_StandbyLettersOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |