| LOANS AND ALLOWANCE FOR LOAN LOSSES (Impaired Loans Individually Evaluated for Impairment by Class) (Details) (USD $)In Thousands, unless otherwise specified
 | 3 Months Ended | 12 Months Ended | 
      
        | Mar. 31, 2015 | Dec. 31, 2014 | 
      
        | Financing Receivable, Impaired [Line Items] |  |  | 
      
        | Loans without a specific allowance, Recorded Investment | $ 89,907us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment | $ 101,316us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment | 
      
        | Loans without a specific allowance, Unpaid Principal Balance | 94,366us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance | 109,728us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance | 
      
        | Loans without a specific allowance, YTD Average Investment | 92,990us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment | 109,502us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment | 
      
        | Loans without a specific allowance, Interest Income Recognized | 957us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeAccrualMethod | 4,589us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeAccrualMethod | 
      
        | Loans with a specific allowance, Recorded Investment | 24,849us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment | 30,864us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment | 
      
        | Loans with a specific allowance, Unpaid Principal Balance | 28,537us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance | 31,127us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance | 
      
        | Loans with a specific allowance, Related Allowance | 1,704us-gaap_ImpairedFinancingReceivableRelatedAllowance | 4,531us-gaap_ImpairedFinancingReceivableRelatedAllowance | 
      
        | Loans with a specific allowance, YTD Average Investment | 26,326us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment | 31,682us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment | 
      
        | Loans with a specific allowance, Interest Income Recognized | 264us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod | 1,282us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod | 
      
        | Recorded Investment | 114,756us-gaap_ImpairedFinancingReceivableRecordedInvestment | 132,180us-gaap_ImpairedFinancingReceivableRecordedInvestment | 
      
        | Unpaid Principal Balance | 122,903us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance | 140,855us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance | 
      
        | Year to Date Average Investment | 119,316us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment | 141,184us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment | 
      
        | Interest Income Recognized | 1,221us-gaap_ImpairedFinancingReceivableInterestIncomeAccrualMethod | 5,871us-gaap_ImpairedFinancingReceivableInterestIncomeAccrualMethod | 
      
        | Commercial Construction [Member] |  |  | 
      
        | Financing Receivable, Impaired [Line Items] |  |  | 
      
        | Loans without a specific allowance, Recorded Investment | 6,242us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialConstructionMember
 | 5,281us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialConstructionMember
 | 
      
        | Loans without a specific allowance, Unpaid Principal Balance | 6,517us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialConstructionMember
 | 5,367us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialConstructionMember
 | 
      
        | Loans without a specific allowance, YTD Average Investment | 6,320us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialConstructionMember
 | 5,755us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialConstructionMember
 | 
      
        | Loans without a specific allowance, Interest Income Recognized | 52us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialConstructionMember
 | 165us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialConstructionMember
 | 
      
        | Loans with a specific allowance, Recorded Investment | 40us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialConstructionMember
 | 570us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialConstructionMember
 | 
      
        | Loans with a specific allowance, Unpaid Principal Balance | 40us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialConstructionMember
 | 570us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialConstructionMember
 | 
      
        | Loans with a specific allowance, Related Allowance | 4us-gaap_ImpairedFinancingReceivableRelatedAllowance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialConstructionMember
 | 51us-gaap_ImpairedFinancingReceivableRelatedAllowance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialConstructionMember
 | 
      
        | Loans with a specific allowance, YTD Average Investment | 37us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialConstructionMember
 | 506us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialConstructionMember
 | 
      
        | Loans with a specific allowance, Interest Income Recognized |  | 13us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialConstructionMember
 | 
      
        | Commercial Real Estate - Owner Occupied [Member] |  |  | 
      
        | Financing Receivable, Impaired [Line Items] |  |  | 
      
        | Loans without a specific allowance, Recorded Investment | 17,435us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateOwnerOccupiedMember
 | 15,722us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateOwnerOccupiedMember
 | 
      
        | Loans without a specific allowance, Unpaid Principal Balance | 17,590us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateOwnerOccupiedMember
 | 16,430us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateOwnerOccupiedMember
 | 
      
        | Loans without a specific allowance, YTD Average Investment | 16,580us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateOwnerOccupiedMember
 | 16,774us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateOwnerOccupiedMember
 | 
      
        | Loans without a specific allowance, Interest Income Recognized | 199us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateOwnerOccupiedMember
 | 737us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateOwnerOccupiedMember
 | 
      
        | Loans with a specific allowance, Recorded Investment | 7,142us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateOwnerOccupiedMember
 | 5,951us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateOwnerOccupiedMember
 | 
      
        | Loans with a specific allowance, Unpaid Principal Balance | 7,257us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateOwnerOccupiedMember
 | 5,999us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateOwnerOccupiedMember
 | 
      
        | Loans with a specific allowance, Related Allowance | 526us-gaap_ImpairedFinancingReceivableRelatedAllowance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateOwnerOccupiedMember
 | 355us-gaap_ImpairedFinancingReceivableRelatedAllowance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateOwnerOccupiedMember
 | 
      
        | Loans with a specific allowance, YTD Average Investment | 7,177us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateOwnerOccupiedMember
 | 5,946us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateOwnerOccupiedMember
 | 
      
        | Loans with a specific allowance, Interest Income Recognized | 67us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateOwnerOccupiedMember
 | 280us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateOwnerOccupiedMember
 | 
      
        | Commercial Real Estate - Non-Owner Occupied [Member] |  |  | 
      
        | Financing Receivable, Impaired [Line Items] |  |  | 
      
        | Loans without a specific allowance, Recorded Investment | 13,488us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateNonOwnerOccupiedMember
 | 22,917us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateNonOwnerOccupiedMember
 | 
      
        | Loans without a specific allowance, Unpaid Principal Balance | 15,638us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateNonOwnerOccupiedMember
 | 22,917us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateNonOwnerOccupiedMember
 | 
      
        | Loans without a specific allowance, YTD Average Investment | 16,086us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateNonOwnerOccupiedMember
 | 23,209us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateNonOwnerOccupiedMember
 | 
      
        | Loans without a specific allowance, Interest Income Recognized | 124us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateNonOwnerOccupiedMember
 | 1,116us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateNonOwnerOccupiedMember
 | 
      
        | Loans with a specific allowance, Recorded Investment | 6,284us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateNonOwnerOccupiedMember
 | 10,575us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateNonOwnerOccupiedMember
 | 
      
        | Loans with a specific allowance, Unpaid Principal Balance | 6,284us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateNonOwnerOccupiedMember
 | 10,572us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateNonOwnerOccupiedMember
 | 
      
        | Loans with a specific allowance, Related Allowance | 146us-gaap_ImpairedFinancingReceivableRelatedAllowance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateNonOwnerOccupiedMember
 | 2,017us-gaap_ImpairedFinancingReceivableRelatedAllowance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateNonOwnerOccupiedMember
 | 
      
        | Loans with a specific allowance, YTD Average Investment | 7,408us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateNonOwnerOccupiedMember
 | 10,823us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateNonOwnerOccupiedMember
 | 
      
        | Loans with a specific allowance, Interest Income Recognized | 96us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateNonOwnerOccupiedMember
 | 474us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialRealEstateNonOwnerOccupiedMember
 | 
      
        | Raw Land and Lots [Member] |  |  | 
      
        | Financing Receivable, Impaired [Line Items] |  |  | 
      
        | Loans without a specific allowance, Recorded Investment | 41,245us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_RawLandAndLotsMember
 | 44,790us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_RawLandAndLotsMember
 | 
      
        | Loans without a specific allowance, Unpaid Principal Balance | 41,513us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_RawLandAndLotsMember
 | 47,662us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_RawLandAndLotsMember
 | 
      
        | Loans without a specific allowance, YTD Average Investment | 41,561us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_RawLandAndLotsMember
 | 47,988us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_RawLandAndLotsMember
 | 
      
        | Loans without a specific allowance, Interest Income Recognized | 490us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_RawLandAndLotsMember
 | 2,124us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_RawLandAndLotsMember
 | 
      
        | Loans with a specific allowance, Recorded Investment | 628us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_RawLandAndLotsMember
 | 1,343us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_RawLandAndLotsMember
 | 
      
        | Loans with a specific allowance, Unpaid Principal Balance | 628us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_RawLandAndLotsMember
 | 1,373us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_RawLandAndLotsMember
 | 
      
        | Loans with a specific allowance, Related Allowance | 11us-gaap_ImpairedFinancingReceivableRelatedAllowance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_RawLandAndLotsMember
 | 98us-gaap_ImpairedFinancingReceivableRelatedAllowance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_RawLandAndLotsMember
 | 
      
        | Loans with a specific allowance, YTD Average Investment | 700us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_RawLandAndLotsMember
 | 1,472us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_RawLandAndLotsMember
 | 
      
        | Loans with a specific allowance, Interest Income Recognized | 8us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_RawLandAndLotsMember
 | 59us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_RawLandAndLotsMember
 | 
      
        | Single Family Investment Real Estate [Member] |  |  | 
      
        | Financing Receivable, Impaired [Line Items] |  |  | 
      
        | Loans without a specific allowance, Recorded Investment | 3,874us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_SingleFamilyInvestmentRealEstateMember
 | 4,197us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_SingleFamilyInvestmentRealEstateMember
 | 
      
        | Loans without a specific allowance, Unpaid Principal Balance | 4,574us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_SingleFamilyInvestmentRealEstateMember
 | 4,881us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_SingleFamilyInvestmentRealEstateMember
 | 
      
        | Loans without a specific allowance, YTD Average Investment | 4,271us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_SingleFamilyInvestmentRealEstateMember
 | 6,534us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_SingleFamilyInvestmentRealEstateMember
 | 
      
        | Loans without a specific allowance, Interest Income Recognized | 36us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_SingleFamilyInvestmentRealEstateMember
 | 170us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_SingleFamilyInvestmentRealEstateMember
 | 
      
        | Loans with a specific allowance, Recorded Investment | 3,537us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_SingleFamilyInvestmentRealEstateMember
 | 4,125us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_SingleFamilyInvestmentRealEstateMember
 | 
      
        | Loans with a specific allowance, Unpaid Principal Balance | 3,562us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_SingleFamilyInvestmentRealEstateMember
 | 4,144us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_SingleFamilyInvestmentRealEstateMember
 | 
      
        | Loans with a specific allowance, Related Allowance | 281us-gaap_ImpairedFinancingReceivableRelatedAllowance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_SingleFamilyInvestmentRealEstateMember
 | 562us-gaap_ImpairedFinancingReceivableRelatedAllowance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_SingleFamilyInvestmentRealEstateMember
 | 
      
        | Loans with a specific allowance, YTD Average Investment | 3,552us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_SingleFamilyInvestmentRealEstateMember
 | 4,293us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_SingleFamilyInvestmentRealEstateMember
 | 
      
        | Loans with a specific allowance, Interest Income Recognized | 38us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_SingleFamilyInvestmentRealEstateMember
 | 159us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_SingleFamilyInvestmentRealEstateMember
 | 
      
        | Commercial and Industrial [Member] |  |  | 
      
        | Financing Receivable, Impaired [Line Items] |  |  | 
      
        | Loans without a specific allowance, Recorded Investment | 2,889us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialAndIndustrialMember
 | 4,453us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialAndIndustrialMember
 | 
      
        | Loans without a specific allowance, Unpaid Principal Balance | 3,427us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialAndIndustrialMember
 | 7,933us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialAndIndustrialMember
 | 
      
        | Loans without a specific allowance, YTD Average Investment | 3,204us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialAndIndustrialMember
 | 5,070us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialAndIndustrialMember
 | 
      
        | Loans without a specific allowance, Interest Income Recognized | 26us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialAndIndustrialMember
 | 121us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialAndIndustrialMember
 | 
      
        | Loans with a specific allowance, Recorded Investment | 4,340us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialAndIndustrialMember
 | 2,938us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialAndIndustrialMember
 | 
      
        | Loans with a specific allowance, Unpaid Principal Balance | 7,610us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialAndIndustrialMember
 | 3,009us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialAndIndustrialMember
 | 
      
        | Loans with a specific allowance, Related Allowance | 459us-gaap_ImpairedFinancingReceivableRelatedAllowance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialAndIndustrialMember
 | 582us-gaap_ImpairedFinancingReceivableRelatedAllowance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialAndIndustrialMember
 | 
      
        | Loans with a specific allowance, YTD Average Investment | 4,443us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialAndIndustrialMember
 | 3,125us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialAndIndustrialMember
 | 
      
        | Loans with a specific allowance, Interest Income Recognized | 37us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialAndIndustrialMember
 | 138us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_CommercialAndIndustrialMember
 | 
      
        | Other Commercial [Member] |  |  | 
      
        | Financing Receivable, Impaired [Line Items] |  |  | 
      
        | Loans without a specific allowance, Recorded Investment | 949us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_OtherCommercialMember
 | 1,536us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_OtherCommercialMember
 | 
      
        | Loans without a specific allowance, Unpaid Principal Balance | 955us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_OtherCommercialMember
 | 1,538us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_OtherCommercialMember
 | 
      
        | Loans without a specific allowance, YTD Average Investment | 957us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_OtherCommercialMember
 | 1,624us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_OtherCommercialMember
 | 
      
        | Loans without a specific allowance, Interest Income Recognized | 14us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_OtherCommercialMember
 | 90us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_OtherCommercialMember
 | 
      
        | Loans with a specific allowance, Recorded Investment | 336us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_OtherCommercialMember
 | 359us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_OtherCommercialMember
 | 
      
        | Loans with a specific allowance, Unpaid Principal Balance | 356us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_OtherCommercialMember
 | 378us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_OtherCommercialMember
 | 
      
        | Loans with a specific allowance, Related Allowance | 31us-gaap_ImpairedFinancingReceivableRelatedAllowance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_OtherCommercialMember
 | 32us-gaap_ImpairedFinancingReceivableRelatedAllowance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_OtherCommercialMember
 | 
      
        | Loans with a specific allowance, YTD Average Investment | 348us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_OtherCommercialMember
 | 442us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_OtherCommercialMember
 | 
      
        | Loans with a specific allowance, Interest Income Recognized | 5us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_OtherCommercialMember
 | 29us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_OtherCommercialMember
 | 
      
        | Mortgage [Member] |  |  | 
      
        | Financing Receivable, Impaired [Line Items] |  |  | 
      
        | Loans without a specific allowance, Recorded Investment | 3,234us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_MortgagesMember
 | 1,571us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_MortgagesMember
 | 
      
        | Loans without a specific allowance, Unpaid Principal Balance | 3,342us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_MortgagesMember
 | 1,582us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_MortgagesMember
 | 
      
        | Loans without a specific allowance, YTD Average Investment | 3,312us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_MortgagesMember
 | 1,583us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_MortgagesMember
 | 
      
        | Loans without a specific allowance, Interest Income Recognized | 15us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_MortgagesMember
 | 58us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_MortgagesMember
 | 
      
        | Loans with a specific allowance, Recorded Investment | 1,390us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_MortgagesMember
 | 3,323us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_MortgagesMember
 | 
      
        | Loans with a specific allowance, Unpaid Principal Balance | 1,428us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_MortgagesMember
 | 3,375us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_MortgagesMember
 | 
      
        | Loans with a specific allowance, Related Allowance | 105us-gaap_ImpairedFinancingReceivableRelatedAllowance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_MortgagesMember
 | 481us-gaap_ImpairedFinancingReceivableRelatedAllowance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_MortgagesMember
 | 
      
        | Loans with a specific allowance, YTD Average Investment | 1,398us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_MortgagesMember
 | 3,381us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_MortgagesMember
 | 
      
        | Loans with a specific allowance, Interest Income Recognized | 3us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_MortgagesMember
 | 60us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_MortgagesMember
 | 
      
        | Consumer Construction [Member] |  |  | 
      
        | Financing Receivable, Impaired [Line Items] |  |  | 
      
        | Loans with a specific allowance, Recorded Investment | 378us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_ConsumerConstructionMember
 | 375us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_ConsumerConstructionMember
 | 
      
        | Loans with a specific allowance, Unpaid Principal Balance | 378us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_ConsumerConstructionMember
 | 375us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_ConsumerConstructionMember
 | 
      
        | Loans with a specific allowance, Related Allowance | 35us-gaap_ImpairedFinancingReceivableRelatedAllowance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_ConsumerConstructionMember
 | 34us-gaap_ImpairedFinancingReceivableRelatedAllowance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_ConsumerConstructionMember
 | 
      
        | Loans with a specific allowance, YTD Average Investment | 378us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_ConsumerConstructionMember
 | 373us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_ConsumerConstructionMember
 | 
      
        | Loans with a specific allowance, Interest Income Recognized | 5us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_ConsumerConstructionMember
 | 19us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_ConsumerConstructionMember
 | 
      
        | Indirect Auto [Member] |  |  | 
      
        | Financing Receivable, Impaired [Line Items] |  |  | 
      
        | Loans without a specific allowance, Unpaid Principal Balance | 6us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_ConsumerLoansAutoFinancingReceivableMember
 | 6us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_ConsumerLoansAutoFinancingReceivableMember
 | 
      
        | Loans without a specific allowance, YTD Average Investment | 3us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_ConsumerLoansAutoFinancingReceivableMember
 | 4us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_ConsumerLoansAutoFinancingReceivableMember
 | 
      
        | Loans without a specific allowance, Interest Income Recognized |  |  | 
      
        | Indirect Marine [Member] |  |  | 
      
        | Financing Receivable, Impaired [Line Items] |  |  | 
      
        | Loans without a specific allowance, Recorded Investment |  | 201us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_IndirectMarineMember
 | 
      
        | Loans without a specific allowance, Unpaid Principal Balance |  | 505us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_IndirectMarineMember
 | 
      
        | Loans without a specific allowance, YTD Average Investment |  | 281us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_IndirectMarineMember
 | 
      
        | Loans with a specific allowance, Recorded Investment | 48us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_IndirectMarineMember
 | 192us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_IndirectMarineMember
 | 
      
        | Loans with a specific allowance, Unpaid Principal Balance | 149us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_IndirectMarineMember
 | 192us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_IndirectMarineMember
 | 
      
        | Loans with a specific allowance, Related Allowance | 4us-gaap_ImpairedFinancingReceivableRelatedAllowance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_IndirectMarineMember
 | 5us-gaap_ImpairedFinancingReceivableRelatedAllowance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_IndirectMarineMember
 | 
      
        | Loans with a specific allowance, YTD Average Investment | 59us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_IndirectMarineMember
 | 199us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_IndirectMarineMember
 | 
      
        | Loans with a specific allowance, Interest Income Recognized |  | 15us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_IndirectMarineMember
 | 
      
        | HELOCs [Member] |  |  | 
      
        | Financing Receivable, Impaired [Line Items] |  |  | 
      
        | Loans without a specific allowance, Recorded Investment | 465us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_HelocsMember
 | 559us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_HelocsMember
 | 
      
        | Loans without a specific allowance, Unpaid Principal Balance | 598us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_HelocsMember
 | 699us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_HelocsMember
 | 
      
        | Loans without a specific allowance, YTD Average Investment | 543us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_HelocsMember
 | 573us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_HelocsMember
 | 
      
        | Loans without a specific allowance, Interest Income Recognized | 1us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_HelocsMember
 | 8us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_HelocsMember
 | 
      
        | Loans with a specific allowance, Recorded Investment | 436us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_HelocsMember
 | 434us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_HelocsMember
 | 
      
        | Loans with a specific allowance, Unpaid Principal Balance | 436us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_HelocsMember
 | 434us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_HelocsMember
 | 
      
        | Loans with a specific allowance, Related Allowance | 4us-gaap_ImpairedFinancingReceivableRelatedAllowance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_HelocsMember
 | 4us-gaap_ImpairedFinancingReceivableRelatedAllowance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_HelocsMember
 | 
      
        | Loans with a specific allowance, YTD Average Investment | 436us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_HelocsMember
 | 436us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_HelocsMember
 | 
      
        | Loans with a specific allowance, Interest Income Recognized | 4us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_HelocsMember
 | 17us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = ubsh_HelocsMember
 | 
      
        | Other Consumer [Member] |  |  | 
      
        | Financing Receivable, Impaired [Line Items] |  |  | 
      
        | Loans without a specific allowance, Recorded Investment | 86us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_ConsumerOtherFinancingReceivableMember
 | 89us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_ConsumerOtherFinancingReceivableMember
 | 
      
        | Loans without a specific allowance, Unpaid Principal Balance | 206us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_ConsumerOtherFinancingReceivableMember
 | 208us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_ConsumerOtherFinancingReceivableMember
 | 
      
        | Loans without a specific allowance, YTD Average Investment | 153us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_ConsumerOtherFinancingReceivableMember
 | 107us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_ConsumerOtherFinancingReceivableMember
 | 
      
        | Loans without a specific allowance, Interest Income Recognized |  |  | 
      
        | Loans with a specific allowance, Recorded Investment | 290us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_ConsumerOtherFinancingReceivableMember
 | 679us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_ConsumerOtherFinancingReceivableMember
 | 
      
        | Loans with a specific allowance, Unpaid Principal Balance | 409us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_ConsumerOtherFinancingReceivableMember
 | 706us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_ConsumerOtherFinancingReceivableMember
 | 
      
        | Loans with a specific allowance, Related Allowance | 98us-gaap_ImpairedFinancingReceivableRelatedAllowance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_ConsumerOtherFinancingReceivableMember
 | 310us-gaap_ImpairedFinancingReceivableRelatedAllowance / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_ConsumerOtherFinancingReceivableMember
 | 
      
        | Loans with a specific allowance, YTD Average Investment | 390us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_ConsumerOtherFinancingReceivableMember
 | 686us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_ConsumerOtherFinancingReceivableMember
 | 
      
        | Loans with a specific allowance, Interest Income Recognized | $ 1us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_ConsumerOtherFinancingReceivableMember
 | $ 19us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod / us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis
 = us-gaap_ConsumerOtherFinancingReceivableMember
 |