<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="agx-20260909.xsd" xlink:type="simple"/>
    <context id="Duration_9_9_2026_To_9_9_2026_jNcYp7i_GEWsINVpdhxZ6A">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000100591</identifier>
        </entity>
        <period>
            <startDate>2026-09-09</startDate>
            <endDate>2026-09-09</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_9_9_2026_To_9_9_2026_jNcYp7i_GEWsINVpdhxZ6A"
      id="Tc_gSGjMgre7kqgL1nzAFfmHg_2_1">0000100591</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_9_9_2026_To_9_9_2026_jNcYp7i_GEWsINVpdhxZ6A"
      id="Tc_ZXM_PUVYZUmylm1eWS2WdQ_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_9_9_2026_To_9_9_2026_jNcYp7i_GEWsINVpdhxZ6A"
      id="Narr_ztN0gjPBe0qlpXlzkJk_LQ">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_9_9_2026_To_9_9_2026_jNcYp7i_GEWsINVpdhxZ6A"
      id="Narr_mn5iPXcLfEmwRImNhtPrdQ">2026-09-09</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_9_9_2026_To_9_9_2026_jNcYp7i_GEWsINVpdhxZ6A"
      id="Narr_GK6X_bu4FEmtYLB9DhpCCQ">ARGAN, INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_9_9_2026_To_9_9_2026_jNcYp7i_GEWsINVpdhxZ6A"
      id="Tc_NthxMkLXZkKJifIrm-lrPg_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_9_9_2026_To_9_9_2026_jNcYp7i_GEWsINVpdhxZ6A"
      id="Tc_-_O_Lz11C0S4K7x3nbb4oQ_1_2">001-31756</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_9_9_2026_To_9_9_2026_jNcYp7i_GEWsINVpdhxZ6A"
      id="Tc_W69EqM_fwkywCbfrZ-oGbQ_1_4">13-1947195</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_9_9_2026_To_9_9_2026_jNcYp7i_GEWsINVpdhxZ6A"
      id="Narr_UnX7JE5E4keV0clgh4kGAw">4075 Wilson Boulevard</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="Duration_9_9_2026_To_9_9_2026_jNcYp7i_GEWsINVpdhxZ6A"
      id="Narr_HB5jjAY_Ak6p0JEtiP5_8A">Suite 440</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_9_9_2026_To_9_9_2026_jNcYp7i_GEWsINVpdhxZ6A"
      id="Narr_41lN8UWkWU2_gdGx8TXCpw">Arlington</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_9_9_2026_To_9_9_2026_jNcYp7i_GEWsINVpdhxZ6A"
      id="Narr__OIs_HBYFUeE3sePCatxOw">VA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_9_9_2026_To_9_9_2026_jNcYp7i_GEWsINVpdhxZ6A"
      id="Tc_rWODSyK4F0upNCaYU9CEbQ_1_2">22203</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_9_9_2026_To_9_9_2026_jNcYp7i_GEWsINVpdhxZ6A"
      id="Narr_m6EFR9g7xkGxIm2dXe7cBA">301</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_9_9_2026_To_9_9_2026_jNcYp7i_GEWsINVpdhxZ6A"
      id="Narr_wt0UugptbUeWGZCPkQQcFw">315-0027</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_9_9_2026_To_9_9_2026_jNcYp7i_GEWsINVpdhxZ6A"
      id="Tc_ug0kWhNuskidr_KozHQG2w_1_0">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_9_9_2026_To_9_9_2026_jNcYp7i_GEWsINVpdhxZ6A"
      id="Tc_0OCpMzSPpESNMXmEgxLLGg_2_0">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_9_9_2026_To_9_9_2026_jNcYp7i_GEWsINVpdhxZ6A"
      id="Tc_5t1vLqlG4EKahuam0AXZDA_3_0">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_9_9_2026_To_9_9_2026_jNcYp7i_GEWsINVpdhxZ6A"
      id="Tc_ZDbaq1Nv5UqAekfzz140IQ_4_0">false</dei:PreCommencementIssuerTenderOffer>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_9_9_2026_To_9_9_2026_jNcYp7i_GEWsINVpdhxZ6A"
      id="Narr_YBdtW7jamUCRVuzRPYqTOg">false</dei:EntityEmergingGrowthCompany>
    <dei:Security12bTitle
      contextRef="Duration_9_9_2026_To_9_9_2026_jNcYp7i_GEWsINVpdhxZ6A"
      id="Tc_hTOmOOmR3UKFVMGQaV1yiw_2_0">Common Stock, $0.15 Par Value</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_9_9_2026_To_9_9_2026_jNcYp7i_GEWsINVpdhxZ6A"
      id="Tc_J3yiFfxaAEa_p48HXt-rJA_2_2">AGX</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_9_9_2026_To_9_9_2026_jNcYp7i_GEWsINVpdhxZ6A"
      id="Tc_S2dgsIdY-UycpzR7CkPIHA_2_4">NYSE</dei:SecurityExchangeName>
</xbrl>
