Most cake mixes call for oil, but you can swap in melted butter, applesauce, yogurt, or even mayonnaise with good results. The best substitute depends on what you have and what texture you want: butter gives the richest flavor, applesauce makes a moist, lighter crumb, and yogurt adds protein and tenderness. For a quick rule of thumb, replace 1 cup of oil with 1 cup of melted butter, or 3/4 cup of applesauce or yogurt, and adjust the liquid if the batter looks too thick.
What Each Substitute Does to the Cake
Oil makes cakes tender and moist because it coats flour proteins and prevents them from forming too much gluten. Butter adds flavor but also contains water and milk solids, so it changes the texture slightly. Applesauce and yogurt are lower in fat, so they make a denser, more muffin-like cake. Mayonnaise works because it is mostly oil and egg, giving a very moist, rich crumb. Greek yogurt is thicker than regular yogurt, so you may need to add a tablespoon or two of milk to keep the batter pourable.
The Quick-Answer Substitution Chart
Here is a quick reference for replacing 1/2 cup of oil (the usual amount in a standard 15.25-ounce cake mix):
| Substitute | Amount for 1/2 cup oil | Texture and flavor |
|---|---|---|
| Melted butter or margarine | 1/2 cup (1 stick) | Richer flavor, slightly firmer crumb |
| Applesauce (unsweetened) | 1/2 cup | Moist, soft, mild apple flavor; lower fat |
| Plain yogurt (or Greek, thinned) | 1/2 cup | Tender, slightly tangy, more protein |
| Mayonnaise | 1/2 cup | Very moist, rich, neutral flavor |
| Mashed banana or pumpkin puree | 1/2 cup | Dense, moist, adds fruit flavor |
| Vegetable shortening (melted) | 1/2 cup | Closest to oil in texture |
If your cake mix calls for 1/3 cup or 1/4 cup of oil, use the same amount of the substitute. For applesauce or yogurt, you might need to reduce the water or milk in the mix by 1 to 2 tablespoons if the batter seems too loose.
How to Swap Without Ruining the Batter
Melt butter and let it cool slightly before adding, so it does not cook the eggs. For applesauce or yogurt, stir them in gently and check the batter: it should be thick but pourable. If it is too stiff, add milk or water one tablespoon at a time until it looks like the usual cake batter. If it is too thin, add a tablespoon of flour. Bake at the temperature on the box (usually 350°F / 175°C for 25–35 minutes, until a toothpick inserted in the center comes out clean).
When You Use Applesauce or Yogurt: Adjust the Sugar and Baking Time
Applesauce and yogurt are less sweet than oil, so you may want to add 1 to 2 tablespoons of sugar to keep the cake as sweet as the original. They also add moisture, so the cake may take a few minutes longer to bake. Check at the minimum time on the box, then add 2–3 minutes at a time until the toothpick test is clean. The cake will be a bit more delicate, so let it cool in the pan for 10 minutes before turning out.
What About Using Butter? A Note on Flavor and Texture
Butter makes a cake that tastes more homemade, but it also has about 15% water, so the crumb can be slightly denser. To get the closest texture to oil, use clarified butter or ghee, which has the water removed. If using salted butter, you may want to reduce the salt in the mix by a pinch, but it is usually fine to leave it. Melt the butter and let it cool to room temperature before mixing.
For a Vegan or Dairy-Free Cake Mix
Use applesauce, mashed banana, or a neutral-flavored oil like canola or sunflower instead of butter or yogurt. For a vegan substitute that mimics oil’s moisture, use 1/2 cup of unsweetened applesauce plus 1 tablespoon of melted coconut oil or vegetable oil. If the mix has a pudding packet or other dairy ingredients, check the label—many are dairy-free, but some are not. When in doubt, read the ingredient list on the box.
Storing Cakes Made with Substitutes
Cakes made with applesauce, yogurt, or banana are more perishable than oil-based ones because they contain fruit or dairy. Store them in an airtight container in the refrigerator for up to 4 days, and let them come to room temperature before serving for the best flavor. Butter-based cakes can sit covered at room temperature for 2–3 days, but refrigerate if your kitchen is warm. All cakes can be frozen for up to 2 months: wrap tightly in plastic wrap and then foil, and thaw overnight in the fridge.
What If You Have No Oil and No Substitutes?
You can also use an equal amount of melted coconut oil (measure it melted), or even a neutral-flavored salad dressing like Italian, but that will add herbs and vinegar, so only use it if you want a savory twist. In a pinch, you can omit the oil entirely and add one extra egg plus 2 tablespoons of water or milk—this will make a slightly denser, more cake-like texture. For a standard mix, that means using 3 eggs instead of the usual 2 or 3, depending on the box.
Cake Mix with Oil Substitute: Common Questions
Can I use olive oil instead of vegetable oil?
Yes, but use a light or mild olive oil, not extra-virgin, because the strong flavor can overpower a delicate cake. The texture will be the same as with vegetable oil.
Does applesauce change the baking time?
Yes, it can add a few minutes because it adds moisture. Start checking at the shortest time on the box and add 2–3 minutes as needed.
Can I use sour cream instead of oil?
Yes, use the same amount of sour cream as oil. It will make a very moist, tender cake with a slight tang, similar to yogurt. You may need to add a tablespoon of milk if the batter is too thick.
What is the best substitute for a boxed white cake mix?
Melted butter or applesauce both work well. Butter gives a richer flavor that pairs nicely with vanilla; applesauce keeps the cake white and moist without adding color.
Spotted a mistake? Tell us and we will correct it. How we write and check articles.