<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:DFLI="http://dragonflyenergy.com/20231231"
  xmlns:dei="http://xbrl.sec.gov/dei/2023"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:us-gaap="http://fasb.org/us-gaap/2023"
  xmlns:utr="http://www.xbrl.org/2009/utr"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="dfli-20231231.xsd" xlink:type="simple"/>
    <context id="From2023-01-01to2023-12-31">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001847986</identifier>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="From2023-01-012023-12-31_custom_CommonStockParValue0.0001PerShareMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001847986</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">DFLI:CommonStockParValue0.0001PerShareMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="From2023-01-012023-12-31_custom_RedeemableWarrantsExercisableForCommonStockAtExercisePriceOf11.50PerShareSubjectToAdjustmentMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001847986</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">DFLI:RedeemableWarrantsExercisableForCommonStockAtExercisePriceOf11.50PerShareSubjectToAdjustmentMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="AsOf2023-06-30">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001847986</identifier>
        </entity>
        <period>
            <instant>2023-06-30</instant>
        </period>
    </context>
    <context id="AsOf2024-04-16">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001847986</identifier>
        </entity>
        <period>
            <instant>2024-04-16</instant>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="Shares">
        <measure>shares</measure>
    </unit>
    <unit id="USDPShares">
        <divide>
            <unitNumerator>
                <measure>iso4217:USD</measure>
            </unitNumerator>
            <unitDenominator>
                <measure>shares</measure>
            </unitDenominator>
        </divide>
    </unit>
    <unit id="Pure">
        <measure>pure</measure>
    </unit>
    <unit id="Vendor">
        <measure>DFLI:Vendor</measure>
    </unit>
    <unit id="Customer">
        <measure>DFLI:Customer</measure>
    </unit>
    <unit id="Segment">
        <measure>DFLI:Segment</measure>
    </unit>
    <unit id="sqft">
        <measure>utr:sqft</measure>
    </unit>
    <dei:AmendmentFlag contextRef="From2023-01-01to2023-12-31" id="Fact000003">true</dei:AmendmentFlag>
    <dei:DocumentFiscalPeriodFocus contextRef="From2023-01-01to2023-12-31" id="Fact000004">FY</dei:DocumentFiscalPeriodFocus>
    <dei:EntityCentralIndexKey contextRef="From2023-01-01to2023-12-31" id="Fact000005">0001847986</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="From2023-01-01to2023-12-31" id="Fact000015">10-K/A</dei:DocumentType>
    <dei:DocumentAnnualReport contextRef="From2023-01-01to2023-12-31" id="Fact000016">true</dei:DocumentAnnualReport>
    <dei:DocumentPeriodEndDate contextRef="From2023-01-01to2023-12-31" id="Fact000017">2023-12-31</dei:DocumentPeriodEndDate>
    <dei:CurrentFiscalYearEndDate contextRef="From2023-01-01to2023-12-31" id="Fact000018">--12-31</dei:CurrentFiscalYearEndDate>
    <dei:DocumentFiscalYearFocus contextRef="From2023-01-01to2023-12-31" id="Fact000019">2023</dei:DocumentFiscalYearFocus>
    <dei:DocumentTransitionReport contextRef="From2023-01-01to2023-12-31" id="Fact000020">false</dei:DocumentTransitionReport>
    <dei:EntityFileNumber contextRef="From2023-01-01to2023-12-31" id="Fact000021">001-40730</dei:EntityFileNumber>
    <dei:EntityRegistrantName contextRef="From2023-01-01to2023-12-31" id="Fact000022">DRAGONFLY ENERGY HOLDINGS CORP.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="From2023-01-01to2023-12-31" id="Fact000023">NV</dei:EntityIncorporationStateCountryCode>
    <dei:EntityTaxIdentificationNumber contextRef="From2023-01-01to2023-12-31" id="Fact000024">85-1873463</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="From2023-01-01to2023-12-31" id="Fact000025">1190     Trademark Drive</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="From2023-01-01to2023-12-31" id="Fact000026">#108</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="From2023-01-01to2023-12-31" id="Fact000027">Reno</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="From2023-01-01to2023-12-31" id="Fact000028">NV</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="From2023-01-01to2023-12-31" id="Fact000029">89521</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="From2023-01-01to2023-12-31" id="Fact000030">(775)</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="From2023-01-01to2023-12-31" id="Fact000031">622-3448</dei:LocalPhoneNumber>
    <dei:Security12bTitle
      contextRef="From2023-01-012023-12-31_custom_CommonStockParValue0.0001PerShareMember"
      id="Fact000032">Common     stock, par value $0.0001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="From2023-01-012023-12-31_custom_CommonStockParValue0.0001PerShareMember"
      id="Fact000033">DFLI</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="From2023-01-012023-12-31_custom_CommonStockParValue0.0001PerShareMember"
      id="Fact000034">NASDAQ</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="From2023-01-012023-12-31_custom_RedeemableWarrantsExercisableForCommonStockAtExercisePriceOf11.50PerShareSubjectToAdjustmentMember"
      id="Fact000035">Redeemable     Warrants, exercisable for common stock at an exercise price of $11.50 per share, subject to adjustment</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="From2023-01-012023-12-31_custom_RedeemableWarrantsExercisableForCommonStockAtExercisePriceOf11.50PerShareSubjectToAdjustmentMember"
      id="Fact000036">DFLIW</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="From2023-01-012023-12-31_custom_RedeemableWarrantsExercisableForCommonStockAtExercisePriceOf11.50PerShareSubjectToAdjustmentMember"
      id="Fact000037">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityWellKnownSeasonedIssuer contextRef="From2023-01-01to2023-12-31" id="Fact000038">No</dei:EntityWellKnownSeasonedIssuer>
    <dei:EntityVoluntaryFilers contextRef="From2023-01-01to2023-12-31" id="Fact000039">No</dei:EntityVoluntaryFilers>
    <dei:EntityCurrentReportingStatus contextRef="From2023-01-01to2023-12-31" id="Fact000040">Yes</dei:EntityCurrentReportingStatus>
    <dei:EntityInteractiveDataCurrent contextRef="From2023-01-01to2023-12-31" id="Fact000041">Yes</dei:EntityInteractiveDataCurrent>
    <dei:EntityFilerCategory contextRef="From2023-01-01to2023-12-31" id="Fact000042">Non-accelerated Filer</dei:EntityFilerCategory>
    <dei:EntitySmallBusiness contextRef="From2023-01-01to2023-12-31" id="Fact000043">true</dei:EntitySmallBusiness>
    <dei:EntityEmergingGrowthCompany contextRef="From2023-01-01to2023-12-31" id="Fact000044">true</dei:EntityEmergingGrowthCompany>
    <dei:EntityExTransitionPeriod contextRef="From2023-01-01to2023-12-31" id="Fact000045">false</dei:EntityExTransitionPeriod>
    <dei:IcfrAuditorAttestationFlag contextRef="From2023-01-01to2023-12-31" id="Fact000046">false</dei:IcfrAuditorAttestationFlag>
    <dei:DocumentFinStmtErrorCorrectionFlag contextRef="From2023-01-01to2023-12-31" id="Fact000047">true</dei:DocumentFinStmtErrorCorrectionFlag>
    <dei:DocumentFinStmtRestatementRecoveryAnalysisFlag contextRef="From2023-01-01to2023-12-31" id="Fact000048">false</dei:DocumentFinStmtRestatementRecoveryAnalysisFlag>
    <dei:EntityShellCompany contextRef="From2023-01-01to2023-12-31" id="Fact000049">false</dei:EntityShellCompany>
    <dei:EntityPublicFloat
      contextRef="AsOf2023-06-30"
      decimals="-5"
      id="Fact000050"
      unitRef="USD">45200000</dei:EntityPublicFloat>
    <dei:EntityCommonStockSharesOutstanding
      contextRef="AsOf2024-04-16"
      decimals="INF"
      id="Fact000051"
      unitRef="Shares">60263710</dei:EntityCommonStockSharesOutstanding>
    <dei:DocumentsIncorporatedByReferenceTextBlock contextRef="From2023-01-01to2023-12-31" id="Fact000052">None</dei:DocumentsIncorporatedByReferenceTextBlock>
    <dei:AuditorFirmId contextRef="From2023-01-01to2023-12-31" id="Fact000053">688</dei:AuditorFirmId>
    <dei:AuditorName contextRef="From2023-01-01to2023-12-31" id="Fact000054">Marcum LLP</dei:AuditorName>
    <dei:AuditorLocation contextRef="From2023-01-01to2023-12-31" id="Fact000055">New York, NY</dei:AuditorLocation>
    <dei:AmendmentDescription contextRef="From2023-01-01to2023-12-31" id="Fact000056">This
Amendment No. 1 on Form 10-K/A (this &#x201c;Amendment No. 1&#x201d;) amends the Annual Report on Form 10-K for the fiscal year
ended December 31, 2023 (the &#x201c;2023 Annual Report&#x201d;) of Dragonfly Energy Holdings Corp. filed with the Securities and
Exchange Commission (&#x201c;SEC&#x201d;) on April 16, 2024. In this Amendment No. 1, unless the context indicates otherwise, the
designations &#x201c;Dragonfly,&#x201d; the &#x201c;Company,&#x201d; &#x201c;we,&#x201d; &#x201c;us&#x201d; or &#x201c;our&#x201d; refer to Dragonfly
Energy Holdings, Corp.</dei:AmendmentDescription>
</xbrl>
