You can substitute butter in cookies with equal amounts of coconut oil, margarine, or shortening for a similar texture, or with applesauce, mashed banana, or Greek yogurt for a softer, lower-fat cookie. The best swap depends on the cookie type and the texture you want. For crisp edges and a chewy center, use a solid fat like coconut oil or margarine; for cakey, soft cookies, use a fruit or yogurt puree.
Butter’s Job in Cookies: Fat, Flavor, and Spread
Butter does three things in a cookie: it adds fat for tenderness, water for steam and spread, and flavor. It also helps cookies brown. When you swap it, you replace some or all of those jobs.
Butter is about 80% fat and 15-20% water. That water turns to steam in the oven, helping cookies spread and stay soft. Solid fats like coconut oil or shortening have less water, so cookies spread less and are more tender. Liquid oils (like vegetable or olive oil) make cookies spread more and turn out denser and chewier.
Best 1-for-1 Substitutes for Butter in Cookies
Use these in the same amount as the butter the recipe calls for. For example, if the recipe says 1/2 cup (1 stick, 113 g) butter, use 1/2 cup of the substitute.
| Substitute | Ratio | Texture Result | Flavor Note |
|---|---|---|---|
| Coconut oil (solid) | 1:1 | Crisp edges, tender center | Mild coconut flavor; use refined for neutral |
| Margarine (stick, 80% fat) | 1:1 | Closest to butter | Buttery flavor, often salted |
| Shortening (vegetable) | 1:1 | Very tender, less spread | Neutral, no flavor |
| Applesauce (unsweetened) | 1:1 | Cakey, soft, less spread | Sweet apple flavor |
| Mashed banana | 1:1 | Dense, moist, cakey | Strong banana flavor |
| Greek yogurt (plain) | 1:1 | Soft, cakey, slightly tangy | Tangy, adds protein |
| Vegetable oil | 3/4 cup oil per 1 cup butter | Dense, chewy, spreads more | Neutral |
Rule of thumb: For every 1 cup (2 sticks, 226 g) butter, use 3/4 cup (180 ml) oil. Oil is 100% fat, so using the same volume makes cookies greasy and flat.
When to Use Each Substitute: A Quick Decision Guide
For chewy, classic chocolate chip cookies
Use stick margarine or solid coconut oil. They mimic butter’s fat and water balance. Coconut oil gives a slightly crisper edge; margarine is nearly identical. Avoid applesauce or yogurt here—they make the cookie cakey and soft, not chewy.
For soft, cakey sugar cookies or snickerdoodles
Use applesauce or Greek yogurt. Replace half the butter with applesauce for a softer texture without losing all the butter flavor. For example, if the recipe calls for 1 cup butter, use 1/2 cup butter and 1/2 cup applesauce. This cuts fat and calories while keeping the cookie tender.
For vegan or dairy-free cookies
Use solid coconut oil, vegan stick margarine, or shortening. Coconut oil works well in most recipes. For a neutral flavor, choose refined coconut oil (unrefined tastes like coconut). Shortening gives a very tender crumb but no flavor, so add a pinch of salt or vanilla to compensate.
Worked Example: Adapting a Butter Cookie Recipe
Take a classic sugar cookie recipe that calls for 1 cup (2 sticks, 226 g) butter, 1 cup (200 g) sugar, 1 large egg, 2 cups (250 g) all-purpose flour, 1/2 tsp baking soda, and 1/2 tsp salt.
If you want a soft, cakey cookie, use 1/2 cup (1 stick, 113 g) butter and 1/2 cup (120 g) applesauce. The dough will be wetter, so chill it for 30 minutes before scooping. Bake at 375°F (190°C) for 10-12 minutes, until edges are set but centers look slightly underdone. The cookies will be softer and spread less than the butter-only version.
If you want a vegan cookie, use 1 cup (224 g) solid coconut oil. Cream it with sugar just like butter. The dough may be a bit softer; chill for 20 minutes. Bake at 375°F (190°C) for 10-12 minutes, until golden. The cookies will be crisp at the edges and tender inside.
How Each Substitute Changes the Cookie: Texture and Flavor
Here is what to expect in more detail:
- Coconut oil: Cookies spread less and are more tender. They have a slight coconut flavor unless you use refined. Chill the dough if the oil is too soft.
- Margarine: The closest to butter. Stick margarine has a similar fat content. Cookies may spread a bit more and brown faster, so check a minute early.
- Shortening: Cookies are very tender, almost crumbly, and hold their shape well. They lack butter’s flavor, so add 1/4 tsp butter extract or a pinch of salt.
- Applesauce: Cookies are cakey, soft, and spread less. They are lower in fat and calories. Use unsweetened to control sugar. Reduce the liquid in the recipe slightly if the dough is too wet.
- Banana: Cookies are dense, moist, and very banana-flavored. Best in oatmeal or spice cookies. Use ripe mashed banana.
- Greek yogurt: Cookies are soft, slightly tangy, and cakey. They may spread less. Use plain, not flavored.
- Vegetable oil: Cookies are dense, chewy, and spread more. Use 3/4 cup oil per 1 cup butter. They may be greasy if you use the full amount.
Substituting Butter with Oil: The Exact Conversion
If you only have oil, use 3/4 cup (180 ml) oil for every 1 cup (2 sticks, 226 g) butter. This works because oil is pure fat, while butter has water. For half a cup of butter (1 stick, 113 g), use 6 tablespoons (90 ml) oil.
Oil-based cookies are chewier and denser. They also spread more, so chill the dough for 30 minutes before baking to reduce spread. Use a neutral oil like canola or vegetable; olive oil adds a fruity flavor that works in savory cookies but not sweet ones.
Storage and Freezing: Cookies Made with Substitutes
Cookies with fruit or yogurt substitutes have more moisture, so they spoil faster. Store them in an airtight container at room temperature for up to 3 days, or refrigerate for up to 5 days. Cookies with oil or solid fats keep at room temperature for up to a week.
Freeze baked cookies for up to 3 months. Wrap them tightly in plastic wrap and place in a freezer bag. Thaw at room temperature for 30 minutes. You can also freeze the dough: scoop into balls, freeze on a baking sheet, then transfer to a bag. Bake from frozen, adding 2-3 minutes to the baking time.
If you used applesauce or yogurt, the cookies may be more prone to sticking, so line your storage container with parchment paper.
Common Substitution Mistakes to Avoid
Using liquid oil in a 1:1 ratio makes cookies greasy and flat. Always use 3/4 cup oil per 1 cup butter. Using melted coconut oil instead of solid makes cookies spread too much. Chill the dough before baking. Using low-fat margarine (with less than 60% fat) adds water, making cookies tough and flat. Use stick margarine with at least 60% fat. Forgetting to adjust baking time: cookies with fruit purees may need 1-2 minutes less, while oil-based cookies may need 1-2 minutes more. Check at the lower end of the time range.
If you substitute more than half the butter with a fruit puree, the cookies may not brown as well. Brush the tops with a little milk or egg wash before baking to help them brown.
Related
- Substitute for Ritz Crackers in Casserole
- Substitute for French Fried Onions in Casserole
- Substitute for Egg Noodles in Casserole: 7 Easy Swaps
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).
