<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2024"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="agx-20250604.xsd" xlink:type="simple"/>
    <context id="Duration_6_4_2025_To_6_4_2025_Ez-9XxyhIUKY7r1WCFgwMg">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000100591</identifier>
        </entity>
        <period>
            <startDate>2025-06-04</startDate>
            <endDate>2025-06-04</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_6_4_2025_To_6_4_2025_Ez-9XxyhIUKY7r1WCFgwMg"
      id="Tc_audejgkE1USxc-NgqTcRfg_2_1">0000100591</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_6_4_2025_To_6_4_2025_Ez-9XxyhIUKY7r1WCFgwMg"
      id="Tc_osVqhfffNUmXqUf0zPQZPg_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_6_4_2025_To_6_4_2025_Ez-9XxyhIUKY7r1WCFgwMg"
      id="Narr_DkI8kkKzNUeOg54zXlCupg">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_6_4_2025_To_6_4_2025_Ez-9XxyhIUKY7r1WCFgwMg"
      id="Narr_clkRLVKaDECz65QU4mjxOQ">2025-06-04</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_6_4_2025_To_6_4_2025_Ez-9XxyhIUKY7r1WCFgwMg"
      id="Narr_kIuolJGqpkmCO3aksbbNXw">ARGAN, INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_6_4_2025_To_6_4_2025_Ez-9XxyhIUKY7r1WCFgwMg"
      id="Tc_innSJCblrk-O6XPHgScpTg_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_6_4_2025_To_6_4_2025_Ez-9XxyhIUKY7r1WCFgwMg"
      id="Tc_S-6z8ngTTEWSw5TwBvbT7A_1_2">001-31756</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_6_4_2025_To_6_4_2025_Ez-9XxyhIUKY7r1WCFgwMg"
      id="Tc_cNhSnEoJz0GAL0t9YO1ZDw_1_4">13-1947195</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_6_4_2025_To_6_4_2025_Ez-9XxyhIUKY7r1WCFgwMg"
      id="Narr_FHRw43qmnE69HwVWaZ-oeQ">4075 Wilson Boulevard</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="Duration_6_4_2025_To_6_4_2025_Ez-9XxyhIUKY7r1WCFgwMg"
      id="Narr_FjIh0_qTw0SCYEVlCIIizw">Suite 440</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_6_4_2025_To_6_4_2025_Ez-9XxyhIUKY7r1WCFgwMg"
      id="Narr_pLEENTwWzUeTnVi2IczUhA">Arlington</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_6_4_2025_To_6_4_2025_Ez-9XxyhIUKY7r1WCFgwMg"
      id="Narr_cx0ObVG7SkqnsyeizarASQ">VA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_6_4_2025_To_6_4_2025_Ez-9XxyhIUKY7r1WCFgwMg"
      id="Tc_IR9LmgSc5EeiX8RjehOrjg_2_2">22203</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_6_4_2025_To_6_4_2025_Ez-9XxyhIUKY7r1WCFgwMg"
      id="Narr_-hr7L5D7gkCfuI2KnvK6OA">301</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_6_4_2025_To_6_4_2025_Ez-9XxyhIUKY7r1WCFgwMg"
      id="Narr_t2sKK-4PjUyZyx1-DlBMnA">315-0027</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_6_4_2025_To_6_4_2025_Ez-9XxyhIUKY7r1WCFgwMg"
      id="Tc_5V1ZKA8lX02PbuKRhFWclA_1_0">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_6_4_2025_To_6_4_2025_Ez-9XxyhIUKY7r1WCFgwMg"
      id="Tc_iaUDYcMA2U-xiky9TmJX1Q_2_0">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_6_4_2025_To_6_4_2025_Ez-9XxyhIUKY7r1WCFgwMg"
      id="Tc_Qww-Qt7J3k-_bs5TsWhOLg_3_0">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_6_4_2025_To_6_4_2025_Ez-9XxyhIUKY7r1WCFgwMg"
      id="Tc_ojOMTmD2qkK4DimdgSj0cw_4_0">false</dei:PreCommencementIssuerTenderOffer>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_6_4_2025_To_6_4_2025_Ez-9XxyhIUKY7r1WCFgwMg"
      id="Narr_3hTJHCGDEEm7NOH3EFqpYQ">false</dei:EntityEmergingGrowthCompany>
    <dei:Security12bTitle
      contextRef="Duration_6_4_2025_To_6_4_2025_Ez-9XxyhIUKY7r1WCFgwMg"
      id="Tc_7-oCZU5DjEaV2Qut0UcVMA_2_0">Common Stock, $0.15 Par Value</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_6_4_2025_To_6_4_2025_Ez-9XxyhIUKY7r1WCFgwMg"
      id="Tc_Y6ac9RXqtEahUCzyK193QQ_2_2">AGX</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_6_4_2025_To_6_4_2025_Ez-9XxyhIUKY7r1WCFgwMg"
      id="Tc_C5wAcQIqCkmIGst3qAWx7g_2_4">NYSE</dei:SecurityExchangeName>
</xbrl>
