| 
           LOANS AND ALLOWANCE FOR LOAN LOSSES (Purchased Impaired Commercial and Consumer Loan Portfolios by Class) (Details) (USD $) In Thousands, unless otherwise specified 
         | 
        
           Mar. 31, 2015 
         | 
        
           Dec. 31, 2014 
         | 
        
           Mar. 31, 2014 
         | 
      
      
        | Schedule of purchased impaired commercial and consumer loan portfolios, by class | 
         
 | 
         
 | 
         
 | 
      
      
        | Current | 
        
$ 5,236,282us-gaap_FinancingReceivableRecordedInvestmentCurrent
 | 
        
$ 5,172,879us-gaap_FinancingReceivableRecordedInvestmentCurrent
 | 
         
 | 
      
      
        | Fair value of loans acquired with a deterioration of credit quality | 
        
91,346us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality
 | 
        
105,788us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality
 | 
        
138,431us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality
 | 
      
      
        | Commercial Construction [Member] | 
         
 | 
         
 | 
         
 | 
      
      
        | Schedule of purchased impaired commercial and consumer loan portfolios, by class | 
         
 | 
         
 | 
         
 | 
      
      
        | Current | 
        
353,019us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialConstructionMember
 | 
        
335,715us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialConstructionMember
 | 
         
 | 
      
      
        | Fair value of loans acquired with a deterioration of credit quality | 
        
3,090us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialConstructionMember
 | 
        
3,782us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialConstructionMember
 | 
         
 | 
      
      
        | Commercial Real Estate - Owner Occupied [Member] | 
         
 | 
         
 | 
         
 | 
      
      
        | Schedule of purchased impaired commercial and consumer loan portfolios, by class | 
         
 | 
         
 | 
         
 | 
      
      
        | Current | 
        
859,127us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialRealEstateOwnerOccupiedMember
 | 
        
839,370us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialRealEstateOwnerOccupiedMember
 | 
         
 | 
      
      
        | Fair value of loans acquired with a deterioration of credit quality | 
        
31,004us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialRealEstateOwnerOccupiedMember
 | 
        
31,167us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialRealEstateOwnerOccupiedMember
 | 
         
 | 
      
      
        | Commercial Real Estate - Non-Owner Occupied [Member] | 
         
 | 
         
 | 
         
 | 
      
      
        | Schedule of purchased impaired commercial and consumer loan portfolios, by class | 
         
 | 
         
 | 
         
 | 
      
      
        | Current | 
        
1,494,032us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialRealEstateNonOwnerOccupiedMember
 | 
        
1,470,076us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialRealEstateNonOwnerOccupiedMember
 | 
         
 | 
      
      
        | Fair value of loans acquired with a deterioration of credit quality | 
        
19,575us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialRealEstateNonOwnerOccupiedMember
 | 
        
28,869us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialRealEstateNonOwnerOccupiedMember
 | 
         
 | 
      
      
        | Raw Land and Lots [Member] | 
         
 | 
         
 | 
         
 | 
      
      
        | Schedule of purchased impaired commercial and consumer loan portfolios, by class | 
         
 | 
         
 | 
         
 | 
      
      
        | Current | 
        
190,243us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_RawLandAndLotsMember
 | 
        
201,056us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_RawLandAndLotsMember
 | 
         
 | 
      
      
        | Fair value of loans acquired with a deterioration of credit quality | 
        
6,055us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_RawLandAndLotsMember
 | 
        
7,427us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_RawLandAndLotsMember
 | 
         
 | 
      
      
        | Single Family Investment Real Estate [Member] | 
         
 | 
         
 | 
         
 | 
      
      
        | Schedule of purchased impaired commercial and consumer loan portfolios, by class | 
         
 | 
         
 | 
         
 | 
      
      
        | Current | 
        
397,768us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_SingleFamilyInvestmentRealEstateMember
 | 
        
389,648us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_SingleFamilyInvestmentRealEstateMember
 | 
         
 | 
      
      
        | Fair value of loans acquired with a deterioration of credit quality | 
        
16,299us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_SingleFamilyInvestmentRealEstateMember
 | 
        
16,879us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_SingleFamilyInvestmentRealEstateMember
 | 
         
 | 
      
      
        | Commercial and Industrial [Member] | 
         
 | 
         
 | 
         
 | 
      
      
        | Schedule of purchased impaired commercial and consumer loan portfolios, by class | 
         
 | 
         
 | 
         
 | 
      
      
        | Current | 
        
418,420us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialAndIndustrialMember
 | 
        
384,307us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialAndIndustrialMember
 | 
         
 | 
      
      
        | Fair value of loans acquired with a deterioration of credit quality | 
        
3,338us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialAndIndustrialMember
 | 
        
3,855us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialAndIndustrialMember
 | 
         
 | 
      
      
        | Other Commercial [Member] | 
         
 | 
         
 | 
         
 | 
      
      
        | Schedule of purchased impaired commercial and consumer loan portfolios, by class | 
         
 | 
         
 | 
         
 | 
      
      
        | Current | 
        
78,136us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_OtherCommercialMember
 | 
        
78,732us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_OtherCommercialMember
 | 
         
 | 
      
      
        | Fair value of loans acquired with a deterioration of credit quality | 
        
1,794us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_OtherCommercialMember
 | 
        
2,256us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_OtherCommercialMember
 | 
         
 | 
      
      
        | Indirect Auto [Member] | 
         
 | 
         
 | 
         
 | 
      
      
        | Schedule of purchased impaired commercial and consumer loan portfolios, by class | 
         
 | 
         
 | 
         
 | 
      
      
        | Current | 
        
201,571us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = us-gaap_ConsumerLoansAutoFinancingReceivableMember
 | 
        
197,238us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = us-gaap_ConsumerLoansAutoFinancingReceivableMember
 | 
         
 | 
      
      
        | Fair value of loans acquired with a deterioration of credit quality | 
          
 | 
          
 | 
         
 | 
      
      
        | Mortgage [Member] | 
         
 | 
         
 | 
         
 | 
      
      
        | Schedule of purchased impaired commercial and consumer loan portfolios, by class | 
         
 | 
         
 | 
         
 | 
      
      
        | Current | 
        
439,141us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = us-gaap_MortgagesMember
 | 
        
447,026us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = us-gaap_MortgagesMember
 | 
         
 | 
      
      
        | Fair value of loans acquired with a deterioration of credit quality | 
        
6,381us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = us-gaap_MortgagesMember
 | 
        
7,394us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = us-gaap_MortgagesMember
 | 
         
 | 
      
      
        | Consumer Construction [Member] | 
         
 | 
         
 | 
         
 | 
      
      
        | Schedule of purchased impaired commercial and consumer loan portfolios, by class | 
         
 | 
         
 | 
         
 | 
      
      
        | Current | 
        
63,508us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_ConsumerConstructionMember
 | 
        
72,688us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_ConsumerConstructionMember
 | 
         
 | 
      
      
        | Fair value of loans acquired with a deterioration of credit quality | 
        
504us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_ConsumerConstructionMember
 | 
        
516us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_ConsumerConstructionMember
 | 
         
 | 
      
      
        | HELOCs [Member] | 
         
 | 
         
 | 
         
 | 
      
      
        | Schedule of purchased impaired commercial and consumer loan portfolios, by class | 
         
 | 
         
 | 
         
 | 
      
      
        | Current | 
        
484,204us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_HelocsMember
 | 
        
493,464us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_HelocsMember
 | 
         
 | 
      
      
        | Fair value of loans acquired with a deterioration of credit quality | 
        
1,889us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_HelocsMember
 | 
        
2,000us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_HelocsMember
 | 
         
 | 
      
      
        | Other Consumer [Member] | 
         
 | 
         
 | 
         
 | 
      
      
        | Schedule of purchased impaired commercial and consumer loan portfolios, by class | 
         
 | 
         
 | 
         
 | 
      
      
        | Current | 
        
189,322us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = us-gaap_ConsumerOtherFinancingReceivableMember
 | 
        
197,054us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = us-gaap_ConsumerOtherFinancingReceivableMember
 | 
         
 | 
      
      
        | Fair value of loans acquired with a deterioration of credit quality | 
        
1,417us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = us-gaap_ConsumerOtherFinancingReceivableMember
 | 
        
1,643us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = us-gaap_ConsumerOtherFinancingReceivableMember
 | 
         
 | 
      
      
        | Receivables Acquired with Deteriorated Credit Quality [Member] | 
         
 | 
         
 | 
         
 | 
      
      
        | Schedule of purchased impaired commercial and consumer loan portfolios, by class | 
         
 | 
         
 | 
         
 | 
      
      
        | 30-89 Days Past Due | 
        
5,616ubsh_FinancingReceivableRecordedInvestmentThirtyToEightyNineDaysPastDue / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
6,181ubsh_FinancingReceivableRecordedInvestmentThirtyToEightyNineDaysPastDue / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Greater than 90 Days | 
        
8,461us-gaap_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDue / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
10,013us-gaap_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDue / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Current | 
        
77,269us-gaap_FinancingReceivableRecordedInvestmentCurrent / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
89,594us-gaap_FinancingReceivableRecordedInvestmentCurrent / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Fair value of loans acquired with a deterioration of credit quality | 
        
91,346us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
105,788us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Receivables Acquired with Deteriorated Credit Quality [Member] | Commercial Construction [Member] | 
         
 | 
         
 | 
         
 | 
      
      
        | Schedule of purchased impaired commercial and consumer loan portfolios, by class | 
         
 | 
         
 | 
         
 | 
      
      
        | 30-89 Days Past Due | 
          
 | 
          
 | 
         
 | 
      
      
        | Greater than 90 Days | 
        
599us-gaap_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialConstructionMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
652us-gaap_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialConstructionMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Current | 
        
2,491us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialConstructionMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
3,130us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialConstructionMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Fair value of loans acquired with a deterioration of credit quality | 
        
3,090us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialConstructionMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
3,782us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialConstructionMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Receivables Acquired with Deteriorated Credit Quality [Member] | Commercial Real Estate - Owner Occupied [Member] | 
         
 | 
         
 | 
         
 | 
      
      
        | Schedule of purchased impaired commercial and consumer loan portfolios, by class | 
         
 | 
         
 | 
         
 | 
      
      
        | 30-89 Days Past Due | 
        
1,357ubsh_FinancingReceivableRecordedInvestmentThirtyToEightyNineDaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialRealEstateOwnerOccupiedMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
1,138ubsh_FinancingReceivableRecordedInvestmentThirtyToEightyNineDaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialRealEstateOwnerOccupiedMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Greater than 90 Days | 
        
1,966us-gaap_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialRealEstateOwnerOccupiedMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
843us-gaap_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialRealEstateOwnerOccupiedMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Current | 
        
27,681us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialRealEstateOwnerOccupiedMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
29,186us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialRealEstateOwnerOccupiedMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Fair value of loans acquired with a deterioration of credit quality | 
        
31,004us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialRealEstateOwnerOccupiedMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
31,167us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialRealEstateOwnerOccupiedMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Receivables Acquired with Deteriorated Credit Quality [Member] | Commercial Real Estate - Non-Owner Occupied [Member] | 
         
 | 
         
 | 
         
 | 
      
      
        | Schedule of purchased impaired commercial and consumer loan portfolios, by class | 
         
 | 
         
 | 
         
 | 
      
      
        | 30-89 Days Past Due | 
        
747ubsh_FinancingReceivableRecordedInvestmentThirtyToEightyNineDaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialRealEstateNonOwnerOccupiedMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
523ubsh_FinancingReceivableRecordedInvestmentThirtyToEightyNineDaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialRealEstateNonOwnerOccupiedMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Greater than 90 Days | 
        
321us-gaap_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialRealEstateNonOwnerOccupiedMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
1,255us-gaap_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialRealEstateNonOwnerOccupiedMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Current | 
        
18,507us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialRealEstateNonOwnerOccupiedMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
27,091us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialRealEstateNonOwnerOccupiedMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Fair value of loans acquired with a deterioration of credit quality | 
        
19,575us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialRealEstateNonOwnerOccupiedMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
28,869us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialRealEstateNonOwnerOccupiedMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Receivables Acquired with Deteriorated Credit Quality [Member] | Raw Land and Lots [Member] | 
         
 | 
         
 | 
         
 | 
      
      
        | Schedule of purchased impaired commercial and consumer loan portfolios, by class | 
         
 | 
         
 | 
         
 | 
      
      
        | 30-89 Days Past Due | 
        
155ubsh_FinancingReceivableRecordedInvestmentThirtyToEightyNineDaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_RawLandAndLotsMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
522ubsh_FinancingReceivableRecordedInvestmentThirtyToEightyNineDaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_RawLandAndLotsMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Greater than 90 Days | 
        
259us-gaap_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_RawLandAndLotsMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
          
 | 
         
 | 
      
      
        | Current | 
        
5,641us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_RawLandAndLotsMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
6,905us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_RawLandAndLotsMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Fair value of loans acquired with a deterioration of credit quality | 
        
6,055us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_RawLandAndLotsMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
7,427us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_RawLandAndLotsMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Receivables Acquired with Deteriorated Credit Quality [Member] | Single Family Investment Real Estate [Member] | 
         
 | 
         
 | 
         
 | 
      
      
        | Schedule of purchased impaired commercial and consumer loan portfolios, by class | 
         
 | 
         
 | 
         
 | 
      
      
        | 30-89 Days Past Due | 
        
1,721ubsh_FinancingReceivableRecordedInvestmentThirtyToEightyNineDaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_SingleFamilyInvestmentRealEstateMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
1,327ubsh_FinancingReceivableRecordedInvestmentThirtyToEightyNineDaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_SingleFamilyInvestmentRealEstateMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Greater than 90 Days | 
        
697us-gaap_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_SingleFamilyInvestmentRealEstateMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
1,311us-gaap_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_SingleFamilyInvestmentRealEstateMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Current | 
        
13,881us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_SingleFamilyInvestmentRealEstateMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
14,241us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_SingleFamilyInvestmentRealEstateMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Fair value of loans acquired with a deterioration of credit quality | 
        
16,299us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_SingleFamilyInvestmentRealEstateMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
16,879us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_SingleFamilyInvestmentRealEstateMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Receivables Acquired with Deteriorated Credit Quality [Member] | Commercial and Industrial [Member] | 
         
 | 
         
 | 
         
 | 
      
      
        | Schedule of purchased impaired commercial and consumer loan portfolios, by class | 
         
 | 
         
 | 
         
 | 
      
      
        | 30-89 Days Past Due | 
        
214ubsh_FinancingReceivableRecordedInvestmentThirtyToEightyNineDaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialAndIndustrialMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
144ubsh_FinancingReceivableRecordedInvestmentThirtyToEightyNineDaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialAndIndustrialMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Greater than 90 Days | 
        
174us-gaap_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialAndIndustrialMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
538us-gaap_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialAndIndustrialMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Current | 
        
2,950us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialAndIndustrialMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
3,173us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialAndIndustrialMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Fair value of loans acquired with a deterioration of credit quality | 
        
3,338us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialAndIndustrialMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
3,855us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_CommercialAndIndustrialMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Receivables Acquired with Deteriorated Credit Quality [Member] | Other Commercial [Member] | 
         
 | 
         
 | 
         
 | 
      
      
        | Schedule of purchased impaired commercial and consumer loan portfolios, by class | 
         
 | 
         
 | 
         
 | 
      
      
        | 30-89 Days Past Due | 
        
66ubsh_FinancingReceivableRecordedInvestmentThirtyToEightyNineDaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_OtherCommercialMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
107ubsh_FinancingReceivableRecordedInvestmentThirtyToEightyNineDaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_OtherCommercialMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Greater than 90 Days | 
        
803us-gaap_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_OtherCommercialMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
1,133us-gaap_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_OtherCommercialMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Current | 
        
925us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_OtherCommercialMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
1,016us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_OtherCommercialMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Fair value of loans acquired with a deterioration of credit quality | 
        
1,794us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_OtherCommercialMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
2,256us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_OtherCommercialMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Receivables Acquired with Deteriorated Credit Quality [Member] | Mortgage [Member] | 
         
 | 
         
 | 
         
 | 
      
      
        | Schedule of purchased impaired commercial and consumer loan portfolios, by class | 
         
 | 
         
 | 
         
 | 
      
      
        | 30-89 Days Past Due | 
        
1,123ubsh_FinancingReceivableRecordedInvestmentThirtyToEightyNineDaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = us-gaap_MortgagesMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
1,975ubsh_FinancingReceivableRecordedInvestmentThirtyToEightyNineDaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = us-gaap_MortgagesMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Greater than 90 Days | 
        
2,574us-gaap_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = us-gaap_MortgagesMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
2,866us-gaap_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = us-gaap_MortgagesMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Current | 
        
2,684us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = us-gaap_MortgagesMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
2,553us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = us-gaap_MortgagesMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Fair value of loans acquired with a deterioration of credit quality | 
        
6,381us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = us-gaap_MortgagesMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
7,394us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = us-gaap_MortgagesMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Receivables Acquired with Deteriorated Credit Quality [Member] | Consumer Construction [Member] | 
         
 | 
         
 | 
         
 | 
      
      
        | Schedule of purchased impaired commercial and consumer loan portfolios, by class | 
         
 | 
         
 | 
         
 | 
      
      
        | 30-89 Days Past Due | 
          
 | 
          
 | 
         
 | 
      
      
        | Greater than 90 Days | 
        
504us-gaap_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_ConsumerConstructionMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
516us-gaap_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_ConsumerConstructionMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Current | 
         
 | 
          
 | 
         
 | 
      
      
        | Fair value of loans acquired with a deterioration of credit quality | 
        
504us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_ConsumerConstructionMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
516us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_ConsumerConstructionMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Receivables Acquired with Deteriorated Credit Quality [Member] | HELOCs [Member] | 
         
 | 
         
 | 
         
 | 
      
      
        | Schedule of purchased impaired commercial and consumer loan portfolios, by class | 
         
 | 
         
 | 
         
 | 
      
      
        | 30-89 Days Past Due | 
        
146ubsh_FinancingReceivableRecordedInvestmentThirtyToEightyNineDaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_HelocsMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
356ubsh_FinancingReceivableRecordedInvestmentThirtyToEightyNineDaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_HelocsMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Greater than 90 Days | 
        
527us-gaap_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_HelocsMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
728us-gaap_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_HelocsMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Current | 
        
1,216us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_HelocsMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
916us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_HelocsMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Fair value of loans acquired with a deterioration of credit quality | 
        
1,889us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_HelocsMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
2,000us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = ubsh_HelocsMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Receivables Acquired with Deteriorated Credit Quality [Member] | Other Consumer [Member] | 
         
 | 
         
 | 
         
 | 
      
      
        | Schedule of purchased impaired commercial and consumer loan portfolios, by class | 
         
 | 
         
 | 
         
 | 
      
      
        | 30-89 Days Past Due | 
        
87ubsh_FinancingReceivableRecordedInvestmentThirtyToEightyNineDaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = us-gaap_ConsumerOtherFinancingReceivableMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
89ubsh_FinancingReceivableRecordedInvestmentThirtyToEightyNineDaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = us-gaap_ConsumerOtherFinancingReceivableMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Greater than 90 Days | 
        
37us-gaap_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = us-gaap_ConsumerOtherFinancingReceivableMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
171us-gaap_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDue / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = us-gaap_ConsumerOtherFinancingReceivableMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Current | 
        
1,293us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = us-gaap_ConsumerOtherFinancingReceivableMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
1,383us-gaap_FinancingReceivableRecordedInvestmentCurrent / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = us-gaap_ConsumerOtherFinancingReceivableMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 | 
      
      
        | Fair value of loans acquired with a deterioration of credit quality | 
        
$ 1,417us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = us-gaap_ConsumerOtherFinancingReceivableMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
        
$ 1,643us-gaap_FinancingReceivableAcquiredWithDeterioratedCreditQuality / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis = us-gaap_ConsumerOtherFinancingReceivableMember / ubsh_FinancingReceivablesPurchasedImpairedAxis = ubsh_ReceivablesAcquiredWithDeterioratedCreditQualityMember
 | 
         
 |