Vegan butter substitutes

Butter contributes fat, moisture, flavor, and structure across a wide range of cooking and baking applications. Replacing it in a vegan context requires matching those functions, and the right substitute depends heavily on what you're making. A swap that works well in sautéed vegetables may produce a greasy or flat result in a layer cake.

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 sticks (such as Earth Balance Buttery Sticks or Miyoko's Creamery Cultured Vegan Butter) 1:1 by weight or volume The closest functional match for most applications. These products are formulated to replicate butter's water-fat ratio, which is critical for lamination, creaming, and browning. Earth Balance is widely available and reliable for everyday baking and cooking; Miyoko's has a cleaner flavor and browns more like dairy butter. Both perform well in cookies, cakes, pie crust, and pan sauces. Spreading consistency is slightly softer than dairy butter when chilled.
#2 Refined coconut oil 7/8 cup (14 tbsp / 196g) per 1 cup (227g) butter Solid at room temperature and liquid when warm, refined coconut oil mimics butter's fat structure reasonably well in baked goods and pan cooking. Use refined (not virgin/unrefined) to avoid coconut flavor affecting the dish. Works well in cookies, quick breads, and roasted vegetables. Does not cream as effectively as butter in layer cakes—results tend to be denser. Contains no water (butter is ~16–18% water), so reduce slightly to avoid greasy output; the ratio above accounts for this. Fails noticeably in applications requiring rich dairy flavor, such as buttercream frosting.
#3 Olive oil (extra-light or light-tasting) 3/4 cup (180ml) per 1 cup (227g) butter A reliable swap in savory cooking, quick breads, and muffins where a liquid fat is acceptable. Olive oil adds no emulsifying or creaming properties, so it cannot replace butter in recipes that rely on air incorporation (e.g., creamed butter and sugar). Extra-light olive oil is recommended over extra-virgin when a neutral flavor is needed. Standard ratio from King Arthur Baking; this accounts for the higher fat percentage of oil versus butter.
#4 Unsweetened vegan plain yogurt or coconut yogurt 3/4 cup (170g) per 1 cup (227g) butter (works only for moisture replacement in baking) A workable substitute specifically when butter is acting primarily as a moisture source in quick breads, muffins, and some cakes. Adds tanginess and tenderness via acidity. Does not provide fat richness or browning, so results are noticeably lighter in flavor and color. Not suitable for frostings, pan sauces, or any recipe where fat is the primary function. Works in a pinch but is a noticeable downgrade in richness.

Why standard butter isn't vegan

Butter is produced from cow's milk, making it an animal-derived product. It contains dairy fat and milk solids, both of which are excluded under a vegan diet. No processing method makes conventional dairy butter vegan-compatible.

The substitute that causes the most confusion in vegan baking is coconut oil, which works adequately in cookies and quick breads but fails in recipes built around the creaming method—the fat doesn’t trap air the same way, and the absence of water changes the dough or batter consistency. For anything where butter’s functional role is central (layer cakes, laminated doughs, pan sauces), a purpose-formulated vegan butter stick is the safest choice by a significant margin.

Olive oil is underused as a vegan butter substitute in savory contexts. In sautéing, roasting, and most quick bread recipes, light olive oil performs just as well as melted butter without any noticeable trade-off, and it’s shelf-stable and widely available. The ratio reduction (3/4 cup oil per 1 cup butter) matters—skipping it and using a full 1:1 volume swap will produce greasy results in baked goods.

Frequently asked questions

Can I use vegan butter 1:1 in any butter recipe?
In most cases, yes. Vegan butter sticks like Earth Balance or Miyoko's are formulated to match dairy butter's water and fat content, so a 1:1 swap works reliably in cookies, cakes, pie crust, and savory cooking. The exception is recipes that depend heavily on dairy-specific flavor, such as classic brown butter sauces—Miyoko's cultured butter comes closest, but the result will still differ.
Does coconut oil work for vegan buttercream frosting?
Not well. Coconut oil lacks the emulsified structure of butter, so frosting made with it tends to be greasy, unstable at room temperature, and difficult to pipe. Vegan butter sticks (Earth Balance or Miyoko's) are strongly preferred for buttercream.
Is margarine vegan?
Not always. Some margarines contain whey, casein, or lactose. Check the label—many conventional margarines include dairy derivatives. Specifically labeled vegan margarines are dairy-free, but quality and fat composition vary widely. Vegan butter sticks from dedicated vegan brands are a more reliable choice.

← Back to all butter substitutes