Annual report pursuant to Section 13 and 15(d)

RELATED PARTY TRANSACTIONS (Narrative) (Details)

v2.4.1.9
RELATED PARTY TRANSACTIONS (Narrative) (Details) (USD $)
12 Months Ended 3 Months Ended
Dec. 31, 2014
Dec. 31, 2013
Dec. 31, 2012
Mar. 31, 2013
Deposit accounts $ 14,700,000us-gaap_RelatedPartyDepositLiabilities $ 22,200,000us-gaap_RelatedPartyDepositLiabilities    
Stock repurchased, aggregate purchase price 52,599,000us-gaap_StockRepurchasedDuringPeriodValue 9,499,000us-gaap_StockRepurchasedDuringPeriodValue 14,445,000us-gaap_StockRepurchasedDuringPeriodValue  
Markel Corporation [Member]        
Stock purchased under stock repurchase plan, shares       500,000us-gaap_StockRepurchasedDuringPeriodShares
/ dei_LegalEntityAxis
= ubsh_MarkelCorporationMember
Stock repurchased, aggregate purchase price       $ 9,500,000us-gaap_StockRepurchasedDuringPeriodValue
/ dei_LegalEntityAxis
= ubsh_MarkelCorporationMember
Stock repurchased, purchase price per share       $ 19.00us-gaap_TreasuryStockAcquiredAverageCostPerShare
/ dei_LegalEntityAxis
= ubsh_MarkelCorporationMember