You’re halfway through a brownie batter and the oil bottle is empty. You need an oil substitute in baking that actually works — not a guess that leaves you with a dry brick.
Good news: most of them are already in your kitchen. Butter, another oil, applesauce, yogurt — all can stand in for oil, but they don’t behave the same way, so the right swap depends on what you’re baking and whether flavour, texture or cutting fat matters most.
The quick answer
Ratios are per 1 cup of oil.
| Swap | How much | Best for | Watch out for |
|---|---|---|---|
| Melted butter | 1 cup | Cakes, brownies, cookies | Denser crumb |
| Canola, sunflower, avocado oil | 1 cup | Anything | Almost no change |
| Olive oil | 1 cup | Chocolate, citrus, spice cakes | Shows in vanilla bakes |
| Coconut oil, melted | 1 cup | Brownies, cookies, quick breads | Unrefined tastes like coconut |
| Unsweetened applesauce | ¾ cup | Muffins, quick breads, spice cake | Denser, sweeter |
| Greek yogurt | 1¼ cups | Cakes, muffins | Tangy |
| Sour cream or full-fat mayo | 1 cup | Cakes, muffins, brownies | Heavy |
| Mashed banana or pumpkin purée | ½ cup | Banana bread, chocolate, spice cake | Strong flavour |
1. Melted butter — the safest swap of all
Ask most bakers for the single best oil substitute and they’ll say the same thing: melted butter. Butter is mostly fat, just like oil, so it coats the flour in the same way and keeps the crumb tender.
Use the same amount. Half a cup of oil becomes half a cup of melted butter, which is exactly one stick. Melt it fully, then let it cool until it’s just warm before you pour it in — hot butter can scramble the eggs in your batter.
What changes? Flavour, for one: butter tastes like butter, and a cake made with it tastes richer, more like something from a bakery. Texture, for another: the crumb comes out slightly denser, because butter is only about 80% fat — the rest is water and milk solids — while oil is 100% fat. Those milk solids also mean your cake may brown a little faster, so if your oven runs hot, check five minutes early.
Butter is the swap I’d reach for in a boxed cake mix — it turns a mix that tastes like a mix into something that tastes homemade.
2. Another neutral oil — canola, sunflower or avocado
Sometimes the easiest substitute for oil is just a different oil. If your recipe calls for vegetable oil and you’ve got canola, sunflower, grapeseed or avocado oil, swap it 1:1 and carry on — same amount, same bake time, same result, and nobody at the table will notice.
If you’re swapping the other way — oil for butter — the ratio flips, and our substitute finder covers that swap too.
Avocado oil is the workhorse of the group. Refined avocado oil has a smoke point around 480°F, higher than most oils in the cupboard, and it tastes buttery rather than grassy. It’s also the priciest of the bunch, so save it for recipes where it earns its keep and use canola for everyday baking.
One caveat: “vegetable oil” usually means a refined, neutral blend. If you’re swapping in a cold-pressed or unrefined oil, the flavour will be stronger than you expect — check the label first.
3. Olive oil — yes, but pick the right bottle
This is the swap people argue about most, so let’s settle it: yes, you can replace vegetable oil with olive oil in baking, one for one. Cakes, muffins, brownies and quick breads all come out fine. What trips people up isn’t chemistry — it’s flavour and heat.
Extra virgin olive oil smokes around 375–410°F depending on the bottle, while refined or “light” olive oil holds up to about 465°F. Most cakes bake at 325–375°F, and the batter sits a little cooler than the oven while its moisture evaporates, so at normal baking temperatures the smoke point is a non-issue. If a recipe bakes at 400°F or above, reach for the light olive oil and keep an eye on the colour.
Flavour is the real decision. A peppery extra virgin adds a fruity depth that suits chocolate cake, citrus loaf, banana bread and anything with warm spices. In a plain vanilla sponge or a pale sugar cookie, that same note sticks out like a wrong ingredient. For delicate bakes, use a mild or light olive oil, which is nearly neutral. One small bonus: cakes made with olive oil tend to stay tender a day longer than butter-based ones, because the oil stays liquid at room temperature instead of firming up in the fridge.
4. Coconut oil — 1:1, with a flavour warning
Coconut oil swaps 1:1 for vegetable oil, but there’s a fork in the road: refined or unrefined. Refined has been stripped of its coconut flavour, so it behaves like a neutral oil. Unrefined (often labelled virgin) tastes unmistakably of coconut — wonderful in a chocolate brownie, a surprise nobody asked for in a vanilla cupcake.
Coconut oil is solid below about 76°F, so melt it first and let it cool to lukewarm, same as butter. Measure it after melting, not before — a cup of solid coconut oil isn’t the same amount as a cup of melted. It works best in brownies, cookies and quick breads, where a slightly denser crumb is part of the charm.
5. Unsweetened applesauce — the low-fat swap
If you’re swapping oil to cut fat rather than because the bottle’s empty, unsweetened applesauce is the classic move. It keeps a cake moist through water and natural sugars instead of fat — a tablespoon of oil is about 120 calories and 14 grams of fat, while applesauce is a fraction of that.
The ratio is ¾ cup of applesauce for every 1 cup of oil — 6 tablespoons if your recipe calls for ½ cup. Two rules keep this one honest. First, use unsweetened: sweetened applesauce throws off the sugar balance and can make the cake gummy. Second, don’t swap all the oil unless the recipe is forgiving — replacing half preserves the structure while still cutting fat. Full swaps work best in muffins, quick breads and spice cakes.
Because applesauce adds water, pull back a little liquid elsewhere — about 2 tablespoons less milk or water for every ½ cup of applesauce. Expect a slightly longer bake, so test with a skewer rather than trusting the timer.
6. Greek yogurt or sour cream — the tangy swap
Plain Greek yogurt is one of the more underrated oil substitutes: moisture, a bit of protein and a gentle tang that works beautifully in chocolate and spice cakes. The ratio is different from the others — 1¼ cups of yogurt for every 1 cup of oil, or a scant ⅔ cup if the recipe calls for ½ cup.
Sour cream is simpler: swap it 1:1, same as butter. Full-fat mayonnaise works the same way, and yes, it sounds odd until you remember that mayo is mostly oil and egg. All three make the crumb rich and moist, and all three add a faint tang that suits chocolate better than vanilla. Too much of any of them can make a cake sink in the middle, so swap only half the oil in a layer cake.
7. Mashed banana or pumpkin purée — the flavour swap
Mashed banana replaces oil at about half the volume: ½ cup of banana for every 1 cup of oil, and pumpkin purée works the same way. Both add moisture and natural sweetness, and both bring a flavour that has to suit the recipe — banana in a chocolate cake is a treat, banana in a lemon drizzle is a mistake.
These purées shine in banana bread (obviously), chocolate cake, spice cake and muffins. Like applesauce, they’re best as a partial swap in anything delicate: replace half the oil, keep the rest.
Swaps that don’t work
A few honest warnings. Don’t just leave the oil out: fat coats flour, keeps the crumb tender and carries flavour, so a cake baked with no fat replacement at all comes out dry, crumbly and stale within hours. If you’ve got nothing else, even a spoonful of milk and a spoonful of yogurt is better than nothing.
Don’t use water as a straight swap. It adds moisture but no fat, so the crumb turns tough and rubbery instead of tender. And don’t reach for low-fat spreads or “light” butter — they’re mostly water, which throws off the recipe’s liquid balance.
Finally, don’t use oil in a recipe that depends on creaming butter and sugar. Classic pound cake, yellow cake and red velvet rely on beating solid butter with sugar to trap air — that’s what gives them their lift, and oil can’t do that job because there’s nothing solid to hold the air. If a recipe starts with “cream the butter and sugar”, keep the butter.
How to adjust the rest of the recipe
Most swaps need no other changes, but a couple of small tweaks help. Fruit purées and yogurt add water, so trim a couple of tablespoons of milk or water from the recipe when you use them. Butter adds water too, though usually not enough to worry about.
Wetter batters take a few minutes longer, so start checking with a skewer at the recipe’s stated time. And watch the pan: dark metal absorbs more heat, and olive oil or butter will brown the edges faster in it — if your cake is colouring too quickly, drop the oven by 25°F.
A worked example: brownies with no oil
Say your brownie recipe calls for ⅓ cup of oil and the bottle’s empty:
- Melted butter: ⅓ cup, melted and cooled — richer, denser, fudgier. My first choice.
- Applesauce: ¼ cup unsweetened, plus 1 tablespoon less water or milk. Lighter, still moist, a little cakier.
- Olive oil: ⅓ cup of a mild olive oil — chocolate loves it.
- Coconut oil: ⅓ cup melted refined coconut oil. Fudgy, with no coconut flavour if you use refined.
- Greek yogurt: a scant ½ cup — dense, moist, faintly tangy.
Any one of those gives you brownies worth eating.
Frequently asked questions
Can I use olive oil instead of vegetable oil in a cake?
Yes, 1:1, in most cakes. Use a mild or light olive oil for vanilla and other delicate flavours, and save the peppery extra virgin for chocolate, citrus or spice cakes. At 325–375°F, heat isn’t a worry.
What’s the best oil substitute for brownies?
Melted butter, same amount as the oil — it makes brownies richer and fudgier. For a lighter version, unsweetened applesauce at ¾ the amount works well too.
Can I just leave the oil out of a recipe?
No — the bake will come out dry and crumbly. If you have no substitute at all, use a mix of milk and yogurt to add back some moisture, but expect a denser result.
How much applesauce replaces ½ cup of oil?
6 tablespoons of unsweetened applesauce. Reduce the recipe’s other liquid by about 2 tablespoons and expect a slightly denser crumb and a couple of extra minutes in the oven.
Can I use butter instead of oil in a boxed cake mix?
Yes, and it’s one of the best upgrades you can make to a boxed mix. Use the same amount of melted butter as the oil on the box, let it cool slightly first, and the cake will taste noticeably richer.
Does swapping oil change the bake time?
Not by much. Butter, neutral oils and coconut oil need no change at all. Fruit purées and yogurt add moisture, so give those bakes an extra few minutes and test with a skewer.
Find your swap in seconds
Next time the oil bottle runs dry mid-recipe, you don’t need to guess. Melted butter is the safest all-rounder, another neutral oil is the invisible swap, and applesauce or yogurt will get you there if you’re cutting fat. The ratio matters more than the ingredient — get that right and the bake takes care of itself.
If you’re juggling other missing ingredients too, our free substitute finder covers swaps for butter, sugar, eggs, milk and more, with the same kind of ratios. The sugar substitute guide and the butter substitute guide cover the other two most common gaps.
