The best butter replacements depend on what you're baking
The substitute you choose matters because butter does three things in baking: it adds fat for moisture and richness, it creates steam that helps cakes and cookies rise, and it carries flavour. Not every replacement does all three equally well. For cakes and quick breads, oil or applesauce work reliably. For cookies and pastries where texture matters more, coconut oil or dairy-free butter stay closer to what butter does. For brownies and dense cakes, Greek yogurt or sour cream add moisture without making the crumb too heavy.
The swap is not always one-to-one by weight. Some replacements are wetter than butter, others drier. Baking is sensitive to ratio, so a substitute that works in one recipe may fail in another. The sections below cover what each replacement does best, what it costs, and where it falls short.
Key Takeaways
- Oil produces moister cakes but flatter cookies because it does not trap air the way butter does.
- Applesauce cuts fat and calories but can make baked goods dense if you use too much.
- Coconut oil mimics butter's texture in pastries and pie crusts but adds coconut flavour unless you buy refined.
- Dairy-free butter works one-to-one in most recipes but costs more and may brown differently than dairy butter.
- Greek yogurt and sour cream add tang and moisture but work best in cakes and brownies, not cookies.
Oil: the easiest swap for cakes and brownies
Use vegetable, canola, or light olive oil at a ratio of three-quarters cup oil for every cup of butter the recipe calls for. Oil has no water content, so it makes cakes and brownies stay moist longer than butter does. The crumb will be tender and the flavour neutral, which works well when you want the other ingredients — chocolate, vanilla, spices — to stand out.
Oil does not work as well in cookies or pastries. Because oil does not solidify, it cannot trap air bubbles the way cold butter does. Cookies made with oil spread more and bake flatter. Pie crusts and biscuits lose their flaky layers. If you are baking a layer cake or sheet cake, oil is your fastest option. If you are making shortbread or a pie crust, move to a different substitute.
Avoid extra-virgin olive oil unless the recipe specifically calls for it — the flavour is too strong for most baking. Refined coconut oil is neutral enough to use here too, though it costs more than vegetable oil.
Applesauce: the lower-fat choice for cakes
Swap applesauce one-to-one for butter by weight in cakes, muffins, and brownies. Unsweetened applesauce works best so you do not accidentally oversweeten the batter. Because applesauce is mostly water, it adds moisture but less fat, so the finished bake will be slightly less rich and may dry out faster once it cools.
The texture can turn dense if you use applesauce as a full replacement in recipes that rely on butter for lift — particularly angel food cakes or chiffon cakes. In those cases, use applesauce for half the butter and oil or another fat for the rest. Applesauce also works well mixed with oil: use half applesauce and half oil to replace the full amount of butter, which gives you moisture and some fat without the heaviness of all applesauce.
Applesauce is inexpensive and shelf-stable. It adds a faint apple flavour that usually blends into chocolate or spice cakes but may be noticeable in vanilla or lemon bakes.
Coconut oil: the best option for pie crusts and pastries
Use refined coconut oil at a one-to-one ratio for butter in pie crusts, biscuits, scones, and any pastry where flakiness matters. Refined coconut oil has the same solid-at-room-temperature property that makes butter useful for laminated doughs — the kind where you want distinct layers. It produces a crust that is crisp and flaky, closer to what butter gives you than oil alone.
Unrefined (virgin) coconut oil adds a noticeable coconut flavour, which works in some bakes but not others. Stick with refined unless you specifically want that taste. Coconut oil costs roughly twice as much as butter, so it is worth the expense only when texture is the priority.
Coconut oil can brown differently than butter during baking. It may brown faster or slower depending on the brand and the oven. Watch your first batch closely and adjust the oven temperature down by 25 degrees if the edges brown too quickly.
Dairy-free butter: the closest match to real butter
Dairy-free butter (brands like Earth Balance, Miyoko's, or store-brand vegan butter) swaps one-to-one for dairy butter in almost any recipe. These products are formulated to mimic butter's water and fat content, so they behave similarly in baking. Cookies spread at roughly the same rate, cakes rise the same way, and pie crusts flake as expected.
The catch is cost — dairy-free butter runs two to three times the price of regular butter. It also may brown at a different rate or colour than dairy butter, which can affect the appearance of cookies or the top of a cake. Some brands taste noticeably different, so if you are baking something where butter flavour matters (like shortbread), test the brand first.
Dairy-free butter works well when you need a one-to-one replacement and texture is critical. It is less useful when you are already adjusting ratios for another reason, because at that point a cheaper option like oil or applesauce may work just as well.
Greek yogurt and sour cream: for moisture and tang
Use Greek yogurt or sour cream to replace half the butter in cakes, brownies, and quick breads. For example, if a recipe calls for one cup of butter, use half a cup of butter and half a cup of Greek yogurt. The yogurt or sour cream adds moisture and a subtle tang that deepens chocolate and vanilla flavours.
These dairy products are wetter than butter, so using them for the full amount of butter will make the batter too wet and the finished bake dense and gummy. Stick to replacing half. The result is a cake that stays moist for several days and has a tender crumb, but you lose some of the richness that full butter provides.
Greek yogurt and sour cream do not work in cookies or pastries. The water content prevents cookies from setting properly, and pastries will not flake. They work best in chocolate cakes, brownies, and banana bread, where the tang complements the other flavours.
Mashed banana and avocado: specialty swaps
Mashed banana replaces up to half the butter in cakes, brownies, and muffins. It adds moisture and natural sweetness, so reduce the sugar in the recipe slightly — usually by two to three tablespoons per cup of banana. Banana adds its own flavour, which works in chocolate and spice cakes but can overpower vanilla or citrus.
Mashed avocado works similarly to banana but without the sweetness or strong flavour. It is useful when you want the moisture benefit without changing the taste of the bake. Avocado is more expensive than banana and spoils faster, so it is a less practical everyday choice.
Neither banana nor avocado works in cookies, pastries, or anything where you want a crisp texture. Both are best reserved for dense, moist cakes where their flavour fits the recipe.
Frequently Asked Questions
Can I use oil in a cookie recipe that calls for butter?
You can, but the cookies will spread more and bake flatter because oil does not trap air the way cold butter does. Use three-quarters cup oil for every cup of butter, chill the dough longer than usual, and watch the bake time — cookies may finish a minute or two earlier. The result will be chewier than crispy.
What if I mix two replacements together?
Mixing works well and often gives better results than using one substitute alone. Half oil and half applesauce replaces butter one-to-one and produces a moist cake without the density of all applesauce. Half coconut oil and half dairy-free butter works in pastries when you want to stretch the cost of dairy-free butter. Experiment with ratios based on what texture you want.
Does the replacement change how long baked goods stay fresh?
Yes. Cakes made with oil or applesauce stay moist longer than butter cakes because they retain water better. Cakes made with dairy-free butter or coconut oil behave like butter cakes. Baked goods made with Greek yogurt or sour cream dry out faster because the water in those products evaporates. Store them in an airtight container and use within two to three days.
Will the bake taste different if I use a replacement?
It depends on the substitute. Oil, applesauce, and Greek yogurt are flavour-neutral or subtle. Coconut oil adds coconut taste unless refined. Dairy-free butter may taste noticeably different from dairy butter depending on the brand. Banana and avocado add their own flavours. Test a small batch first if flavour is important to the recipe.