Dairy free butter substitutes

Butter contributes fat, moisture, and flavor to both cooking and baking. For dairy-free cooks, the challenge is finding substitutes that replicate not just the fat content but also butter's water content (roughly 16–18%) and, where it matters, its flavor. The right substitute depends heavily on the application—what works well for sautéing may produce a noticeably different result in a flaky pastry.

Some links below are affiliate links. As an Amazon Associate, AltPantry earns from qualifying purchases at no extra cost to you.

Rank Substitute Ratio (replaces 1 cup butter) Notes
#1 Vegan butter (such as Earth Balance or Miyoko's Creamery) 1:1 — use the same amount as butter called for The closest functional match. Most mainstream vegan butters are formulated to mimic butter's fat-to-water ratio and behave predictably in baked goods, sautés, and spreading. Miyoko's Creamery (cultured cashew-based) produces the closest flavor; Earth Balance (oil-blend-based) is more neutral and widely available. Results in cookies, cakes, and pie crusts are nearly indistinguishable from butter in most recipes. Check the label— some brands have higher water content, which can slightly affect crisping and browning.
#2 Coconut oil (refined) 7/8 cup (14 tbsp / 196g) coconut oil per 1 cup (226g) butter A reliable 1:1 substitute by volume works in most recipes, but butter is ~16% water and coconut oil is 100% fat, so reducing slightly (about 7/8 of the called-for amount) prevents excess greasiness. Use refined coconut oil to avoid coconut flavor; unrefined adds a noticeable coconut taste that suits some baked goods but not others. Works well in cookies, quick breads, and pan-sautéing. Not ideal for recipes needing butter to cream with sugar—coconut oil doesn't aerate the same way, resulting in denser texture.
#3 Olive oil 3/4 cup (180ml) olive oil per 1 cup (226g) butter Works well for sautéing, roasting vegetables, and savory applications where butter's flavor isn't the focal point. The standard conversion accounts for butter's water content—olive oil is pure fat. In baked goods, olive oil produces a moist, somewhat denser crumb and a distinct grassy or fruity flavor that works in some quick breads and muffins but is noticeable in more delicate recipes like vanilla cake or shortbread. Not suitable for spreading or recipes that depend on creaming.
#4 Vegetable oil or canola oil 3/4 cup (180ml) oil per 1 cup (226g) butter A neutral-flavored option for recipes where you want fat without flavor contribution— muffins, pancakes, and some cookies. Same fat-adjustment logic applies as with olive oil. Results in baked goods are moister and less structured than butter; cookies spread more and have a chewier texture rather than crisp edges. Not suitable for creaming, frosting, or any recipe where butter's solid fat at room temperature is structurally important.

Why standard butter isn't dairy free

Butter is made from churned cow's milk cream and contains milk proteins (casein) and lactose, making it off-limits for those with dairy allergies or lactose intolerance. Even clarified butter (ghee) retains trace milk proteins and is generally avoided on strict dairy-free diets.

Butter does more than add fat—it carries flavor, controls texture through its solid state at room temperature, and introduces moisture through its water content. This means dairy-free substitutes perform differently depending on the recipe, and there is no single best answer across all applications. Vegan butter is the default recommendation for baking because it most closely matches butter’s functional properties; oil-based substitutes are better suited to liquid-fat applications like sautéing, quick breads, and muffins.

For any recipe that requires creaming butter with sugar to build structure and aeration—layer cakes, cookies, shortbread—use vegan butter rather than an oil. Oils are liquid at room temperature and cannot trap air the same way solid fat does. In savory cooking, the choice is more flexible: olive oil, canola oil, and coconut oil all perform well for sautéing and roasting, and the flavor difference is manageable or desirable depending on the dish.

Frequently asked questions

Can I use ghee as a dairy-free butter substitute?
No. Ghee is clarified butter—most of the milk solids are removed, which makes it tolerable for some people with lactose intolerance, but it still contains trace milk proteins (casein). It is not suitable for milk allergies or strict dairy-free diets.
Which dairy-free butter substitute works best for baking cookies and cakes?
Vegan butter (Miyoko's Creamery or Earth Balance) is the most reliable. It creams properly with sugar, has a comparable fat-to-water ratio, and produces results closest to butter in texture and structure. Coconut oil works in a pinch but cannot be creamed the same way, leading to denser results.
Will using coconut oil instead of butter make my baked goods taste like coconut?
Only if you use unrefined (virgin) coconut oil. Refined coconut oil has the coconut flavor removed and is largely neutral. If your recipe is sensitive to flavor—like a simple shortbread or vanilla butter cake—refined is the correct choice.

← Back to all butter substitutes