2.4.0.8128 - Disclosure - Gross Unrealized Losses and Fair Value, Aggregated by Investment Category and Length of Time that Individual Securities have been in a Continuous Unrealized Loss Position (Detail)truefalseIn Thousands, unless otherwise specifiedfalse1false USDfalsefalse$PAsOn06_30_2013_USGovernmentAgenciesDebtSecuritiesMemberusgaapMajorTypesOfDebtAndEquitySecuritiesAxishttp://www.sec.gov/CIK0000731653instant2013-06-30T00:00:000001-01-01T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false USDfalsefalse$PAsOn12_31_2012_USGovernmentAgenciesDebtSecuritiesMemberusgaapMajorTypesOfDebtAndEquitySecuritiesAxishttp://www.sec.gov/CIK0000731653instant2012-12-31T00:00:000001-01-01T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse1false USDtruefalse$PAsOn06_30_2013_USGovernmentAgenciesDebtSecuritiesMemberusgaapMajorTypesOfDebtAndEquitySecuritiesAxishttp://www.sec.gov/CIK0000731653instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseU.S. government agenciesus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_USGovernmentAgenciesDebtSecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse02true 3us-gaap_ScheduleOfGainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostIncomeStatementReportedAmountsSummaryLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse03false 4ubcp_SecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValueubcp_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1851000018510USD$falsetruefalse2truefalsefalse29970002997USD$falsetruefalsexbrli:monetaryItemTypemonetarySecurities, Continuous Unrealized Loss Position, Less than Twelve Months, Fair ValueNo definition available.false24false 4ubcp_SecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsAggregateLossesubcp_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-490000-490USD$falsefalsefalse2truefalsefalse-3000-3USD$falsefalsefalsexbrli:monetaryItemTypemonetarySecurities, Continuous Unrealized Loss Position, Less than Twelve Months, Aggregate LossesNo definition available.false25false 4ubcp_SecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValueubcp_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetarySecurities, Continuous Unrealized Loss Position, Twelve Months or Longer, Fair ValueNo definition available.false26false 4ubcp_SecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerAggregateLossesubcp_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetarySecurities, Continuous Unrealized Loss Position, Twelve Months or Longer, Aggregate LossesNo definition available.false27false 4ubcp_SecuritiesContinuousUnrealizedLossPositionFairValueubcp_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1851000018510USD$falsefalsefalse2truefalsefalse29970002997USD$falsefalsefalsexbrli:monetaryItemTypemonetarySecurities, Continuous Unrealized Loss Position, Fair ValueNo definition available.false28false 4ubcp_SecuritiesContinuousUnrealizedLossPositionAggregateLossesubcp_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-490000-490USD$falsetruefalse2truefalsefalse-3000-3USD$falsetruefalsexbrli:monetaryItemTypemonetarySecurities, Continuous Unrealized Loss Position, Aggregate LossesNo definition available.false2falseGross Unrealized Losses and Fair Value, Aggregated by Investment Category and Length of Time that Individual Securities have been in a Continuous Unrealized Loss Position (Detail) (U.S. government agencies, USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.unitedbancorp.com/role/GrossUnrealizedLossesAndFairValueAggregatedByInvestmentCategoryAndLengthOfTimeThatIndividualSecuritiesHaveBeenInContinuousUnrealizedLossPositionDetail28