2.4.0.8125 - Disclosure - Securities - Additional Information (Detail)truefalseIn Millions, unless otherwise specifiedfalse1false
USDfalsefalse$PAsOn06_30_2013http://www.sec.gov/CIK0000731653instant2013-06-30T00:00:000001-01-01T00:00:00pureStandardhttp://www.xbrl.org/2003/instancepurexbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false
USDfalsefalse$PAsOn12_31_2012http://www.sec.gov/CIK0000731653instant2012-12-31T00:00:000001-01-01T00:00:00pureStandardhttp://www.xbrl.org/2003/instancepurexbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true
3ubcp_ScheduleOfMarketableSecuritiesLineItemsubcp_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
2false
4us-gaap_HeldToMaturitySecuritiesPledgedAsCollateralus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse2520000025.2USD$falsetruefalse | 2truefalsefalse2550000025.5USD$falsetruefalse | xbrli:monetaryItemTypemonetaryThe carrying amount of held-to-maturity securities that serve as collateral for borrowings.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 5
-URI http://asc.fasb.org/extlink&oid=28368275&loc=d3e5086-111524
false2
3false
4us-gaap_InvestmentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse1850000018.5USD$falsetruefalse | 2truefalsefalse30000003.0USD$falsetruefalse | xbrli:monetaryItemTypemonetaryFair value portion of investment securities, including, but not limited to, marketable securities, derivative financial instruments, and investments accounted for under the equity method.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Available-for-Sale Securities
-URI http://asc.fasb.org/extlink&oid=6505594
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Trading Securities
-URI http://asc.fasb.org/extlink&oid=6526789
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 1
-Subparagraph a, f, g
-Article 7
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 35
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=27723805&loc=d3e24584-111560
false2
4false
4ubcp_PercentageOfTotalInvestmentPortfolioFairValueubcp_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truetruefalse0.66000.6600falsefalsefalse | 2truetruefalse0.08000.0800falsefalsefalse | num:percentItemTypepurePercentage of Total Investment Portfolio, Fair ValueNo definition available.false0
falseSecurities - Additional Information (Detail) (USD $)HundredThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.unitedbancorp.com/role/SecuritiesAdditionalInformationDetail24