What to Use Instead of Vegetable Oil in Cake
In this article
Many cake recipes call for vegetable oil because it is neutral and keeps crumb moist, but you can swap in other fats with equal or better results. The direct answer: use melted butter, canola oil, sunflower oil, or applesauce, depending on the texture you want. Each substitute changes flavor, moisture, and density, so match it to the cake you are baking.
Quick answer: Replace 1 cup vegetable oil with 1 cup melted butter, 1 cup canola or sunflower oil, or ¾ cup applesauce (reduce sugar by ¼ cup).
Why Vegetable Oil Is in Cake and What Replaces It
Vegetable oil is a liquid fat that coats flour proteins, limiting gluten formation and producing a tender, moist crumb. It stays liquid at room temperature, so oil-based cakes remain soft even when cold. Butter, in contrast, is solid at room temperature; when melted it behaves like oil, but when creamed it adds air and structure. Applesauce adds moisture with almost no fat, which changes the texture to a denser, more pudding-like crumb.
Common misconception: you must use exactly the same amount of any fat. Actually, butter contains about 80% fat and 15% water, so replacing oil 1:1 with melted butter works in most cakes, but the extra water can make the batter slightly thinner. Applesauce is mostly water, so you need less of it and you may need to cut sugar to balance sweetness.
Rule of Thumb for Substituting Oil in Cake
Use this simple guide for most standard cake recipes (1 cup oil = 240 ml):
| Substitute | Amount | Texture change |
|---|---|---|
| Melted butter | 1 cup (226 g) | Richer flavor, slightly denser crumb |
| Canola or sunflower oil | 1 cup (240 ml) | Same as vegetable oil, neutral |
| Applesauce | ¾ cup (180 g) | Denser, more moist, less fat |
| Greek yogurt | ½ cup (120 g) + ¼ cup (60 ml) milk | Tangy, very moist, lower fat |
| Olive oil (light) | 1 cup (240 ml) | Fruity flavor, use in spice or citrus cakes |
| Coconut oil (melted) | 1 cup (240 ml) | Subtle coconut flavor, solid when cool |
For cakes that rely on creaming (like pound cake), use butter at room temperature and cream it with sugar instead of melting. For quick breads and muffins, melted butter or oil works fine.
Butter: Melted vs. Creamed
If the recipe says “vegetable oil,” it expects a liquid fat. Melted butter is the closest 1:1 swap. Use unsalted butter and add ¼ teaspoon salt per ½ cup butter if the recipe originally called for salted butter. Melt it and let it cool slightly before mixing so it does not cook the eggs.
If you want a fluffier, more aerated cake, cream softened butter with sugar for 2-3 minutes until light and fluffy, then add eggs and dry ingredients. This method works for butter-based cakes, but it changes the mixing method: you will need to follow a creamed-cake procedure, not the oil method. For a boxed mix, melted butter is easiest and gives a richer flavor.
Applesauce and Other Fruit Purees
Applesauce replaces oil at ¾ cup per 1 cup oil. Because it adds moisture and sweetness, reduce the sugar by about ¼ cup (50 g) to avoid a gummy crumb. The cake will be denser and more like a coffee cake. Other purees: mashed banana (1 cup), pumpkin puree (1 cup), or prune puree (¾ cup) work similarly, but each adds its own flavor. Banana and pumpkin also add color and fiber. For a neutral result, applesauce is the safest.
When using purees, expect a slightly longer bake time because the batter is heavier. Check for doneness with a toothpick inserted in the center; it should come out clean or with a few moist crumbs.
Yogurt and Sour Cream
Greek yogurt or sour cream can replace half the oil. For 1 cup oil, use ½ cup yogurt plus ¼ cup milk to keep the batter fluid. This adds tang and protein, and the cake will be very moist but slightly more dense. Use full-fat yogurt for best texture; non-fat may make the cake dry. If the recipe already has buttermilk or milk, you can reduce that liquid by the amount of milk you add.
Olive Oil and Coconut Oil
Light olive oil works as a 1:1 replacement and adds a mild fruity note that suits orange, lemon, or spice cakes. Extra-virgin olive oil has a stronger flavor; use it only when you want that taste, like in an olive oil cake. Coconut oil, melted, is also 1:1, but it solidifies at room temperature, so the cake may feel firmer when chilled. Use refined coconut oil for a neutral flavor, or unrefined for a coconut taste.
What Not to Use
Do not use mayonnaise or salad dressing as a direct swap unless a recipe specifically calls for it. Mayonnaise contains eggs and oil, but it also has vinegar and seasonings that will alter the flavor. Avoid using shortening as a liquid oil substitute; shortening is solid and needs to be creamed with sugar, not melted into the batter. Also avoid using nut oils like walnut or hazelnut in large amounts because their flavors are strong and they can go rancid quickly.
Adjusting for Texture and Baking Time
When you swap fats, the batter consistency changes. If the batter seems too thick after substituting, add 1-2 tablespoons of milk. If too thin, add 1-2 tablespoons of flour. Bake at the same temperature as the original recipe, but check for doneness 5 minutes earlier because some substitutes (like applesauce) can make the cake sink if overbaked. Use a toothpick test: insert in the center, and it should come out with a few moist crumbs, not wet batter.
For cakes with a delicate crumb (like angel food), do not substitute oil at all; those rely on the exact structure. For boxed mixes, any of the above swaps work, but note that butter and applesauce will change the texture from the intended light crumb to a more homemade, denser crumb.
Storing Cakes Made with Substitutes
Cakes made with butter or coconut oil should be stored at room temperature in an airtight container for up to 3 days. Cakes with applesauce or yogurt are more perishable; refrigerate them after 2 days and bring to room temperature before serving. Most cakes freeze well for up to 3 months; wrap tightly in plastic wrap and then foil. Thaw overnight in the refrigerator.
If you used yogurt or applesauce, the cake may be more prone to mold because of the added moisture, so refrigerate sooner rather than later.