<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>167</ContextCount>
  <ElementCount>245</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>45</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>8</UnitCount>
  <MyReports>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>100000 - Document - Cover Page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/CoverPage</Role>
      <ShortName>Cover Page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - Condensed Consolidated Income Statements (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/StatementCondensedConsolidatedIncomeStatementsUnaudited</Role>
      <ShortName>Condensed Consolidated Income Statements (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100030 - Statement - Condensed Consolidated Comprehensive Income Statements (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/StatementCondensedConsolidatedComprehensiveIncomeStatementsUnaudited</Role>
      <ShortName>Condensed Consolidated Comprehensive Income Statements (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100050 - Statement - Condensed Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/CondensedConsolidatedBalanceSheets</Role>
      <ShortName>Condensed Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100070 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/CondensedConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100080 - Statement - Condensed Consolidated Statements of Stockholders' Equity (Deficit) (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityDeficitUnaudited</Role>
      <ShortName>Condensed Consolidated Statements of Stockholders' Equity (Deficit) (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100090 - Statement - Condensed Consolidated Statements of Stockholders' Equity (Deficit) (Parenthetical) (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityDeficitParentheticalUnaudited</Role>
      <ShortName>Condensed Consolidated Statements of Stockholders' Equity (Deficit) (Parenthetical) (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100100 - Statement - Condensed Consolidated Statements of Cash Flows (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfCashFlowsUnaudited</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>100110 - Disclosure - Basis of Presentation and Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/DisclosureBasisOfPresentationAndSignificantAccountingPolicies</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>100120 - Disclosure - Acquisitions and Dispositions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/AcquisitionsAndDispositions</Role>
      <ShortName>Acquisitions and Dispositions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>100130 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>100140 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/EarningsPerShare</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>100150 - Disclosure - Investments of Insurance Subsidiaries</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/InvestmentsOfInsuranceSubsidiaries</Role>
      <ShortName>Investments of Insurance Subsidiaries</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>100160 - Disclosure - Assets and Liabilities Measured at Fair Value</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/AssetsAndLiabilitiesMeasuredAtFairValue</Role>
      <ShortName>Assets and Liabilities Measured at Fair Value</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>100170 - Disclosure - Long-Term Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/LongTermDebt</Role>
      <ShortName>Long-Term Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>100180 - Disclosure - Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/Contingencies</Role>
      <ShortName>Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>100190 - Disclosure - Share Repurchase Transactions and Other Comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/ShareRepurchaseTransactionsAndOtherComprehensiveLoss</Role>
      <ShortName>Share Repurchase Transactions and Other Comprehensive Loss</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>100200 - Disclosure - Segment and Geographic Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/SegmentAndGeographicInformation</Role>
      <ShortName>Segment and Geographic Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>100210 - Disclosure - Basis of Presentation and Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/DisclosureBasisOfPresentationAndSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://hcahealthcare.com/20220630/taxonomy/role/DisclosureBasisOfPresentationAndSignificantAccountingPolicies</ParentRole>
      <Position>19</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>100220 - Disclosure - Basis of Presentation and Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/DisclosureBasisOfPresentationAndSignificantAccountingPoliciesTables</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://hcahealthcare.com/20220630/taxonomy/role/DisclosureBasisOfPresentationAndSignificantAccountingPolicies</ParentRole>
      <Position>20</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>100230 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/EarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://hcahealthcare.com/20220630/taxonomy/role/EarningsPerShare</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>100240 - Disclosure - Investments of Insurance Subsidiaries (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/InvestmentsOfInsuranceSubsidiariesTables</Role>
      <ShortName>Investments of Insurance Subsidiaries (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://hcahealthcare.com/20220630/taxonomy/role/InvestmentsOfInsuranceSubsidiaries</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>100250 - Disclosure - Assets and Liabilities Measured at Fair Value (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/AssetsAndLiabilitiesMeasuredAtFairValueTables</Role>
      <ShortName>Assets and Liabilities Measured at Fair Value (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://hcahealthcare.com/20220630/taxonomy/role/AssetsAndLiabilitiesMeasuredAtFairValue</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>100260 - Disclosure - Long-Term Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/LongTermDebtTables</Role>
      <ShortName>Long-Term Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://hcahealthcare.com/20220630/taxonomy/role/LongTermDebt</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>100270 - Disclosure - Share Repurchase Transactions and Other Comprehensive Loss (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/ShareRepurchaseTransactionsAndOtherComprehensiveLossTables</Role>
      <ShortName>Share Repurchase Transactions and Other Comprehensive Loss (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://hcahealthcare.com/20220630/taxonomy/role/ShareRepurchaseTransactionsAndOtherComprehensiveLoss</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>100280 - Disclosure - Segment and Geographic Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/SegmentAndGeographicInformationTables</Role>
      <ShortName>Segment and Geographic Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://hcahealthcare.com/20220630/taxonomy/role/SegmentAndGeographicInformation</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>100290 - Disclosure - Basis of Presentation and Significant Accounting Policies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/DisclosureBasisOfPresentationAndSignificantAccountingPoliciesAdditionalInformationDetail</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>100300 - Disclosure - Basis of Presentation and Significant Accounting Policies - Schedule of Revenues from Third Party Payers, Uninsured and Other Payers (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/DisclosureBasisOfPresentationAndSignificantAccountingPoliciesScheduleOfRevenuesFromThirdPartyPayersUninsuredAndOtherPayersDetail</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies - Schedule of Revenues from Third Party Payers, Uninsured and Other Payers (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>100310 - Disclosure - Basis of Presentation and Significant Accounting Policies - Schedule of Estimated Cost of Uncompensated Care (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/DisclosureBasisOfPresentationAndSignificantAccountingPoliciesScheduleOfEstimatedCostOfUncompensatedCareDetail</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies - Schedule of Estimated Cost of Uncompensated Care (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>100320 - Disclosure - Acquisitions and Dispositions - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/AcquisitionsAndDispositionsAdditionalInformationDetail</Role>
      <ShortName>Acquisitions and Dispositions - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>100330 - Disclosure - Income Taxes - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/IncomeTaxesAdditionalInformationDetail</Role>
      <ShortName>Income Taxes - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>100340 - Disclosure - Earnings Per Share - Schedule of Computations of Basic and Diluted Earnings Per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/EarningsPerShareScheduleOfComputationsOfBasicAndDilutedEarningsPerShareDetail</Role>
      <ShortName>Earnings Per Share - Schedule of Computations of Basic and Diluted Earnings Per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>100350 - Disclosure - Investments of Insurance Subsidiaries - Schedule of Investments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/InvestmentsOfInsuranceSubsidiariesScheduleOfInvestmentsDetail</Role>
      <ShortName>Investments of Insurance Subsidiaries - Schedule of Investments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>100360 - Disclosure - Investments of Insurance Subsidiaries - Schedule of Maturities of Investments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/InvestmentsOfInsuranceSubsidiariesScheduleOfMaturitiesOfInvestmentsDetail</Role>
      <ShortName>Investments of Insurance Subsidiaries - Schedule of Maturities of Investments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>100370 - Disclosure - Investments of Insurance Subsidiaries - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/InvestmentsOfInsuranceSubsidiariesAdditionalInformationDetail</Role>
      <ShortName>Investments of Insurance Subsidiaries - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>100380 - Disclosure - Assets and Liabilities Measured at Fair Value - Schedule of Assets and Liabilities Measured at Fair Value on Recurring Basis (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/DisclosureAssetsAndLiabilitiesMeasuredAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail</Role>
      <ShortName>Assets and Liabilities Measured at Fair Value - Schedule of Assets and Liabilities Measured at Fair Value on Recurring Basis (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>100390 - Disclosure - Assets and Liabilities Measured at Fair Value - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/AssetsAndLiabilitiesMeasuredAtFairValueAdditionalInformationDetail</Role>
      <ShortName>Assets and Liabilities Measured at Fair Value - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>100400 - Disclosure - Long-Term Debt - Schedule of Long-Term Debt (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/LongTermDebtScheduleOfLongTermDebtDetail</Role>
      <ShortName>Long-Term Debt - Schedule of Long-Term Debt (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>100410 - Disclosure - Long-Term Debt - Schedule of Long-Term Debt (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/LongTermDebtScheduleOfLongTermDebtParentheticalDetail</Role>
      <ShortName>Long-Term Debt - Schedule of Long-Term Debt (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>100420 - Disclosure - Long-Term Debt - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/LongTermDebtAdditionalInformationDetail</Role>
      <ShortName>Long-Term Debt - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>100430 - Disclosure - Share Repurchase Transactions and Other Comprehensive Loss - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/ShareRepurchaseTransactionsAndOtherComprehensiveLossAdditionalInformationDetail</Role>
      <ShortName>Share Repurchase Transactions and Other Comprehensive Loss - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>100440 - Disclosure - Share Repurchase Transactions and Other Comprehensive Loss - Components of Accumulated Other Comprehensive Loss (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/DisclosureShareRepurchaseTransactionsAndOtherComprehensiveLossComponentsOfAccumulatedOtherComprehensiveLossDetail</Role>
      <ShortName>Share Repurchase Transactions and Other Comprehensive Loss - Components of Accumulated Other Comprehensive Loss (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>100450 - Disclosure - Share Repurchase Transactions and Other Comprehensive Loss - Components of Accumulated Other Comprehensive Loss (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/DisclosureShareRepurchaseTransactionsAndOtherComprehensiveLossComponentsOfAccumulatedOtherComprehensiveLossParentheticalDetail</Role>
      <ShortName>Share Repurchase Transactions and Other Comprehensive Loss - Components of Accumulated Other Comprehensive Loss (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>100460 - Disclosure - Segment and Geographic Information - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/SegmentAndGeographicInformationAdditionalInformationDetail</Role>
      <ShortName>Segment and Geographic Information - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="hca-20220630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>100470 - Disclosure - Segment and Geographic Information - Schedule of Geographic Distributions of Revenues, Equity in Earnings of Affiliates, Adjusted Segment EBITDA, Depreciation and Amortization and Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://hcahealthcare.com/20220630/taxonomy/role/SegmentAndGeographicInformationScheduleOfGeographicDistributionsOfRevenuesEquityInEarningsOfAffiliatesAdjustedSegmentEbitdaDepreciationAndAmortizationAndAssetsDetail</Role>
      <ShortName>Segment and Geographic Information - Schedule of Geographic Distributions of Revenues, Equity in Earnings of Affiliates, Adjusted Segment EBITDA, Depreciation and Amortization and Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" original="hca-20220630.htm">hca-20220630.htm</File>
    <File>hca-20220630.xsd</File>
    <File>hca-20220630_cal.xml</File>
    <File>hca-20220630_def.xml</File>
    <File>hca-20220630_lab.xml</File>
    <File>hca-20220630_pre.xml</File>
    <File>hca-ex22.htm</File>
    <File>hca-ex31_1.htm</File>
    <File>hca-ex31_2.htm</File>
    <File>hca-ex32.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="687">http://fasb.org/us-gaap/2022</BaseTaxonomy>
    <BaseTaxonomy items="29">http://xbrl.sec.gov/dei/2022</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
