Citric acid is a weak organic acid derived from citrus fruits, and in shampoo bars it is used in small amounts as a true multi-tasker. Its main roles are pH adjustment, chelation in hard water, and product stability. The exact job it does depends a little on whether you are making a surfactant-based shampoo bar or a traditional soap-based bar.

1. pH adjustment for hair-friendly performance

Hair and scalp naturally sit at a mildly acidic pH of around 4.5-5.5. Citric acid is commonly used in syndet shampoo bars - bars made with synthetic detergents like sodium cocoyl isethionate - to bring the final pH down into that acidic range. This helps:

  • Smooth the hair cuticle
  • Reduce frizz and tangling
  • Improve shine
  • Avoid the rough, stripped feeling that can come from a higher pH

In traditional lye-based cold process shampoo bars, the pH naturally remains alkaline, and adding enough citric acid to make the bar truly acidic would break the soap structure. In those bars, citric acid is used for a different primary purpose: chelation.

2. Chelating agent for hard water protection

Citric acid is excellent at binding to minerals such as calcium, magnesium, and iron found in hard water. In a shampoo bar, this helps prevent those minerals from reacting with the surfactants or soap to form film, soap scum, or dulling deposits on the hair. The result is:

  • Better lather, even in hard water
  • Easier rinsing
  • Less mineral buildup on the hair and scalp
  • Softer, cleaner-feeling hair

3. Preservative booster and antioxidant support

Many preservatives work more effectively at a lower pH, so citric acid helps create an environment where preservatives can do their job properly. It also chelates trace metals that can accelerate oxidation and rancidity, which is especially useful in shampoo bars that contain oils, butters, or other oxidation-sensitive ingredients. In short, citric acid can help extend shelf life and keep the bar fresher longer.

4. In soap-based shampoo bars: sodium citrate formation

In cold process shampoo bars, citric acid reacts with sodium hydroxide lye to form sodium citrate, which acts as the chelating agent. However, because citric acid consumes some of the lye, you must compensate by adding extra sodium hydroxide. As a general guideline:

  • 1 gram of citric acid neutralizes about 0.624 grams of NaOH
  • If using potassium hydroxide, 1 gram of citric acid neutralizes about 0.876 grams of KOH

This lye adjustment is only needed in true lye-based soap bars. In syndet shampoo bars, no lye correction is required.

How much citric acid should you use?

A typical usage rate is around 0.5-3% of the total batch weight. It is best to dissolve citric acid in a small amount of distilled water or glycerin before adding it to the formula, and to adjust the pH gradually while testing. Using too much can lower the pH too far, affect viscosity or texture, or cause instability in some formulations.