AgricultureID

Quality Measurement · Quality measurement

Near-Infrared Spectroscopy

Also known as: NIR, NIRS, Near-infrared analysis

Near-infrared spectroscopy predicts moisture, protein, oil, starch, kernel hardness, dry matter, and soluble solids from how a sample absorbs near-infrared light, using a multivariate calibration model built against primary reference methods. It does not measure any of these constituents directly — it is a correlation, entirely dependent on the quality of the reference analyses it was trained against and the similarity of new samples to its training set.

Dated referenceLast reviewed: 2026-07-13Updated: 2026-07-13
Illustrative diagram · AgricultureID (original)

Near-infrared spectroscopy works by shining near-infrared light onto or through a sample and recording how much light is absorbed at different wavelengths. Chemical bonds such as C–H, O–H, and N–H — present throughout the organic material that makes up water, protein, oil, starch, and sugars — absorb near-infrared light at characteristic overtone and combination frequencies, producing a spectrum that carries information about the sample's composition. A multivariate calibration model, built beforehand by regressing many such spectra against reference analyses performed on the same samples by primary methods, translates a new spectrum into a predicted value for each constituent the model was trained to predict.

The point that matters most about this method is that it does not measure moisture, protein, oil, starch, kernel hardness, dry matter, or soluble solids content directly — it predicts each of them from a statistical correlation between spectral features and the reference values used to build the model. Near-infrared spectroscopy is therefore a secondary method, entirely dependent on the reference analyses — oven drying, Kjeldahl or Dumas combustion, solvent extraction, and the like — that it was calibrated against, and it can never be more accurate than those underlying reference methods allow.

How the prediction actually works

A near-infrared instrument records how strongly a sample absorbs light across a range of near-infrared wavelengths. Because different chemical bonds absorb at different, partially overlapping wavelengths, the resulting spectrum is a composite signal that reflects the sample's overall composition rather than a clean, single-constituent readout. Extracting a usable prediction from that composite spectrum requires a calibration model — typically built with multivariate statistical regression — that has learned, from a training set of samples analysed by both near-infrared and a primary reference method, which spectral features correspond to which constituent value.

Entirely dependent on the reference methods it was built against

Because the calibration model is fitted to reference values, near-infrared spectroscopy inherits every limitation of those reference methods and adds its own on top. A moisture calibration is only as good as the oven-drying results it was trained against; a protein calibration is only as good as the Kjeldahl or Dumas combustion results used to build it; an oil calibration is only as good as the solvent-extraction results behind it. Near-infrared spectroscopy can never be more accurate than the primary methods it is calibrated to reproduce — its role is to approximate those results faster and non-destructively, not to exceed them.

This dependence is ongoing, not a one-time event. Calibrations are monitored over time and re-standardised using fresh reference-sample checks, because the relationship between spectrum and constituent can drift as instruments age and as the population of samples the instrument encounters shifts.

Commodity specificity and the limits of the training set

  • A calibration is built for a specific commodity, and often for a specific cultivar set, growing region, or season; applying it to a different commodity is unreliable, and applying it to grain from an unrepresented cultivar, region, or season can introduce a systematic bias that the instrument does not disclose.
  • The model predicts reliably only within the range of constituent values and sample types represented in its training set. A sample well outside that range is extrapolated rather than interpolated, and the resulting number can look entirely plausible while being wrong.
  • Outlier detection can flag spectra that fall outside the training population, but only if it is built into the calibration and actively used; a model without outlier detection, or an operator who ignores its warnings, loses this safeguard entirely.

Sample presentation, instrument transfer, and intact-fruit readings

The spectrum an instrument records depends on more than composition: particle size, grinding, packing density, optical path length, and temperature all shift the absorbance pattern for the same underlying sample. A calibration built on whole-grain samples is not interchangeable with one built on ground samples, even for the same commodity and the same constituent, because the physical presentation changes the spectrum the model was trained on.

Moving a calibration from the instrument it was built on to a different unit is not automatic either; instrument-to-instrument variation in optics and electronics means calibrations must be formally standardised across units before a model developed on one instrument can be trusted on another.

For intact fruit measured non-destructively, near-infrared light penetrates only a short distance into the tissue, so the reading reflects composition near the surface on the side actually measured — not an average of the whole fruit. A non-destructive fruit reading is therefore a local inference about one part of one piece of produce, not a whole-unit measurement, and this matters most for soluble solids content, where sugar distribution within a fruit is often uneven.

Relationships

Evidence-backed connections in the knowledge graph.

Scope & limitations

Geographic scope: Global. Available calibrations and which laboratories maintain and standardise them differ by commodity, region, and instrument manufacturer.

  • This entry states no accuracy figures, wavelengths, or numeric calibration ranges for any commodity or constituent; these are specific to the instrument, the calibration model, and the reference methods used to build it.
  • A near-infrared prediction is not a substitute for the underlying reference method where a dispute, contract, or regulatory requirement calls for the reference result directly.
  • This entry describes the method's general principle and limitations, not the operating procedure for any specific instrument; consult the manufacturer's documentation and calibration records.
  • Not every constituent listed under "measures" has a calibration available for every commodity; a working calibration must exist and be maintained for the specific commodity and constituent in question.

Sources

This article draws on the following authoritative sources. See our sources & methodology for how they are selected.

  1. [1]USDA — U.S. Department of Agriculture (opens in a new tab)

    United States Department of Agriculture (USDA)

    Authoritative

    Cited for: Near-infrared calibration standards and their basis in primary reference methods for grain

    Type:
    Government agency
    Jurisdiction:
    United States
    Accessed:
    2026-07-12
  2. [2]CIMMYT — International Maize and Wheat Improvement Center (opens in a new tab)

    International Maize and Wheat Improvement Center (CIMMYT)

    High

    Cited for: Near-infrared spectroscopy calibration for wheat and maize quality prediction

    Type:
    Research institute
    Jurisdiction:
    Global
    Accessed:
    2026-07-12
  3. [3]AHDB — Agriculture and Horticulture Development Board (opens in a new tab)

    Agriculture and Horticulture Development Board (AHDB)

    High

    Cited for: Near-infrared spectroscopy use and limitations in cereal quality assessment

    Type:
    Government agency
    Jurisdiction:
    United Kingdom
    Accessed:
    2026-07-12
  4. [4]FAO — Food and Agriculture Organization (opens in a new tab)

    Food and Agriculture Organization of the United Nations (FAO)

    Authoritative

    Cited for: Principles and limitations of near-infrared spectroscopy in post-harvest quality measurement

    Type:
    Intergovernmental organization
    Jurisdiction:
    Global
    Accessed:
    2026-07-12