<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.20.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>210</ContextCount>
  <ElementCount>420</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>66</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>10</UnitCount>
  <MyReports>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001000 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1001501 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1002000 - Statement - Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/ConsolidatedStatementsOfOperations</Role>
      <ShortName>Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1003000 - Statement - Consolidated Statements of Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/ConsolidatedStatementsOfComprehensiveIncomeLoss</Role>
      <ShortName>Consolidated Statements of Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1005000 - Statement - Consolidated Statements of Stockholders' Equity (Deficit)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/ConsolidatedStatementsOfStockholdersEquityDeficit</Role>
      <ShortName>Consolidated Statements of Stockholders' Equity (Deficit)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1006000 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/ConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>1006501 - Statement - Consolidated Statements of Cash Flows (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/ConsolidatedStatementsOfCashFlowsParenthetical</Role>
      <ShortName>Consolidated Statements of Cash Flows (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2101100 - Disclosure - Description of Business and Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/DescriptionOfBusinessAndBasisOfPresentation</Role>
      <ShortName>Description of Business and Basis of Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2102100 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/SummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2103100 - Disclosure - Revenue Recognition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/RevenueRecognition</Role>
      <ShortName>Revenue Recognition</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2105100 - Disclosure - Discontinued Operations and Divestitures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/DiscontinuedOperationsAndDivestitures</Role>
      <ShortName>Discontinued Operations and Divestitures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2107100 - Disclosure - Accounts Receivable, net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/AccountsReceivableNet</Role>
      <ShortName>Accounts Receivable, net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2110100 - Disclosure - Prepaid Expenses and Other Current Assets and Accrued and Other Current Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/PrepaidExpensesAndOtherCurrentAssetsAndAccruedAndOtherCurrentLiabilities</Role>
      <ShortName>Prepaid Expenses and Other Current Assets and Accrued and Other Current Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2112100 - Disclosure - Property, Plant and Equipment, net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/PropertyPlantAndEquipmentNet</Role>
      <ShortName>Property, Plant and Equipment, net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2113100 - Disclosure - Intangible Assets, net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/IntangibleAssetsNet</Role>
      <ShortName>Intangible Assets, net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2114100 - Disclosure - Goodwill</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/Goodwill</Role>
      <ShortName>Goodwill</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2115100 - Disclosure - Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/Investments</Role>
      <ShortName>Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2116100 - Disclosure - Convertible Notes</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://nanthealth.com/role/ConvertibleNotes</Role>
      <ShortName>Convertible Notes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2117100 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2118100 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2119100 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/CommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2120100 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2121100 - Disclosure - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/StockholdersEquity</Role>
      <ShortName>Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2122100 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/StockBasedCompensation</Role>
      <ShortName>Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2123100 - Disclosure - Net Income (Loss) Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/NetIncomeLossPerShare</Role>
      <ShortName>Net Income (Loss) Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2124100 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/RelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2202201 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/SummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://nanthealth.com/role/SummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2305301 - Disclosure - Discontinued Operations and Divestitures Discontinued Operations and Divestitures (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/DiscontinuedOperationsAndDivestituresDiscontinuedOperationsAndDivestituresTables</Role>
      <ShortName>Discontinued Operations and Divestitures Discontinued Operations and Divestitures (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2310301 - Disclosure - Prepaid Expenses and Other Current Assets and Accrued and Other Current Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/PrepaidExpensesAndOtherCurrentAssetsAndAccruedAndOtherCurrentLiabilitiesTables</Role>
      <ShortName>Prepaid Expenses and Other Current Assets and Accrued and Other Current Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://nanthealth.com/role/PrepaidExpensesAndOtherCurrentAssetsAndAccruedAndOtherCurrentLiabilities</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2312301 - Disclosure - Property, Plant and Equipment, net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/PropertyPlantAndEquipmentNetTables</Role>
      <ShortName>Property, Plant and Equipment, net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://nanthealth.com/role/PropertyPlantAndEquipmentNet</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2313301 - Disclosure - Intangible Assets, net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/IntangibleAssetsNetTables</Role>
      <ShortName>Intangible Assets, net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://nanthealth.com/role/IntangibleAssetsNet</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2315301 - Disclosure - Investments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/InvestmentsTables</Role>
      <ShortName>Investments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://nanthealth.com/role/Investments</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2316301 - Disclosure - Convertible Notes (Tables)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://nanthealth.com/role/ConvertibleNotesTables</Role>
      <ShortName>Convertible Notes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://nanthealth.com/role/ConvertibleNotes</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2317301 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://nanthealth.com/role/FairValueMeasurements</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2318301 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://nanthealth.com/role/Leases</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2322301 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/StockBasedCompensationTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://nanthealth.com/role/StockBasedCompensation</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2323301 - Disclosure - Net Income (Loss) Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/NetIncomeLossPerShareTables</Role>
      <ShortName>Net Income (Loss) Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://nanthealth.com/role/NetIncomeLossPerShare</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2402402 - Disclosure - Summary of Significant Accounting Policies Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/SummaryOfSignificantAccountingPoliciesNarrativeDetails</Role>
      <ShortName>Summary of Significant Accounting Policies Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://nanthealth.com/role/SummaryOfSignificantAccountingPoliciesPolicies</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2403401 - Disclosure - Revenue Recognition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/RevenueRecognitionDetails</Role>
      <ShortName>Revenue Recognition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://nanthealth.com/role/RevenueRecognition</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2403402 - Disclosure - Revenue Recognition Performance Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/RevenueRecognitionPerformanceObligationsDetails</Role>
      <ShortName>Revenue Recognition Performance Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2405402 - Disclosure - Discontinued Operations and Divestitures Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/DiscontinuedOperationsAndDivestituresNarrativeDetails</Role>
      <ShortName>Discontinued Operations and Divestitures Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://nanthealth.com/role/DiscontinuedOperationsAndDivestituresDiscontinuedOperationsAndDivestituresTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2405403 - Disclosure - Discontinued Operations and Divestitures Schedule of Major Classes of Assets and Liabilities of Discontinued Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/DiscontinuedOperationsAndDivestituresScheduleOfMajorClassesOfAssetsAndLiabilitiesOfDiscontinuedOperationsDetails</Role>
      <ShortName>Discontinued Operations and Divestitures Schedule of Major Classes of Assets and Liabilities of Discontinued Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2405404 - Disclosure - Discontinued Operations and Divestitures Schedule of Operating Results of Discontinued Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/DiscontinuedOperationsAndDivestituresScheduleOfOperatingResultsOfDiscontinuedOperationsDetails</Role>
      <ShortName>Discontinued Operations and Divestitures Schedule of Operating Results of Discontinued Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2405405 - Disclosure - Discontinued Operations and Divestitures Schedule of Significant Operating and Investing Cash and Noncash Items (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/DiscontinuedOperationsAndDivestituresScheduleOfSignificantOperatingAndInvestingCashAndNoncashItemsDetails</Role>
      <ShortName>Discontinued Operations and Divestitures Schedule of Significant Operating and Investing Cash and Noncash Items (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2407401 - Disclosure - Accounts Receivable, net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/AccountsReceivableNetDetails</Role>
      <ShortName>Accounts Receivable, net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://nanthealth.com/role/AccountsReceivableNet</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2410402 - Disclosure - Prepaid Expenses and Other Current Assets and Accrued and Other Current Liabilities Prepaid Expenses and Other Current Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/PrepaidExpensesAndOtherCurrentAssetsAndAccruedAndOtherCurrentLiabilitiesPrepaidExpensesAndOtherCurrentAssetsDetails</Role>
      <ShortName>Prepaid Expenses and Other Current Assets and Accrued and Other Current Liabilities Prepaid Expenses and Other Current Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2410403 - Disclosure - Prepaid Expenses and Other Current Assets and Accrued and Other Current Liabilities Accrued and Other Current Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/PrepaidExpensesAndOtherCurrentAssetsAndAccruedAndOtherCurrentLiabilitiesAccruedAndOtherCurrentLiabilitiesDetails</Role>
      <ShortName>Prepaid Expenses and Other Current Assets and Accrued and Other Current Liabilities Accrued and Other Current Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2412402 - Disclosure - Property, Plant and Equipment, net Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/PropertyPlantAndEquipmentNetNarrativeDetails</Role>
      <ShortName>Property, Plant and Equipment, net Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2413402 - Disclosure - Intangible Assets, net Schedule of Definite-Lived Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/IntangibleAssetsNetScheduleOfDefiniteLivedAssetsDetails</Role>
      <ShortName>Intangible Assets, net Schedule of Definite-Lived Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2413403 - Disclosure - Intangible Assets, net Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/IntangibleAssetsNetNarrativeDetails</Role>
      <ShortName>Intangible Assets, net Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2413404 - Disclosure - Intangible Assets, net Schedule of Future Amortization of Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/IntangibleAssetsNetScheduleOfFutureAmortizationOfIntangibleAssetsDetails</Role>
      <ShortName>Intangible Assets, net Schedule of Future Amortization of Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2414401 - Disclosure - Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/GoodwillDetails</Role>
      <ShortName>Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://nanthealth.com/role/Goodwill</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2415402 - Disclosure - Investments Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/InvestmentsNarrativeDetails</Role>
      <ShortName>Investments Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2415403 - Disclosure - Investments Summarized Financial Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/InvestmentsSummarizedFinancialInformationDetails</Role>
      <ShortName>Investments Summarized Financial Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2416402 - Disclosure - Convertible Notes - Narrative (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://nanthealth.com/role/ConvertibleNotesNarrativeDetails</Role>
      <ShortName>Convertible Notes - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2416403 - Disclosure - Convertible Notes - Summary of Issuance of Convertible Debt (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://nanthealth.com/role/ConvertibleNotesSummaryOfIssuanceOfConvertibleDebtDetails</Role>
      <ShortName>Convertible Notes - Summary of Issuance of Convertible Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2416404 - Disclosure - Convertible Notes - Interest Expense Incurred (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://nanthealth.com/role/ConvertibleNotesInterestExpenseIncurredDetails</Role>
      <ShortName>Convertible Notes - Interest Expense Incurred (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2417402 - Disclosure - Fair Value Measurements - Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/FairValueMeasurementsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails</Role>
      <ShortName>Fair Value Measurements - Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2417403 - Disclosure - Fair Value Measurements - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/FairValueMeasurementsNarrativeDetails</Role>
      <ShortName>Fair Value Measurements - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2417404 - Disclosure - Fair Value Measurements - Changes in the Fair Value of Level 3 Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/FairValueMeasurementsChangesInFairValueOfLevel3LiabilitiesDetails</Role>
      <ShortName>Fair Value Measurements - Changes in the Fair Value of Level 3 Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2417405 - Disclosure - Fair Value Measurements - Fair Value of Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/FairValueMeasurementsFairValueOfDebtDetails</Role>
      <ShortName>Fair Value Measurements - Fair Value of Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2418402 - Disclosure - Leases Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/LeasesNarrativeDetails</Role>
      <ShortName>Leases Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2418403 - Disclosure - Leases Lease Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/LeasesLeaseExpenseDetails</Role>
      <ShortName>Leases Lease Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2418404 - Disclosure - Leases Additional Operating Lease Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/LeasesAdditionalOperatingLeaseInformationDetails</Role>
      <ShortName>Leases Additional Operating Lease Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2418405 - Disclosure - Leases Operating Lease Maturity Analysis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/LeasesOperatingLeaseMaturityAnalysisDetails</Role>
      <ShortName>Leases Operating Lease Maturity Analysis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>2419401 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/CommitmentsAndContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://nanthealth.com/role/CommitmentsAndContingencies</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>2420401 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/IncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://nanthealth.com/role/IncomeTaxes</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>2421401 - Disclosure - Stockholders??? Equity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/StockholdersEquityDetails</Role>
      <ShortName>Stockholders??? Equity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>2422402 - Disclosure - Stock-Based Compensation Components of Stock-based Compensation Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/StockBasedCompensationComponentsOfStockBasedCompensationExpenseDetails</Role>
      <ShortName>Stock-Based Compensation Components of Stock-based Compensation Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>2422403 - Disclosure - Stock-Based Compensation Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/StockBasedCompensationNarrativeDetails</Role>
      <ShortName>Stock-Based Compensation Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>2422404 - Disclosure - Stock-Based Compensation Activity of Phantom Units (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/StockBasedCompensationActivityOfPhantomUnitsDetails</Role>
      <ShortName>Stock-Based Compensation Activity of Phantom Units (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>2422405 - Disclosure - Stock-Based Compensation Activity of Stock based Compensation Units (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/StockBasedCompensationActivityOfStockBasedCompensationUnitsDetails</Role>
      <ShortName>Stock-Based Compensation Activity of Stock based Compensation Units (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>2422406 - Disclosure - Stock-Based Compensation Activity of Restricted Stock Units (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/StockBasedCompensationActivityOfRestrictedStockUnitsDetails</Role>
      <ShortName>Stock-Based Compensation Activity of Restricted Stock Units (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>2423402 - Disclosure - Net Income (Loss) Per Share Reconciliations of Basic and Diluted Net Loss Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/NetIncomeLossPerShareReconciliationsOfBasicAndDilutedNetLossPerShareDetails</Role>
      <ShortName>Net Income (Loss) Per Share Reconciliations of Basic and Diluted Net Loss Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://nanthealth.com/role/NetIncomeLossPerShareTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>2423403 - Disclosure - Net Income (Loss) Per Share Antidilutive Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/NetIncomeLossPerShareAntidilutiveSecuritiesDetails</Role>
      <ShortName>Net Income (Loss) Per Share Antidilutive Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://nanthealth.com/role/NetIncomeLossPerShareTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="nh-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>2424401 - Disclosure - Related Party Transactions  (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://nanthealth.com/role/RelatedPartyTransactionsDetails</Role>
      <ShortName>Related Party Transactions  (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://nanthealth.com/role/RelatedPartyTransactions</ParentRole>
      <Position>77</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>nh-20200331.xml</File>
    <File>nh-20200331.xsd</File>
    <File>nh-20200331_cal.xml</File>
    <File>nh-20200331_def.xml</File>
    <File>nh-20200331_lab.xml</File>
    <File>nh-20200331_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2019-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/srt/2019-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
