<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.2.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>131</ContextCount>
  <ElementCount>239</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>51</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>000 - Document - Document And Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-document-and-entity-information</Role>
      <ShortName>Document And Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>001 - Statement - Condensed Consolidated Balance Sheets (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-condensed-consolidated-balance-sheets-unaudited</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>002 - Statement - Condensed Consolidated Balance Sheets (Unaudited) (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-condensed-consolidated-balance-sheets-unaudited-parentheticals</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Unaudited) (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>003 - Statement - Condensed Consolidated Statements of Operations (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-condensed-consolidated-statements-of-operations-unaudited</Role>
      <ShortName>Condensed Consolidated Statements of Operations (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>004 - Statement - Condensed Consolidated Statements of Cash Flows (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-condensed-consolidated-statements-of-cash-flows-unaudited</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>005 - Statement - Condensed Consolidated Statements of Stockholders' Equity (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-condensed-consolidated-statements-of-stockholders-equity-unaudited</Role>
      <ShortName>Condensed Consolidated Statements of Stockholders' Equity (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>006 - Disclosure - Note 1 - General Business</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-1-general-business</Role>
      <ShortName>Note 1 - General Business</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>007 - Disclosure - Note 2 - Long-lived Asset Impairments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-2-longlived-asset-impairments</Role>
      <ShortName>Note 2 - Long-lived Asset Impairments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>008 - Disclosure - Note 3 - Inventory</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-3-inventory</Role>
      <ShortName>Note 3 - Inventory</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>009 - Disclosure - Note 4 - Other Long-term Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-4-other-longterm-assets</Role>
      <ShortName>Note 4 - Other Long-term Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>010 - Disclosure - Note 5 - Bank Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-5-bank-debt</Role>
      <ShortName>Note 5 - Bank Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>011 - Disclosure - Note 6 - Accounts Payable and Accrued Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-6-accounts-payable-and-accrued-liabilities</Role>
      <ShortName>Note 6 - Accounts Payable and Accrued Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>012 - Disclosure - Note 7 - Revenue</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-7-revenue</Role>
      <ShortName>Note 7 - Revenue</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>013 - Disclosure - Note 8 - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-8-income-taxes</Role>
      <ShortName>Note 8 - Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>014 - Disclosure - Note 9 - Stock Compensation Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-9-stock-compensation-plans</Role>
      <ShortName>Note 9 - Stock Compensation Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>015 - Disclosure - Note 10 - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-10-leases</Role>
      <ShortName>Note 10 - Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>016 - Disclosure - Note 11 - Self-Insurance</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-11-selfinsurance</Role>
      <ShortName>Note 11 - Self-Insurance</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>017 - Disclosure - Note 12 - Net Loss Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-12-net-loss-per-share</Role>
      <ShortName>Note 12 - Net Loss Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>018 - Disclosure - Note 13 - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-13-fair-value-measurements</Role>
      <ShortName>Note 13 - Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>019 - Disclosure - Note 14 - Equity Method Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-14-equity-method-investments</Role>
      <ShortName>Note 14 - Equity Method Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>020 - Disclosure - Note 15 - Convertible Notes</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-15-convertible-notes</Role>
      <ShortName>Note 15 - Convertible Notes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>021 - Disclosure - Note 16 - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-16-subsequent-events</Role>
      <ShortName>Note 16 - Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>022 - Disclosure - Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-significant-accounting-policies-policies</Role>
      <ShortName>Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>023 - Disclosure - Note 4 - Other Long-term Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-4-other-longterm-assets-tables</Role>
      <ShortName>Note 4 - Other Long-term Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.halladorenergy.com/20220630/role/statement-note-4-other-longterm-assets</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>024 - Disclosure - Note 5 - Bank Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-5-bank-debt-tables</Role>
      <ShortName>Note 5 - Bank Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.halladorenergy.com/20220630/role/statement-note-5-bank-debt</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>025 - Disclosure - Note 6 - Accounts Payable and Accrued Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-6-accounts-payable-and-accrued-liabilities-tables</Role>
      <ShortName>Note 6 - Accounts Payable and Accrued Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.halladorenergy.com/20220630/role/statement-note-6-accounts-payable-and-accrued-liabilities</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>026 - Disclosure - Note 9 - Stock Compensation Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-9-stock-compensation-plans-tables</Role>
      <ShortName>Note 9 - Stock Compensation Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.halladorenergy.com/20220630/role/statement-note-9-stock-compensation-plans</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>027 - Disclosure - Note 10 - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-10-leases-tables</Role>
      <ShortName>Note 10 - Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.halladorenergy.com/20220630/role/statement-note-10-leases</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>028 - Disclosure - Note 12 - Net Loss Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-12-net-loss-per-share-tables</Role>
      <ShortName>Note 12 - Net Loss Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.halladorenergy.com/20220630/role/statement-note-12-net-loss-per-share</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>029 - Disclosure - Note 13 - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-13-fair-value-measurements-tables</Role>
      <ShortName>Note 13 - Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.halladorenergy.com/20220630/role/statement-note-13-fair-value-measurements</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>030 - Disclosure - Note 1 - General Business (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-1-general-business-details-textual</Role>
      <ShortName>Note 1 - General Business (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.halladorenergy.com/20220630/role/statement-note-1-general-business</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>031 - Disclosure - Note 2 - Long-lived Asset Impairments (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-2-longlived-asset-impairments-details-textual</Role>
      <ShortName>Note 2 - Long-lived Asset Impairments (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.halladorenergy.com/20220630/role/statement-note-2-longlived-asset-impairments</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>032 - Disclosure - Note 3 - Inventory (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-3-inventory-details-textual</Role>
      <ShortName>Note 3 - Inventory (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.halladorenergy.com/20220630/role/statement-note-3-inventory</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>033 - Disclosure - Note 4 - Other Long-term Assets - Other Long-term Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-4-other-longterm-assets-other-longterm-assets-details</Role>
      <ShortName>Note 4 - Other Long-term Assets - Other Long-term Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>034 - Disclosure - Note 5 - Bank Debt (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-5-bank-debt-details-textual</Role>
      <ShortName>Note 5 - Bank Debt (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.halladorenergy.com/20220630/role/statement-note-5-bank-debt-tables</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>035 - Disclosure - Note 5 - Bank Debt - Bank Debt, Less Debt Issuance Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-5-bank-debt-bank-debt-less-debt-issuance-costs-details</Role>
      <ShortName>Note 5 - Bank Debt - Bank Debt, Less Debt Issuance Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>036 - Disclosure - Note 5 - Bank Debt - Maximum Leverage Ratio (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-5-bank-debt-maximum-leverage-ratio-details</Role>
      <ShortName>Note 5 - Bank Debt - Maximum Leverage Ratio (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>037 - Disclosure - Note 6 - Accounts Payable and Accrued Liabilities - Accounts Payable and Accrued Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-6-accounts-payable-and-accrued-liabilities-accounts-payable-and-accrued-liabilities-details</Role>
      <ShortName>Note 6 - Accounts Payable and Accrued Liabilities - Accounts Payable and Accrued Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>038 - Disclosure - Note 7 - Revenue 1 (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-7-revenue-1-details-textual</Role>
      <ShortName>Note 7 - Revenue 1 (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.halladorenergy.com/20220630/role/statement-note-7-revenue</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>039 - Disclosure - Note 7 - Revenue 2 (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-7-revenue-2-details-textual</Role>
      <ShortName>Note 7 - Revenue 2 (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.halladorenergy.com/20220630/role/statement-note-7-revenue</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>040 - Disclosure - Note 8 - Income Taxes (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-8-income-taxes-details-textual</Role>
      <ShortName>Note 8 - Income Taxes (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.halladorenergy.com/20220630/role/statement-note-8-income-taxes</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>041 - Disclosure - Note 9 - Stock Compensation Plans (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-9-stock-compensation-plans-details-textual</Role>
      <ShortName>Note 9 - Stock Compensation Plans (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.halladorenergy.com/20220630/role/statement-note-9-stock-compensation-plans-tables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>042 - Disclosure - Note 9 - Stock Compensation Plans - RSU Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-9-stock-compensation-plans-rsu-activity-details</Role>
      <ShortName>Note 9 - Stock Compensation Plans - RSU Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>044 - Disclosure - Note 9 - Stock Compensation Plans - Vesting of Non-vested RSU Grants (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-9-stock-compensation-plans-vesting-of-nonvested-rsu-grants-details</Role>
      <ShortName>Note 9 - Stock Compensation Plans - Vesting of Non-vested RSU Grants (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>045 - Disclosure - Note 10 - Leases (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-10-leases-details-textual</Role>
      <ShortName>Note 10 - Leases (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.halladorenergy.com/20220630/role/statement-note-10-leases-tables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>046 - Disclosure - Note 10 - Leases - Information Related to Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-10-leases-information-related-to-leases-details</Role>
      <ShortName>Note 10 - Leases - Information Related to Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>047 - Disclosure - Note 10 - Leases - Future Minimum Lease Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-10-leases-future-minimum-lease-payments-details</Role>
      <ShortName>Note 10 - Leases - Future Minimum Lease Payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>048 - Disclosure - Note 11 - Self-Insurance (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-11-selfinsurance-details-textual</Role>
      <ShortName>Note 11 - Self-Insurance (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.halladorenergy.com/20220630/role/statement-note-11-selfinsurance</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>049 - Disclosure - Note 12 - Net Loss Per Share - Computation of Net Income(Loss) Allocated to Common Shareholders (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-12-net-loss-per-share-computation-of-net-incomeloss-allocated-to-common-shareholders-details</Role>
      <ShortName>Note 12 - Net Loss Per Share - Computation of Net Income(Loss) Allocated to Common Shareholders (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>050 - Disclosure - Note 13 - Fair Value Measurements (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-13-fair-value-measurements-details-textual</Role>
      <ShortName>Note 13 - Fair Value Measurements (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.halladorenergy.com/20220630/role/statement-note-13-fair-value-measurements-tables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>051 - Disclosure - Note 13 - Fair Value Measurements - Financial Assets and Liabilities Measured on a Recurring Basis at Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-13-fair-value-measurements-financial-assets-and-liabilities-measured-on-a-recurring-basis-at-fair-value-details</Role>
      <ShortName>Note 13 - Fair Value Measurements - Financial Assets and Liabilities Measured on a Recurring Basis at Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>052 - Disclosure - Note 13 - Fair Value Measurements - Change in Fair Value of the Fuel Hedges and Interest Rate Swaps (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-13-fair-value-measurements-change-in-fair-value-of-the-fuel-hedges-and-interest-rate-swaps-details</Role>
      <ShortName>Note 13 - Fair Value Measurements - Change in Fair Value of the Fuel Hedges and Interest Rate Swaps (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>053 - Disclosure - Note 14 - Equity Method Investments (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-14-equity-method-investments-details-textual</Role>
      <ShortName>Note 14 - Equity Method Investments (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.halladorenergy.com/20220630/role/statement-note-14-equity-method-investments</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>054 - Disclosure - Note 15 - Convertible Notes (Details Textual)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-15-convertible-notes-details-textual</Role>
      <ShortName>Note 15 - Convertible Notes (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.halladorenergy.com/20220630/role/statement-note-15-convertible-notes</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="hnrg20220630_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>055 - Disclosure - Note 16 - Subsequent Events (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.halladorenergy.com/20220630/role/statement-note-16-subsequent-events-details-textual</Role>
      <ShortName>Note 16 - Subsequent Events (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.halladorenergy.com/20220630/role/statement-note-16-subsequent-events</ParentRole>
      <Position>55</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Warning">[ix-0514-Hidden-Fact-Eligible-For-Transform] WARN: 24 fact(s) appearing in ix:hidden were eligible for transformation: dei:EntityRegistrantName, hnrg:ConversionShareToCommonStockRatio, hnrg:NumberOfMiningUnits, us-gaap:AssetImpairmentCharges, us-gaap:CommonStockParOrStatedValuePerShare, us-gaap:CommonStockSharesAuthorized, us-gaap:CommonStockSharesIssued, us-gaap:CommonStockSharesOutstanding, us-gaap:PreferredStockParOrStatedValuePerShare, us-gaap:PreferredStockSharesAuthorized, us-gaap:PreferredStockSharesIssued, us-gaap:PreferredStockSharesOutstanding, us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1 -  hnrg20220630_10q.htm 8, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35</Log>
  </Logs>
  <InputFiles>
    <File doctype="10-Q" original="hnrg20220630_10q.htm">hnrg20220630_10q.htm</File>
    <File>ex_392377.htm</File>
    <File>ex_392378.htm</File>
    <File>ex_392379.htm</File>
    <File>ex_392380.htm</File>
    <File>ex_392381.htm</File>
    <File>ex_411983.htm</File>
    <File>hnrg-20220630.xsd</File>
    <File>hnrg-20220630_cal.xml</File>
    <File>hnrg-20220630_def.xml</File>
    <File>hnrg-20220630_lab.xml</File>
    <File>hnrg-20220630_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>logo.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="522">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>
