<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:ecd="http://xbrl.sec.gov/ecd/2026"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="dgxx-20251231.xsd" xlink:type="simple"/>
    <context id="cref_897778857">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001854368</identifier>
            <segment>
                <xbrldi:typedMember dimension="ecd:RestatementDateAxis">
                    <ecd:RestatementDateAxis.domain>2025-12-31</ecd:RestatementDateAxis.domain>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="cref_1805383858">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001854368</identifier>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <dei:DocumentType contextRef="cref_1805383858" id="fc_1782533376">PRE 14A</dei:DocumentType>
    <dei:EntityCentralIndexKey contextRef="cref_1805383858" id="ixv-9211">0001854368</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="cref_1805383858" id="ixv-9212">false</dei:AmendmentFlag>
    <dei:EntityRegistrantName contextRef="cref_1805383858" id="ixv-9231">Digi Power X Inc.</dei:EntityRegistrantName>
    <ecd:InsiderTrdPoliciesProcAdoptedFlag contextRef="cref_1805383858" id="ixv-9232">true</ecd:InsiderTrdPoliciesProcAdoptedFlag>
    <ecd:AwardTmgMnpiDiscTextBlock contextRef="cref_1805383858" id="ixv-3094">&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;i&gt;Equity Grant Procedures&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;i&gt;&#160;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="font: 10pt Times New Roman, Times, Serif; text-indent: 0.5in; margin: 0pt 0; text-align: justify;"&gt; The Corporation does not currently maintain a formal written policy regarding the timing of grants of options, stock appreciation rights or similar option-like instruments in relation to the disclosure of material non-public information (&#x201c;MNPI&#x201d;). In connection with the Company&#x2019;s transition to being a &#x201c;domestic issuer&#x201d; under the U.S. federal securities laws, the Corporation is in the process of updating certain policies and procedures to comply with rules applicable to domestic issuers. Accordingly, the Corporation is implementing policies and procedures related to equity grants and timing of equity grants. The Corporation does not time the disclosure of MNPI for the purpose of affecting value of executive compensation. &lt;/p&gt;</ecd:AwardTmgMnpiDiscTextBlock>
    <ecd:MnpiDiscTimedForCompValFlag contextRef="cref_1805383858" id="ixv-9233">false</ecd:MnpiDiscTimedForCompValFlag>
    <ecd:ErrCompAnalysisTextBlock contextRef="cref_897778857" id="ixv-4899">&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 0.5in;"&gt;All Awards, and all Class B Shares or cash issued or paid in settlement thereof, shall be subject to forfeiture, recovery or other action pursuant to the Company&#x2019;s clawback policy adopted pursuant to Rule 5608 of the Nasdaq listing rules and Rule 10D-1 under the U.S. Exchange Act, as such policy may be amended from time to time, and any other clawback or recoupment policy that the Company may adopt from time to time, as well as Section 3.3 of the Plan. Recovery under any such policy shall not constitute &#x201c;good reason&#x201d; or a constructive dismissal under any agreement with the Company.&lt;/p&gt;</ecd:ErrCompAnalysisTextBlock>
</xbrl>
