<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.20.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>319</ContextCount>
  <ElementCount>418</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>105</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>12</UnitCount>
  <MyReports>
    <Report instance="axti-20200630x10q.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-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>00100 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/StatementCondensedConsolidatedBalanceSheets</Role>
      <ShortName>CONDENSED CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>00105 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>00200 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/StatementCondensedConsolidatedStatementsOfOperations</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>00300 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/StatementCondensedConsolidatedStatementsOfComprehensiveIncomeLoss</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>00500 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/StatementCondensedConsolidatedStatementsOfCashFlows</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>10101 - Disclosure - Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureBasisOfPresentation</Role>
      <ShortName>Basis of Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>10201 - Disclosure - Investments and Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureInvestmentsAndFairValueMeasurements</Role>
      <ShortName>Investments and Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>10301 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureInventories</Role>
      <ShortName>Inventories</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>10401 - 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>10</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>10501 - Disclosure - Accrued Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureAccruedLiabilities</Role>
      <ShortName>Accrued Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>10601 - 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-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>10701 - 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>13</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>10801 - Disclosure - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureStockholdersEquity</Role>
      <ShortName>Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>10901 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureStockBasedCompensation</Role>
      <ShortName>Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>11001 - 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>16</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>11101 - 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>17</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>11201 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>11301 - 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>19</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>11401 - 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-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>11501 - Disclosure - Revenue</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureRevenue</Role>
      <ShortName>Revenue</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>11601 - 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>22</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>11701 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureLeases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>11801 - Disclosure - Recent Accounting Pronouncements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureRecentAccountingPronouncements</Role>
      <ShortName>Recent Accounting Pronouncements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>30203 - Disclosure - Investments and Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureInvestmentsAndFairValueMeasurementsTables</Role>
      <ShortName>Investments and Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureInvestmentsAndFairValueMeasurements</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.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>26</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>30403 - 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>27</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>30503 - Disclosure - Accrued Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureAccruedLiabilitiesTables</Role>
      <ShortName>Accrued Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureAccruedLiabilities</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>30703 - 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>29</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>30803 - Disclosure - Stockholders' Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureStockholdersEquityTables</Role>
      <ShortName>Stockholders' Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureStockholdersEquity</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>30903 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureStockBasedCompensationTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureStockBasedCompensation</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>31003 - 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>32</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>31103 - 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>33</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>31203 - 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>34</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>31503 - Disclosure - Revenue (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureRevenueTables</Role>
      <ShortName>Revenue (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureRevenue</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>31703 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureLeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureLeases</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>40101 - Disclosure - Basis of Presentation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureBasisOfPresentationDetails</Role>
      <ShortName>Basis of Presentation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureBasisOfPresentation</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>40201 - Disclosure - Investments and Fair Value Measurements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureInvestmentsAndFairValueMeasurementsDetails</Role>
      <ShortName>Investments and Fair Value Measurements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureInvestmentsAndFairValueMeasurementsTables</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>40202 - Disclosure - Investments and Fair Value Measurements - Investment Category and Length (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureInvestmentsAndFairValueMeasurementsInvestmentCategoryAndLengthDetails</Role>
      <ShortName>Investments and Fair Value Measurements - Investment Category and Length (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>40203 - Disclosure - Investments and Fair Value Measurements - Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureInvestmentsAndFairValueMeasurementsRecurringBasisDetails</Role>
      <ShortName>Investments and Fair Value Measurements - Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.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>41</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>40401 - 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>42</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>40501 - Disclosure - Accrued Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureAccruedLiabilitiesDetails</Role>
      <ShortName>Accrued Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureAccruedLiabilitiesTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>40601 - 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>44</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>40701 - 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>45</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>40702 - Disclosure - Investments in Privately-Held Raw Material Companies - Gain on Deconsolidation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureInvestmentsInPrivatelyHeldRawMaterialCompaniesGainOnDeconsolidationDetails</Role>
      <ShortName>Investments in Privately-Held Raw Material Companies - Gain on Deconsolidation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>40703 - 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>47</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>40801 - Disclosure - Stockholders' Equity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureStockholdersEquityDetails</Role>
      <ShortName>Stockholders' Equity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureStockholdersEquityTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>40901 - Disclosure - Stock-Based Compensation - Stock-Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureStockBasedCompensationStockBasedCompensationDetails</Role>
      <ShortName>Stock-Based Compensation - Stock-Based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>40902 - Disclosure - Stock-Based Compensation - Options (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureStockBasedCompensationOptionsDetails</Role>
      <ShortName>Stock-Based Compensation - Options (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>40903 - Disclosure - Stock-Based Compensation - RSU (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureStockBasedCompensationRsuDetails</Role>
      <ShortName>Stock-Based Compensation - RSU (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureStockBasedCompensationTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>41001 - 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>52</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>41101 - 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>53</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>41102 - 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>54</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>41103 - Disclosure - Segment Information and Foreign Operations - Concentration of Credit Risk (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureSegmentInformationAndForeignOperationsConcentrationOfCreditRiskDetails</Role>
      <ShortName>Segment Information and Foreign Operations - Concentration of Credit Risk (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>41201 - 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>56</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>41301 - 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/DisclosureOtherIncomeExpenseNet</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>41401 - 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/DisclosureIncomeTaxes</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>41501 - Disclosure - Revenue - Revenue Recognition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureRevenueRevenueRecognitionDetails</Role>
      <ShortName>Revenue - Revenue Recognition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>41502 - Disclosure - Revenue - Contract Balances (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureRevenueContractBalancesDetails</Role>
      <ShortName>Revenue - Contract Balances (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>41503 - Disclosure - Revenue - Disaggregated Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureRevenueDisaggregatedRevenueDetails</Role>
      <ShortName>Revenue - Disaggregated Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>41601 - Disclosure - Bank Loans and Line of Credit (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureBankLoansAndLineOfCreditDetails</Role>
      <ShortName>Bank Loans and Line of Credit (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureBankLoansAndLineOfCredit</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>41702 - Disclosure - Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureLeasesDetails</Role>
      <ShortName>Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://axt.com/role/DisclosureLeasesTables</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>41703 - Disclosure - Leases - Maturities of Operating Lease Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureLeasesMaturitiesOfOperatingLeaseLiabilitiesDetails</Role>
      <ShortName>Leases - Maturities of Operating Lease Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>41704 - Disclosure - Leases - Weighted-Average Remaining Lease Term and Discount Rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureLeasesWeightedAverageRemainingLeaseTermAndDiscountRateDetails</Role>
      <ShortName>Leases - Weighted-Average Remaining Lease Term and Discount Rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="axti-20200630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>41705 - Disclosure - Leases - Components of Lease Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://axt.com/role/DisclosureLeasesComponentsOfLeaseExpenseDetails</Role>
      <ShortName>Leases - Components of Lease Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</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="10-Q" original="axti-20200630x10q.htm">axti-20200630x10q.htm</File>
    <File>axti-20200630.xsd</File>
    <File>axti-20200630_cal.xml</File>
    <File>axti-20200630_def.xml</File>
    <File>axti-20200630_lab.xml</File>
    <File>axti-20200630_pre.xml</File>
    <File>axti-20200630ex311cb2890.htm</File>
    <File>axti-20200630ex312a3e96e.htm</File>
    <File>axti-20200630ex3210e28d3.htm</File>
    <File>axti-20200630ex3221d4319.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://xbrl.sec.gov/country/2017-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2019-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/srt/2019-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2019-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
