<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.21.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>212</ContextCount>
  <ElementCount>400</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>63</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>8</UnitCount>
  <MyReports>
    <Report instance="agx-20210131x10k.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-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>00100 - Statement - CONSOLIDATED STATEMENTS OF EARNINGS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/StatementConsolidatedStatementsOfEarnings</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF EARNINGS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>00200 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/StatementConsolidatedBalanceSheets</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>00205 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/StatementConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>00300 - Statement - CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/StatementConsolidatedStatementsOfStockholdersEquity</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>00400 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/StatementConsolidatedStatementsOfCashFlows</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="agx-20210131x10k.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-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>10201 - Disclosure - RECENTLY ISSUED ACCOUNTING PRONOUNCEMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureRecentlyIssuedAccountingPronouncements</Role>
      <ShortName>RECENTLY ISSUED ACCOUNTING PRONOUNCEMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>10301 - Disclosure - SPECIAL PURPOSE ENTITIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureSpecialPurposeEntities</Role>
      <ShortName>SPECIAL PURPOSE ENTITIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>10401 - Disclosure - REVENUES FROM CONTRACT WITH CUSTOMERS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureRevenuesFromContractWithCustomers</Role>
      <ShortName>REVENUES FROM CONTRACT WITH CUSTOMERS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>10501 - 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>11</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>10601 - 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>12</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>10701 - 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>13</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>10801 - Disclosure - PROPERTY, PLANT AND EQUIPMENT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosurePropertyPlantAndEquipment</Role>
      <ShortName>PROPERTY, PLANT AND EQUIPMENT</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>10901 - Disclosure - FINANCING ARRANGEMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureFinancingArrangements</Role>
      <ShortName>FINANCING ARRANGEMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>11001 - Disclosure - COMMITMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureCommitments</Role>
      <ShortName>COMMITMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>11101 - Disclosure - LEGAL CONTINGENCIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureLegalContingencies</Role>
      <ShortName>LEGAL CONTINGENCIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>11201 - 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>18</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>11301 - Disclosure - INCOME TAXES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureIncomeTaxes</Role>
      <ShortName>INCOME TAXES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>11401 - Disclosure - NET INCOME (LOSS) PER SHARE ATTRIBUTABLE TO THE STOCKHOLDERS OF ARGAN, INC.</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureNetIncomeLossPerShareAttributableToStockholdersOfArganInc</Role>
      <ShortName>NET INCOME (LOSS) PER SHARE ATTRIBUTABLE TO THE STOCKHOLDERS OF ARGAN, INC.</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>11501 - Disclosure - CASH DIVIDENDS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureCashDividends</Role>
      <ShortName>CASH DIVIDENDS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>11601 - Disclosure - SEGMENT REPORTING</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureSegmentReporting</Role>
      <ShortName>SEGMENT REPORTING</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>11701 - Disclosure - CUSTOMER CONCENTRATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureCustomerConcentrations</Role>
      <ShortName>CUSTOMER CONCENTRATIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.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>24</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>30403 - Disclosure - REVENUES FROM CONTRACT WITH CUSTOMERS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureRevenuesFromContractWithCustomersTables</Role>
      <ShortName>REVENUES FROM CONTRACT WITH CUSTOMERS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.arganinc.com/role/DisclosureRevenuesFromContractWithCustomers</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>30703 - 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>26</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>30803 - Disclosure - PROPERTY, PLANT AND EQUIPMENT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosurePropertyPlantAndEquipmentTables</Role>
      <ShortName>PROPERTY, PLANT AND EQUIPMENT (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.arganinc.com/role/DisclosurePropertyPlantAndEquipment</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>31003 - 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>28</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>31203 - 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>29</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>31303 - 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>30</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>31403 - Disclosure - NET INCOME (LOSS) PER SHARE ATTRIBUTABLE TO THE STOCKHOLDERS OF ARGAN, INC. (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureNetIncomeLossPerShareAttributableToStockholdersOfArganIncTables</Role>
      <ShortName>NET INCOME (LOSS) PER SHARE ATTRIBUTABLE TO THE STOCKHOLDERS OF ARGAN, INC. (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.arganinc.com/role/DisclosureNetIncomeLossPerShareAttributableToStockholdersOfArganInc</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>31603 - 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>32</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.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>33</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>40201 - Disclosure - RECENTLY ISSUED ACCOUNTING PRONOUNCEMENTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureRecentlyIssuedAccountingPronouncementsDetails</Role>
      <ShortName>RECENTLY ISSUED ACCOUNTING PRONOUNCEMENTS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.arganinc.com/role/DisclosureRecentlyIssuedAccountingPronouncements</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>40301 - Disclosure - SPECIAL PURPOSE ENTITIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureSpecialPurposeEntitiesDetails</Role>
      <ShortName>SPECIAL PURPOSE ENTITIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.arganinc.com/role/DisclosureSpecialPurposeEntities</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>40401 - Disclosure - REVENUES FROM CONTRACT WITH CUSTOMERS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureRevenuesFromContractWithCustomersDetails</Role>
      <ShortName>REVENUES FROM CONTRACT WITH CUSTOMERS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.arganinc.com/role/DisclosureRevenuesFromContractWithCustomersTables</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>40402 - Disclosure - REVENUES FROM CONTRACT WITH CUSTOMERS - Accounting for the Loss Subcontract (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureRevenuesFromContractWithCustomersAccountingForLossSubcontractDetails</Role>
      <ShortName>REVENUES FROM CONTRACT WITH CUSTOMERS - Accounting for the Loss Subcontract (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>40403 - Disclosure - REVENUES FROM CONTRACT WITH CUSTOMERS - Remaining Unsatisfied Performance Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureRevenuesFromContractWithCustomersRemainingUnsatisfiedPerformanceObligationsDetails</Role>
      <ShortName>REVENUES FROM CONTRACT WITH CUSTOMERS - Remaining Unsatisfied Performance Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>40404 - Disclosure - REVENUES FROM CONTRACT WITH CUSTOMERS - Disaggregation of Revenues (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureRevenuesFromContractWithCustomersDisaggregationOfRevenuesDetails</Role>
      <ShortName>REVENUES FROM CONTRACT WITH CUSTOMERS - Disaggregation of Revenues (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>40501 - 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>40</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>40601 - 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>41</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>40701 - Disclosure - PURCHASED INTANGIBLE ASSETS - Changes in the balances of goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosurePurchasedIntangibleAssetsChangesInBalancesOfGoodwillDetails</Role>
      <ShortName>PURCHASED INTANGIBLE ASSETS - Changes in the balances of goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>40702 - 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>43</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>40703 - Disclosure - PURCHASED INTANGIBLE ASSETS - Finite Lived Intangible Future Amortization Schedule (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosurePurchasedIntangibleAssetsFiniteLivedIntangibleFutureAmortizationScheduleDetails</Role>
      <ShortName>PURCHASED INTANGIBLE ASSETS - Finite Lived Intangible Future Amortization Schedule (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>40801 - Disclosure - PROPERTY, PLANT AND EQUIPMENT - Summary of Property, Plant and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosurePropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails</Role>
      <ShortName>PROPERTY, PLANT AND EQUIPMENT - Summary of Property, Plant and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>40802 - Disclosure - PROPERTY, PLANT AND EQUIPMENT - Depreciation Expense and Cost of Maintenance and Repairs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosurePropertyPlantAndEquipmentDepreciationExpenseAndCostOfMaintenanceAndRepairsDetails</Role>
      <ShortName>PROPERTY, PLANT AND EQUIPMENT - Depreciation Expense and Cost of Maintenance and Repairs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>40901 - 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>47</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>41001 - 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>48</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>41002 - 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>49</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>41003 - 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>50</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>41004 - Disclosure - COMMITMENTS - Employee Benefit Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureCommitmentsEmployeeBenefitPlansDetails</Role>
      <ShortName>COMMITMENTS - Employee Benefit Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>41101 - 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>52</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>41201 - 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>53</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>41202 - 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>54</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>41203 - Disclosure - STOCK-BASED COMPENSATION - Summary of Assumptions Used to Estimate Fair Value of Stock Options Granted (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureStockBasedCompensationSummaryOfAssumptionsUsedToEstimateFairValueOfStockOptionsGrantedDetails</Role>
      <ShortName>STOCK-BASED COMPENSATION - Summary of Assumptions Used to Estimate Fair Value of Stock Options Granted (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>41204 - 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>56</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>41301 - Disclosure - INCOME TAXES - Components of Company's Income Tax (Expense) Benefit (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureIncomeTaxesComponentsOfCompanySIncomeTaxExpenseBenefitDetails</Role>
      <ShortName>INCOME TAXES - Components of Company's Income Tax (Expense) Benefit (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>41302 - Disclosure - INCOME TAXES - The Tax Cuts and Jobs Act (the "Tax Act") (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureIncomeTaxesTaxCutsAndJobsActtaxActDetails</Role>
      <ShortName>INCOME TAXES - The Tax Cuts and Jobs Act (the "Tax Act") (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>41303 - 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>59</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>41304 - 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>60</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>41305 - 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>61</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>41306 - Disclosure - INCOME TAXES - Schedule of Tax Effects of Temporary Differences that Gave Rise to Deferred Tax Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureIncomeTaxesScheduleOfTaxEffectsOfTemporaryDifferencesThatGaveRiseToDeferredTaxAssetsDetails</Role>
      <ShortName>INCOME TAXES - Schedule of Tax Effects of Temporary Differences that Gave Rise to Deferred Tax Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>41307 - Disclosure - INCOME TAXES - Supplemental Cash Flow Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureIncomeTaxesSupplementalCashFlowInformationDetails</Role>
      <ShortName>INCOME TAXES - Supplemental Cash Flow Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>41401 - Disclosure - NET INCOME (LOSS) PER SHARE ATTRIBUTABLE TO THE STOCKHOLDERS OF ARGAN, INC. (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureNetIncomeLossPerShareAttributableToStockholdersOfArganIncDetails</Role>
      <ShortName>NET INCOME (LOSS) PER SHARE ATTRIBUTABLE TO THE STOCKHOLDERS OF ARGAN, INC. (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.arganinc.com/role/DisclosureNetIncomeLossPerShareAttributableToStockholdersOfArganIncTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>41402 - Disclosure - NET INCOME (LOSS) PER SHARE ATTRIBUTABLE TO THE STOCKHOLDERS OF ARGAN, INC. - Additional information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.arganinc.com/role/DisclosureNetIncomeLossPerShareAttributableToStockholdersOfArganIncAdditionalInformationDetails</Role>
      <ShortName>NET INCOME (LOSS) PER SHARE ATTRIBUTABLE TO THE STOCKHOLDERS OF ARGAN, INC. - Additional information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.arganinc.com/role/DisclosureNetIncomeLossPerShareAttributableToStockholdersOfArganIncTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>41501 - 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>66</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>41601 - 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>67</Position>
    </Report>
    <Report instance="agx-20210131x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>41701 - 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>68</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-K" original="agx-20210131x10k.htm">agx-20210131x10k.htm</File>
    <File>agx-20210131.xsd</File>
    <File>agx-20210131_cal.xml</File>
    <File>agx-20210131_def.xml</File>
    <File>agx-20210131_lab.xml</File>
    <File>agx-20210131_pre.xml</File>
    <File>agx-20210131xex21.htm</File>
    <File>agx-20210131xex23d1.htm</File>
    <File>agx-20210131xex31d1.htm</File>
    <File>agx-20210131xex31d2.htm</File>
    <File>agx-20210131xex32d1.htm</File>
    <File>agx-20210131xex32d2.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>agx-20210131x10k001.jpg</File>
    <File>agx-20210131x10k002.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy>http://fasb.org/srt/2019-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/country/2017-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2019-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2019-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
