Baking ingredients and additives

Peanuts

Legumes that grow underground and are eaten like nuts, used roasted, chopped or as peanut butter in cookies, candies and bars.

Peanuts: A bowl of roasted peanuts in their tan shells with some shelled peanuts with red-brown skins beside it

At a glance

What it is
Underground legumes used like nuts
Role in baking
Crunch, roasted flavor and richness
Common forms
Raw, roasted, chopped, peanut butter, peanut flour
Storage
Airtight and cool; fridge or freezer for longer
Swap for
Almonds, cashews or sunflower seeds

Overview

Botanically, peanuts are legumes, related to peas and beans, not tree nuts, but they are used like nuts in the kitchen. Roasted peanuts go into brittle, peanut butter cookies, candy bars and toppings.

Peanut allergies are common and can be severe, so peanut-containing desserts should be clearly labeled.

What it does in baking

Peanuts bring three things to a dessert: crunch, a deep roasted flavor and fat. Whole or chopped, they add texture to brittle, bars, cookies and toppings, and their natural oil makes every bite taste rich. Roasting is what develops the familiar peanut flavor, which is why most baking recipes call for roasted rather than raw nuts.

Ground into peanut butter, they behave differently. The paste adds fat and some protein to a dough or frosting, which makes cookies tender and dense and gives buttercreams a thick, creamy body with a salty-sweet edge.

Forms you'll find

  • Raw shelled peanuts, for when you want to roast them yourself or control the salt
  • Roasted peanuts, salted or unsalted, ready for brittle, bars and toppings
  • Chopped peanuts, for sprinkling over sundaes or folding into cookie dough
  • Peanut butter, smooth or chunky, for cookies, fillings and frostings
  • Peanut flour or powder, which adds peanut flavor with less fat to doughs and smoothies

How to use it

  • Toast raw peanuts on a sheet pan until fragrant and lightly golden, shaking the pan and watching closely so they don't scorch
  • Chop by hand or pulse briefly in a processor; run it too long and you get peanut butter
  • Use unsalted peanuts unless the recipe asks for salted, or cut back on the recipe's salt
  • Stir natural peanut butter well before measuring so the separated oil goes back into the paste
  • Fold chopped peanuts in at the end of mixing, or stir them into candy syrup right before pouring

Substitutes

SwapHowNote
Almonds or cashewsChop and use in the same amount as the peanutsMilder, sweeter flavor; still a nut allergen
Sunflower seeds or seed butterSwap equally for peanuts or peanut butterCan turn green in baked goods made with baking soda
Almond or cashew butterReplace peanut butter one for oneOften runnier; cookies may spread more

Storage and shelf life

The oil in peanuts goes rancid with heat, light and air, so keep them in an airtight container in a cool, dark cupboard and use them within a few weeks. For longer storage, the refrigerator or freezer keeps them fresh for months; let them come to room temperature before chopping. Commercial peanut butter keeps in the pantry, while natural peanut butter is best refrigerated after opening. Smell or taste before baking: stale peanuts taste bitter or paint-like.

Good to know

  • Label every peanut dessert clearly, since peanut allergies are common and can be severe
  • Wash bowls, boards and scoops well before using them for peanut-free baking
  • Natural peanut butter can make cookies crumbly and greasy; stabilized kinds give a more predictable dough
  • Salted roasted peanuts work well in brittle and caramel, where the salt balances the sugar
  • Add peanuts to toppings after baking or at the end so they stay crisp

Recipes that use it

Common questions

Is a peanut a nut or a legume?

A peanut is a legume, related to peas and beans, and it grows underground. In the kitchen it is treated like a nut, so it is chopped, roasted and ground the same way almonds or cashews are.

Can you use natural peanut butter in baking?

Yes, but stir it very well first and expect a slightly different result. Because it has no stabilizers, the oil can separate in the dough, so cookies may spread more or turn out drier and more crumbly than with regular peanut butter.

Why do my peanuts taste bitter?

They have most likely gone stale or rancid, because their oil breaks down with time, warmth and air. Over-roasting can also make them bitter. Buy what you will use soon and keep extras in the fridge or freezer.