Non-Dairy Butter Substitute for Baking: Ratios & Recipe

Updated November 3, 2026

Total time
2 hr 15 min
prep 15 min · cook 0 min
Serves
1
one portion

Jump to recipe

Non-Dairy Butter Substitute for Baking: Ratios & Recipe

This non-dairy butter substitute for baking is a chilled emulsion of refined coconut oil, neutral oil, and unsweetened plant milk. It makes about 1 cup (225 g), close to the amount of butter many recipes call for, and works especially well in cakes, muffins, quick breads, and some cookies.

Ingredients

  • 1/2 cup plus 1 tablespoon (120 g) refined coconut oil
  • 1/4 cup plus 1 teaspoon (64 ml; about 59 g) neutral oil, such as canola, sunflower, or avocado oil
  • 2 tablespoons plus 2 teaspoons (40 ml) unsweetened soy milk, chilled
  • 1 teaspoon (5 ml) apple cider vinegar or lemon juice
  • 1/2 teaspoon (about 1 g) soy lecithin granules or liquid, optional but helpful for a stable emulsion
  • 1/4 teaspoon (1.5 g) fine salt; omit for unsalted butter replacement

Instructions

  1. Prepare the plant milk. Stir the apple cider vinegar into the cold soy milk and leave it for 5 minutes. It may look slightly curdled; that is expected. This small amount of acidity adds a faint tang and helps the liquids blend. If using lecithin granules, stir them into the milk now and give them a few minutes to soften.
  2. Melt the coconut oil gently. If it is solid, warm it in a small heatproof bowl set over warm water, or use short microwave bursts. Stop as soon as it has melted. Let it cool until just fluid and warm, not hot—roughly 75–85°F (24–29°C). Oil that is hot can warm the milk enough to weaken the emulsion, while oil that is too cool can begin to set during blending.
  3. Blend the liquids. Add the soy milk mixture and salt to a narrow, tall blending cup. With an immersion blender running, slowly pour in the neutral oil, then the melted coconut oil in a thin stream. Keep the blender head submerged so it pulls the liquids together instead of splashing air into the mixture. Blend until the mixture looks smooth, pale, and evenly thick, usually 1–2 minutes.
  4. Check the consistency. Scrape the sides with a clean spatula and blend briefly again if you see clear oil beads or streaks. A little foaming on top is fine. If the coconut oil starts forming tiny firm flecks before the mixture is smooth, gently warm the outside of the container with your hands or set it briefly in lukewarm water, then blend again.
  5. Chill until firm. Transfer the emulsion to a clean, lidded container. Refrigerate for at least 2 hours, until the center is firm enough to scoop or spread. The mixture will firm as the coconut oil cools. It may be a little softer than a block of commercial vegan butter, particularly in a warm kitchen.
  6. Use it in baking. For most recipes, measure this substitute by weight: use 225 g in place of 225 g butter. It also makes approximately 1 cup, but cup measurements can vary with how firmly the chilled mixture is packed. If a recipe calls for softened butter, let the substitute soften until pliable, not shiny or melted. Use it cold and firm for recipes that require cutting butter into flour.

Tips

  • Choose refined coconut oil. It has a mild flavor, so it is less likely to make your cake or cookies taste like coconut. Unrefined coconut oil has a more noticeable coconut aroma and flavor; use it only if that suits the recipe. Coconut oil also makes the substitute firm in the refrigerator, which helps it behave more like a solid baking fat.
  • Keep the ingredients close in temperature. The soy milk should be cold, but the melted coconut oil should be fluid and only slightly warm. A big temperature difference can make the coconut oil seize into little grains before the mixture emulsifies. If that happens, gently warm the container and blend again rather than adding more oil.
  • Use a neutral-tasting plant milk. Unsweetened soy milk works well because it blends smoothly and has a relatively full body. Unsweetened oat milk is a practical swap, though its texture and flavor may be a little different. Avoid sweetened or strongly flavored milk, which can change the taste and browning of baked goods.
  • Expect some recipe-to-recipe variation. Store-bought dairy-free butter sticks are usually the simplest one-for-one substitute, especially for pastry or cookies that depend on a particular fat structure. This homemade version is useful when you want control over the ingredients, but it is not chemically identical to dairy butter. Follow the recipe’s cues for dough texture, and avoid adding extra flour just because the chilled mixture feels firm.

Serving Suggestions

This mixture is designed primarily as a baking ingredient, but it can also be spread on toast or warm rolls after softening briefly at room temperature. Its flavor is mild and lightly tangy rather than exactly like dairy butter. For a savory table spread, add a pinch more salt or a little finely chopped parsley after blending; keep add-ins modest if you plan to use the batch in sweet baking.

For cakes, cupcakes, muffins, and quick breads, use it in the state the recipe requests: softened for creaming with sugar, or melted if the original recipe calls for melted butter. In a creamed cake batter, beat the softened substitute with the sugar until it looks lighter and fluffy, then add the other ingredients as directed. Because homemade emulsions can vary, avoid using it as a direct swap in delicate laminated pastry or recipes where butter’s precise water content is central to the result.

Variations

  • Unsalted baking blend: Leave out the salt for recipes that specify unsalted butter, then season the recipe batter or dough according to its instructions. This makes it easier to control the total salt, especially in sweets where salt is measured carefully.
  • Sunflower-lecithin version: Replace the soy lecithin with 1/2 teaspoon (about 1 g) sunflower lecithin. It helps the oil and milk stay combined without using a soy-derived emulsifier. If you have no lecithin, you can still blend the mixture, but it may separate more readily and need stirring before use.
  • Different neutral oil: Use canola, sunflower, or avocado oil according to what you have. Olive oil can work in savory breads or strongly flavored cakes, but its flavor may stand out in a delicate vanilla cake or sugar cookie. Avoid strongly flavored oils unless their taste fits the recipe.
  • For a quicker, simpler swap: Use a commercial dairy-free butter stick in equal amounts by weight, following the product’s label for salted or unsalted use. Tub-style spreads often contain more water and are softer, so they may make cookies spread more or alter a pastry’s texture. They are generally less dependable than sticks in recipes that call for creaming or cutting in cold butter.

Storage and Reheating

Keep the finished substitute in a clean, airtight container in the refrigerator and use it within 7 days. Refrigerate it promptly after blending rather than leaving it on the counter; the plant milk makes this a perishable mixture. Use a clean utensil each time you scoop some out, and discard it if it develops an unusual smell, color, or appearance.

For longer storage, freeze it in a covered container or in small, measured portions for up to 2 months. Thaw a portion overnight in the refrigerator, then stir or briefly blend it if it looks separated. Do not leave it out to thaw for hours. It does not need reheating: let the amount needed soften at room temperature, or melt it gently only when the baking recipe specifically calls for melted butter. Avoid microwaving the whole batch, since uneven heat can separate the emulsion.

Frequently Asked Questions

Can I replace butter with this in any baking recipe?
It is a reasonable starting point for many cakes, muffins, quick breads, and some cookies, but no substitute behaves exactly like dairy butter in every formula. Butter contributes fat, water, and structure, and commercial dairy-free sticks have their own ingredient balance. For flaky pie crust, laminated dough, or a recipe that depends on a very specific spread pattern, use a firm dairy-free baking stick or a substitute recommended by that recipe.

Should I measure the substitute by cup or by weight?
Weight is more reliable. Use 225 g to replace 225 g butter, or weigh the amount the recipe lists. The batch makes about 1 cup, but volume can shift depending on how cold it is and how tightly it is packed into the measuring cup. If the recipe gives only a cup measure, use a level cup of the chilled, scoopable mixture rather than melting it first.

Can I use almond milk or oat milk instead of soy milk?
Yes. Choose an unsweetened, unflavored version, and use the same 40 ml amount. Soy milk tends to create a creamy emulsion, while other plant milks can vary in thickness and protein content. The substitute should still be usable, but blend carefully and check that it looks smooth before chilling. Avoid sweetened vanilla milk, which can make the finished baked goods taste unexpectedly sweet or flavored.

Why did my mixture separate or turn grainy?
Separation can happen if the oils and milk were at very different temperatures, if the oil was poured in too quickly, or if the mixture was not blended long enough. Grainy flecks usually mean the coconut oil began to harden during blending. Let the container warm slightly until the oil is fluid, then blend again. A small amount of separation after storage can sometimes be corrected with a thorough stir or brief re-blend.

Can I use this substitute in cookies?
Often, yes, especially in drop cookies that use softened butter, but the result may spread differently from a recipe made with dairy butter or a commercial baking stick. Chill the dough if it seems unusually soft, and bake one test cookie before shaping the whole batch if the spread matters. For crisp edges or a carefully controlled cookie shape, a firm store-bought dairy-free stick is usually the more predictable option.

What if I need a dairy-free substitute immediately?
Use a dairy-free butter stick in the quantity the recipe calls for; that is the easiest quick replacement. If you only have oil, the right amount depends on the recipe because oil is entirely fat and does not contain butter’s water. A simple one-for-one swap of liquid oil for butter can make some baked goods greasy or change their texture, so use a recipe specifically written for oil whenever possible.

Related

More recipes to cook

Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes

Spotted an error? Tell us and we will correct it (corrections policy).