Making your own shampoo and conditioner is absolutely doable, but it requires more precision than mixing a few kitchen ingredients together. These are water-based products, which means they need proper surfactants, pH balancing, and preservatives to work well and stay safe. Here’s how to approach both formulations with the right ingredients, equipment, and techniques.
Equipment You Need Before Starting
Cosmetic formulation is closer to cooking by weight than cooking by volume. You’ll need a digital scale that measures to at least 0.01 grams, because even small errors in preservative or surfactant amounts can ruin a batch. A set of heat-safe glass beakers or Pyrex measuring cups, a thermometer (infrared or digital probe), and a handheld immersion blender round out the essentials.
You also need a way to check pH. Paper pH strips work in a pinch, but a digital pH meter gives much more reliable readings, and pH matters a lot here. Shampoo with a pH above 5.5 can roughen the hair cuticle, increasing friction, frizz, and breakage. Products used in professional salons tend to stay at 5.5 or lower, and that’s the range you should target for both your shampoo and conditioner.
Finally, keep a notebook. Record every ingredient, its percentage, the order you added it, and the final pH. When something works (or doesn’t), you’ll want to know exactly what you did.
Understanding the Three-Phase System
Nearly every liquid hair product is built in phases. The water phase contains everything that dissolves in water: your distilled water, water-soluble surfactants, humectants like glycerin, and any water-soluble extracts. The oil phase contains everything that dissolves in oil: carrier oils, emulsifying waxes, and fatty alcohols like cetyl alcohol. You heat these two phases separately to around 70–80°C (158–176°F), then combine them while mixing vigorously.
The cool-down phase is everything you add after the mixture drops below about 50°C (122°F). This includes your preservative, fragrance or essential oils, and any heat-sensitive active ingredients. Adding these too early can destroy them or reduce their effectiveness.
How to Make a Basic Shampoo
The cleaning power in any shampoo comes from surfactants. These are molecules with one end that grabs oil and dirt and another end that dissolves in water, carrying everything down the drain. The most common surfactants in commercial shampoos are sodium laureth sulfate and sodium lauryl sulfate. For a gentler homemade version, many formulators use sodium cocoyl isethionate (SCI) or sodium lauroyl methyl isethionate as a primary cleanser, paired with a milder co-surfactant like cocamidopropyl betaine to boost foam and reduce irritation.
A simple beginner shampoo formula by weight looks something like this:
- Distilled water: 55–65% (never use tap water, which introduces minerals and microbes)
- Primary surfactant (SCI or similar): 15–20%
- Co-surfactant (cocamidopropyl betaine): 5–8%
- Glycerin: 2–3% (adds moisture and slip)
- A thickener like xanthan gum or salt: 0.5–2% (depending on the surfactant system)
- Preservative: per manufacturer’s recommendation (typically 0.1–0.5% for a broad-spectrum option)
- Citric acid solution: as needed to adjust pH to 4.5–5.5
Start by heating your distilled water to around 70°C. Add your primary surfactant and stir gently to dissolve it. Vigorous stirring at this stage creates excessive foam that makes the rest of the process messy. Once dissolved, add your co-surfactant and glycerin and stir until uniform. Let the mixture cool below 50°C, then add your preservative and any fragrance. Check the pH with your meter and adjust down with a diluted citric acid solution (about 10% citric acid in distilled water) a few drops at a time until you’re in the 4.5–5.5 range.
If you have hard water at home, adding a chelating agent to your formula can make a noticeable difference. These ingredients bind to minerals like calcium and magnesium so they rinse away instead of depositing on your hair. A small amount (0.1–0.3%) is usually enough.
How to Make a Basic Conditioner
Conditioner works differently than shampoo. Instead of removing oil, it deposits a thin layer of conditioning agents onto the hair shaft to reduce friction and add softness. The key ingredient in most conditioners is a cationic (positively charged) compound, often cetrimonium chloride or behentrimonium methosulfate (BTMS). Hair carries a slight negative charge, especially when wet, so these positively charged molecules cling to it and smooth down the cuticle.
A basic conditioner formula:
- Distilled water: 75–80%
- BTMS-50 (conditioning emulsifier): 5–6%
- Cetyl alcohol: 2–3% (adds thickness and slip)
- A lightweight oil like fractionated coconut or jojoba: 2–3%
- Glycerin: 2%
- Preservative: 0.1–0.5%
- Citric acid solution: to adjust pH to 4.0–5.0
Heat your water phase (distilled water and glycerin) to about 75°C. In a separate container, combine the BTMS-50, cetyl alcohol, and oil, and heat that to the same temperature. Pour the oil phase into the water phase while blending with your immersion blender. This is where the emulsion forms, turning the mixture from a watery, separated mess into a smooth, creamy product. Keep blending for a couple of minutes, then let it cool while stirring gently every few minutes to prevent separation.
Once the temperature drops below 50°C, add your preservative and fragrance if desired. Check and adjust the pH. Pour into a clean, sanitized container.
Why Preservatives Are Non-Negotiable
Any product that contains water will eventually grow bacteria, mold, and yeast. This isn’t a matter of “if” but “when,” and contaminated products can cause skin infections and scalp irritation. A broad-spectrum preservative protects against all three types of microorganisms.
Popular options for home formulators include liquid Germall Plus, which works across a wide pH range and is effective at just 0.1–0.5% of the total formula weight. Optiphen or Optiphen Plus are other common choices. Each preservative has specific pH ranges and temperatures where it performs best, so check the manufacturer’s data sheet before choosing one for your formula.
Natural alternatives like rosemary extract or vitamin E are antioxidants, not preservatives. They slow the oxidation of oils but do nothing to prevent microbial growth in water-based products. Using them in place of a real preservative is one of the most common and potentially harmful mistakes in DIY formulation.
Testing and Storing Your Products
Before making a large batch, make a small test batch (100–200 grams total) and observe it over a few weeks. Leave it at room temperature and check for changes in color, texture, and smell. If the emulsion separates into layers, your ratio of emulsifier to oil is off or you didn’t blend long enough. If it develops an off smell or visible specks of mold, your preservative system isn’t working.
Commercial manufacturers test stability by exposing samples to different temperatures and humidity levels over weeks or months. You can do a simplified version at home: keep one sample at room temperature, one in the refrigerator, and one in a warm spot (not direct sunlight). If the warm sample separates or changes within two weeks, the formula needs work.
Store your finished products in clean, airtight containers. Pump bottles or squeeze tubes are better than open jars because dipping your fingers into a product repeatedly introduces bacteria. Keep them out of humid environments like a steamy shower shelf, and never add water to a product that’s drying out, as this dilutes the preservative and invites contamination. A well-preserved and properly stored homemade shampoo or conditioner typically lasts three to six months.
Adjusting for Your Hair Type
Once you have a basic formula that works, you can customize it. For oily hair, increase your primary surfactant percentage slightly (by 1–2%) or swap in a stronger cleansing surfactant. For dry or curly hair, reduce the surfactant concentration, increase the conditioning oil in your conditioner, or add a small amount (1–2%) of a humectant like panthenol to the cool-down phase.
Fine hair often gets weighed down by heavy oils like castor or avocado. Stick to lighter options like argan or grapeseed oil in your conditioner. Thick or coarse hair benefits from richer formulas with a slightly higher percentage of cetyl alcohol and heavier oils. Make one change at a time between batches so you can tell what actually made the difference.

