Time: 25 min prep · 10-12 min bake · Serves: 24 cookies · The key step: choose the substitute by the cookie texture you want—crisp, chewy, or cakey—and adjust the liquid and fat ratios accordingly.
When you run out of butter, you can still make great cookies. The best substitute depends on the cookie: coconut oil for chewy, vegetable oil for soft, applesauce for cakey, or shortening for crisp. Each swap changes the flavor and texture, so pick the one that matches the cookie you are making.
Pick the Substitute by the Cookie You Want
Butter is about 80% fat and 20% water. Replacing it means matching both the fat and the moisture. Here is how each substitute behaves:
- Coconut oil (solid, not melted): Use 1:1. Gives a slight coconut flavor and a chewy, slightly crisp edge. Solid coconut oil creams like butter; melted makes cookies spread more.
- Vegetable or canola oil: Use ¾ cup oil for every 1 cup butter (reduce liquid by 1-2 tbsp). Makes cookies soft and cakey, with less spread.
- Applesauce (unsweetened): Use ¾ cup applesauce for every 1 cup butter. Makes cookies very soft and cakey, with a mild apple flavor. Reduce sugar by 2 tbsp because applesauce adds sweetness.
- Shortening (vegetable): Use 1:1. Produces tall, tender, crisp cookies with no butter flavor. Add ½ tsp salt per cup of butter replaced to compensate.
- Greek yogurt (plain, full-fat): Use ¾ cup yogurt for every 1 cup butter. Makes cookies dense and soft, with a tangy note. Reduce liquid by 2 tbsp.
- Mashed banana: Use ¾ cup mashed banana for every 1 cup butter. Adds banana flavor and makes cookies moist and soft. Reduce sugar by 2 tbsp.
For a direct 1:1 swap in most drop cookies, use solid coconut oil or shortening. For a lower-fat option, use applesauce or yogurt, but expect a cakier texture.
Ingredients for the Base Cookie Dough
This recipe makes about 24 medium cookies. Use the substitute you chose from the list above.
- 1 cup (226 g) substitute (solid coconut oil, shortening, or ¾ cup oil/applesauce/yogurt/banana – see notes above)
- ¾ cup (150 g) granulated sugar
- ¾ cup (165 g) packed brown sugar
- 2 large eggs (pasteurized if you plan to eat raw dough)
- 1 tsp vanilla extract
- 2 cups (250 g) all-purpose flour (heat-treated if you plan to eat raw dough)
- ½ tsp baking soda
- ½ tsp salt (omit if using salted shortening)
- 1 cup (170 g) chocolate chips or chopped nuts (optional)
Instructions
- Preheat the oven to 375°F (190°C). Line two baking sheets with parchment paper.
- In a large bowl, beat the substitute, granulated sugar, and brown sugar together until light and fluffy, about 2 minutes. If using oil, applesauce, yogurt, or banana, just mix until combined—no need to cream.
- Add the eggs one at a time, beating well after each. Stir in the vanilla.
- In a separate bowl, whisk the flour, baking soda, and salt. Gradually add the dry ingredients to the wet mixture, stirring until just combined. Fold in the chocolate chips if using.
- Chill the dough for 30 minutes. This step is important for oil-based and applesauce doughs—it prevents spreading.
- Scoop rounded tablespoons (about 1.5 tbsp each) of dough onto the prepared sheets, spacing them 2 inches (5 cm) apart.
- Bake for 10-12 minutes, until the edges are golden and the centers are just set. The cookies will look slightly underdone in the middle; they finish setting as they cool.
- Cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.
What Goes Wrong and How to Fix It
Cookies Spread Too Thin
Oil-based doughs spread more than butter. Chill the dough for at least 30 minutes, and do not skip it. If they still spread, add 2 tbsp extra flour.
Cookies Are Too Cakey
Applesauce and yogurt add moisture, making cookies cakey. To get a chewier texture, reduce the applesauce to ½ cup and add ¼ cup (57 g) melted coconut oil or shortening.
Cookies Are Dry or Crumbly
Shortening and coconut oil can make cookies dry if overbaked. Take them out at the 10-minute mark, when the centers are still soft. Also, measure flour by spooning it into the cup and leveling off—too much flour dries cookies.
No Butter Flavor
Shortening and oil lack butter’s rich taste. Add ½ tsp butter extract (if you have it) or increase the salt by ¼ tsp to boost flavor.
Storing and Freezing These Cookies
Store baked cookies in an airtight container at room temperature for up to 5 days. They stay soft if you add a slice of bread to the container—the bread absorbs excess moisture and keeps cookies tender.
Freeze unbaked dough: scoop the dough into balls, place on a baking sheet, and freeze for 1 hour. Transfer the frozen dough balls to a zip-top bag and freeze for up to 3 months. Bake from frozen, adding 2-3 minutes to the baking time.
Freeze baked cookies: place cooled cookies in a single layer in a freezer-safe container, separated by parchment paper. Freeze for up to 3 months. Thaw at room temperature for 15 minutes before serving.
Make-Ahead Timeline
You can make the dough up to 3 days ahead. Store it covered in the refrigerator, then let it sit at room temperature for 10 minutes before scooping and baking. If you are baking for a party, bake the cookies the day before and store them in an airtight container—they will taste fresh the next day.
Raw Dough Safety
If you want to taste the raw dough, you must heat-treat the flour first: spread the flour on a baking sheet and bake at 350°F (175°C) for 5 minutes, then let it cool completely. Use pasteurized eggs. Keep the dough refrigerated before baking. Pregnant people, young children, older adults, and anyone with a weakened immune system should avoid raw eggs and raw flour.
Related
- Substitute for Parmesan in Pasta Sauce
- Substitute for Evaporated Milk in Casserole
- Substitute for Baking Powder in Muffins
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).
