<?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="neog-20261001.xsd" xlink:type="simple"/>
    <context id="C_a54ca284-b82d-470d-a8b2-ad72b65d20ba">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000711377</identifier>
        </entity>
        <period>
            <startDate>2026-10-01</startDate>
            <endDate>2026-10-01</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="C_a54ca284-b82d-470d-a8b2-ad72b65d20ba"
      id="F_347bec21-1c74-42a4-9547-9f320dd2623d">0000711377</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="C_a54ca284-b82d-470d-a8b2-ad72b65d20ba"
      id="F_4ddcc8c6-01d4-4732-a598-a0c96e87873e">true</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="C_a54ca284-b82d-470d-a8b2-ad72b65d20ba"
      id="F_1d66a635-deb2-4f13-a4ed-b216aa5c6ed4">8-K/A</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="C_a54ca284-b82d-470d-a8b2-ad72b65d20ba"
      id="F_34ad25bf-2656-4703-8bbc-c7a7d533e818">2026-10-01</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="C_a54ca284-b82d-470d-a8b2-ad72b65d20ba"
      id="F_a12a282b-377d-4f13-956b-22922b9263ee">Neogen Corporation</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="C_a54ca284-b82d-470d-a8b2-ad72b65d20ba"
      id="F_d184ddac-1076-4094-aa04-14b141a2987e">MI</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="C_a54ca284-b82d-470d-a8b2-ad72b65d20ba"
      id="F_3c0d4029-c7e3-4309-80f7-97e0b70267f6">0-17988</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="C_a54ca284-b82d-470d-a8b2-ad72b65d20ba"
      id="F_2dc8c93f-6d4d-40e8-b694-9b6109bb1df6">38-2367843</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="C_a54ca284-b82d-470d-a8b2-ad72b65d20ba"
      id="F_2ee3013f-9782-4410-87c7-30069087fa02">620 Lesher Place</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="C_a54ca284-b82d-470d-a8b2-ad72b65d20ba"
      id="F_14d2ae33-fbd0-4717-9eed-64618b9d1916">Lansing</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="C_a54ca284-b82d-470d-a8b2-ad72b65d20ba"
      id="F_139d6732-dcf6-4f9c-8092-e7f7e6147d59">MI</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="C_a54ca284-b82d-470d-a8b2-ad72b65d20ba"
      id="F_16947f15-d4eb-4ce2-8894-15fa6037cc1b">48912</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="C_a54ca284-b82d-470d-a8b2-ad72b65d20ba"
      id="F_cbd13eca-4d1a-4fac-8fee-7cff5282f1cc">(517)</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="C_a54ca284-b82d-470d-a8b2-ad72b65d20ba"
      id="F_f0d9858e-c2a9-4709-8e03-3611b19b923c">372-9200</dei:LocalPhoneNumber>
    <dei:EntityInformationFormerLegalOrRegisteredName
      contextRef="C_a54ca284-b82d-470d-a8b2-ad72b65d20ba"
      id="F_c1b9cea4-8f39-4550-a259-0975f1f8eb6b">N/A</dei:EntityInformationFormerLegalOrRegisteredName>
    <dei:WrittenCommunications
      contextRef="C_a54ca284-b82d-470d-a8b2-ad72b65d20ba"
      id="F_4070c8a5-994c-4ea2-95e2-e012f6ef17d8">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="C_a54ca284-b82d-470d-a8b2-ad72b65d20ba"
      id="F_b1084d48-14bd-47ab-97c4-603e4c684630">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="C_a54ca284-b82d-470d-a8b2-ad72b65d20ba"
      id="F_f32a1e37-f54d-46ca-bfae-b0e8b47915e5">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="C_a54ca284-b82d-470d-a8b2-ad72b65d20ba"
      id="F_0539d15a-c30c-4595-9559-bcf57d2c2439">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="C_a54ca284-b82d-470d-a8b2-ad72b65d20ba"
      id="F_82a231d6-5755-48a0-90d7-2628ce06c800">Common Stock, $0.16 par value per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="C_a54ca284-b82d-470d-a8b2-ad72b65d20ba"
      id="F_b5c71441-ef29-43cf-8060-5dd39541cb45">NEOG</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="C_a54ca284-b82d-470d-a8b2-ad72b65d20ba"
      id="F_bc7bf9a6-e40e-41cc-9539-69a06a581a87">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="C_a54ca284-b82d-470d-a8b2-ad72b65d20ba"
      id="F_7eed9460-739e-4974-b739-66c6bc99ffc5">false</dei:EntityEmergingGrowthCompany>
    <dei:AmendmentDescription
      contextRef="C_a54ca284-b82d-470d-a8b2-ad72b65d20ba"
      id="F_baf06173-7af6-47f5-9bc5-65949056e453">This Form 8-K/A amends the Form 8-K filed on October 7, 2026 to include the Item 5.02 disclosure regarding shareholder approval of the Neogen Corporation Amended and Restated Omnibus Incentive Plan. Except as described below, this Amendment does not amend, modify or update the original Form 8-K or the disclosures therein, and does not reflect events occurring after the filing of the original Form 8-K. </dei:AmendmentDescription>
</xbrl>
