Natural shampoo recipe: chemistry, pH balance, and professional formulation

Natural shampoo recipe: chemistry, pH balance, and professional formulation

👩‍🔬 Online school Walker Formulation Academy📅 12 May 2026⏱️ 9 min read

Creating a good shampoo is more difficult than it seems at first glance. Many beginner formulators, inspired by the idea of natural cosmetics, mix a mild surfactant with a couple of essential oils — and are surprised why the result is disappointing: the hair squeaks, the foam disappears, and the cream formula separates after a week. A professional natural shampoo recipe is a balance between surfactant chemistry, scalp physiology, rheology, and microbiological stability. In this article, the online school Walker Formulation Academy breaks down each of these levels: from choosing surfactants to the final pH adjustment, so that you can formulate consciously rather than by trial and error.

Why natural shampoo is not just "a mild surfactant plus water"

A shampoo performs several tasks simultaneously: it cleanses the scalp of sebum, impurities, and styling residue, conditions the hair shaft, preserves the integrity of the scalp's lipid barrier, and rinses off easily. No single surfactant can handle all these tasks on its own — hence the need for a skillful combination of ingredients.

The term "natural" in the context of shampoo means that the main surfactants are derived from plant raw materials (coconut oil, sugars, amino acids), and the list of synthetic polymers and silicones is minimized or completely excluded. This imposes limitations: natural surfactants are often sensitive to water hardness, have a narrower working pH window, and require careful selection of co-surfactants for stable foam.

flat lay of natural shampoo ingredients — coconut-derived surfactants, amino acid powders, botanical extracts, small glass beakers on a clean white laboratory surface, soft diffused lighting, professional cosmetic chemistry aesthetic
flat lay of natural shampoo ingredients — coconut-derived surfactants, amino acid powders, botanical extracts, small glass beakers on a white lab surface

Three functional levels of a shampoo formula

It is convenient to divide the shampoo composition into three levels:

  1. Cleansing — the primary and co-surfactant, which form micelles and remove impurities.
  2. Conditioning — cationic or amphoteric agents, hydrolyzed proteins, panthenol, which reduce friction between hair strands and make combing easier.
  3. Stabilization and aesthetics — thickeners, pH regulators, preservatives, fragrances, and active botanical ingredients.

Understanding these levels allows you not to "guess" the recipe, but to construct it logically. If you are already familiar with the principles of tribology, gums, and gelling agents, you know how important product rheology is — in shampoo, it directly affects consumer perception.

Choosing surfactants for a natural shampoo recipe

Choosing surfactants is the most important decision when creating a shampoo. A mistake at this stage cannot be fixed with thickeners or fragrances.

Primary (main) surfactants

For natural formulas, three categories of anionic surfactants are most often used:

  • Coconut-based sulphates (Sodium Coco Sulfate, SCS) — high foaming capacity, but a higher irritation potential compared to alkyl polyglycosides.
  • Alkyl polyglycosides (Decyl Glucoside, Coco Glucoside) — derived from glucose and coconut fatty alcohols, biodegradable, mild, and blend well with other surfactants. Working pH: 4.5–8.0.
  • Amino acid surfactants (Sodium Cocoyl Glutamate, Sodium Lauroyl Sarcosinate) — the most physiological, preserve the hydrolipid barrier, and produce a creamy foam. Ideal for sensitive scalps.

The typical concentration of the primary surfactant in a finished shampoo is 8–15% by active matter (not by the commercial product, which may contain 30–50% active matter).

Co-surfactants and amphoteric surfactants

A co-surfactant performs several functions: it improves foam quality, reduces the irritation potential of the primary surfactant, and helps stabilize the cream formula. Cocamidopropyl betaine (CAPB) is a classic choice: it is amphoteric, compatible with anionic surfactants, and improves conditioning properties. For strictly natural cream formulas, it is replaced with sugar beet betaine or Sodium Cocoamphoacetate. The ratio of primary surfactant to co-surfactant is usually 2:1 or 3:1.

close-up macro shot of rich creamy shampoo foam texture in a transparent glass bowl, soft natural side lighting, clean minimalist laboratory background, pastel tones
close-up of shampoo foam texture in a transparent bowl, soft natural lighting, laboratory aesthetic

Shampoo pH: why 4.5–5.5 is no accident

The scalp has a pH of about 5.5, and the isoelectric point of hair keratin is about 3.7. At a pH above 6.0, the hair cuticle opens, making the hair porous, dull, and more prone to damage. At too low a pH (below 4.0), skin irritation is possible. The working range for shampoo is 4.5–5.5.

Many natural surfactants (especially glucosides) natively have a pH of 7.0–8.0. This means that pH adjustment is a mandatory step, not an option. Use citric acid (10–20% solution) or lactic acid. It is important to add the acid gradually, 0.1–0.2 ml at a time, and measure the pH with a calibrated device, not litmus paper. For more on how pH affects the stability and safety of cosmetic cream formulas, read our article pH in cosmetics: a basic guide for formulators.

How to thicken shampoo without synthetic polymers

The classic method for thickening shampoos is sodium chloride (salt). It works by screening micelle charges, which increases their size and the viscosity of the system. However, this method has limitations: at concentrations above 2–3%, the viscosity begins to decrease (the "salt curve" effect), and salt works poorly in cream formulas containing amino acid surfactants.

Alternatives for natural cream formulas:

  • Hydroxypropyl methylcellulose (HPMC) — semi-synthetic, but acceptable for many natural standards; 0.3–0.8%.
  • Xanthan gum — 0.1–0.3%, provides thixotropic viscosity; it is important to disperse it correctly before adding it to the system.
  • Guar gum — 0.1–0.2%, but requires caution when combined with anionic surfactants. A comparison of these two thickeners is analyzed in detail in the article Xanthan and guar gums: comparison, synergy, and the unexpected winner.

Conditioning agents and active ingredients

Shampoo is a rinse-off product, so the concentrations of active ingredients must be higher than in leave-on products: a significant portion of the formula is washed away with water. Nevertheless, properly selected conditioning agents manage to adsorb onto the hair surface during the contact time.

Proteins, panthenol, and cationic agents

Hydrolyzed proteins (wheat, oat, silk) with a molecular weight of 500–2000 Da penetrate damaged areas of the cuticle and temporarily fill defects. The working concentration is 1–3%. Panthenol (provitamin B5) at a concentration of 0.5–2% moisturizes the hair shaft and scalp, improving elasticity. Cationic guar derivatives (Guar Hydroxypropyltrimonium Chloride) are one of the few conditioning agents that work effectively in rinse-off formulas: they adsorb onto the negatively charged surface of the hair and remain after rinsing.

Botanical extracts: how to choose correctly

Botanical extracts add marketing value and, when chosen correctly, real functionality. Key rules:

  • Water-soluble extracts (glycerin-based, aqueous) are compatible with most shampoos; oil-based ones require a solubilizer.
  • Add extracts to the cool-down phase at a temperature below 40°C to preserve thermolabile components.
  • Concentration: 0.5–5% depending on the extract and its standardization.
  • Consider the color and scent of the extract — they may conflict with the fragrance or create an undesirable tint.

If you are interested in how climatic conditions affect the chemical composition of plant ingredients, we recommend the article How climate affects the composition of fatty acids and essential oils in plants — this is directly related to the quality of the extracts and oils you use.

arrangement of botanical extracts in amber glass dropper bottles with fresh plant specimens — rosemary sprigs, nettle leaves, green tea — on a rustic wooden surface, natural daylight, cosmetic brand aesthetic
arrangement of botanical extracts in amber glass dropper bottles with plant specimens — rosemary, nettle, green tea — on a wooden surface

Preservation and microbiological stability

Shampoo is an aqueous system with a high content of nutrients for microorganisms. Preservation is mandatory. The choice of preservative for natural formulas is limited, but there are options:

  • Natural complex based on levulinic acid and anise (e.g., Geogard ECT) — effective at pH 3.5–6.0, which aligns well with the working range of a shampoo.
  • Benzyl alcohol + dehydroacetic acid (Euxyl PE 9010) — broad spectrum, pH up to 6.0.
  • Phenoxyethanol — technically synthetic, but permitted in a number of natural standards; up to 1%.

Add the preservative at a temperature below 40°C and after the final pH adjustment, as the effectiveness of most preservatives is highly dependent on the acidity of the medium. The principles applicable to preserving complex cosmetic systems are described in detail in our article on handmade soap: chemistry, formulation, and everything you need to know.

Basic natural shampoo formula: a professional starting point

Below is a basic formula that can be adapted for a specific hair type. All concentrations are indicated as % of the total mass of the finished product.

  1. Purified water — up to 100%
  2. Coco Glucoside (50% active) — 24% (≈12% active substance)
  3. Sodium Cocoyl Glutamate (30% active) — 20% (≈6% active substance)
  4. Cocamidopropyl Betaine (30% active) — 10% (≈3% active substance)
  5. Guar Hydroxypropyltrimonium Chloride — 0.3%
  6. Hydrolyzed wheat protein — 2%
  7. Panthenol — 1%
  8. Xanthan gum — 0.2%
  9. Rosemary extract (aqueous) — 2%
  10. Geogard ECT — 0.8%
  11. Citric acid (10% solution) — to pH 4.8–5.2
  12. Fragrance or essential oil — 0.3–0.5%

Preparation technology: Disperse the xanthan gum in glycerin (1:5) separately, then add to the water while stirring. Add the surfactants in the specified order, avoiding intense whipping. Add the conditioning agents and extracts. Adjust the pH. Add the preservative and fragrance last. Check the viscosity, clarity, and pH 24 hours after stabilization.

step-by-step shampoo formulation process in a small home lab — glass beakers with colored liquids, digital pH meter, glass stirring rod, handwritten formula notes on paper, warm natural lighting
step-by-step shampoo formulation process in a small lab — beakers, pH meter, stirring rod, handwritten formula notes on paper

If you want to understand how similar principles work in other formats — for example, in anhydrous cleansing systems — study our material Anhydrous products: A complete guide for beginners.

Common mistakes and how to avoid them

Incorrect order of adding components

Adding a thickener to a finished surfactant system without prior dispersion leads to the formation of lumps and uneven viscosity. Cationic agents (e.g., cationic guar) must be added before anionic surfactants or into the water before mixing — otherwise, precipitation may occur.

Ignoring water hardness

Hard water contains calcium and magnesium ions, which form insoluble salts with anionic surfactants. The result is a white precipitate, reduced foaming, and a "film" feeling on the hair. The solution: use demineralized water in production and add a chelator (tetrasodium EDTA or, for natural formulas, 0.1–0.2% sodium gluconate).

Overestimating the role of essential oils

Essential oils are unstable in aqueous systems without a solubilizer. Adding undissolved essential oil to a shampoo creates not only an aesthetic problem (cloudiness) but also a risk of scalp irritation due to uneven distribution. Use Polysorbate 20 or PEG-40 Hydrogenated Castor Oil in a 1:1–1:3 ratio to the essential oil.

Is it possible to make a natural sulphate-free shampoo that foams well?

Yes, but you need to choose the right combination of surfactants. Amino acid surfactants (Sodium Cocoyl Glutamate) combined with alkyl polyglycosides and an amphoteric surfactant provide high foam. Foam quality also depends on pH: in the 4.5–5.5 range, the foam is denser and more stable. Hard water significantly reduces foaming — this must be taken into account during testing.

How can I test shampoo stability at home?

A basic home test includes: storing samples at 4°C (refrigerator), 25°C (room temperature), and 40°C (a warm place) for 4 weeks. Check the viscosity, clarity, odor, and pH weekly. If the shampoo does not separate and the pH does not change by more than 0.3 units at 40°C, basic stability is confirmed. For full-scale testing, we recommend studying the principles in our article on cream formula stability.

What is the difference between human shampoo and pet shampoo?

The key difference is skin pH. The skin pH of cats and dogs is significantly higher (6.5–7.5) than that of humans. Human shampoo with a pH of 4.5–5.5 can disrupt an animal's skin barrier function. Read more about this in our article Shampoo for dogs and cats: what every pet lover should know 🐶🐱.

Formulating a natural shampoo is a discipline that requires an understanding of colloid chemistry, skin physiology, and cosmetic system technology. A competent natural shampoo recipe is built not on intuition, but on knowledge of the functions of each ingredient, their compatibility, and the correct incorporation technology. Start with a basic formulation, test systematically, and make changes one parameter at a time — this is the only way to understand what exactly is working in your specific cream formula.

Do you want to master professional shampoo formulation and other cosmetic products from scratch to the level of a confident technologist? Learn more about our training programmes at the "Walker Formulation Academy" Club — where you will find analyses of real recipes, feedback from practising technologists, and a community of like-minded people.

Walker Formulation Academy Club

Enjoyed the article? Get access to the AI Chemist and video recipes

The 24/7 AI assistant answers formulation questions, calculates HLB and pH and helps you choose ingredients. Plus a private community of chemists and monthly product reviews.

No card required · Cancel anytime

Rate this article

Your rating helps other readers find useful guides