The chemistry of crispiness: How ammonium phosphate works
At its core, the inclusion of ammonium phosphate in cookies is a lesson in food chemistry. While the name might sound complex, the science behind it is straightforward. The most common form used in baking is ammonium bicarbonate (E503), also known as baker's ammonia. This compound is a chemical leavening agent, meaning it relies on a chemical reaction to create gas and make dough rise. Unlike baking soda or baking powder, it does not rely on an acid to activate. Instead, its magic is unlocked by heat.
The heat-activated reaction
When cookie dough containing ammonium bicarbonate is heated in the oven, the compound undergoes a thermal decomposition. It breaks down completely into three components: carbon dioxide gas ($CO_2$), water vapor ($H_2O$), and ammonia gas ($NH_3$).
$NH_4HCO_3 \xrightarrow{Heat} NH_3(g) + CO_2(g) + H_2O(g)$
- Leavening: The expansion of the carbon dioxide and ammonia gases creates thousands of small air pockets throughout the dough, which is the leavening effect. This process helps give the cookie its structure and rise.
- Moisture dependence: The ammonia gas has a strong, pungent odor during baking. However, the compound is deliberately used in low-moisture baked goods, such as thin cookies, crackers, and biscuits. The low moisture content and the large surface area allow the volatile ammonia gas to bake out completely, leaving behind no taste or smell. This is why it is not suitable for high-moisture products like cakes or muffins, as the trapped ammonia would result in an unpleasant aftertaste.
The functional benefits in cookies
Food-grade ammonium phosphate is not simply a leavening agent; it's a multi-tool for bakers aiming for specific textural and structural results. Its use provides several distinct advantages that are difficult to replicate with other leaveners.
List of key functional properties
- Achieves maximum crispiness: The rapid gas release at high temperatures, followed by the complete evaporation of the gas, creates a very dry, porous, and brittle crumb. This is the secret to getting a uniquely crisp and snappy texture.
- Controls cookie spread: Ammonium bicarbonate can influence how much a cookie dough spreads during baking. This gives manufacturers more control over the final shape and appearance of the product.
- Enhances browning: The compound can slightly increase the pH of the dough during the baking process, which promotes the Maillard reaction. This is the chemical reaction responsible for browning, leading to a richer color and more complex flavors in the final cookie.
- Provides a clean flavor profile: Because ammonium bicarbonate completely decomposes into gases and water and evaporates fully in low-moisture products, it leaves no solid, chemical-tasting residue behind. This results in a clean, neutral flavor.
Ammonium phosphate vs. other common leavening agents
To understand why a manufacturer would choose ammonium phosphate over more common alternatives, it's helpful to compare their properties.
| Feature | Ammonium Bicarbonate (Baker's Ammonia) | Baking Soda (Sodium Bicarbonate) | Baking Powder (Sodium Bicarbonate + Acid) | |
|---|---|---|---|---|
| Leavening Trigger | Heat only | Requires both acid and moisture | Moisture (single-acting) and/or heat (double-acting) | |
| Flavor Residue | None (in low-moisture products) | Alkaline, can leave a soapy/metallic aftertaste if not enough acid | Depends on formula; can be neutral | A | 
| Ideal For | Very crispy, thin, low-moisture products (cookies, crackers) | Products with acidic ingredients (e.g., buttermilk, brown sugar) | General use in cakes, muffins, biscuits | |
| Texture Produced | Distinctly light, airy, and very crisp | Spreads more, can be chewier, coarser crumb | Tends to produce a softer, more cake-like texture | |
| Gases Released | $CO_2$, $H_2O$, and $NH_3$ | $CO_2$ | $CO_2$ | 
Is ammonium phosphate safe to eat?
Yes, food-grade ammonium phosphates, including ammonium bicarbonate, are considered safe for consumption. Regulatory bodies such as the U.S. Food and Drug Administration (FDA) have designated it as Generally Recognized as Safe (GRAS) when used according to good manufacturing practices. The critical safety factor lies in its appropriate use in products where the ammonia gas can fully vent during the baking process. In the controlled, high-temperature environment of a commercial bakery, this is easily managed. Consumers can find it listed as E342 (i) or (ii) on some international food labels or simply as ammonium phosphate in others.
Conclusion
In essence, why is ammonium phosphate in cookies? It's a precise tool used by food scientists to achieve a specific culinary goal: a superiorly crisp and light texture that cannot be replicated by standard baking soda or baking powder. By leveraging its unique, heat-activated decomposition, manufacturers can ensure a perfect result in low-moisture baked goods without leaving behind any unwanted flavor residue. So, the next time you enjoy a satisfyingly crunchy cookie, you'll know that a little bit of food chemistry played a major role in its perfect texture. For more information on the functional properties of food additives, including phosphates, resources like the Food Chemicals Codex provide detailed standards.