<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.21.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>209</ContextCount>
  <ElementCount>332</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>56</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>8</UnitCount>
  <MyReports>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>00090 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>00100 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF EARNINGS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/StatementCondensedConsolidatedStatementsOfEarnings</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF EARNINGS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>00200 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/StatementCondensedConsolidatedBalanceSheets</Role>
      <ShortName>CONDENSED CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>00205 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>00300 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/StatementCondensedConsolidatedStatementsOfStockholdersEquity</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>00400 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/StatementCondensedConsolidatedStatementsOfCashFlows</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>10101 - Disclosure - DESCRIPTION OF THE BUSINESS AND BASIS OF PRESENTATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureDescriptionOfBusinessAndBasisOfPresentation</Role>
      <ShortName>DESCRIPTION OF THE BUSINESS AND BASIS OF PRESENTATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>10201 - Disclosure - REVENUES FROM CONTRACTS WITH CUSTOMERS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureRevenuesFromContractsWithCustomers</Role>
      <ShortName>REVENUES FROM CONTRACTS WITH CUSTOMERS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>10301 - Disclosure - CASH, CASH EQUIVALENTS AND SHORT-TERM INVESTMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureCashCashEquivalentsAndShortTermInvestments</Role>
      <ShortName>CASH, CASH EQUIVALENTS AND SHORT-TERM INVESTMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>10401 - Disclosure - ACCOUNTS AND NOTES RECEIVABLE</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureAccountsAndNotesReceivable</Role>
      <ShortName>ACCOUNTS AND NOTES RECEIVABLE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>10501 - Disclosure - PURCHASED INTANGIBLE ASSETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosurePurchasedIntangibleAssets</Role>
      <ShortName>PURCHASED INTANGIBLE ASSETS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>10601 - Disclosure - FINANCING ARRANGEMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureFinancingArrangements</Role>
      <ShortName>FINANCING ARRANGEMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>10701 - Disclosure - COMMITMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureCommitments</Role>
      <ShortName>COMMITMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>10801 - Disclosure - LEGAL CONTINGENCIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureLegalContingencies</Role>
      <ShortName>LEGAL CONTINGENCIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>10901 - Disclosure - STOCK-BASED COMPENSATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureStockBasedCompensation</Role>
      <ShortName>STOCK-BASED COMPENSATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>11001 - Disclosure - INCOME TAXES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureIncomeTaxes</Role>
      <ShortName>INCOME TAXES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>11101 - Disclosure - NET INCOME PER SHARE ATTRIBUTABLE TO THE STOCKHOLDERS OF ARGAN</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureNetIncomePerShareAttributableToStockholdersOfArgan</Role>
      <ShortName>NET INCOME PER SHARE ATTRIBUTABLE TO THE STOCKHOLDERS OF ARGAN</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>11201 - Disclosure - CASH DIVIDENDS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureCashDividends</Role>
      <ShortName>CASH DIVIDENDS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>11301 - Disclosure - CUSTOMER CONCENTRATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureCustomerConcentrations</Role>
      <ShortName>CUSTOMER CONCENTRATIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>11401 - Disclosure - SEGMENT REPORTING</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureSegmentReporting</Role>
      <ShortName>SEGMENT REPORTING</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>20102 - Disclosure - DESCRIPTION OF THE BUSINESS AND BASIS OF PRESENTATION (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationPolicies</Role>
      <ShortName>DESCRIPTION OF THE BUSINESS AND BASIS OF PRESENTATION (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>30203 - Disclosure - REVENUES FROM CONTRACTS WITH CUSTOMERS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureRevenuesFromContractsWithCustomersTables</Role>
      <ShortName>REVENUES FROM CONTRACTS WITH CUSTOMERS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.arganinc.com/role/DisclosureRevenuesFromContractsWithCustomers</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>30503 - Disclosure - PURCHASED INTANGIBLE ASSETS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosurePurchasedIntangibleAssetsTables</Role>
      <ShortName>PURCHASED INTANGIBLE ASSETS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.arganinc.com/role/DisclosurePurchasedIntangibleAssets</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>30703 - Disclosure - COMMITMENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureCommitmentsTables</Role>
      <ShortName>COMMITMENTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.arganinc.com/role/DisclosureCommitments</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>30903 - Disclosure - STOCK-BASED COMPENSATION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureStockBasedCompensationTables</Role>
      <ShortName>STOCK-BASED COMPENSATION (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.arganinc.com/role/DisclosureStockBasedCompensation</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>31003 - Disclosure - INCOME TAXES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureIncomeTaxesTables</Role>
      <ShortName>INCOME TAXES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.arganinc.com/role/DisclosureIncomeTaxes</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>31103 - Disclosure - NET INCOME PER SHARE ATTRIBUTABLE TO THE STOCKHOLDERS OF ARGAN (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureNetIncomePerShareAttributableToStockholdersOfArganTables</Role>
      <ShortName>NET INCOME PER SHARE ATTRIBUTABLE TO THE STOCKHOLDERS OF ARGAN (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.arganinc.com/role/DisclosureNetIncomePerShareAttributableToStockholdersOfArgan</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>31403 - Disclosure - SEGMENT REPORTING (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureSegmentReportingTables</Role>
      <ShortName>SEGMENT REPORTING (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.arganinc.com/role/DisclosureSegmentReporting</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>40101 - Disclosure - DESCRIPTION OF THE BUSINESS AND BASIS OF PRESENTATION (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationDetails</Role>
      <ShortName>DESCRIPTION OF THE BUSINESS AND BASIS OF PRESENTATION (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.arganinc.com/role/DisclosureDescriptionOfBusinessAndBasisOfPresentationPolicies</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>40201 - Disclosure - REVENUES FROM CONTRACTS WITH CUSTOMERS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureRevenuesFromContractsWithCustomersDetails</Role>
      <ShortName>REVENUES FROM CONTRACTS WITH CUSTOMERS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.arganinc.com/role/DisclosureRevenuesFromContractsWithCustomersTables</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>40202 - Disclosure - REVENUES FROM CONTRACTS WITH CUSTOMERS - Accounting for the Loss Subcontract (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureRevenuesFromContractsWithCustomersAccountingForLossSubcontractDetails</Role>
      <ShortName>REVENUES FROM CONTRACTS WITH CUSTOMERS - Accounting for the Loss Subcontract (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>40203 - Disclosure - REVENUES FROM CONTRACTS WITH CUSTOMERS - Remaining Unsatisfied Performance Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureRevenuesFromContractsWithCustomersRemainingUnsatisfiedPerformanceObligationsDetails</Role>
      <ShortName>REVENUES FROM CONTRACTS WITH CUSTOMERS - Remaining Unsatisfied Performance Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>40204 - Disclosure - REVENUES FROM CONTRACTS WITH CUSTOMERS - Disaggregation of Revenues (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureRevenuesFromContractsWithCustomersDisaggregationOfRevenuesDetails</Role>
      <ShortName>REVENUES FROM CONTRACTS WITH CUSTOMERS - Disaggregation of Revenues (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>40301 - Disclosure - CASH, CASH EQUIVALENTS AND SHORT-TERM INVESTMENTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureCashCashEquivalentsAndShortTermInvestmentsDetails</Role>
      <ShortName>CASH, CASH EQUIVALENTS AND SHORT-TERM INVESTMENTS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.arganinc.com/role/DisclosureCashCashEquivalentsAndShortTermInvestments</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>40401 - Disclosure - ACCOUNTS AND NOTES RECEIVABLE (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureAccountsAndNotesReceivableDetails</Role>
      <ShortName>ACCOUNTS AND NOTES RECEIVABLE (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.arganinc.com/role/DisclosureAccountsAndNotesReceivable</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>40501 - Disclosure - PURCHASED INTANGIBLE ASSETS - Goodwill and Finite Lived Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosurePurchasedIntangibleAssetsGoodwillAndFiniteLivedIntangibleAssetsDetails</Role>
      <ShortName>PURCHASED INTANGIBLE ASSETS - Goodwill and Finite Lived Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>40601 - Disclosure - FINANCING ARRANGEMENTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureFinancingArrangementsDetails</Role>
      <ShortName>FINANCING ARRANGEMENTS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.arganinc.com/role/DisclosureFinancingArrangements</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>40701 - Disclosure - COMMITMENTS - Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureCommitmentsLeasesDetails</Role>
      <ShortName>COMMITMENTS - Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>40702 - Disclosure - COMMITMENTS - Future minimum lease payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureCommitmentsFutureMinimumLeasePaymentsDetails</Role>
      <ShortName>COMMITMENTS - Future minimum lease payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>40703 - Disclosure - COMMITMENTS - Warranties (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureCommitmentsWarrantiesDetails</Role>
      <ShortName>COMMITMENTS - Warranties (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>40801 - Disclosure - LEGAL CONTINGENCIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureLegalContingenciesDetails</Role>
      <ShortName>LEGAL CONTINGENCIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.arganinc.com/role/DisclosureLegalContingencies</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>40901 - Disclosure - STOCK-BASED COMPENSATION - Summary of Activity under Company's Stock Option Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureStockBasedCompensationSummaryOfActivityUnderCompanySStockOptionPlansDetails</Role>
      <ShortName>STOCK-BASED COMPENSATION - Summary of Activity under Company's Stock Option Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>40902 - Disclosure - STOCK-BASED COMPENSATION - Summary of Change in Number of Non-Vested Options to Purchase Shares of Common Stock (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureStockBasedCompensationSummaryOfChangeInNumberOfNonVestedOptionsToPurchaseSharesOfCommonStockDetails</Role>
      <ShortName>STOCK-BASED COMPENSATION - Summary of Change in Number of Non-Vested Options to Purchase Shares of Common Stock (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>40903 - Disclosure - STOCK-BASED COMPENSATION - Summary of Change in restricted stock units (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureStockBasedCompensationSummaryOfChangeInRestrictedStockUnitsDetails</Role>
      <ShortName>STOCK-BASED COMPENSATION - Summary of Change in restricted stock units (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>40904 - Disclosure - STOCK-BASED COMPENSATION - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureStockBasedCompensationAdditionalInformationDetails</Role>
      <ShortName>STOCK-BASED COMPENSATION - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>41001 - Disclosure - INCOME TAXES - Income Tax Expense Reconciliation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureIncomeTaxesIncomeTaxExpenseReconciliationDetails</Role>
      <ShortName>INCOME TAXES - Income Tax Expense Reconciliation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>41002 - Disclosure - INCOME TAXES - Net Operating Loss Carryback (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureIncomeTaxesNetOperatingLossCarrybackDetails</Role>
      <ShortName>INCOME TAXES - Net Operating Loss Carryback (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>41003 - Disclosure - INCOME TAXES - Research and Development Tax Credits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureIncomeTaxesResearchAndDevelopmentTaxCreditsDetails</Role>
      <ShortName>INCOME TAXES - Research and Development Tax Credits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>41004 - Disclosure - INCOME TAXES - Equity Method Investments And Supplemental Cash Flow Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureIncomeTaxesEquityMethodInvestmentsAndSupplementalCashFlowInformationDetails</Role>
      <ShortName>INCOME TAXES - Equity Method Investments And Supplemental Cash Flow Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>41101 - Disclosure - NET INCOME PER SHARE ATTRIBUTABLE TO THE STOCKHOLDERS OF ARGAN (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureNetIncomePerShareAttributableToStockholdersOfArganDetails</Role>
      <ShortName>NET INCOME PER SHARE ATTRIBUTABLE TO THE STOCKHOLDERS OF ARGAN (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.arganinc.com/role/DisclosureNetIncomePerShareAttributableToStockholdersOfArganTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>41102 - Disclosure - NET INCOME PER SHARE ATTRIBUTABLE TO THE STOCKHOLDERS OF ARGAN - Additional information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureNetIncomePerShareAttributableToStockholdersOfArganAdditionalInformationDetails</Role>
      <ShortName>NET INCOME PER SHARE ATTRIBUTABLE TO THE STOCKHOLDERS OF ARGAN - Additional information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>41201 - Disclosure - CASH DIVIDENDS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureCashDividendsDetails</Role>
      <ShortName>CASH DIVIDENDS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.arganinc.com/role/DisclosureCashDividends</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>41301 - Disclosure - CUSTOMER CONCENTRATIONS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureCustomerConcentrationsDetails</Role>
      <ShortName>CUSTOMER CONCENTRATIONS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.arganinc.com/role/DisclosureCustomerConcentrations</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="agx-20211031x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>41401 - Disclosure - SEGMENT REPORTING (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureSegmentReportingDetails</Role>
      <ShortName>SEGMENT REPORTING (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.arganinc.com/role/DisclosureSegmentReportingTables</ParentRole>
      <Position>54</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="agx-20211031x10q.htm">agx-20211031x10q.htm</File>
    <File>agx-20211031.xsd</File>
    <File>agx-20211031_cal.xml</File>
    <File>agx-20211031_def.xml</File>
    <File>agx-20211031_lab.xml</File>
    <File>agx-20211031_pre.xml</File>
    <File>agx-20211031xex31d1.htm</File>
    <File>agx-20211031xex31d2.htm</File>
    <File>agx-20211031xex32d1.htm</File>
    <File>agx-20211031xex32d2.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>agx-20211031x10q001.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy>http://fasb.org/srt/2020-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2020-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/country/2020-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2020-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
