You probably have a container of baking powder tucked away in your pantry. But if it's been sitting there for months (or even years), you might be wondering whether it's still good to use. After all, no one wants to make a batch of cookies only to find they don't rise properly.

The good news is that baking powder doesn't spoil in the same way fresh ingredients do. However, it can lose its effectiveness over time, which means it may not give your baked goods the lift they need. Here's what to know about how long baking powder lasts, how to test it, and when it's time to replace it.

Does baking powder expire?

Yes, baking powder has a limited shelf life. According to Clabber Girl, a baking powder manufacturer, baking powder can last up to 18 months unopened and six months once opened.

“I'd suggest always abiding by the expiration date,” says Nicole Papantoniou, senior director of Good Housekeeping’s Kitchen & Cooking Lab. “Baking powder loses its leavening ability over time, so it's best to toss it instead of baking with it and realizing too late.”

How to tell if baking powder is still good

Fortunately, there's an easy way to check whether your baking powder is still active, and you won't need any special equipment. All you need is warm water. To test your powder’s freshness, Clabber Girl recommends doing the following:

  1. Fill ⅓ of a cup with warm water.
  2. Add 1 teaspoon of baking powder to the cup and stir.

If the mixture starts bubbling right away, your baking powder is still active.

If there's little to no bubbling, it's likely lost its leavening power and should be replaced. There's no need to add vinegar to this test, as you would when checking baking soda. Baking powder already contains the acid needed to react when combined with liquid.

How to store baking powder

Proper storage can help extend the shelf life of your baking powder and keep it effective for longer. Store baking powder in a tightly sealed container, secured in a cool, dry place, such as a pantry or kitchen cabinet.

If you're not sure how long that container has been sitting in your pantry, don't worry. Just perform the water test before your next baking project to make sure your cakes, muffins, and other favorite treats get the rise they deserve.