What Is Denim Made Out Of: Cotton, Twill & Indigo Dye

Denim is made primarily from cotton, woven in a distinctive diagonal twill pattern and dyed with indigo. That core recipe has stayed remarkably consistent for over a century, though modern denim often includes synthetic fibers like polyester and spandex for stretch and durability. What gives denim its unique look, feel, and ability to fade over time comes down to how those raw materials are prepared, dyed, and woven together.

Cotton Is the Foundation

Traditional denim starts with cotton fiber. The quality of that cotton, particularly the length of each individual fiber (called the staple length), directly affects how strong and even the final yarn will be. Longer fibers spin into smoother, stronger yarn, which is why denim manufacturers care about fiber length and uniformity. Cotton’s natural properties, its ability to absorb dye, breathe against the skin, and soften with wear, are the reasons it became the default material for jeans and has stayed there.

The cotton is spun into yarn in two roles: thicker yarn for the lengthwise threads (the warp) and thinner yarn for the crosswise threads (the weft). Only the warp yarn gets dyed blue. The weft stays white or undyed, which is why the inside of your jeans looks lighter than the outside.

How the Weave Creates That Diagonal Pattern

What separates denim from other cotton fabrics is its twill weave. The most common structure is a 3×1 twill, meaning the weft thread passes under three blue warp threads and over one, then shifts by one position on the next row. This creates the signature diagonal ribbing you can see if you look closely at any pair of jeans. A 2×1 twill (two warp threads for every one weft) is also used but is less common.

Right-hand twill is the standard for denim. Combined with the direction the yarn is twisted, it produces a flatter, smoother surface than left-hand twill. The diagonal lines slant from bottom-left to top-right when you look at the fabric from the front. Because three out of every four visible threads on the face of the fabric are dyed warp threads, the blue side dominates. Flip the fabric over and you see mostly the undyed weft, which is why raw denim has a distinctly lighter reverse side.

Indigo Dyeing and the White Core

The blue color in denim comes from indigo, one of the oldest known dyes. Indigo doesn’t dissolve in water on its own, so it has to be chemically reduced into a soluble form before cotton can absorb it. The yarn is dipped into this solution, then exposed to air, where the dye oxidizes back into its insoluble blue form and bonds to the fiber surface. This dipping-and-airing cycle is repeated multiple times to build up the desired shade of blue.

Here’s the detail that makes denim behave differently from most dyed fabrics: indigo doesn’t fully penetrate the cotton fiber. It coats the outer layers while leaving the core white. This is why denim fades where it’s abraded. The knees, seat, and edges of pockets lose their surface dye through friction, exposing the lighter interior of the yarn. That gradual, personalized fading is a feature, not a flaw, and it’s a direct result of how indigo bonds to cotton.

Virtually all indigo used today is synthetic, derived from petroleum-based chemicals including aniline and formaldehyde. Chemically, synthetic and plant-based indigo are identical molecules, though natural indigo contains trace impurities like tannins and flavonoids that some dyers say give it a richer tone. Natural indigo makes up a tiny fraction of the market. At facilities that use both, plant-based indigo accounts for only 2 to 3 percent of annual consumption. The price gap is enormous: synthetic indigo costs roughly $6 per kilogram at high concentration, while natural indigo runs about $120 per kilogram at much lower purity. The global denim industry consumes around 70,000 metric tons of pure indigo annually.

Stretch Denim and Blended Fibers

If your jeans have any stretch to them, they contain more than cotton. Modern stretch denim blends cotton with polyester and a small amount of spandex (also called elastane or Lycra). The spandex typically makes up only about 1.8 to 2.5 percent of the fabric, but that small amount provides noticeable elasticity. Polyester content varies more widely, ranging from 30 to 70 percent of the weft yarn depending on the desired balance of stretch, recovery, and durability.

In most stretch denim, the warp yarn stays 100 percent cotton to preserve the traditional look and fading behavior of the face of the fabric. The stretch fibers are concentrated in the weft, often as core-spun yarn where a spandex filament runs through the center of a cotton-polyester blend. This construction gives the fabric its recovery, meaning it snaps back into shape after stretching instead of bagging out at the knees.

Denim Weight Categories

Denim is categorized by weight in ounces per square yard. Lightweight denim falls under 12 ounces, is soft and breathable, and works well for shirts and summer jeans. Midweight denim, between 12 and 16 ounces, is the most versatile range and covers the majority of everyday jeans. Heavyweight denim exceeds 16 ounces and feels dense and stiff off the shelf, but it’s built to develop dramatic fading patterns over months of wear.

The weight comes from the thickness of the yarn and the tightness of the weave. Heavier denim uses thicker yarn and packs more threads per inch, which makes the fabric more durable but also stiffer until it’s broken in.

What Happens After Weaving

Raw denim straight off the loom can shrink significantly when washed, up to 10 percent in length. Most commercial denim goes through a mechanical process called sanforization to prevent this. The fabric is pressed onto a rubber belt that stretches and then contracts, forcing the fabric to compress along its length. No chemicals are added. The result is pre-shrunk fabric that stays close to its original dimensions after you wash it at home.

Denim labeled “raw” or “unsanforized” skips this step. If you buy unsanforized jeans, expect them to shrink noticeably on the first wash, which is why raw denim enthusiasts typically buy a size up and soak their jeans to set the fit before wearing them regularly.

Sustainable and Alternative Fibers

Cotton’s environmental footprint, particularly its water and land use, has pushed the denim industry toward alternative materials. Hemp fiber produces roughly three times more fiber per acre than cotton and reduces agricultural costs by about 78 percent. When blended into denim weft yarn, hemp performs comparably to cotton in colorfastness and abrasion resistance, and it reduces pilling. The tradeoff is increased stiffness and slightly lower breathability.

Recycled cotton is gaining ground as well. Some manufacturers now produce denim fabrics containing up to 95 percent recycled cotton fiber, often blended with a small percentage of lyocell (a fiber made from wood pulp) to improve softness and keep the fabric recyclable at end of life. Industry initiatives have set a baseline of at least 20 percent post-consumer recycled cotton in qualifying fabrics. Lab-grown cotton, still in early stages, claims 99 percent less water use and 97 percent less land compared to field-grown cotton. On the finishing side, closed-loop water systems can now recover 95 percent of the water used in washing and finishing denim, returning it to the production cycle.