In chemistry, an impurity is any substance present in a material that isn’t the desired compound. Even a reaction that goes exactly as planned will produce trace amounts of unwanted substances, whether from leftover starting materials, side reactions, or contamination from equipment. Impurities matter because even tiny quantities can change how a substance behaves, affect the safety of a medication, or throw off the results of an experiment.
The Three Main Types of Impurities
Impurities fall into three broad categories: organic, inorganic, and residual solvents.
Organic impurities are carbon-based compounds that form during a chemical reaction or while a substance sits in storage. These include leftover starting materials that didn’t fully react, intermediate compounds that formed partway through the reaction, and by-products created by unintended side reactions. Degradation products also fall into this group. These form when a finished compound breaks down over time due to heat, light, or moisture.
Inorganic impurities come from the tools and materials used in manufacturing rather than from the reaction itself. Heavy metals like lead or mercury can leach from equipment. Residual catalysts (substances added to speed up a reaction) may linger in the final product. Inorganic salts, filter aids, and charcoal used during processing can also leave traces behind.
Residual solvents are the liquids used to dissolve or suspend chemicals during synthesis. Water, ethanol, acetone, and many other solvents are essential during production but need to be removed from the final product. Complete removal is difficult, so small amounts often remain.
Where Impurities Come From
Chemical synthesis is rarely a clean, one-step process. Most reactions involve highly reactive reagents, and whenever reactive chemicals meet, there’s a chance they’ll form something other than the target molecule. A reaction might produce the desired compound 95% of the time but generate half a dozen minor by-products with the remaining 5%.
Beyond the chemistry itself, contamination can come from surprisingly mundane sources: dirty glassware, metal abraded from stirring equipment, dust from the environment, or cross-contamination from previous batches processed on the same production line. Raw materials themselves are never perfectly pure, so impurities in the starting ingredients carry forward into the final product. Each stage of a multi-step synthesis introduces new opportunities for unwanted substances to accumulate.
Why Small Amounts Matter
In pharmaceutical chemistry, the stakes are particularly high. International guidelines set strict thresholds for how much impurity is acceptable in a drug. For a medication taken at doses of 2 grams per day or less, any individual impurity above 0.05% of the total must be formally reported. If it exceeds 0.10% (or 1.0 mg of daily intake, whichever is lower), the manufacturer must identify exactly what that impurity is. Above 0.15%, the impurity must go through a qualification process to demonstrate it doesn’t pose a safety risk.
For higher-dose drugs (above 2 grams per day), these thresholds tighten further. Reporting kicks in at 0.03%, and both identification and qualification are required above 0.05%.
These numbers sound vanishingly small, but certain impurities are dangerous at even lower levels. Mutagenic impurities, substances that can directly damage DNA and potentially trigger cancer, are held to an even stricter standard. Regulatory agencies cap exposure to these compounds at just 1.5 micrograms per day, a limit calculated to represent no more than a 1-in-100,000 theoretical excess cancer risk over a lifetime. Impurities that aren’t DNA-reactive generally have a safety threshold below which they cause no harm, but mutagenic compounds are treated as though any exposure carries some degree of risk.
How Dangerous Impurities Are Classified
Regulators sort impurities into five classes based on their potential to cause mutations and cancer. Class 1 impurities are known to both cause mutations and cause cancer in animal studies. Class 2 impurities are confirmed mutagens but lack carcinogenicity data. Class 3 compounds have a chemical structure that raises red flags but haven’t been tested yet. Class 4 compounds have a suspicious structure, but testing on related compounds has come back negative. Class 5 impurities have no structural warning signs at all, or have been tested and cleared.
This classification system determines how tightly each impurity must be controlled. A Class 1 impurity demands case-by-case safety limits, while a Class 5 impurity can be treated like any ordinary non-mutagenic contaminant.
How Impurities Are Detected
Identifying what’s lurking in a chemical sample requires a combination of techniques. High-performance liquid chromatography (HPLC) is the workhorse method. It separates a mixture into its individual components by pushing it through a column packed with material that interacts differently with each compound. The result is a readout showing distinct peaks, one for each substance present, with the size of each peak reflecting how much of that substance is there.
Gas chromatography (GC) works on a similar principle but vaporizes the sample first, making it ideal for volatile impurities and residual solvents. For identifying unknown impurities, chemists often pair these separation techniques with mass spectrometry, which essentially weighs individual molecules and fragments them to reveal their structure. Combining HPLC or GC with mass spectrometry (HPLC/MS or GC/MS) lets researchers separate a complex mixture and identify each component in a single run.
Thin-layer chromatography (TLC) offers a quicker, simpler screening tool. A small sample is spotted onto a coated plate and placed in a solvent. Different compounds travel different distances up the plate, giving a rough visual map of what’s in the mixture. It’s less precise than HPLC but useful for fast checks during synthesis.
How Impurities Are Removed
The method you’d use to purify a substance depends on the physical properties of both the desired compound and the impurities.
Recrystallization is the go-to technique for crystalline solids. The impure compound is dissolved in a hot solvent, then the solution is slowly cooled. As it cools, the desired compound forms crystals and drops out of solution, while the impurities remain dissolved in the liquid. The crystals are then filtered off, leaving the contaminants behind. The key is choosing a solvent that dissolves the compound well when hot but poorly when cold.
Distillation works best for liquid mixtures where the components have different boiling points. Simple distillation handles cases where the boiling points are far apart. Fractional distillation, which uses a column to give the vapors multiple chances to separate, handles closer boiling points. This is the principle behind petroleum refining and alcohol purification.
Chromatography serves as a fallback when other methods fail. If a compound won’t crystallize and can’t be distilled, column chromatography can separate it from impurities based on how strongly each component sticks to a solid material packed in a tube. It’s more time-consuming and uses more solvent, but it can handle complex mixtures that resist simpler approaches.
Enantiomeric Impurities
Some impurities are chemically identical to the desired product but are mirror images of it. These are called enantiomers, molecules with the same atoms and bonds but arranged as non-superimposable mirror images, like left and right hands. This distinction matters enormously in biology because living systems are built from molecules with specific handedness. One enantiomer of a drug might treat pain effectively while its mirror image causes side effects or does nothing at all.
Chemists measure enantiomeric purity using a value called enantiomeric excess (ee). It’s calculated by taking the difference between the amounts of the two mirror-image forms and dividing by the total. An ee of 100% means only one form is present. An ee of 0% means you have an equal mix of both, which is called a racemic mixture. Achieving high enantiomeric excess is a major goal in pharmaceutical synthesis, where the wrong mirror image is treated as an impurity even though it has the same molecular formula.