Dinners

Butter Replacement for Cookies: 9 Swaps That Work

Updated · By Stir & Share

Total timeprep + cook
25 min
Prep
15 min
hands-on
Cook
10 min
oven or stovetop
Serves
24
as written

Save

Butter Replacement for Cookies: 9 Swaps That Work

When a recipe calls for butter and you’re out, the right swap depends on what the cookie should be: crisp, chewy, cakey, or neutral in flavor. These nine replacements cover the common pantry staples and specialty fats, with amounts and texture notes so you can pick the one that fits.

What Can Replace Butter in Cookies?

Each replacement changes the cookie’s texture and flavor, so match the swap to the cookie you’re making. Use the same weight or volume as the butter called for, unless noted.

1. Coconut Oil (Refined or Virgin)

Use the same amount of coconut oil as butter. Refined coconut oil has a neutral flavor; virgin adds a coconut taste. Solid coconut oil creams like butter, so soften it to room temperature before mixing. Cookies spread slightly less and are tender with a subtle crisp edge. Chill the dough 30 minutes before baking to reduce spread.

2. Vegetable Shortening

Use the same amount of shortening as butter. Shortening is 100% fat, so cookies are more tender and spread less than with butter. They stay soft longer and have no dairy flavor. For a buttery taste, use a butter-flavored shortening. Cream it with sugar the same way you would butter.

3. Olive Oil (Mild or Light)

Use ¾ cup (180 ml) olive oil for every 1 cup (227 g) butter. Olive oil is liquid at room temperature, so you can’t cream it. Whisk it with the sugar and eggs until emulsified, then add dry ingredients. The cookies are dense, chewy, and slightly cakey. A mild or light olive oil keeps the flavor neutral; extra-virgin adds a peppery note that suits savory or spice cookies.

4. Applesauce (Unsweetened)

Use ½ cup (120 g) unsweetened applesauce for every 1 cup (227 g) butter, and reduce the liquid in the recipe by 2–3 tablespoons (30–45 ml). Applesauce adds moisture but no fat, so cookies are cakey and soft, not crisp. They brown faster, so check them a few minutes early. This swap works best for drop cookies like oatmeal or spice.

5. Mashed Banana or Avocado

Use ½ cup (120 g) mashed ripe banana or avocado for every 1 cup (227 g) butter, and reduce the sugar by 2 tablespoons (25 g) because both add sweetness. Banana adds a fruity flavor and makes cookies soft and moist. Avocado is neutral in taste and creates a dense, chewy texture. Both make the dough stickier, so chill it for 30 minutes before scooping.

6. Greek Yogurt or Sour Cream

Use ½ cup (120 g) plain Greek yogurt or sour cream for every 1 cup (227 g) butter, and add ¼ cup (60 ml) oil or melted butter to make up the fat. This combo gives a tender, cakey crumb with a slight tang. Reduce the liquid in the recipe by 2 tablespoons (30 ml). Works well for sugar cookies and snickerdoodles.

7. Nut Butters (Peanut, Almond, or Cashew)

Use ½ cup (128 g) nut butter for every 1 cup (227 g) butter, and add ¼ cup (60 ml) oil or melted butter to keep the dough moist. Nut butter adds a rich, nutty flavor and makes cookies dense and chewy. Reduce the sugar by 2 tablespoons (25 g) if the nut butter is sweetened. This swap suits peanut butter cookies, but in other recipes it changes the flavor noticeably.

8. Margarine (Stick, at Least 80% Fat)

Use the same amount of stick margarine as butter. Choose a stick with at least 80% fat; tub margarines have more water and make cookies spread too much. Margarine behaves almost exactly like butter in creaming and baking. Cookies are slightly less flavorful but have a similar texture. Check the label for trans fats if that matters to you.

9. Cream Cheese

Use ¾ cup (170 g) full-fat cream cheese for every 1 cup (227 g) butter, and add 2 tablespoons (30 ml) milk to loosen it. Cream cheese adds tang and makes cookies very soft and slightly chewy. They spread less, so flatten them slightly before baking. This works for sugar cookies and thumbprint cookies.

What Mistakes Do People Make When Swapping Butter?

Most failures come from using a liquid fat in a recipe that needs creaming, or using a low-fat product that adds too much water. Here are the common pitfalls and how to avoid them.

Using a Liquid Fat Without Adjusting

If you swap melted coconut oil, olive oil, or another liquid fat cup-for-cup for butter, the dough will be too wet and the cookies will spread into thin, greasy disks. Reduce the liquid fat to ¾ cup (180 ml) per 1 cup (227 g) butter, and chill the dough for at least 30 minutes before baking. For oil, also reduce the liquid in the recipe by 2–3 tablespoons (30–45 ml).

Choosing a Low-Fat or Whipped Product

Low-fat margarine, light butter, or whipped spreads contain more water and air. They melt faster, make cookies spread too much, and can turn out tough or gummy. Always use full-fat, stick-form replacements. For margarine, check that it has at least 80% fat.

Ignoring the Flavor Change

Extra-virgin olive oil, coconut oil, banana, and nut butters all add strong flavors. If you want a neutral butter taste, choose refined coconut oil, mild olive oil, shortening, or applesauce. If you’re baking a delicate sugar cookie, avoid banana and nut butters unless you want that flavor.

How Much of Each Swap Should You Use?

Here’s a quick reference for replacing 1 cup (227 g) butter in a standard cookie recipe. These amounts are starting points; adjust based on your dough’s consistency.

  • Coconut oil: 1 cup (227 g) solid, softened
  • Shortening: 1 cup (205 g)
  • Olive oil: ¾ cup (180 ml)
  • Applesauce: ½ cup (120 g) plus reduce liquid by 2–3 tbsp
  • Banana or avocado: ½ cup (120 g) plus reduce sugar by 2 tbsp
  • Greek yogurt or sour cream: ½ cup (120 g) plus ¼ cup (60 ml) oil
  • Nut butter: ½ cup (128 g) plus ¼ cup (60 ml) oil
  • Margarine (stick): 1 cup (227 g)
  • Cream cheese: ¾ cup (170 g) plus 2 tbsp (30 ml) milk

How Do These Swaps Affect Texture and Baking Time?

Butter is about 80% fat and 15% water. The water creates steam that helps cookies rise and spread. Replacements with more water (applesauce, yogurt, banana) make cookies cakey and soft; those with more fat (shortening, coconut oil) make them tender and dense.

Baking time changes slightly. Cookies made with oil or applesauce may brown faster, so check them 2–3 minutes before the recipe’s stated time. Cookies with shortening or cream cheese may need an extra minute because they spread less and take longer to set. Always bake at the temperature the recipe calls for, usually 350°F (175°C), and look for golden edges and a set center.

Can You Replace Butter in Any Cookie Recipe?

Most drop cookies, bar cookies, and no-bake cookies work with a swap. But some recipes rely on butter’s unique properties: creaming with sugar creates air, and the water content helps gluten develop. For crisp cookies like biscotti or shortbread, use a fat that is solid at room temperature (coconut oil, shortening, or margarine) and cream it properly. For chewy cookies like chocolate chip, oil or yogurt-based swaps work, but the texture will be more cakey than chewy.

If a recipe calls for melted butter (like in some brownie cookies), you can swap in an equal amount of melted coconut oil or mild olive oil without adjusting the liquid. If a recipe calls for cold butter cut into flour (like scones or pie dough), use cold solid shortening or frozen coconut oil cut into small pieces.

How to Store Cookies Made with Butter Substitutes

Cookies made with oil, applesauce, or yogurt stay moist longer but spoil faster because of the added water. Store them in an airtight container at room temperature for up to 3 days, or refrigerate for up to 1 week. Cookies made with shortening, coconut oil, or margarine keep at room temperature for up to 5 days. Freeze baked cookies for up to 3 months in a zip-top bag with the air pressed out. Freeze unbaked dough balls on a baking sheet, then transfer to a bag; bake from frozen, adding 2–3 minutes to the baking time.

What About Vegan or Dairy-Free Butter Replacements?

For vegan cookies, use coconut oil, vegetable shortening, or a plant-based stick margarine (check the label for dairy). For dairy-free but not vegan, use olive oil or applesauce. If you need to avoid soy, choose coconut oil or applesauce; many vegan butters contain soy. Always check the ingredient list for hidden dairy or allergens.

When using vegan butter, use the same amount as regular butter and cream it the same way. Vegan butters often have a lower melting point, so chill the dough for 30 minutes before baking to prevent excess spread.

Quick Fix: What If You Only Need a Small Amount?

For a recipe that calls for 2 tablespoons (28 g) of butter, you can use 1½ tablespoons (22 ml) of oil, or 1 tablespoon (15 g) of applesauce plus 1 teaspoon (5 ml) of oil. For a single cookie, you can also use 1 tablespoon (14 g) of mayonnaise (which is mostly oil and egg) as a substitute in a pinch. These small swaps work for binding and moisture, but the texture will be slightly different.

Related

Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.

Spotted an error? Tell us and we will correct it (corrections policy).