| | | | | | | | | | | | | | | | | | | | | |
<?xml version="1.0" encoding="windows-1252"?> |
<FilingSummary> |
| <Version> 3.23.2 </Version> |
| <ProcessingTime/> |
| <ReportFormat> html </ReportFormat> |
| <ContextCount> 296 </ContextCount> |
| <ElementCount> 474 </ElementCount> |
| <EntityCount> 1 </EntityCount> |
| <FootnotesReported> true </FootnotesReported> |
| <SegmentCount> 97 </SegmentCount> |
| <ScenarioCount> 0 </ScenarioCount> |
| <TuplesReported> false </TuplesReported> |
| <UnitCount> 5 </UnitCount> |
| <MyReports> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R1.htm </HtmlFileName> |
| | | <LongName> 100000 - Document - Cover Page </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/CoverPage </Role> |
| | | <ShortName> Cover Page </ShortName> |
| | | <MenuCategory> Cover </MenuCategory> |
| | | <Position> 1 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R2.htm </HtmlFileName> |
| | | <LongName> 100010 - Statement - Consolidated Balance Sheets </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/ConsolidatedBalanceSheets </Role> |
| | | <ShortName> Consolidated Balance Sheets </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 2 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R3.htm </HtmlFileName> |
| | | <LongName> 100040 - Statement - Consolidated Balance Sheets (Parenthetical) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/ConsolidatedBalanceSheetsParenthetical </Role> |
| | | <ShortName> Consolidated Balance Sheets (Parenthetical) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 3 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R4.htm </HtmlFileName> |
| | | <LongName> 100050 - Statement - Consolidated Statements of Income (Loss) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/StatementConsolidatedStatementsOfIncomeLoss </Role> |
| | | <ShortName> Consolidated Statements of Income (Loss) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 4 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R5.htm </HtmlFileName> |
| | | <LongName> 100060 - Statement - Consolidated Statements of Comprehensive Income (Loss) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss </Role> |
| | | <ShortName> Consolidated Statements of Comprehensive Income (Loss) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 5 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R6.htm </HtmlFileName> |
| | | <LongName> 100070 - Statement - Consolidated Statements of Comprehensive Income (Loss)(Parenthetical) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLossparenthetical </Role> |
| | | <ShortName> Consolidated Statements of Comprehensive Income (Loss)(Parenthetical) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 6 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R7.htm </HtmlFileName> |
| | | <LongName> 100080 - Statement - Consolidated Statements of Stockholders' Equity </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/ConsolidatedStatementsOfStockholdersEquity </Role> |
| | | <ShortName> Consolidated Statements of Stockholders' Equity </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 7 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R8.htm </HtmlFileName> |
| | | <LongName> 100090 - Statement - Consolidated Statements of Cash Flows </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/ConsolidatedStatementsOfCashFlows </Role> |
| | | <ShortName> Consolidated Statements of Cash Flows </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 8 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R9.htm </HtmlFileName> |
| | | <LongName> 100100 - Disclosure - Summary of Significant Accounting Policies </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/SummaryOfSignificantAccountingPolicies </Role> |
| | | <ShortName> Summary of Significant Accounting Policies </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 9 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R10.htm </HtmlFileName> |
| | | <LongName> 100110 - Disclosure - Goodwill and Other Intangible Assets </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/GoodwillAndOtherIntangibleAssets </Role> |
| | | <ShortName> Goodwill and Other Intangible Assets </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 10 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R11.htm </HtmlFileName> |
| | | <LongName> 100120 - Disclosure - Business Combinations </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/BusinessCombinations </Role> |
| | | <ShortName> Business Combinations </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 11 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R12.htm </HtmlFileName> |
| | | <LongName> 100130 - Disclosure - Long Term Debt </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/LongTermDebt </Role> |
| | | <ShortName> Long Term Debt </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 12 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R13.htm </HtmlFileName> |
| | | <LongName> 100140 - Disclosure - Equity Compensation Plans </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/EquityCompensationPlans </Role> |
| | | <ShortName> Equity Compensation Plans </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 13 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R14.htm </HtmlFileName> |
| | | <LongName> 100150 - Disclosure - Income Taxes </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/IncomeTaxes </Role> |
| | | <ShortName> Income Taxes </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 14 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R15.htm </HtmlFileName> |
| | | <LongName> 100160 - Disclosure - Commitments and Contingencies </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/CommitmentsAndContingencies </Role> |
| | | <ShortName> Commitments and Contingencies </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 15 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R16.htm </HtmlFileName> |
| | | <LongName> 100170 - Disclosure - Defined Contribution Benefit Plan </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/DefinedContributionBenefitPlan </Role> |
| | | <ShortName> Defined Contribution Benefit Plan </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 16 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R17.htm </HtmlFileName> |
| | | <LongName> 100180 - Disclosure - Fair Value and Derivatives </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/DisclosureFairValueAndDerivatives </Role> |
| | | <ShortName> Fair Value and Derivatives </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 17 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R18.htm </HtmlFileName> |
| | | <LongName> 100200 - Disclosure - Segment Information </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/SegmentInformation </Role> |
| | | <ShortName> Segment Information </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 18 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R19.htm </HtmlFileName> |
| | | <LongName> 100220 - Disclosure - Summary of Significant Accounting Policies (Policies) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies </Role> |
| | | <ShortName> Summary of Significant Accounting Policies (Policies) </ShortName> |
| | | <MenuCategory> Policies </MenuCategory> |
| | | <ParentRole> http://www.neogen.com/20230531/taxonomy/role/SummaryOfSignificantAccountingPolicies </ParentRole> |
| | | <Position> 19 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R20.htm </HtmlFileName> |
| | | <LongName> 100230 - Disclosure - Summary of Significant Accounting Policies (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/SummaryOfSignificantAccountingPoliciesTables </Role> |
| | | <ShortName> Summary of Significant Accounting Policies (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.neogen.com/20230531/taxonomy/role/SummaryOfSignificantAccountingPolicies </ParentRole> |
| | | <Position> 20 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R21.htm </HtmlFileName> |
| | | <LongName> 100240 - Disclosure - Goodwill and Other Intangible Assets (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/GoodwillAndOtherIntangibleAssetsTables </Role> |
| | | <ShortName> Goodwill and Other Intangible Assets (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.neogen.com/20230531/taxonomy/role/GoodwillAndOtherIntangibleAssets </ParentRole> |
| | | <Position> 21 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R22.htm </HtmlFileName> |
| | | <LongName> 100250 - Disclosure - Business Combinations (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/DisclosureBusinessCombinationsTables </Role> |
| | | <ShortName> Business Combinations (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.neogen.com/20230531/taxonomy/role/BusinessCombinations </ParentRole> |
| | | <Position> 22 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R23.htm </HtmlFileName> |
| | | <LongName> 100260 - Disclosure - Long Term Debt (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/DisclosureLongTermDebtTables </Role> |
| | | <ShortName> Long Term Debt (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.neogen.com/20230531/taxonomy/role/LongTermDebt </ParentRole> |
| | | <Position> 23 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R24.htm </HtmlFileName> |
| | | <LongName> 100270 - Disclosure - Equity Compensation Plans (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/EquityCompensationPlansTables </Role> |
| | | <ShortName> Equity Compensation Plans (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.neogen.com/20230531/taxonomy/role/EquityCompensationPlans </ParentRole> |
| | | <Position> 24 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R25.htm </HtmlFileName> |
| | | <LongName> 100280 - Disclosure - Income Taxes (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/IncomeTaxesTables </Role> |
| | | <ShortName> Income Taxes (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.neogen.com/20230531/taxonomy/role/IncomeTaxes </ParentRole> |
| | | <Position> 25 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R26.htm </HtmlFileName> |
| | | <LongName> 100290 - Disclosure - Fair Value and Derivatives (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/DisclosureFairValueAndDerivativesTables </Role> |
| | | <ShortName> Fair Value and Derivatives (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.neogen.com/20230531/taxonomy/role/DisclosureFairValueAndDerivatives </ParentRole> |
| | | <Position> 26 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R27.htm </HtmlFileName> |
| | | <LongName> 100300 - Disclosure - Segment Information (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/SegmentInformationTables </Role> |
| | | <ShortName> Segment Information (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.neogen.com/20230531/taxonomy/role/SegmentInformation </ParentRole> |
| | | <Position> 27 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R28.htm </HtmlFileName> |
| | | <LongName> 100310 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail </Role> |
| | | <ShortName> Summary of Significant Accounting Policies - Additional Information (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 28 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R29.htm </HtmlFileName> |
| | | <LongName> 100320 - Disclosure - Marketable Securities (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/MarketableSecuritiesDetail </Role> |
| | | <ShortName> Marketable Securities (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 29 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R30.htm </HtmlFileName> |
| | | <LongName> 100330 - Disclosure - Components of marketable securities (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/ComponentsOfMarketableSecuritiesDetails </Role> |
| | | <ShortName> Components of marketable securities (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 30 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R31.htm </HtmlFileName> |
| | | <LongName> 100340 - Disclosure - Activity in Allowance for Doubtful Accounts (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/ActivityInAllowanceForDoubtfulAccountsDetail </Role> |
| | | <ShortName> Activity in Allowance for Doubtful Accounts (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 31 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R32.htm </HtmlFileName> |
| | | <LongName> 100350 - Disclosure - Inventories (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/InventoriesDetail </Role> |
| | | <ShortName> Inventories (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 32 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R33.htm </HtmlFileName> |
| | | <LongName> 100360 - Disclosure - Calculation of Net (Loss) Income per Share (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/DisclosureCalculationOfNetLossIncomePerShareDetail </Role> |
| | | <ShortName> Calculation of Net (Loss) Income per Share (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 33 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R34.htm </HtmlFileName> |
| | | <LongName> 100370 - Disclosure - Supplemental Balance Sheet Information Related to Operating Leases (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/SupplementalBalanceSheetInformationRelatedToOperatingLeasesDetail </Role> |
| | | <ShortName> Supplemental Balance Sheet Information Related to Operating Leases (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 34 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R35.htm </HtmlFileName> |
| | | <LongName> 100380 - Disclosure - Weighted Average Remaining Lease Term and Weighted Average Discount Rate (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/WeightedAverageRemainingLeaseTermAndWeightedAverageDiscountRateDetail </Role> |
| | | <ShortName> Weighted Average Remaining Lease Term and Weighted Average Discount Rate (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 35 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R36.htm </HtmlFileName> |
| | | <LongName> 100390 - Disclosure - Components of Lease Expense (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/ComponentsOfLeaseExpenseDetail </Role> |
| | | <ShortName> Components of Lease Expense (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 36 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R37.htm </HtmlFileName> |
| | | <LongName> 100400 - Disclosure - Undiscounted Minimum Lease Payments (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/UndiscountedMinimumLeasePaymentsDetail </Role> |
| | | <ShortName> Undiscounted Minimum Lease Payments (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 37 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R38.htm </HtmlFileName> |
| | | <LongName> 100410 - Disclosure - Disaggregated Revenue (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/DisaggregatedRevenueDetail </Role> |
| | | <ShortName> Disaggregated Revenue (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 38 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R39.htm </HtmlFileName> |
| | | <LongName> 100420 - Disclosure - Goodwill and Other Intangible Assets - Additional Information (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/GoodwillAndOtherIntangibleAssetsAdditionalInformationDetail </Role> |
| | | <ShortName> Goodwill and Other Intangible Assets - Additional Information (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 39 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R40.htm </HtmlFileName> |
| | | <LongName> 100430 - Disclosure - Goodwill by Business Segment (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/GoodwillByBusinessSegmentDetail </Role> |
| | | <ShortName> Goodwill by Business Segment (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 40 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R41.htm </HtmlFileName> |
| | | <LongName> 100440 - Disclosure - Amortizable of Intangible Assets (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/AmortizableOfIntangibleAssetsDetail </Role> |
| | | <ShortName> Amortizable of Intangible Assets (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 41 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R42.htm </HtmlFileName> |
| | | <LongName> 100450 - Disclosure - Business Combinations - Additional Information (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/BusinessCombinationsAdditionalInformationDetail </Role> |
| | | <ShortName> Business Combinations - Additional Information (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 42 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R43.htm </HtmlFileName> |
| | | <LongName> 100460 - Disclosure - Business Combinations - Summary of Preliminary Fair Values of Assets Acquired And Liabilities Assumed As of The Date of Acquisition (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/DisclosureBusinessCombinationsSummaryOfPreliminaryFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfTheDateOfAcquisitionDetail </Role> |
| | | <ShortName> Business Combinations - Summary of Preliminary Fair Values of Assets Acquired And Liabilities Assumed As of The Date of Acquisition (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 43 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R44.htm </HtmlFileName> |
| | | <LongName> 100470 - Disclosure - Business Combinations - Summary of Finite-Lived Intangible Assets Acquired as Part of Business Combination (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/DisclosureBusinessCombinationsSummaryOfFinitelivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationDetails </Role> |
| | | <ShortName> Business Combinations - Summary of Finite-Lived Intangible Assets Acquired as Part of Business Combination (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 44 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R45.htm </HtmlFileName> |
| | | <LongName> 100480 - Disclosure - Business Combinations - Summary of Business Acquisition, Unaudited Pro Forma Information (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/DisclosureBusinessCombinationsSummaryOfBusinessAcquisitionUnauditedProFormaInformationDetails </Role> |
| | | <ShortName> Business Combinations - Summary of Business Acquisition, Unaudited Pro Forma Information (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 45 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R46.htm </HtmlFileName> |
| | | <LongName> 100490 - Disclosure - Long Term Debt - Summary of Long Term Debt (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/DisclosureLongTermDebtSummaryOfLongTermDebtDetail </Role> |
| | | <ShortName> Long Term Debt - Summary of Long Term Debt (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 46 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R47.htm </HtmlFileName> |
| | | <LongName> 100500 - Disclosure - Long Term Debt - Additional Information (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/LongTermDebtAdditionalInformationDetail </Role> |
| | | <ShortName> Long Term Debt - Additional Information (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 47 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R48.htm </HtmlFileName> |
| | | <LongName> 100510 - Disclosure - Long Term Debt - Summary of Expected Maturities Associated With Outstanding Debt (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/DisclosureLongTermDebtSummaryOfExpectedMaturitiesAssociatedWithOutstandingDebtDetail </Role> |
| | | <ShortName> Long Term Debt - Summary of Expected Maturities Associated With Outstanding Debt (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 48 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R49.htm </HtmlFileName> |
| | | <LongName> 100520 - Disclosure - Equity Compensation Plans - Additional Information (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/EquityCompensationPlansAdditionalInformationDetail </Role> |
| | | <ShortName> Equity Compensation Plans - Additional Information (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 49 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R50.htm </HtmlFileName> |
| | | <LongName> 100530 - Disclosure - Stock Option Activity (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/StockOptionActivityDetail </Role> |
| | | <ShortName> Stock Option Activity (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 50 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R51.htm </HtmlFileName> |
| | | <LongName> 100540 - Disclosure - Stock Option Activity (Parenthetical) (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/StockOptionActivityParentheticalDetail </Role> |
| | | <ShortName> Stock Option Activity (Parenthetical) (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 51 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R52.htm </HtmlFileName> |
| | | <LongName> 100550 - Disclosure - Summary of Stock Options Outstanding (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/SummaryOfStockOptionsOutstandingDetail </Role> |
| | | <ShortName> Summary of Stock Options Outstanding (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 52 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R53.htm </HtmlFileName> |
| | | <LongName> 100560 - Disclosure - Schedule of Share-based Compensation Arrangement by Share-based Payment Award, Options Intrinsic Value (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/ScheduleOfShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsIntrinsicValueDetail </Role> |
| | | <ShortName> Schedule of Share-based Compensation Arrangement by Share-based Payment Award, Options Intrinsic Value (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 53 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R54.htm </HtmlFileName> |
| | | <LongName> 100570 - Disclosure - Equity Compensation Plans - Summary of Fair Value of Stock Options Granted Estimated Weighted-Average Assumptions (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/DisclosureEquityCompensationPlansSummaryOfFairValueOfStockOptionsGrantedEstimatedWeightedaverageAssumptionsDetails </Role> |
| | | <ShortName> Equity Compensation Plans - Summary of Fair Value of Stock Options Granted Estimated Weighted-Average Assumptions (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 54 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R55.htm </HtmlFileName> |
| | | <LongName> 100580 - Disclosure - Equity Compensation Plans - Schedule Of Nonvested Restricted Stock Units Activity (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/EquityCompensationPlansScheduleOfNonvestedRestrictedStockUnitsActivityDetail </Role> |
| | | <ShortName> Equity Compensation Plans - Schedule Of Nonvested Restricted Stock Units Activity (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 55 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R56.htm </HtmlFileName> |
| | | <LongName> 100590 - Disclosure - Income Before Income Taxes (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/IncomeBeforeIncomeTaxesDetail </Role> |
| | | <ShortName> Income Before Income Taxes (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 56 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R57.htm </HtmlFileName> |
| | | <LongName> 100600 - Disclosure - Provision for Income Taxes (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/ProvisionForIncomeTaxesDetail </Role> |
| | | <ShortName> Provision for Income Taxes (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 57 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R58.htm </HtmlFileName> |
| | | <LongName> 100610 - Disclosure - Reconciliation of Income Taxes Computed at the U.S. Federal Statutory Tax Rate to Income Tax Expense (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/ReconciliationOfIncomeTaxesComputedAtTheUSFederalStatutoryTaxRateToIncomeTaxExpenseDetail </Role> |
| | | <ShortName> Reconciliation of Income Taxes Computed at the U.S. Federal Statutory Tax Rate to Income Tax Expense (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 58 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R59.htm </HtmlFileName> |
| | | <LongName> 100620 - Disclosure - Income Taxes - Additional Information (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/IncomeTaxesAdditionalInformationDetail </Role> |
| | | <ShortName> Income Taxes - Additional Information (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 59 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R60.htm </HtmlFileName> |
| | | <LongName> 100630 - Disclosure - Significant Components of Deferred Income Tax Liabilities and Assets (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/SignificantComponentsOfDeferredIncomeTaxLiabilitiesAndAssetsDetail </Role> |
| | | <ShortName> Significant Components of Deferred Income Tax Liabilities and Assets (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 60 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R61.htm </HtmlFileName> |
| | | <LongName> 100640 - Disclosure - Operating Loss Carry forwards (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/OperatingLossCarryForwardsDetail </Role> |
| | | <ShortName> Operating Loss Carry forwards (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 61 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R62.htm </HtmlFileName> |
| | | <LongName> 100650 - Disclosure - Reconciliation of Our Tax Contingencies (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/ReconciliationOfOurTaxContingenciesDetail </Role> |
| | | <ShortName> Reconciliation of Our Tax Contingencies (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 62 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R63.htm </HtmlFileName> |
| | | <LongName> 100660 - Disclosure - Commitments and Contingencies - Additional Information (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/CommitmentsAndContingenciesAdditionalInformationDetail </Role> |
| | | <ShortName> Commitments and Contingencies - Additional Information (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 63 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R64.htm </HtmlFileName> |
| | | <LongName> 100670 - Disclosure - Defined Contribution Benefit Plan - Additional Information (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/DefinedContributionBenefitPlanAdditionalInformationDetail </Role> |
| | | <ShortName> Defined Contribution Benefit Plan - Additional Information (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 64 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R65.htm </HtmlFileName> |
| | | <LongName> 100680 - Disclosure - Fair Value and Derivatives - Additional Information (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/DisclosureFairValueAndDerivativesAdditionalInformationDetail </Role> |
| | | <ShortName> Fair Value and Derivatives - Additional Information (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 65 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R66.htm </HtmlFileName> |
| | | <LongName> 100690 - Disclosure - Fair Value and Derivatives - Schedule of Other Derivatives Not Designated As Hedging Instruments Statements of Financial Performance And Financial Position Location (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/DisclosureFairValueAndDerivativesScheduleOfOtherDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPo </Role> |
| | | <ShortName> Fair Value and Derivatives - Schedule of Other Derivatives Not Designated As Hedging Instruments Statements of Financial Performance And Financial Position Location (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 66 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R67.htm </HtmlFileName> |
| | | <LongName> 100700 - Disclosure - Fair Value and Derivatives - Schedule of Gain Loss From Derivatives Not Designated As Hedging Instruments Statements of Financial Performance And Location (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/DisclosureFairValueAndDerivativesScheduleOfGainLossFromDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndLoc </Role> |
| | | <ShortName> Fair Value and Derivatives - Schedule of Gain Loss From Derivatives Not Designated As Hedging Instruments Statements of Financial Performance And Location (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 67 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R68.htm </HtmlFileName> |
| | | <LongName> 100710 - Disclosure - Fair Value and Derivatives - Summary of Interest Rate Swaps on Recurring Basis Using Observable Market Inputs for Similar Assets or Liabilities (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/DisclosureFairValueAndDerivativesSummaryOfInterestRateSwapsOnRecurringBasisUsingObservableMarketInputsForSimilarAssetsOrLiabilitiesDetai </Role> |
| | | <ShortName> Fair Value and Derivatives - Summary of Interest Rate Swaps on Recurring Basis Using Observable Market Inputs for Similar Assets or Liabilities (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 68 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R69.htm </HtmlFileName> |
| | | <LongName> 100720 - Disclosure - Fair Value and Derivatives - Summary of Fair Value of Term Loan and Senior Notes (Detail) </LongName> |
| | | <ReportType> Notes </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/DisclosureFairValueAndDerivativesSummaryOfFairValueOfTermLoanAndSeniorNotesDetail </Role> |
| | | <ShortName> Fair Value and Derivatives - Summary of Fair Value of Term Loan and Senior Notes (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 69 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R70.htm </HtmlFileName> |
| | | <LongName> 100730 - Disclosure - Fair Value and Derivatives - Summary of Other Comprehensive Income (Loss) Before Reclassifications of Derivative Gains and Losses (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/DisclosureFairValueAndDerivativesSummaryOfOtherComprehensiveIncomeLossBeforeReclassificationsOfDerivativeGainsAndLossesDetails </Role> |
| | | <ShortName> Fair Value and Derivatives - Summary of Other Comprehensive Income (Loss) Before Reclassifications of Derivative Gains and Losses (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 70 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R71.htm </HtmlFileName> |
| | | <LongName> 100740 - Disclosure - Fair Value and Derivatives - Summary of Reclassification of Derivative Gains and Losses into Net Income from Accumulated Other Comprehensive Income (Loss) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/DisclosureFairValueAndDerivativesSummaryOfReclassificationOfDerivativeGainsAndLossesIntoNetIncomeFromAccumulatedOtherComprehensiveIncomeL </Role> |
| | | <ShortName> Fair Value and Derivatives - Summary of Reclassification of Derivative Gains and Losses into Net Income from Accumulated Other Comprehensive Income (Loss) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 71 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R72.htm </HtmlFileName> |
| | | <LongName> 100760 - Disclosure - Segment Information - Additional Information (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/SegmentInformationAdditionalInformationDetail </Role> |
| | | <ShortName> Segment Information - Additional Information (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 72 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R73.htm </HtmlFileName> |
| | | <LongName> 100770 - Disclosure - Segment Information (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/SegmentInformationDetail </Role> |
| | | <ShortName> Segment Information (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.neogen.com/20230531/taxonomy/role/SegmentInformationTables </ParentRole> |
| | | <Position> 73 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R74.htm </HtmlFileName> |
| | | <LongName> 100780 - Disclosure - Disaggregated Revenue by Geographic Location (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/DisaggregatedRevenueByGeographicLocationDetail </Role> |
| | | <ShortName> Disaggregated Revenue by Geographic Location (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 74 </Position> |
| | | </Report> |
| | <Report instance="neog-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R75.htm </HtmlFileName> |
| | | <LongName> 100790 - Disclosure - Segment Information - Summary of Net Property and Equipment Disaggregated by Country (Detail) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.neogen.com/20230531/taxonomy/role/DisclosureSegmentInformationSummaryOfNetPropertyAndEquipmentDisaggregatedByCountryDetail </Role> |
| | | <ShortName> Segment Information - Summary of Net Property and Equipment Disaggregated by Country (Detail) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 75 </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="neog-20230531.htm"> neog-20230531.htm </File> |
| | <File> neog-20230531.xsd </File> |
| | <File> neog-20230531_cal.xml </File> |
| | <File> neog-20230531_def.xml </File> |
| | <File> neog-20230531_lab.xml </File> |
| | <File> neog-20230531_pre.xml </File> |
| | <File> neog-ex21.htm </File> |
| | <File> neog-ex23.htm </File> |
| | <File> neog-ex24.htm </File> |
| | <File> neog-ex31_1.htm </File> |
| | <File> neog-ex31_2.htm </File> |
| | <File> neog-ex32.htm </File> |
| | </InputFiles> |
| <SupplementalFiles/> |
| <BaseTaxonomies> |
| | <BaseTaxonomy items="1159"> http://fasb.org/us-gaap/2022 </BaseTaxonomy> |
| | <BaseTaxonomy items="36"> http://xbrl.sec.gov/dei/2022 </BaseTaxonomy> |
| | </BaseTaxonomies> |
| <HasPresentationLinkbase> true </HasPresentationLinkbase> |
| <HasCalculationLinkbase> true </HasCalculationLinkbase> |
| </FilingSummary> |