Hair dye works by either depositing color onto the outer cuticle or penetrating the cortex to chemically alter melanin, the natural pigment inside the strand. Permanent dyes use ammonia to open the cuticle, then a developer (hydrogen peroxide) to bleach existing melanin and oxidize small dye precursors into larger colored molecules that get trapped inside the hair.
The Structure of a Hair Strand
To understand dyeing, you need to know hair’s three layers:
- Cuticle – the outermost protective layer of overlapping scales. It is semi-transparent and determines shine and porosity.
- Cortex – the thick middle layer made of keratin protein fibers. It holds the natural melanin pigments (eumelanin for brown/black, pheomelanin for red/yellow) and is where permanent dye reactions occur.
- Medulla – a soft, often absent central core. It plays little role in dyeing.
Permanent dyes must reach the cortex; temporary and semi-permanent dyes only coat the cuticle. The cuticle’s condition—whether it’s tightly closed or lifted by damage—affects how much dye enters.
Types of Hair Dye and Their Chemistry
Hair dyes are classified by how deeply they penetrate and how long they last.
- Temporary dyes – large acid molecules that stick to the cuticle’s surface via ionic bonds. They wash out in one shampoo.
- Semi-permanent dyes – smaller molecules that partially diffuse into the cuticle but don’t react with the cortex. They fade over 4–8 washes.
- Demi-permanent dyes – use a low-volume developer (usually 10-volume hydrogen peroxide) to open the cuticle slightly and deposit color without bleaching melanin. Lasts 12–24 washes.
- Permanent dyes – use ammonia (or a substitute like ethanolamine) to swell the cuticle, and a developer (20–40 volume hydrogen peroxide) to bleach melanin and trigger color-forming reactions inside the cortex. Permanent until new hair grows.
The Permanent Dye Reaction Step by Step
Permanent dye kits contain two components: a dye base (with precursors like p-phenylenediamine or PPD) and a developer (hydrogen peroxide). When mixed, these reactions occur:
- Ammonia lifts the cuticle – it breaks disulfide bonds in the cuticle scales, causing them to swell and open, allowing dye molecules to enter.
- Hydrogen peroxide bleaches melanin – it oxidizes the melanin pigments, lightening the natural color. The higher the developer volume, the more melanin is destroyed.
- Precursors oxidize and couple – the small precursor molecules react with oxygen and with a coupler molecule to form larger, colored compounds. These new molecules are too big to escape the cortex.
- Color develops and locks in – after 20–30 minutes, the cuticle closes back down, trapping the new pigment. The final shade depends on the ratio of leftover melanin to the synthetic dye.
If you don’t bleach enough, the natural melanin mixes with the new dye, producing a different result—this is why dark hair often turns orange or brassy when dyed a lighter shade.
How Bleach (Lightener) Works
Bleach is a separate process that only removes melanin. It uses a stronger alkaline agent (often ammonia or a similar base) and a higher-volume hydrogen peroxide (20–40 volume). The peroxide breaks down the chemical bonds in melanin, turning it into colorless compounds. The process is exothermic—it generates heat—and can damage the keratin if left on too long. Bleach alone leaves hair yellow or pale yellow, which is why a toner (a demi-permanent dye with violet or blue pigments) is often applied afterward to neutralize brassy tones.
Choosing the Right Dye: What to Consider
Your natural hair color, porosity, and desired result determine which dye type and developer strength to use.
- Going darker – use a permanent or demi-permanent dye with a low-volume developer (10–20 volume). No bleaching needed.
- Going lighter by 1–2 shades – a permanent dye with 20-volume developer can lift a bit, but results vary by hair type.
- Going lighter by 3+ shades – you must bleach first, then tone. Permanent dye alone cannot lighten more than a couple of shades.
- Covering gray – permanent dyes work best because gray hair has no melanin and a resistant cuticle; the ammonia helps open it fully.
- Damage or dry hair – semi-permanent or demi-permanent dyes are gentler because they don’t bleach melanin.
Common Problems and Misconceptions
One frequent misconception is that dye “stains” the hair permanently. In reality, permanent dye doesn’t wash out, but the cuticle gradually reopens and the color fades slightly due to shampooing and UV exposure. Another issue is brassiness—when warm tones appear after bleaching. This happens because the underlying pheomelanin (red/yellow) is more resistant to oxidation than eumelanin (brown/black). Using a purple shampoo temporarily neutralizes yellow, but it doesn’t stop the underlying chemistry.
Allergic reactions to PPD are a real risk. PPD is a common dye precursor; it can cause contact dermatitis in sensitive individuals. A patch test 48 hours before dyeing is always recommended. If you have a reaction, stop use immediately.
Safety and Damage Prevention
Hair dye chemicals can irritate the scalp and damage hair if misused. Follow these precautions:
- Always do a patch test 48 hours before application, even if you’ve used the product before.
- Never leave dye on longer than the instructions say—overprocessing can dissolve the cuticle and cause breakage.
- Use the lowest developer volume that achieves your goal. Higher volumes (30–40) are for bleaching only.
- Rinse thoroughly with cool water to help close the cuticle and reduce damage.
- If you have a scalp condition or open sores, avoid dyeing until healed.
There is no evidence that hair dye causes cancer, but some studies have shown a slight association with certain bladder cancers in hairdressers exposed to large amounts over decades. The FDA does not consider modern hair dyes carcinogenic when used as directed.
Frequently Asked Questions
Why does hair dye fade even if it’s permanent?
Permanent dye molecules are trapped in the cortex, but they aren’t chemically bonded to the keratin. Shampooing, sun exposure, and heat styling slowly break down the dye molecules, and the cuticle reopens slightly, allowing some color to escape. Fading is usually more noticeable on the ends, which are older and more porous.
Can I dye my hair lighter without bleach?
No. To lighten hair, you must destroy melanin, which only hydrogen peroxide (in developer) can do. Permanent dyes contain peroxide, but at lower volumes (10–20) they only lighten by 1–2 shades. For a significant lift (3+ shades), a separate bleach step is required.
Why does my hair turn orange after bleaching?
Orange is the underlying pheomelanin (red/yellow) that remains after the darker eumelanin is oxidized. The exact shade depends on how much melanin was removed. To cancel orange, use a blue-based toner; to cancel yellow, use a violet-based toner.
Is semi-permanent dye safer than permanent?
Generally yes, because it doesn’t contain ammonia or high-volume peroxide, and it doesn’t penetrate the cortex. However, it can still contain PPD or other sensitizers, so patch testing is still advised. Semi-permanent dyes also cause less structural damage because they don’t lift the cuticle as aggressively.
How long should I wait between dyeing sessions?
Wait at least 4–6 weeks to allow the cuticle to recover and to avoid overprocessing. If you need to touch up roots, apply dye only to the new growth, not the entire length. Overlapping dye on already-treated hair can cause breakage.