<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>370</ContextCount>
  <ElementCount>502</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>143</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>10</UnitCount>
  <MyReports>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>995100 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/dei/role/document/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>995300 - Document - Audit Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/dei/role/document/AuditInformation</Role>
      <ShortName>Audit Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>995301 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ConsolidatedBalanceSheet</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>995302 - Statement - Consolidated Balance Sheets (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ConsolidatedBalanceSheet_Parentheticals</Role>
      <ShortName>Consolidated Balance Sheets (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>995303 - Statement - Consolidated Statements of Operations and Comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ConsolidatedIncomeStatement</Role>
      <ShortName>Consolidated Statements of Operations and Comprehensive Loss</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>995304 - Statement - Consolidated Statements of Changes in Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ShareholdersEquityType2or3</Role>
      <ShortName>Consolidated Statements of Changes in Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>995305 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ConsolidatedCashFlow</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>995306 - Disclosure - Nature of Business and Organization</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/NatureofBusinessandOrganization</Role>
      <ShortName>Nature of Business and Organization</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>995307 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/SummaryofSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>995308 - Disclosure - Business Acquisition and Goodwill</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/BusinessAcquisitionandGoodwill</Role>
      <ShortName>Business Acquisition and Goodwill</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995309 - Disclosure - Short-Term Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ShortTermInvestments</Role>
      <ShortName>Short-Term Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>995310 - Disclosure - Loss Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/LossPerShare</Role>
      <ShortName>Loss Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995311 - Disclosure - Accounts Receivable, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/AccountsReceivableNet</Role>
      <ShortName>Accounts Receivable, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995312 - Disclosure - Inventories, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/InventoriesNet</Role>
      <ShortName>Inventories, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995313 - Disclosure - Property, Plant and Equipment, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/PropertyPlantandEquipmentNet</Role>
      <ShortName>Property, Plant and Equipment, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995314 - Disclosure - Intangible Assets, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/IntangibleAssetsNet</Role>
      <ShortName>Intangible Assets, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995315 - Disclosure - Accrued Liabilities and Other Payables</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/AccruedLiabilitiesandOtherPayables</Role>
      <ShortName>Accrued Liabilities and Other Payables</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995316 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995317 - Disclosure - Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/Equity</Role>
      <ShortName>Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995318 - Disclosure - Share-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ShareBasedCompensation</Role>
      <ShortName>Share-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995319 - Disclosure - Operating leases, from the perspective as a lessee</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/Operatingleasesfromtheperspectiveasalessee</Role>
      <ShortName>Operating leases, from the perspective as a lessee</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995320 - Disclosure - Statutory Reserves and Restricted Net Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/StatutoryReservesandRestrictedNetAssets</Role>
      <ShortName>Statutory Reserves and Restricted Net Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995321 - Disclosure - Segment and Revenue Analysis</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/SegmentandRevenueAnalysis</Role>
      <ShortName>Segment and Revenue Analysis</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995322 - Disclosure - Concentration of Risks</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ConcentrationofRisks</Role>
      <ShortName>Concentration of Risks</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995323 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/RelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>995324 - Disclosure - Disposal of Subsidiaries</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/DisposalofSubsidiaries</Role>
      <ShortName>Disposal of Subsidiaries</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>995325 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>995326 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>995327 - Disclosure - Condensed Financial Information of the Parent Company</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/CondensedFinancialInformationoftheParentCompany</Role>
      <ShortName>Condensed Financial Information of the Parent Company</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>995447 - Disclosure - Insider Trading Policies and Procedures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc</Role>
      <ShortName>Insider Trading Policies and Procedures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>995550 - Disclosure - Cybersecurity Risk Management and Strategy Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure</Role>
      <ShortName>Cybersecurity Risk Management and Strategy Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>996000 - Disclosure - Accounting Policies, by Policy (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/AccountingPoliciesByPolicy</Role>
      <ShortName>Accounting Policies, by Policy (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.ebon.com/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>996001 - Disclosure - Nature of Business and Organization (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/NatureofBusinessandOrganizationTables</Role>
      <ShortName>Nature of Business and Organization (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ebon.com/role/NatureofBusinessandOrganization</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>996002 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/SummaryofSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ebon.com/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>996003 - Disclosure - Business Acquisition and Goodwill (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/BusinessAcquisitionandGoodwillTables</Role>
      <ShortName>Business Acquisition and Goodwill (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ebon.com/role/BusinessAcquisitionandGoodwill</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>996004 - Disclosure - Short-Term Investments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ShortTermInvestmentsTables</Role>
      <ShortName>Short-Term Investments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ebon.com/role/ShortTermInvestments</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>996005 - Disclosure - Loss Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/LossPerShareTables</Role>
      <ShortName>Loss Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ebon.com/role/LossPerShare</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>996006 - Disclosure - Accounts Receivable, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/AccountsReceivableNetTables</Role>
      <ShortName>Accounts Receivable, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ebon.com/role/AccountsReceivableNet</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>996007 - Disclosure - Inventories, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/InventoriesNetTables</Role>
      <ShortName>Inventories, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ebon.com/role/InventoriesNet</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>996008 - Disclosure - Property, Plant and Equipment, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/PropertyPlantandEquipmentNetTables</Role>
      <ShortName>Property, Plant and Equipment, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ebon.com/role/PropertyPlantandEquipmentNet</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>996009 - Disclosure - Intangible Assets, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/IntangibleAssetsNetTables</Role>
      <ShortName>Intangible Assets, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ebon.com/role/IntangibleAssetsNet</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>996010 - Disclosure - Accrued Liabilities and Other Payables (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/AccruedLiabilitiesandOtherPayablesTables</Role>
      <ShortName>Accrued Liabilities and Other Payables (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ebon.com/role/AccruedLiabilitiesandOtherPayables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>996011 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ebon.com/role/IncomeTaxes</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>996012 - Disclosure - Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/EquityTables</Role>
      <ShortName>Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ebon.com/role/Equity</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>996013 - Disclosure - Share-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ShareBasedCompensationTables</Role>
      <ShortName>Share-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ebon.com/role/ShareBasedCompensation</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>996014 - Disclosure - Operating leases, from the perspective as a lessee (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/OperatingleasesfromtheperspectiveasalesseeTables</Role>
      <ShortName>Operating leases, from the perspective as a lessee (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ebon.com/role/Operatingleasesfromtheperspectiveasalessee</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>996015 - Disclosure - Statutory Reserves and Restricted Net Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/StatutoryReservesandRestrictedNetAssetsTables</Role>
      <ShortName>Statutory Reserves and Restricted Net Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ebon.com/role/StatutoryReservesandRestrictedNetAssets</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>996016 - Disclosure - Segment and Revenue Analysis (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/SegmentandRevenueAnalysisTables</Role>
      <ShortName>Segment and Revenue Analysis (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ebon.com/role/SegmentandRevenueAnalysis</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>996017 - Disclosure - Concentration of Risks (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ConcentrationofRisksTables</Role>
      <ShortName>Concentration of Risks (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ebon.com/role/ConcentrationofRisks</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>996018 - Disclosure - Related Party Transactions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/RelatedPartyTransactionsTables</Role>
      <ShortName>Related Party Transactions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ebon.com/role/RelatedPartyTransactions</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>996019 - Disclosure - Condensed Financial Information of the Parent Company (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/CondensedFinancialInformationoftheParentCompanyTables</Role>
      <ShortName>Condensed Financial Information of the Parent Company (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ebon.com/role/CondensedFinancialInformationoftheParentCompany</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>996020 - Disclosure - Nature of Business and Organization - Schedule of Accompanying Consolidated Financial Statements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofAccompanyingConsolidatedFinancialStatementsTable</Role>
      <ShortName>Nature of Business and Organization - Schedule of Accompanying Consolidated Financial Statements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>996021 - Disclosure - Summary of Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/SummaryofSignificantAccountingPoliciesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ebon.com/role/SummaryofSignificantAccountingPoliciesTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>996022 - Disclosure - Summary of Significant Accounting Policies - Schedule of Expected Useful Lives of Property Plant and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/SummaryofSignificantAccountingPoliciesDetailsScheduleofExpectedUsefulLivesofPropertyPlantandEquipment</Role>
      <ShortName>Summary of Significant Accounting Policies - Schedule of Expected Useful Lives of Property Plant and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>996023 - Disclosure - Summary of Significant Accounting Policies - Schedule of Estimated Useful Lives of Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofEstimatedUsefulLivesofIntangibleAssetsTable</Role>
      <ShortName>Summary of Significant Accounting Policies - Schedule of Estimated Useful Lives of Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>996024 - Disclosure - Summary of Significant Accounting Policies - Schedule of Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisTable</Role>
      <ShortName>Summary of Significant Accounting Policies - Schedule of Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>996025 - Disclosure - Summary of Significant Accounting Policies - Schedule of Future Lease Collections Generated from Contracts Already Signed (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofFutureLeaseCollectionsGeneratedfromContractsAlreadySignedTable</Role>
      <ShortName>Summary of Significant Accounting Policies - Schedule of Future Lease Collections Generated from Contracts Already Signed (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>996026 - Disclosure - Business Acquisition and Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/BusinessAcquisitionandGoodwillDetails</Role>
      <ShortName>Business Acquisition and Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ebon.com/role/BusinessAcquisitionandGoodwillTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>996027 - Disclosure - Business Acquisition and Goodwill - Schedule of the Assets Acquired, Liabilities Assumed and Related Deferred Income Tax (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleoftheAssetsAcquiredLiabilitiesAssumedandRelatedDeferredIncomeTaxTable</Role>
      <ShortName>Business Acquisition and Goodwill - Schedule of the Assets Acquired, Liabilities Assumed and Related Deferred Income Tax (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>996028 - Disclosure - Business Acquisition and Goodwill - Schedule of Pro Forma Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofProFormaInformationTable</Role>
      <ShortName>Business Acquisition and Goodwill - Schedule of Pro Forma Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>996029 - Disclosure - Short-Term Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ShortTermInvestmentsDetails</Role>
      <ShortName>Short-Term Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ebon.com/role/ShortTermInvestmentsTables</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>996030 - Disclosure - Short-Term Investments - Schedule of Short-Term Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofShortTermInvestmentsTable</Role>
      <ShortName>Short-Term Investments - Schedule of Short-Term Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>996031 - Disclosure -  Loss Per Share - Schedule of Earnings (Loss) of Potentially Dilutive Ordinary Shares (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofEarningsLossofPotentiallyDilutiveOrdinarySharesTable</Role>
      <ShortName> Loss Per Share - Schedule of Earnings (Loss) of Potentially Dilutive Ordinary Shares (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>996032 - Disclosure -  Loss Per Share - Schedule of Income and Share Data Used in the Basic and Diluted Earnings (Loss) Per Ordinary Share Computations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofIncomeandShareDataUsedintheBasicandDilutedEarningsLossPerOrdinaryShareComputationsTable</Role>
      <ShortName> Loss Per Share - Schedule of Income and Share Data Used in the Basic and Diluted Earnings (Loss) Per Ordinary Share Computations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>996033 - Disclosure - Accounts Receivable, Net - Schedule of Accounts Receivable, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofAccountsReceivableNetTable</Role>
      <ShortName>Accounts Receivable, Net - Schedule of Accounts Receivable, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>996034 - Disclosure - Accounts Receivable, Net - Schedule of Allowance for Doubtful Accounts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofAllowanceforDoubtfulAccountsTable</Role>
      <ShortName>Accounts Receivable, Net - Schedule of Allowance for Doubtful Accounts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>996035 - Disclosure - Inventories, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/InventoriesNetDetails</Role>
      <ShortName>Inventories, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ebon.com/role/InventoriesNetTables</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>996036 - Disclosure - Inventories, Net - Schedule of Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofInventoriesTable</Role>
      <ShortName>Inventories, Net - Schedule of Inventories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>996037 - Disclosure - Property, Plant and Equipment, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/PropertyPlantandEquipmentNetDetails</Role>
      <ShortName>Property, Plant and Equipment, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ebon.com/role/PropertyPlantandEquipmentNetTables</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>996038 - Disclosure - Property, Plant and Equipment, Net - Schedule of Property, Plant and Equipment, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofPropertyPlantandEquipmentNetTable</Role>
      <ShortName>Property, Plant and Equipment, Net - Schedule of Property, Plant and Equipment, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>996039 - Disclosure - Intangible Assets, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/IntangibleAssetsNetDetails</Role>
      <ShortName>Intangible Assets, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ebon.com/role/IntangibleAssetsNetTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>996040 - Disclosure - Intangible Assets, Net - Schedule of Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofIntangibleAssetsTable</Role>
      <ShortName>Intangible Assets, Net - Schedule of Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>996041 - Disclosure - Intangible Assets, Net - Schedule of Estimated Future Amortization Expense Related to Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofEstimatedFutureAmortizationExpenseRelatedtoIntangibleAssetsTable</Role>
      <ShortName>Intangible Assets, Net - Schedule of Estimated Future Amortization Expense Related to Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>996042 - Disclosure - Accrued Liabilities and Other Payables - Schedule of Components of Accrued Liabilities and Other Payables (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofComponentsofAccruedLiabilitiesandOtherPayablesTable</Role>
      <ShortName>Accrued Liabilities and Other Payables - Schedule of Components of Accrued Liabilities and Other Payables (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>996043 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/IncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ebon.com/role/IncomeTaxesTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>996044 - Disclosure - Income Taxes - Schedule of Effective Income Tax Rate and PRC Statutory Income Tax (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofEffectiveIncomeTaxRateandPRCStatutoryIncomeTaxTable</Role>
      <ShortName>Income Taxes - Schedule of Effective Income Tax Rate and PRC Statutory Income Tax (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>996045 - Disclosure - Income Taxes - Schedule of Provision for Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofProvisionforIncomeTaxesTable</Role>
      <ShortName>Income Taxes - Schedule of Provision for Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>996046 - Disclosure - Income Taxes - Schedule of International Components of Loss Before Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofInternationalComponentsofLossBeforeIncomeTaxesTable</Role>
      <ShortName>Income Taxes - Schedule of International Components of Loss Before Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>996047 - Disclosure - Income Taxes - Schedule of Deferred Tax Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofDeferredTaxAssetsandLiabilitiesTable</Role>
      <ShortName>Income Taxes - Schedule of Deferred Tax Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>996048 - Disclosure - Income Taxes - Schedule of Cumulative Net Operating Loss of Major Tax Jurisdictions and the Year of Expiration (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofCumulativeNetOperatingLossofMajorTaxJurisdictionsandtheYearofExpirationTable</Role>
      <ShortName>Income Taxes - Schedule of Cumulative Net Operating Loss of Major Tax Jurisdictions and the Year of Expiration (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>996049 - Disclosure - Equity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/EquityDetails</Role>
      <ShortName>Equity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ebon.com/role/EquityTables</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>996050 - Disclosure - Equity - Schedule of Warrant Activities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofWarrantActivitiesTable</Role>
      <ShortName>Equity - Schedule of Warrant Activities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>996051 - Disclosure - Share-Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ShareBasedCompensationDetails</Role>
      <ShortName>Share-Based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ebon.com/role/ShareBasedCompensationTables</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>996052 - Disclosure - Share-Based Compensation - Schedule of RSAs Activity Under the 2020 Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofRSAsActivityUnderthe2020PlanTable</Role>
      <ShortName>Share-Based Compensation - Schedule of RSAs Activity Under the 2020 Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>996053 - Disclosure - Operating leases, from the perspective as a lessee (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/OperatingleasesfromtheperspectiveasalesseeDetails</Role>
      <ShortName>Operating leases, from the perspective as a lessee (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ebon.com/role/OperatingleasesfromtheperspectiveasalesseeTables</ParentRole>
      <Position>86</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>996054 - Disclosure - Operating leases, from the perspective as a lessee - Schedule of Component of Operating Lease (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofComponentofOperatingLeaseTable</Role>
      <ShortName>Operating leases, from the perspective as a lessee - Schedule of Component of Operating Lease (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>996055 - Disclosure - Operating leases, from the perspective as a lessee - Schedule of Maturity Analysis of Operating Lease Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofMaturityAnalysisofOperatingLeaseLiabilitiesTable</Role>
      <ShortName>Operating leases, from the perspective as a lessee - Schedule of Maturity Analysis of Operating Lease Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>996056 - Disclosure - Statutory Reserves and Restricted Net Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/StatutoryReservesandRestrictedNetAssetsDetails</Role>
      <ShortName>Statutory Reserves and Restricted Net Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ebon.com/role/StatutoryReservesandRestrictedNetAssetsTables</ParentRole>
      <Position>89</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>996057 - Disclosure - Statutory Reserves and Restricted Net Assets - Schedule of PRC Subsidiaries (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofPRCSubsidiariesTable</Role>
      <ShortName>Statutory Reserves and Restricted Net Assets - Schedule of PRC Subsidiaries (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>996058 - Disclosure - Segment and Revenue Analysis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/SegmentandRevenueAnalysisDetails</Role>
      <ShortName>Segment and Revenue Analysis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ebon.com/role/SegmentandRevenueAnalysisTables</ParentRole>
      <Position>91</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>996059 - Disclosure - Segment and Revenue Analysis - Schedule of Generated from Different Revenue Streams (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofGeneratedfromDifferentRevenueStreamsTable</Role>
      <ShortName>Segment and Revenue Analysis - Schedule of Generated from Different Revenue Streams (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>996060 - Disclosure - Segment and Revenue Analysis - Schedule of Geographic Region (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofGeographicRegionTable</Role>
      <ShortName>Segment and Revenue Analysis - Schedule of Geographic Region (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>996061 - Disclosure - Segment and Revenue Analysis - Schedule of Cost of Revenues (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofCostofRevenuesTable</Role>
      <ShortName>Segment and Revenue Analysis - Schedule of Cost of Revenues (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>996062 - Disclosure - Segment and Revenue Analysis - Schedule of Long Lived Assets by Geographical Region (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofLongLivedAssetsbyGeographicalRegionTable</Role>
      <ShortName>Segment and Revenue Analysis - Schedule of Long Lived Assets by Geographical Region (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>996063 - Disclosure - Concentration of Risks (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ConcentrationofRisksDetails</Role>
      <ShortName>Concentration of Risks (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ebon.com/role/ConcentrationofRisksTables</ParentRole>
      <Position>96</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>996064 - Disclosure - Concentration of Risks - Schedule of Concentration of Credit Risk (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofConcentrationofCreditRiskTable</Role>
      <ShortName>Concentration of Risks - Schedule of Concentration of Credit Risk (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>996065 - Disclosure - Related Party Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/RelatedPartyTransactionsDetails</Role>
      <ShortName>Related Party Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ebon.com/role/RelatedPartyTransactionsTables</ParentRole>
      <Position>98</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>996066 - Disclosure - Related Party Transactions - Schedule of Related Parties (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofRelatedPartiesTable</Role>
      <ShortName>Related Party Transactions - Schedule of Related Parties (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>996067 - Disclosure - Disposal of Subsidiaries (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/DisposalofSubsidiariesDetails</Role>
      <ShortName>Disposal of Subsidiaries (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ebon.com/role/DisposalofSubsidiaries</ParentRole>
      <Position>100</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>996068 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/CommitmentsandContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ebon.com/role/CommitmentsandContingencies</ParentRole>
      <Position>101</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>996069 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/SubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ebon.com/role/SubsequentEvents</ParentRole>
      <Position>102</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>996070 - Disclosure - Condensed Financial Information of the Parent Company (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/CondensedFinancialInformationoftheParentCompanyDetails</Role>
      <ShortName>Condensed Financial Information of the Parent Company (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ebon.com/role/CondensedFinancialInformationoftheParentCompanyTables</ParentRole>
      <Position>103</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>996071 - Disclosure - Condensed Financial Information of the Parent Company - Schedule of Condensed Balance Sheets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofCondensedBalanceSheetsTable</Role>
      <ShortName>Condensed Financial Information of the Parent Company - Schedule of Condensed Balance Sheets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>104</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>996072 - Disclosure - Condensed Financial Information of the Parent Company - Schedule of Condensed Balance Sheets (Parentheticals) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofCondensedBalanceSheetsTable_Parentheticals</Role>
      <ShortName>Condensed Financial Information of the Parent Company - Schedule of Condensed Balance Sheets (Parentheticals) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>105</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>996073 - Disclosure - Condensed Financial Information of the Parent Company - Schedule of Condensed Statements of Operations And Comprehensive Loss (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofCondensedStatementsofOperationsAndComprehensiveLossTable</Role>
      <ShortName>Condensed Financial Information of the Parent Company - Schedule of Condensed Statements of Operations And Comprehensive Loss (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>106</Position>
    </Report>
    <Report instance="ea0286394-20f_ebang.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>996074 - Disclosure - Condensed Financial Information of the Parent Company - Schedule of Condensed Statements of Cash Flows (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ebon.com/role/ScheduleofCondensedStatementsofCashFlowsTable</Role>
      <ShortName>Condensed Financial Information of the Parent Company - Schedule of Condensed Statements of Cash Flows (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>107</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="20-F" isDefinitelyFs="true" isUsgaap="true" original="ea0286394-20f_ebang.htm">ea0286394-20f_ebang.htm</File>
    <File>ebon-20251231.xsd</File>
    <File>ebon-20251231_cal.xml</File>
    <File>ebon-20251231_def.xml</File>
    <File>ebon-20251231_lab.xml</File>
    <File>ebon-20251231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>ea028639401_img1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="4">http://fasb.org/srt/2025</BaseTaxonomy>
    <BaseTaxonomy items="1238">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="11">http://xbrl.sec.gov/cyd/2025</BaseTaxonomy>
    <BaseTaxonomy items="47">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="1">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>