Indigo starts as a colorless compound locked inside plant leaves. Turning it into the deep blue dye used on billions of pairs of jeans requires pulling that compound out, chemically transforming it, and coaxing it onto fabric through a process unlike almost any other dye. The journey from leaf to blue involves fermentation, oxidation, and a clever bit of chemistry that humans figured out thousands of years ago.
The Plants That Produce Indigo
More than a dozen plant species contain indigo precursors, but a handful dominate. The most historically important is Indigofera tinctoria, native to South and Southeast Asia, which yields indigo paste with roughly 23% pure blue pigment (indigotin) under standard extraction. A close relative, Indigofera arrecta, performs better, reaching about 55% indigotin. In East Asia, Japanese indigo (Persicaria tinctoria) has been cultivated for centuries, producing around 44% indigotin. Chinese woad (Strobilanthes cusia) can reach 56% under optimized conditions, though traditional village extraction often yields far less, sometimes as low as 4%.
The pigment content varies dramatically depending on the species, the climate, and especially how the dye is extracted. Even a low-performing plant can rival the best species when extraction methods are carefully controlled.
Extracting Indigo From Plants
Fresh leaves and stems are harvested and submerged in water, fully covered to limit contact with air. Over the next two to three days, fermentation breaks open the plant cells and releases a compound called indican into the water. Enzymes and microbes split indican into a sugar molecule and indoxyl, the chemical precursor to indigo. At this stage the liquid is yellow-green, not blue. The indoxyl is soluble in water and invisible as a pigment.
Once the plant material turns soft, it’s removed. The next step is oxidation: the liquid is stirred vigorously, sometimes for half an hour or more, to expose it to air. As oxygen hits the dissolved indoxyl, pairs of indoxyl molecules bond together and form indigotin, the actual blue pigment. The liquid turns dark blue, and fine particles of insoluble pigment begin to form. Lime (calcium hydroxide) is often added to raise the pH and speed this reaction. After stirring, the mixture sits for several hours while the indigo particles settle to the bottom. The clear liquid on top is poured off, leaving behind a thick blue paste that can be dried into cakes or powder.
The Dong people of Hunan, China, still follow essentially this sequence today. They also add ripe fruits to their dye vats. The natural sugars in the fruit act as reducing agents, which becomes important in the next stage: actually getting the dye onto cloth.
How Indigo Gets Onto Fabric
Here is indigo’s central paradox: the blue pigment you just worked so hard to create is completely insoluble in water. You cannot dip fabric into a jar of indigo and expect it to absorb. To dye cloth, you have to undo the blue color first.
In a dye vat, indigo is chemically reduced, meaning it gains electrons and loses its blue color, converting into a yellowish-green soluble form called leuco-indigo. Traditionally, this reduction was accomplished with fermentation. Bacteria in the vat, fed by sugars, fruit, or other organic matter, stripped oxygen from the indigo molecules. Modern operations typically use chemical reducing agents instead, though the principle is identical.
Fabric is dipped into this yellow-green vat, where leuco-indigo bonds directly to cellulose fibers. When the fabric is pulled out and exposed to air, oxygen converts the leuco-indigo back into insoluble blue pigment, now physically trapped within the fibers. This is why denim fades the way it does: the indigo sits on the surface of the yarn rather than penetrating deeply, so friction gradually wears it away.
Because indigo has low affinity for cotton compared to other dyes, a single dip produces only a light shade. Denim manufacturers repeat the dip-and-oxidize cycle up to about six times to build up the deep blue associated with raw jeans. Each pass adds another thin layer of pigment.
The Rise of Synthetic Indigo
In 1880, German chemist Adolf von Baeyer patented a method for synthesizing indigo in the laboratory, a breakthrough that eventually earned him a Nobel Prize. He discovered that boiling a derivative of cinnamic acid with an alkaline solution produced small amounts of indigo. By 1883 he had confirmed the molecule’s correct chemical formula. Within two decades, German chemical companies had scaled up industrial production, and by the early 1900s synthetic indigo had largely replaced plant-derived indigo worldwide.
Today, virtually all commercial indigo is synthetic. The industrial process starts with petroleum-derived chemicals and produces indigo through a series of reactions that are far cheaper than farming and fermenting plants. The result is chemically identical to natural indigotin. A single factory can produce thousands of tons per year, enough to dye the roughly 4 billion meters of denim fabric manufactured annually.
Environmental Costs of Synthetic Production
Synthetic indigo carries environmental baggage. The manufacturing process can leave behind toxic residues, including aniline and N-methylaniline, both of which pose health risks. The dyeing process itself generates heavily polluted wastewater. Denim factories produce effluent containing heavy metals used as dyeing auxiliaries: chromium, copper, zinc, manganese, lead, cadmium, mercury, arsenic, and nickel have all been detected in raw denim wastewater.
The wastewater is also difficult to treat. Some denim effluent has an extremely low biodegradability index, meaning natural microbial processes can barely break it down. The deep blue color itself blocks sunlight from reaching aquatic ecosystems when discharged into waterways, disrupting plant and algal growth even before the chemical toxicity is considered.
Bio-Engineered Indigo
Researchers are developing a third path: growing indigo using genetically engineered bacteria. In a 2025 study, scientists modified E. coli to produce indigo by inserting genes for two key enzymes. One enzyme breaks down the amino acid tryptophan, and the other oxidizes the resulting compound into indigo. By deleting competing metabolic pathways and fine-tuning fermentation conditions, the team achieved a yield of 3.9 grams per liter in a 5-liter fermentation tank.
That output is still small compared to chemical synthesis, but the approach avoids petroleum feedstocks and the toxic byproducts of industrial manufacturing. The bacteria essentially perform the same chemistry that happens inside a plant leaf, converting tryptophan into indoxyl and then into indigotin, just faster and in a controlled vessel. If scaled successfully, bio-engineered indigo could serve both the textile and food-coloring industries as a genuinely green alternative.

