<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.24.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>519</ContextCount>
  <ElementCount>508</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>199</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>9</UnitCount>
  <MyReports>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>00090 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>00100 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/StatementConsolidatedBalanceSheets</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>00105 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/StatementConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>00200 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/StatementConsolidatedStatementsOfOperations</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>00300 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>00400 - Statement - CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/StatementConsolidatedStatementsOfStockholdersEquity</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>00500 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/StatementConsolidatedStatementsOfCashFlows</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>00505 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/StatementConsolidatedStatementsOfCashFlowsParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>10101 - Disclosure - The Company and Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureCompanyAndSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>The Company and Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>10201 - Disclosure - Cash, Cash Equivalents and Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureCashCashEquivalentsAndInvestments</Role>
      <ShortName>Cash, Cash Equivalents and Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>10301 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureInventories</Role>
      <ShortName>Inventories</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>10401 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureRelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>10501 - Disclosure - Property, Plant and Equipment, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosurePropertyPlantAndEquipmentNet</Role>
      <ShortName>Property, Plant and Equipment, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>10601 - Disclosure - Investments in Privately-held Raw Material Companies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureInvestmentsInPrivatelyHeldRawMaterialCompanies</Role>
      <ShortName>Investments in Privately-held Raw Material Companies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>10701 - Disclosure - Balance Sheets Details</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureBalanceSheetsDetails</Role>
      <ShortName>Balance Sheets Details</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>10801 - Disclosure - Bank Loans and Line of Credit</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureBankLoansAndLineOfCredit</Role>
      <ShortName>Bank Loans and Line of Credit</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>10901 - Disclosure - Stockholders' Equity and Stock Repurchase Program</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureStockholdersEquityAndStockRepurchaseProgram</Role>
      <ShortName>Stockholders' Equity and Stock Repurchase Program</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>11001 - Disclosure - Employee Benefit Plans and Stock-based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureEmployeeBenefitPlansAndStockBasedCompensation</Role>
      <ShortName>Employee Benefit Plans and Stock-based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>11101 - Disclosure - Guarantees</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureGuarantees</Role>
      <ShortName>Guarantees</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>11201 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>11301 - Disclosure - Net Income (Loss) per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureNetIncomeLossPerShare</Role>
      <ShortName>Net Income (Loss) per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>11401 - Disclosure - Segment Information and Foreign Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureSegmentInformationAndForeignOperations</Role>
      <ShortName>Segment Information and Foreign Operations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>11501 - Disclosure - Other income (expense), net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureOtherIncomeExpenseNet</Role>
      <ShortName>Other income (expense), net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>11601 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>11701 - Disclosure - Unaudited Quarterly Consolidated Financial Data</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureUnauditedQuarterlyConsolidatedFinancialData</Role>
      <ShortName>Unaudited Quarterly Consolidated Financial Data</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>11801 - Disclosure - Redeemable Noncontrolling Interests</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureRedeemableNoncontrollingInterests</Role>
      <ShortName>Redeemable Noncontrolling Interests</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>11901 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureSubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>20102 - Disclosure - The Company and Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureCompanyAndSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>The Company and Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureCompanyAndSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>30103 - Disclosure - The Company and Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureCompanyAndSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>The Company and Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureCompanyAndSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>30203 - Disclosure - Cash, Cash Equivalents and Investments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureCashCashEquivalentsAndInvestmentsTables</Role>
      <ShortName>Cash, Cash Equivalents and Investments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureCashCashEquivalentsAndInvestments</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>30303 - Disclosure - Inventories (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureInventoriesTables</Role>
      <ShortName>Inventories (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureInventories</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>30503 - Disclosure - Property, Plant and Equipment, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosurePropertyPlantAndEquipmentNetTables</Role>
      <ShortName>Property, Plant and Equipment, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosurePropertyPlantAndEquipmentNet</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>30603 - Disclosure - Investments in Privately-held Raw Material Companies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureInvestmentsInPrivatelyHeldRawMaterialCompaniesTables</Role>
      <ShortName>Investments in Privately-held Raw Material Companies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureInvestmentsInPrivatelyHeldRawMaterialCompanies</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>30703 - Disclosure - Balance Sheets Details (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureBalanceSheetsDetailsTables</Role>
      <ShortName>Balance Sheets Details (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureBalanceSheetsDetails</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>30803 - Disclosure - Bank Loans and Line of Credit (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureBankLoansAndLineOfCreditTables</Role>
      <ShortName>Bank Loans and Line of Credit (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureBankLoansAndLineOfCredit</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>30903 - Disclosure - Stockholders' Equity and Stock Repurchase Program (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureStockholdersEquityAndStockRepurchaseProgramTables</Role>
      <ShortName>Stockholders' Equity and Stock Repurchase Program (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureStockholdersEquityAndStockRepurchaseProgram</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>31003 - Disclosure - Employee Benefit Plans and Stock-based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureEmployeeBenefitPlansAndStockBasedCompensationTables</Role>
      <ShortName>Employee Benefit Plans and Stock-based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureEmployeeBenefitPlansAndStockBasedCompensation</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>31103 - Disclosure - Guarantees (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureGuaranteesTables</Role>
      <ShortName>Guarantees (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureGuarantees</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>31203 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureIncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureIncomeTaxes</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>31303 - Disclosure - Net Income (Loss) Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureNetIncomeLossPerShareTables</Role>
      <ShortName>Net Income (Loss) Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureNetIncomeLossPerShare</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>31403 - Disclosure - Segment Information and Foreign Operations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureSegmentInformationAndForeignOperationsTables</Role>
      <ShortName>Segment Information and Foreign Operations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureSegmentInformationAndForeignOperations</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>31503 - Disclosure - Other income (expense), net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureOtherIncomeExpenseNetTables</Role>
      <ShortName>Other income (expense), net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureOtherIncomeExpenseNet</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>31603 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureCommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureCommitmentsAndContingencies</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>31703 - Disclosure - Unaudited Quarterly Consolidated Financial Data (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureUnauditedQuarterlyConsolidatedFinancialDataTables</Role>
      <ShortName>Unaudited Quarterly Consolidated Financial Data (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureUnauditedQuarterlyConsolidatedFinancialData</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>31803 - Disclosure - Redeemable Noncontrolling Interests (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureRedeemableNoncontrollingInterestsTables</Role>
      <ShortName>Redeemable Noncontrolling Interests (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureRedeemableNoncontrollingInterests</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>40101 - Disclosure - The Company and Summary of Significant Accounting Policies - The Company (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureCompanyAndSummaryOfSignificantAccountingPoliciesCompanyDetails</Role>
      <ShortName>The Company and Summary of Significant Accounting Policies - The Company (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureCompanyAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>40102 - Disclosure - The Company and Summary of Significant Accounting Policies- Principles of Consolidation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureCompanyAndSummaryOfSignificantAccountingPoliciesPrinciplesOfConsolidationDetails</Role>
      <ShortName>The Company and Summary of Significant Accounting Policies- Principles of Consolidation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>40103 - Disclosure - The Company and Summary of Significant Accounting Policies - Foreign Currency Translation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureCompanyAndSummaryOfSignificantAccountingPoliciesForeignCurrencyTranslationDetails</Role>
      <ShortName>The Company and Summary of Significant Accounting Policies - Foreign Currency Translation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>40104 - Disclosure - The Company and Summary of Significant Accounting Policies - Revenue Recognition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureCompanyAndSummaryOfSignificantAccountingPoliciesRevenueRecognitionDetails</Role>
      <ShortName>The Company and Summary of Significant Accounting Policies - Revenue Recognition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>40105 - Disclosure - The Company and Summary of Significant Accounting Policies - Risks and Concentration of Credit Risk (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureCompanyAndSummaryOfSignificantAccountingPoliciesRisksAndConcentrationOfCreditRiskDetails</Role>
      <ShortName>The Company and Summary of Significant Accounting Policies - Risks and Concentration of Credit Risk (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>40106 - Disclosure - The Company and Summary of Significant Accounting Policies - Restricted Cash (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureCompanyAndSummaryOfSignificantAccountingPoliciesRestrictedCashDetails</Role>
      <ShortName>The Company and Summary of Significant Accounting Policies - Restricted Cash (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>40107 - Disclosure - The Company and Summary of Significant Accounting Policies - Accounts Receivable and Allowance for Doubtful Accounts and Sales Returns (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureCompanyAndSummaryOfSignificantAccountingPoliciesAccountsReceivableAndAllowanceForDoubtfulAccountsAndSalesReturnsDetails</Role>
      <ShortName>The Company and Summary of Significant Accounting Policies - Accounts Receivable and Allowance for Doubtful Accounts and Sales Returns (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>40108 - Disclosure - The Company and Summary of Significant Accounting Policies - Warranty Reserve (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureCompanyAndSummaryOfSignificantAccountingPoliciesWarrantyReserveDetails</Role>
      <ShortName>The Company and Summary of Significant Accounting Policies - Warranty Reserve (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>40109 - Disclosure - The Company and Summary of Significant Accounting Policies - Property, Plant and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureCompanyAndSummaryOfSignificantAccountingPoliciesPropertyPlantAndEquipmentDetails</Role>
      <ShortName>The Company and Summary of Significant Accounting Policies - Property, Plant and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>40110 - Disclosure - The Company and Summary of Significant Accounting Policies - Impairment of Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureCompanyAndSummaryOfSignificantAccountingPoliciesImpairmentOfInvestmentsDetails</Role>
      <ShortName>The Company and Summary of Significant Accounting Policies - Impairment of Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>40111 - Disclosure - The Company and Summary of Significant Accounting Policies - Segment Reporting (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureCompanyAndSummaryOfSignificantAccountingPoliciesSegmentReportingDetails</Role>
      <ShortName>The Company and Summary of Significant Accounting Policies - Segment Reporting (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>40112 - Disclosure - The Company and Summary of Significant Accounting Policies - Comprehensive Income (loss) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureCompanyAndSummaryOfSignificantAccountingPoliciesComprehensiveIncomeLossDetails</Role>
      <ShortName>The Company and Summary of Significant Accounting Policies - Comprehensive Income (loss) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>40201 - Disclosure - Cash, Cash Equivalents and Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureCashCashEquivalentsAndInvestmentsDetails</Role>
      <ShortName>Cash, Cash Equivalents and Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureCashCashEquivalentsAndInvestmentsTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>40202 - Disclosure - Cash, Cash Equivalents and Investments - Investment Category and Length (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureCashCashEquivalentsAndInvestmentsInvestmentCategoryAndLengthDetails</Role>
      <ShortName>Cash, Cash Equivalents and Investments - Investment Category and Length (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>40203 - Disclosure - Cash, Cash Equivalents and Investments - Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureCashCashEquivalentsAndInvestmentsRecurringBasisDetails</Role>
      <ShortName>Cash, Cash Equivalents and Investments - Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>40301 - Disclosure - Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureInventoriesDetails</Role>
      <ShortName>Inventories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureInventoriesTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>40401 - Disclosure - Related Party Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureRelatedPartyTransactionsDetails</Role>
      <ShortName>Related Party Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureRelatedPartyTransactions</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>40501 - Disclosure - Property, Plant and Equipment, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosurePropertyPlantAndEquipmentNetDetails</Role>
      <ShortName>Property, Plant and Equipment, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosurePropertyPlantAndEquipmentNetTables</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>40601 - Disclosure - Investments in Privately-held Raw Material Companies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureInvestmentsInPrivatelyHeldRawMaterialCompaniesDetails</Role>
      <ShortName>Investments in Privately-held Raw Material Companies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureInvestmentsInPrivatelyHeldRawMaterialCompaniesTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>40602 - Disclosure - Investments in Privately-held Raw Material Companies - Gain (loss) on sale and remeasurement of equity method investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureInvestmentsInPrivatelyHeldRawMaterialCompaniesGainLossOnSaleAndRemeasurementOfEquityMethodInvestmentsDetails</Role>
      <ShortName>Investments in Privately-held Raw Material Companies - Gain (loss) on sale and remeasurement of equity method investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureInvestmentsInPrivatelyHeldRawMaterialCompaniesTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>40603 - Disclosure - Investments in Privately-held Raw Material Companies - Minority Investment Entities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureInvestmentsInPrivatelyHeldRawMaterialCompaniesMinorityInvestmentEntitiesDetails</Role>
      <ShortName>Investments in Privately-held Raw Material Companies - Minority Investment Entities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>40701 - Disclosure - Balance Sheets Details - Other Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureBalanceSheetsDetailsOtherAssetsDetails</Role>
      <ShortName>Balance Sheets Details - Other Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>40702 - Disclosure - Balance Sheets Details - Accrued Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureBalanceSheetsDetailsAccruedLiabilitiesDetails</Role>
      <ShortName>Balance Sheets Details - Accrued Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>40801 - Disclosure - Bank Loans and Line of Credit - Schedule of Bank Loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureBankLoansAndLineOfCreditScheduleOfBankLoansDetails</Role>
      <ShortName>Bank Loans and Line of Credit - Schedule of Bank Loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>40901 - Disclosure - Stockholders' Equity and Stock Repurchase Program (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureStockholdersEquityAndStockRepurchaseProgramDetails</Role>
      <ShortName>Stockholders' Equity and Stock Repurchase Program (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureStockholdersEquityAndStockRepurchaseProgramTables</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>40902 - Disclosure - Stockholders' Equity and Stock Repurchase Program - Ownership Interest in Consolidated Subsidiaries (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureStockholdersEquityAndStockRepurchaseProgramOwnershipInterestInConsolidatedSubsidiariesDetails</Role>
      <ShortName>Stockholders' Equity and Stock Repurchase Program - Ownership Interest in Consolidated Subsidiaries (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>41001 - Disclosure - Employee Benefit Plans and Stock-based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureEmployeeBenefitPlansAndStockBasedCompensationDetails</Role>
      <ShortName>Employee Benefit Plans and Stock-based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureEmployeeBenefitPlansAndStockBasedCompensationTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>41002 - Disclosure - Employee Benefit Plans and Stock-based Compensation - Options (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureEmployeeBenefitPlansAndStockBasedCompensationOptionsDetails</Role>
      <ShortName>Employee Benefit Plans and Stock-based Compensation - Options (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureEmployeeBenefitPlansAndStockBasedCompensationTables</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>41003 - Disclosure - Employee Benefit Plans and Stock-based Compensation - Options Exercise Prices (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureEmployeeBenefitPlansAndStockBasedCompensationOptionsExercisePricesDetails</Role>
      <ShortName>Employee Benefit Plans and Stock-based Compensation - Options Exercise Prices (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>41004 - Disclosure - Employee Benefit Plans and Stock-based Compensation - RSU (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureEmployeeBenefitPlansAndStockBasedCompensationRsuDetails</Role>
      <ShortName>Employee Benefit Plans and Stock-based Compensation - RSU (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureEmployeeBenefitPlansAndStockBasedCompensationTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>41005 - Disclosure - Employee Benefit Plans and Stock-based Compensation - Performance Shares (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureEmployeeBenefitPlansAndStockBasedCompensationPerformanceSharesDetails</Role>
      <ShortName>Employee Benefit Plans and Stock-based Compensation - Performance Shares (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>41006 - Disclosure - Employee Benefit Plans and Stock-based Compensation - Common Stock (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureEmployeeBenefitPlansAndStockBasedCompensationCommonStockDetails</Role>
      <ShortName>Employee Benefit Plans and Stock-based Compensation - Common Stock (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>41007 - Disclosure - Employee Benefit Plans and Stock-based Compensation - Stock-Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureEmployeeBenefitPlansAndStockBasedCompensationStockBasedCompensationDetails</Role>
      <ShortName>Employee Benefit Plans and Stock-based Compensation - Stock-Based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>41008 - Disclosure - Employee Benefit Plans and Stock-based Compensation - Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureEmployeeBenefitPlansAndStockBasedCompensationAssumptionsDetails</Role>
      <ShortName>Employee Benefit Plans and Stock-based Compensation - Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>41101 - Disclosure - Guarantees (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureGuaranteesDetails</Role>
      <ShortName>Guarantees (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureGuaranteesTables</ParentRole>
      <Position>80</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>41201 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureIncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureIncomeTaxesTables</ParentRole>
      <Position>81</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>41301 - Disclosure - Net Income (Loss) per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureNetIncomeLossPerShareDetails</Role>
      <ShortName>Net Income (Loss) per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureNetIncomeLossPerShareTables</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>41401 - Disclosure - Segment Information and Foreign Operations - Product Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureSegmentInformationAndForeignOperationsProductInformationDetails</Role>
      <ShortName>Segment Information and Foreign Operations - Product Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>41402 - Disclosure - Segment Information and Foreign Operations - Segment and Geographical Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureSegmentInformationAndForeignOperationsSegmentAndGeographicalInformationDetails</Role>
      <ShortName>Segment Information and Foreign Operations - Segment and Geographical Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>41501 - Disclosure - Other income (expense), net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureOtherIncomeExpenseNetDetails</Role>
      <ShortName>Other income (expense), net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureOtherIncomeExpenseNetTables</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>41601 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureCommitmentsAndContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureCommitmentsAndContingenciesTables</ParentRole>
      <Position>86</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>41602 - Disclosure - Commitments and Contingencies - Maturities of Operating Lease Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureCommitmentsAndContingenciesMaturitiesOfOperatingLeaseLiabilitiesDetails</Role>
      <ShortName>Commitments and Contingencies - Maturities of Operating Lease Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>41603 - Disclosure - Commitments and Contingencies - Weighted-Average Remaining Lease Term and Discount Rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureCommitmentsAndContingenciesWeightedAverageRemainingLeaseTermAndDiscountRateDetails</Role>
      <ShortName>Commitments and Contingencies - Weighted-Average Remaining Lease Term and Discount Rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>41604 - Disclosure - Commitments and Contingencies - Components of Lease Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureCommitmentsAndContingenciesComponentsOfLeaseExpenseDetails</Role>
      <ShortName>Commitments and Contingencies - Components of Lease Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>41701 - Disclosure - Unaudited Quarterly Consolidated Financial Data (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureUnauditedQuarterlyConsolidatedFinancialDataDetails</Role>
      <ShortName>Unaudited Quarterly Consolidated Financial Data (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureUnauditedQuarterlyConsolidatedFinancialDataTables</ParentRole>
      <Position>90</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>41801 - Disclosure - Redeemable Noncontrolling Interests (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureRedeemableNoncontrollingInterestsDetails</Role>
      <ShortName>Redeemable Noncontrolling Interests (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureRedeemableNoncontrollingInterestsTables</ParentRole>
      <Position>91</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>41802 - Disclosure - Redeemable Noncontrolling Interests - Components of the Change in Redeemable Noncontrolling Interests (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureRedeemableNoncontrollingInterestsComponentsOfChangeInRedeemableNoncontrollingInterestsDetails</Role>
      <ShortName>Redeemable Noncontrolling Interests - Components of the Change in Redeemable Noncontrolling Interests (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>41901 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureSubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureSubsequentEvents</ParentRole>
      <Position>93</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.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>Uncategorized</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="axti-20231231x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>axti-20231231.xsd</File>
    <File>axti-20231231_cal.xml</File>
    <File>axti-20231231_def.xml</File>
    <File>axti-20231231_lab.xml</File>
    <File>axti-20231231_pre.xml</File>
    <File doctype="10-K" isDefinitelyFs="true" isUsgaap="true" original="axti-20231231x10k.htm">axti-20231231x10k.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>axti-20231231x10k001.jpg</File>
    <File>axti-20231231x10k003.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1496">http://fasb.org/us-gaap/2023</BaseTaxonomy>
    <BaseTaxonomy items="37">http://xbrl.sec.gov/dei/2023</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2023</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
