<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.7.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>336</ContextCount>
  <ElementCount>309</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>86</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>10</UnitCount>
  <MyReports>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001000 - Document - Document &amp; Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/DocumentEntityInformation</Role>
      <ShortName>Document &amp; Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001000 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1001001 - Statement - Consolidated Balance Sheets (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/ConsolidatedBalanceSheetsParentheticals</Role>
      <ShortName>Consolidated Balance Sheets (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1002000 - Statement - Consolidated Statements of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/ConsolidatedStatementsOfComprehensiveIncome</Role>
      <ShortName>Consolidated Statements of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1003000 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/ConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>2101100 - Disclosure - Organization, Consolidation and Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/OrganizationConsolidationAndPresentation</Role>
      <ShortName>Organization, Consolidation and Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>2104100 - Disclosure - Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/SignificantAccountingPolicies</Role>
      <ShortName>Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>2107100 - Disclosure - Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/Investments</Role>
      <ShortName>Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2110100 - Disclosure - Acquisitions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/Acquisitions</Role>
      <ShortName>Acquisitions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2113100 - Disclosure - Earnings per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/EarningsPerShare</Role>
      <ShortName>Earnings per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2116100 - Disclosure - Property and Equipment, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/PropertyAndEquipmentNet</Role>
      <ShortName>Property and Equipment, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2119100 - Disclosure - Goodwill and Intangible Assets Goodwill and Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/GoodwillAndIntangibleAssetsGoodwillAndIntangibleAssets</Role>
      <ShortName>Goodwill and Intangible Assets Goodwill and Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2122100 - Disclosure - Reinsurance</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/Reinsurance</Role>
      <ShortName>Reinsurance</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2125100 - Disclosure - Liability for Unpaid Losses and Loss Adjustment Expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/LiabilityForUnpaidLossesAndLossAdjustmentExpenses</Role>
      <ShortName>Liability for Unpaid Losses and Loss Adjustment Expenses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2128100 - Disclosure - Long-Term Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/LongTermDebt</Role>
      <ShortName>Long-Term Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2131100 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/CommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2134100 - Disclosure - Statutory Accounting and Regulation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/StatutoryAccountingAndRegulation</Role>
      <ShortName>Statutory Accounting and Regulation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2137100 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/RelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2140100 - Disclosure - Accumulated Other Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/AccumulatedOtherComprehensiveIncome</Role>
      <ShortName>Accumulated Other Comprehensive Income</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2143100 - Disclosure - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/StockholdersEquity</Role>
      <ShortName>Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2144100 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/StockBasedCompensation</Role>
      <ShortName>Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2145100 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2204201 - Disclosure - Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/SignificantAccountingPoliciesPolicies</Role>
      <ShortName>Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.upcic.com/role/SignificantAccountingPolicies</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2307301 - Disclosure - Investments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/InvestmentsTables</Role>
      <ShortName>Investments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.upcic.com/role/Investments</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2310301 - Disclosure - Acquisitions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/AcquisitionsTables</Role>
      <ShortName>Acquisitions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.upcic.com/role/Acquisitions</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2313301 - Disclosure - Earnings per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/EarningsPerShareTables</Role>
      <ShortName>Earnings per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.upcic.com/role/EarningsPerShare</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2316301 - Disclosure - Property and Equipment, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/PropertyAndEquipmentNetTables</Role>
      <ShortName>Property and Equipment, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.upcic.com/role/PropertyAndEquipmentNet</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2319301 - Disclosure - Goodwill and Intangible Assets Goodwill and Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/GoodwillAndIntangibleAssetsGoodwillAndIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Intangible Assets Goodwill and Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.upcic.com/role/GoodwillAndIntangibleAssetsGoodwillAndIntangibleAssets</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2322301 - Disclosure - Reinsurance (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/ReinsuranceTables</Role>
      <ShortName>Reinsurance (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.upcic.com/role/Reinsurance</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2325301 - Disclosure - Liability for Unpaid Losses and Loss Adjustment Expense (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/LiabilityForUnpaidLossesAndLossAdjustmentExpenseTables</Role>
      <ShortName>Liability for Unpaid Losses and Loss Adjustment Expense (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.upcic.com/role/LiabilityForUnpaidLossesAndLossAdjustmentExpenses</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2334301 - Disclosure - Statutory Accounting and Regulation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/StatutoryAccountingAndRegulationTables</Role>
      <ShortName>Statutory Accounting and Regulation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.upcic.com/role/StatutoryAccountingAndRegulation</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2340301 - Disclosure - Accumulated Other Comprehensive Income (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/AccumulatedOtherComprehensiveIncomeTables</Role>
      <ShortName>Accumulated Other Comprehensive Income (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.upcic.com/role/AccumulatedOtherComprehensiveIncome</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2343301 - Disclosure - Stockholders' Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/StockholdersEquityTables</Role>
      <ShortName>Stockholders' Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.upcic.com/role/StockholdersEquity</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2344301 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/StockBasedCompensationTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.upcic.com/role/StockBasedCompensation</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2401401 - Disclosure - Organization, Consolidation and Presentation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/OrganizationConsolidationAndPresentationDetails</Role>
      <ShortName>Organization, Consolidation and Presentation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.upcic.com/role/OrganizationConsolidationAndPresentation</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2407402 - Disclosure - Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/InvestmentsDetails</Role>
      <ShortName>Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.upcic.com/role/InvestmentsTables</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2407403 - Disclosure - Investments - Schedule of Available-for-sale Securities Reconciliation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/InvestmentsScheduleOfAvailableForSaleSecuritiesReconciliationDetails</Role>
      <ShortName>Investments - Schedule of Available-for-sale Securities Reconciliation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2407404 - Disclosure - Investments - Schedule of Realized Gain (Loss) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/InvestmentsScheduleOfRealizedGainLossDetails</Role>
      <ShortName>Investments - Schedule of Realized Gain (Loss) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2407405 - Disclosure - Investments - Investments Classified by Contractual Maturity Date (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/InvestmentsInvestmentsClassifiedByContractualMaturityDateDetails</Role>
      <ShortName>Investments - Investments Classified by Contractual Maturity Date (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2407406 - Disclosure - Investments - Investment Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/InvestmentsInvestmentIncomeDetails</Role>
      <ShortName>Investments - Investment Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2407407 - Disclosure - Investments - Schedule of Unrealized Loss on Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/InvestmentsScheduleOfUnrealizedLossOnInvestmentsDetails</Role>
      <ShortName>Investments - Schedule of Unrealized Loss on Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2407408 - Disclosure - Investments - Schedule of Fair Value of Financial Instruments Measured on a Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/InvestmentsScheduleOfFairValueOfFinancialInstrumentsMeasuredOnRecurringBasisDetails</Role>
      <ShortName>Investments - Schedule of Fair Value of Financial Instruments Measured on a Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2407409 - Disclosure - Investments - Schedule of Fair Value of Financial Instruments with Unobservable Inputs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/InvestmentsScheduleOfFairValueOfFinancialInstrumentsWithUnobservableInputsDetails</Role>
      <ShortName>Investments - Schedule of Fair Value of Financial Instruments with Unobservable Inputs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2407410 - Disclosure - Investments - Schedule of Investments in Limited Partnerships (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/InvestmentsScheduleOfInvestmentsInLimitedPartnershipsDetails</Role>
      <ShortName>Investments - Schedule of Investments in Limited Partnerships (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2407411 - Disclosure - Investments - Schedule of Fair Value Quantitative Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/InvestmentsScheduleOfFairValueQuantitativeInformationDetails</Role>
      <ShortName>Investments - Schedule of Fair Value Quantitative Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2410402 - Disclosure - Acquisitions - Schedule of Pro Forma Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/AcquisitionsScheduleOfProFormaInformationDetails</Role>
      <ShortName>Acquisitions - Schedule of Pro Forma Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2410403 - Disclosure - Acquisitions - Schedule of Consideration Transferred (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/AcquisitionsScheduleOfConsiderationTransferredDetails</Role>
      <ShortName>Acquisitions - Schedule of Consideration Transferred (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2410404 - Disclosure - Acquisitions - Schedule of Purchase Price Allocation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/AcquisitionsScheduleOfPurchasePriceAllocationDetails</Role>
      <ShortName>Acquisitions - Schedule of Purchase Price Allocation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2413402 - Disclosure - Earnings per Share - Schedule of Earnings per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/EarningsPerShareScheduleOfEarningsPerShareDetails</Role>
      <ShortName>Earnings per Share - Schedule of Earnings per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2416402 - Disclosure - Property and Equipment, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/PropertyAndEquipmentNetDetails</Role>
      <ShortName>Property and Equipment, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.upcic.com/role/PropertyAndEquipmentNetTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2416403 - Disclosure - Property and Equipment, Net - Schedule of Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/PropertyAndEquipmentNetScheduleOfPropertyAndEquipmentDetails</Role>
      <ShortName>Property and Equipment, Net - Schedule of Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2419402 - Disclosure - Goodwill and Intangible Assets Goodwill and Intangible Assets - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/GoodwillAndIntangibleAssetsGoodwillAndIntangibleAssetsNarrativeDetails</Role>
      <ShortName>Goodwill and Intangible Assets Goodwill and Intangible Assets - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.upcic.com/role/GoodwillAndIntangibleAssetsGoodwillAndIntangibleAssetsTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2419403 - Disclosure - Goodwill and Intangible Assets Goodwill and Intangible Assets - Goodwill Rollforward (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/GoodwillAndIntangibleAssetsGoodwillAndIntangibleAssetsGoodwillRollforwardDetails</Role>
      <ShortName>Goodwill and Intangible Assets Goodwill and Intangible Assets - Goodwill Rollforward (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2419404 - Disclosure - Goodwill and Intangible Assets Goodwill and Intangible Assets - Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/GoodwillAndIntangibleAssetsGoodwillAndIntangibleAssetsIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Intangible Assets Goodwill and Intangible Assets - Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2419405 - Disclosure - Goodwill and Intangible Assets Goodwill and Intangible Assets - Future Amortization Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/GoodwillAndIntangibleAssetsGoodwillAndIntangibleAssetsFutureAmortizationExpenseDetails</Role>
      <ShortName>Goodwill and Intangible Assets Goodwill and Intangible Assets - Future Amortization Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2422402 - Disclosure - Reinsurance (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/ReinsuranceDetails</Role>
      <ShortName>Reinsurance (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.upcic.com/role/ReinsuranceTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2422403 - Disclosure - Reinsurance - Schedule of Ceded Premiums Earned by Type (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/ReinsuranceScheduleOfCededPremiumsEarnedByTypeDetails</Role>
      <ShortName>Reinsurance - Schedule of Ceded Premiums Earned by Type (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2422404 - Disclosure - Reinsurance - Schedule of Catastrophe Losses by Event Magnitude (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/ReinsuranceScheduleOfCatastropheLossesByEventMagnitudeDetails</Role>
      <ShortName>Reinsurance - Schedule of Catastrophe Losses by Event Magnitude (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2425402 - Disclosure - Liability for Unpaid Losses and Loss Adjustment Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/LiabilityForUnpaidLossesAndLossAdjustmentExpensesDetails</Role>
      <ShortName>Liability for Unpaid Losses and Loss Adjustment Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.upcic.com/role/LiabilityForUnpaidLossesAndLossAdjustmentExpenseTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2428401 - Disclosure - Long-Term Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/LongTermDebtDetails</Role>
      <ShortName>Long-Term Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.upcic.com/role/LongTermDebt</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2434402 - Disclosure - Statutory Accounting and Regulation - Schedule of Statutory Net Income (Loss) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/StatutoryAccountingAndRegulationScheduleOfStatutoryNetIncomeLossDetails</Role>
      <ShortName>Statutory Accounting and Regulation - Schedule of Statutory Net Income (Loss) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2434403 - Disclosure - Statutory Accounting and Regulation - Schedule of Affiliates' Surplus Regarding Policyholders (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/StatutoryAccountingAndRegulationScheduleOfAffiliatesSurplusRegardingPolicyholdersDetails</Role>
      <ShortName>Statutory Accounting and Regulation - Schedule of Affiliates' Surplus Regarding Policyholders (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2437401 - Disclosure - Related Party Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/RelatedPartyTransactionsDetails</Role>
      <ShortName>Related Party Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.upcic.com/role/RelatedPartyTransactions</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2440402 - Disclosure - Accumulated Other Comprehensive Income - Schedule of Accumulated Other Comprehensive Income (Loss) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/AccumulatedOtherComprehensiveIncomeScheduleOfAccumulatedOtherComprehensiveIncomeLossDetails</Role>
      <ShortName>Accumulated Other Comprehensive Income - Schedule of Accumulated Other Comprehensive Income (Loss) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2443402 - Disclosure - Stockholders' Equity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/StockholdersEquityDetails</Role>
      <ShortName>Stockholders' Equity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.upcic.com/role/StockholdersEquityTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2443403 - Disclosure - Schedule of Dividends Declared (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/ScheduleOfDividendsDeclaredDetails</Role>
      <ShortName>Schedule of Dividends Declared (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>2444402 - Disclosure - Stock-Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/StockBasedCompensationDetails</Role>
      <ShortName>Stock-Based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.upcic.com/role/StockBasedCompensationTables</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>2444403 - Disclosure - Stock-Based Compensation - Schedule of Nonvested Shares Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/StockBasedCompensationScheduleOfNonvestedSharesActivityDetails</Role>
      <ShortName>Stock-Based Compensation - Schedule of Nonvested Shares Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="uihc-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>2445401 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.upcic.com/role/SubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.upcic.com/role/SubsequentEvents</ParentRole>
      <Position>69</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>uihc-20170630.xml</File>
    <File>uihc-20170630.xsd</File>
    <File>uihc-20170630_cal.xml</File>
    <File>uihc-20170630_def.xml</File>
    <File>uihc-20170630_lab.xml</File>
    <File>uihc-20170630_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies/>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
