In food, ammonium benzoate is added to water along with other liquid ingredients and added to fruit juices, jams, and pickles for microbial control. Using ammonium benzoate in pharmaceuticals also aids with its incorporation alongside other excipients and actives for binder and dissolvents aiding during tablet and capsule formulation. It is also used in electroplating, where it is added to the pH passivation bath prior to the electroplating to control the pH. There are guidelines set for specific use of these applications and it is crucial to adhere to them and stay compliant to the regulations put in place.