XML 143 R132.htm IDEA: XBRL DOCUMENT
v3.25.4

Derivative Financial Instruments - Schedule of Derivative Financial Instruments on Statements of Income (Detail) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2025 | Dec. 31, 2024 | Dec. 31, 2023
Derivative [Line Items] |  |  |
Derivatives in hedging relationships | $ 9,392 | $ 21,293 | $ 22,713
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] | Interest Income (Expense), after Provision for Loan Loss |  |
Designated as Hedging Instrument [Member] |  |  |
Derivative [Line Items] |  |  |
Derivatives in hedging relationships | $ 9,716 | 20,940 | 23,691
Designated as Hedging Instrument [Member] | Interest on long-term borrowings [Member] | Interest Rate Contracts [Member] | Cash Flow Hedging [Member] |  |  |
Derivative [Line Items] |  |  |
Derivatives in hedging relationships | 9,718 | 20,932 | 23,574
Designated as Hedging Instrument [Member] | Interest And Fees On Loans And Leases [Member] | Interest Rate Contracts [Member] | Fair Value Hedging [Member] |  |  |
Derivative [Line Items] |  |  |
Derivatives in hedging relationships | (2) | 8 | 117
Not Designated as Hedging Instrument [Member] |  |  |
Derivative [Line Items] |  |  |
Derivatives not designated as hedging instruments | (324) | 353 | (978)
Not Designated as Hedging Instrument [Member] | Income from Mortgage Banking Activities [Member] | TBA Mortgage Backed Securities [Member] |  |  |
Derivative [Line Items] |  |  |
Derivatives not designated as hedging instruments | (348) | 956 | (611)
Not Designated as Hedging Instrument [Member] | Income from Mortgage Banking Activities [Member] | Interest Rate Lock Commitments [Member] |  |  |
Derivative [Line Items] |  |  |
Derivatives not designated as hedging instruments | (11) | (489) | (240)
Not Designated as Hedging Instrument [Member] | Income from Mortgage Banking Activities [Member] | Forward Loan Sale Commitments [Member] |  |  |
Derivative [Line Items] |  |  |
Derivatives not designated as hedging instruments | $ 35 | $ (114) | $ (127)

X
- Definition Amount of increase (decrease) in the fair value of derivatives recognized in the income statement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4A -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4A Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name Accounting Standards Codification -Section 55 -Paragraph 10 -SubTopic 10 -Topic 825 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482881/825-10-55-10 + Details
Name: | us-gaap_DerivativeGainLossOnDerivativeNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Indicates line item in statement of income or comprehensive income that includes gain (loss) from derivative. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4A -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4A + Details
Name: | us-gaap_DerivativeGainLossStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of realized and unrealized gain (loss) of derivative instruments not designated or qualifying as hedging instruments. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 182 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480401/815-10-55-182 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4CC -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4CC Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 21 -Subparagraph (i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147476148/220-40-50-21 + Details
Name: | us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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/2009/role/commonPracticeRef -Topic 815 -SubTopic 20 -Name Accounting Standards Codification -Section 25 -Paragraph 6A -Publisher FASB -URI https://asc.fasb.org/1943274/2147480682/815-20-25-6A Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480237/815-40-50-5 + Details
Name: | us-gaap_DerivativeLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_DesignatedAsHedgingInstrumentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ubsi_StatementOfIncomeLocationAxis=ubsi_InterestOnLongTermBorrowingsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis=us-gaap_CashFlowHedgingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ubsi_StatementOfIncomeLocationAxis=ubsi_InterestAndFeesOnLoansAndLeasesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis=us-gaap_FairValueHedgingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_NondesignatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ubsi_StatementOfIncomeLocationAxis=ubsi_IncomeFromMortgageBankingActivitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=ubsi_TbaMortgageBackedSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_InterestRateLockCommitmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=ubsi_ForwardLoanSaleCommitmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |