Replacing butter in a cookie recipe is straightforward, but the swap changes texture and flavor. The best substitute depends on the cookie: chewy cookies need moisture, crisp cookies need fat that sets hard, and cakey cookies need structure. This guide covers the top butter swaps, exact ratios, and how to adjust baking time so your cookies still come out right.
What Each Butter Substitute Does to Your Cookies
Butter is about 80% fat and 20% water. When you replace it, you are changing both the fat content and the water content. That is why a direct 1:1 swap rarely works without tweaking something else.
Here is what the most common substitutes do:
- Margarine or vegan butter sticks: Closest to butter in fat and water. Use the same amount. Cookies spread a bit more and have a softer texture. Choose sticks, not tub margarine, which has more water and makes cookies spread too much.
- Coconut oil (solid, not melted): Use ¾ cup coconut oil for every 1 cup butter. It is 100% fat, so reduce the flour by about 2 tablespoons per cup of oil to keep the dough from being too greasy. Cookies are crisp at the edges and chewy in the middle, with a mild coconut flavor if you use unrefined oil.
- Applesauce (unsweetened): Use ¾ cup applesauce for every 1 cup butter. It adds moisture but almost no fat, so cookies become cakey and soft, not crisp. They also brown faster. Reduce the oven temperature by 25°F (14°C) and check for doneness 2–3 minutes early.
- Greek yogurt or sour cream: Use ¾ cup for every 1 cup butter. Adds tang and moisture, making cookies dense and soft, similar to a scone. They spread less, so flatten the dough slightly before baking.
- Mashed banana or pumpkin purée: Use ¾ cup for every 1 cup butter. Adds sweetness and flavor, so reduce the sugar by 2 tablespoons per cup of purée. Cookies are very soft and cakey, and they will taste like the fruit.
- Nut butters (peanut, almond, cashew): Use ¾ cup nut butter for every 1 cup butter. Adds protein and fat, making cookies dense and chewy. They spread less, so press the dough with a fork before baking. The flavor will be prominent.
- Shortening (vegetable): Use 1 cup shortening for 1 cup butter. It is 100% fat with no water, so cookies hold their shape and are very tender. They lack butter flavor, so add ¼ teaspoon butter extract or a pinch of salt to compensate.
Ingredients for a Basic Butter-Free Cookie Dough
This base recipe works with any of the substitutes above. It makes about 24 cookies.
- 1 cup (226 g) butter substitute (choose from the list above; for oil or purée, use ¾ cup / 180 ml)
- ¾ cup (150 g) granulated sugar
- ¾ cup (165 g) packed brown sugar
- 2 large eggs (pasteurized if you plan to eat raw dough)
- 1 teaspoon vanilla extract
- 2 cups (250 g) all-purpose flour (heat-treated to 160°F / 71°C if eating raw)
- 1 teaspoon baking soda
- ½ teaspoon salt
- 1 cup (170 g) chocolate chips or chopped nuts (optional)
If using a liquid substitute like applesauce or yogurt, reduce the flour by 2 tablespoons (16 g) to compensate for the extra moisture.
How to Mix and Bake Butter-Free Cookies
- Preheat the oven to 350°F (175°C). Line two baking sheets with parchment paper.
- In a large bowl, beat the butter substitute and both sugars together until light and fluffy, about 2 minutes. If using a liquid substitute, beat for 1 minute only—overbeating makes cookies tough.
- Add the eggs one at a time, beating well after each. Add the vanilla and beat until combined.
- In a separate bowl, whisk the flour, baking soda, and salt. If you heat-treated the flour, let it cool completely before mixing.
- Gradually add the dry ingredients to the wet mixture, stirring with a spatula until just combined. Fold in the chocolate chips if using.
- Chill the dough for at least 30 minutes (or up to 24 hours). Chilling prevents spreading and deepens flavor. This is essential for oil and purée substitutes.
- Scoop the dough into 1.5-tablespoon balls (about 30 g each) and place them 2 inches (5 cm) apart on the baking sheets.
- Bake for 10–12 minutes, until the edges are golden and the centers look slightly underdone. For applesauce or yogurt cookies, check at 8–10 minutes because they brown faster.
- Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely. They will set as they cool.
If you are using a substitute that spreads less (Greek yogurt, nut butter, shortening), flatten each dough ball slightly with your palm before baking.
Mistakes That Ruin Butter-Free Cookies
Using a liquid substitute without adjusting the flour
Applesauce, yogurt, and purées add extra water. If you do not reduce the flour by 2 tablespoons per cup of substitute, the dough becomes too sticky and the cookies spread into flat discs. Always reduce the flour when using these.
Using melted coconut oil or melted margarine
Melted fat makes the dough greasy and the cookies spread too much. Use coconut oil in its solid state (below 76°F / 24°C). If the kitchen is warm, refrigerate the oil for 15 minutes before creaming.
Skipping the chill time
Butter-free doughs are softer and more prone to spreading. Chilling for at least 30 minutes solidifies the fat and makes the dough easier to handle. Skip it and you get thin, crispy cookies instead of chewy ones.
Overbaking because the cookies look pale
Substitutes like applesauce or yogurt do not brown as much as butter. Rely on the edges turning golden and the centers looking slightly soft, not on the overall color. Overbaking dries them out.
Forgetting that nut butters add sweetness
Peanut butter and other nut butters contain sugar. If you use them, reduce the granulated sugar by 2 tablespoons to avoid overly sweet cookies.
How to Store Butter-Free Cookies
Store baked cookies in an airtight container at room temperature for up to 4 days. They stay soft if you add a slice of bread to the container—the bread absorbs excess moisture and keeps the cookies tender. Replace the bread every day.
For longer storage, freeze the unbaked dough balls on a baking sheet until firm, then transfer to a freezer bag. Freeze for up to 3 months. Bake from frozen, adding 2–3 minutes to the baking time. You can also freeze baked cookies in a freezer bag for up to 3 months; thaw at room temperature for 15 minutes before serving.
If you used a dairy-free substitute like coconut oil or vegan butter, the cookies are dairy-free. If you used applesauce or yogurt, they contain dairy only if you used yogurt. Always label containers if you are baking for someone with allergies.
Adjusting the Recipe for Specific Substitutes
For vegan cookies
Use vegan butter sticks or solid coconut oil. Replace the eggs with flax eggs (1 tablespoon ground flaxseed mixed with 3 tablespoons water per egg, rested for 5 minutes). The cookies will be slightly denser. Bake at the same temperature and time.
For low-fat cookies
Use applesauce or Greek yogurt. Expect a cakey texture, not crispy. Add 1 tablespoon of cornstarch to the flour to help absorb moisture and improve structure.
For gluten-free cookies
If you are already replacing butter, use a 1:1 gluten-free flour blend. The dough will be more fragile, so chill it for at least 1 hour. Add 1 teaspoon xanthan gum if your blend does not include it.
For sugar-free cookies
Use a sugar substitute that measures like sugar (e.g., erythritol-based). Note that these substitutes do not caramelize, so cookies will be paler. Add 1 tablespoon of molasses or honey to improve browning, but that adds sugar.
Every substitute changes the cookie’s personality. The best way to find your favorite is to make a small batch with one substitute and compare. Start with margarine or vegan butter for the closest result, then experiment with applesauce or nut butter once you know how the dough behaves.
Related
- How Long to Chill Peanut Butter Cookie Dough
- Butter Pecan Cake Mix Pancakes Recipe
- Butter Pecan Cake Mix Brownies Recipe
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).
