<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2026"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2026/ffd-2026.xsd"
      xlink:type="simple"/>
    <context id="rc">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001799290</identifier>
        </entity>
        <period>
            <startDate>2026-04-21</startDate>
            <endDate>2026-04-21</endDate>
        </period>
    </context>
    <context id="offrl_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001799290</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-21</startDate>
            <endDate>2026-04-21</endDate>
        </period>
    </context>
    <context id="offrl_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001799290</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-21</startDate>
            <endDate>2026-04-21</endDate>
        </period>
    </context>
    <context id="offrl_3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001799290</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>3</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-21</startDate>
            <endDate>2026-04-21</endDate>
        </period>
    </context>
    <context id="offrl_4">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001799290</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>4</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-21</startDate>
            <endDate>2026-04-21</endDate>
        </period>
    </context>
    <context id="offrl_5">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001799290</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>5</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-21</startDate>
            <endDate>2026-04-21</endDate>
        </period>
    </context>
    <context id="offrl_6">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001799290</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>6</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-21</startDate>
            <endDate>2026-04-21</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:FormTp contextRef="rc" id="ixv-410">F-3</ffd:FormTp>
    <ffd:SubmissnTp contextRef="rc" id="ixv-411">F-3</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="rc" id="ixv-412">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey contextRef="rc" id="ixv-413">0001799290</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-414">Ebang International Holdings Inc.</dei:EntityRegistrantName>
    <ffd:OfferingTableNa contextRef="rc" id="hiddenrcOfferingTableNa" xsi:nil="true"/>
    <ffd:OffsetTableNa contextRef="rc" id="hiddenrcOffsetTableNa">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa contextRef="rc" id="hiddenrcCombinedProspectusTableNa">N/A</ffd:CombinedProspectusTableNa>
    <ffd:FormTp contextRef="rc" id="ixv-487">F-3</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-488">Ebang International Holdings Inc.</dei:EntityRegistrantName>
    <ffd:OfferingSctyTp contextRef="offrl_1" id="ixv-489">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_1" id="ixv-490">Class A Ordinary Shares, par value $HK 0.03 per share</ffd:OfferingSctyTitl>
    <ffd:Rule415a6Flg contextRef="offrl_1" id="ixv-491">true</ffd:Rule415a6Flg>
    <ffd:CfwdFormTp contextRef="offrl_1" id="ixv-492">F-3</ffd:CfwdFormTp>
    <ffd:CfwdPrrFileNb contextRef="offrl_1" id="ixv-493">333-271512</ffd:CfwdPrrFileNb>
    <ffd:CfwdPrrFctvDt contextRef="offrl_1" id="ixv-494">2023-06-14</ffd:CfwdPrrFctvDt>
    <ffd:OfferingSctyTp contextRef="offrl_2" id="ixv-495">Debt</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_2" id="ixv-496">Debt Securities</ffd:OfferingSctyTitl>
    <ffd:Rule415a6Flg contextRef="offrl_2" id="ixv-497">true</ffd:Rule415a6Flg>
    <ffd:CfwdFormTp contextRef="offrl_2" id="ixv-498">F-3</ffd:CfwdFormTp>
    <ffd:CfwdPrrFileNb contextRef="offrl_2" id="ixv-499">333-271512</ffd:CfwdPrrFileNb>
    <ffd:CfwdPrrFctvDt contextRef="offrl_2" id="ixv-500">2023-06-14</ffd:CfwdPrrFctvDt>
    <ffd:OfferingSctyTp contextRef="offrl_3" id="ixv-501">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_3" id="ixv-502">Warrants</ffd:OfferingSctyTitl>
    <ffd:Rule415a6Flg contextRef="offrl_3" id="ixv-503">true</ffd:Rule415a6Flg>
    <ffd:CfwdFormTp contextRef="offrl_3" id="ixv-504">F-3</ffd:CfwdFormTp>
    <ffd:CfwdPrrFileNb contextRef="offrl_3" id="ixv-505">333-271512</ffd:CfwdPrrFileNb>
    <ffd:CfwdPrrFctvDt contextRef="offrl_3" id="ixv-506">2023-06-14</ffd:CfwdPrrFctvDt>
    <ffd:OfferingSctyTp contextRef="offrl_4" id="ixv-507">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_4" id="ixv-508">Subscription Rights</ffd:OfferingSctyTitl>
    <ffd:Rule415a6Flg contextRef="offrl_4" id="ixv-509">true</ffd:Rule415a6Flg>
    <ffd:CfwdFormTp contextRef="offrl_4" id="ixv-510">F-3</ffd:CfwdFormTp>
    <ffd:CfwdPrrFileNb contextRef="offrl_4" id="ixv-511">333-271512</ffd:CfwdPrrFileNb>
    <ffd:CfwdPrrFctvDt contextRef="offrl_4" id="ixv-512">2023-06-14</ffd:CfwdPrrFctvDt>
    <ffd:OfferingSctyTp contextRef="offrl_5" id="ixv-513">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_5" id="ixv-514">Units</ffd:OfferingSctyTitl>
    <ffd:Rule415a6Flg contextRef="offrl_5" id="ixv-515">true</ffd:Rule415a6Flg>
    <ffd:CfwdFormTp contextRef="offrl_5" id="ixv-516">F-3</ffd:CfwdFormTp>
    <ffd:CfwdPrrFileNb contextRef="offrl_5" id="ixv-517">333-271512</ffd:CfwdPrrFileNb>
    <ffd:CfwdPrrFctvDt contextRef="offrl_5" id="ixv-518">2023-06-14</ffd:CfwdPrrFctvDt>
    <ffd:OfferingSctyTp contextRef="offrl_6" id="ixv-519">Unallocated (Universal) Shelf</ffd:OfferingSctyTp>
    <ffd:Rule415a6Flg contextRef="offrl_6" id="ixv-520">true</ffd:Rule415a6Flg>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_6"
      decimals="2"
      id="ixv-521"
      unitRef="USD">8265.00</ffd:MaxAggtOfferingPric>
    <ffd:CfwdFormTp contextRef="offrl_6" id="ixv-522">F-3</ffd:CfwdFormTp>
    <ffd:CfwdPrrFileNb contextRef="offrl_6" id="ixv-523">333-271512</ffd:CfwdPrrFileNb>
    <ffd:CfwdPrrFctvDt contextRef="offrl_6" id="ixv-524">2023-06-14</ffd:CfwdPrrFctvDt>
    <ffd:CfwdPrevslyPdFee
      contextRef="offrl_6"
      decimals="2"
      id="ixv-525"
      unitRef="USD">8265.00</ffd:CfwdPrevslyPdFee>
    <ffd:TtlOfferingAmt contextRef="rc" decimals="2" id="ixv-526" unitRef="USD">8265.00</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="rc" decimals="2" id="ixv-527" unitRef="USD">0.00</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt contextRef="rc" decimals="2" id="ixv-528" unitRef="USD">0.00</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt contextRef="rc" decimals="2" id="ixv-529" unitRef="USD">0.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="rc" decimals="2" id="ixv-530" unitRef="USD">0.00</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="offrl_6" id="ixv-531">1a. Ebang International Holdings Inc. is registering the following securities having an aggregate offering price of up to $75,000,000 for issuance and sale from time to time in one or more offerings by Ebang International Holdings Inc.: (i) an indeterminate number of Class A ordinary shares, par value HK$0.03 per share ("Class A ordinary shares"), of Ebang International Holdings Inc., (ii) an indeterminate principal amount of debt securities of Ebang International Holdings Inc., (iii) an indeterminate number of warrants of Ebang International Holdings Inc. to purchase Class A ordinary shares or debt securities of Ebang International Holdings Inc., (iv) an indeterminate number of subscription rights of Ebang International Holdings Inc., and (v) an indeterminate number of units of Ebang International Holdings Inc. If any debt securities are issued at an original issue discount, then the principal amount of such debt securities shall be in such greater amount as shall result in an aggregate initial offering price not to exceed $75,000,000, less the aggregate dollar amount of all securities previously issued hereunder. The securities registered also include such indeterminate number of securities as may be issued upon conversion or exchange of other securities, upon exercise of warrants or pursuant to the antidilution provisions of any such securities. In addition, pursuant to Rule 416 under the Securities Act of 1933, as amended (the "Securities Act"), the Class A ordinary shares being registered hereunder include such indeterminate number of Class A ordinary shares as may be issuable with respect to the Class A ordinary shares being registered hereunder as a result of stock splits, stock dividends or similar transactions.

1b. The proposed maximum aggregate offering price per class of security will be determined from time to time by the registrant in connection with the issuance by the registrant of the securities registered hereunder and is not specified as to each class of security pursuant to Instructions to the Calculation of Filing Fee Tables.

1c. Pursuant to Rule 415(a)(6) under the Securities Act, the securities registered pursuant to this Registration Statement include $75,000,000 of unsold Class A ordinary shares, debt securities, warrants, subscription rights and units (collectively, the "Unsold Securities") previously registered pursuant to the shelf registration statement on Form F-3, as amended (File No. 333-271512), which was declared effective by the U.S. Securities and Exchange Commission (the "SEC") on June 14, 2023 (such registration statement, the "Prior Registration Statement"). The registrant paid filing fees for the Unsold Securities in an aggregate amount of $8,265.00 in connection with the filing of the Prior Registration Statement. Such filing fees associated with the offering of the Unsold Securities are hereby carried forward to be applied to the Unsold Securities registered hereunder, and no additional filing fee is due with respect to the Unsold Securities in connection with the filing of this Registration Statement. The registrant is only registering the Unsold Securities on this Registration Statement and is not registering any new securities. To the extent that, after the filing date hereof and prior to the effectiveness of this Registration Statement, the registrant sells any Unsold Securities pursuant to the Prior Registration Statement, the registrant will identify in a pre-effective amendment to this Registration Statement the updated number of Unsold Securities from the Prior Registration Statement to be included in this Registration Statement pursuant to Rule 415(a)(6) and the updated amount of new securities to be registered on this Registration Statement. Pursuant to Rule 415(a)(6), the offering of securities under the Prior Registration Statement will be deemed terminated as of the date of effectiveness of this Registration Statement.</ffd:OfferingNote>
</xbrl>