XML 12 R1.htm IDEA: XBRL DOCUMENT v3.25.4
Cover Page - USD ($)
12 Months Ended
Dec. 31, 2025
Jan. 31, 2026
Jun. 30, 2025
Cover [Abstract]      
Document Type 10-K    
Amendment Flag false    
Document Annual Report true    
Document Transition Report false    
Document Fiscal Year Focus 2025    
Document Period End Date Dec. 31, 2025    
Document Fiscal Period Focus FY    
Current Fiscal Year End Date --12-31    
Entity Registrant Name UNITED BANKSHARES INC/WV    
Entity Central Index Key 0000729986    
Entity Current Reporting Status Yes    
Trading Symbol UBSI    
Entity Filer Category Large Accelerated Filer    
Entity Emerging Growth Company false    
Entity Shell Company false    
Entity Small Business false    
Entity Common Stock, Shares Outstanding   139,419,485  
Entity Public Float     $ 4,995,534,716
Entity Interactive Data Current Yes    
Title of 12(b) Security Common Stock    
Entity File Number 002-86947    
Security Exchange Name NASDAQ    
Entity Tax Identification Number 55-0641179    
Entity Address, Address Line One 300 United Center    
Entity Address, Address Line Two 500 Virginia Street, East    
Entity Address, City or Town Charleston    
Entity Address, State or Province WV    
Entity Address, Postal Zip Code 25301    
City Area Code 304    
Local Phone Number 424-8716    
Entity Incorporation, State or Country Code WV    
Entity Voluntary Filers No    
Entity Well-known Seasoned Issuer Yes    
ICFR Auditor Attestation Flag true    
Auditor Firm ID 42    
Auditor Name Ernst & Young LLP    
Auditor Location Charleston, WV, USA    
Document Financial Statement Error Correction [Flag] false