Dinners

Can You Replace Butter With Coconut Oil?

Updated · By Patriot Kitchen

Save

Yes, you can replace butter with coconut oil in most baking and cooking, but not with a 1:1 swap in every case. Use ¾ cup (150 g) of coconut oil for every 1 cup (227 g) of butter in baked goods, and use a straight 1:1 by volume when you are frying or sautéing. The swap changes texture, browning and flavor, so the job is knowing which of those matters for what you are making.

Take a standard batch of chocolate chip cookies calling for 1 cup (227 g) butter. Soften ¾ cup (150 g) refined coconut oil to the consistency of soft butter, cream it with the sugars as you would butter, and bake as written. The cookies spread a little more and brown a little less at the edges. In a skillet of scrambled eggs, 1 tbsp (14 g) coconut oil replaces 1 tbsp (14 g) butter with no arithmetic at all.

Coconut Oil Swaps at ¾ Cup per Cup of Butter

The ¾ rule exists because butter is roughly 80 to 82 percent fat and about 16 to 18 percent water, while coconut oil is essentially all fat. Cutting the amount back by a quarter restores the fat-to-liquid balance the recipe was built around. Skip that step and cakes turn greasy and cookies spread thin.

Butter called for Coconut oil to use
1 tbsp (14 g) 2¼ tsp (10 g)
¼ cup (57 g) 3 tbsp (37 g)
½ cup (113 g) 6 tbsp (75 g)
1 cup (227 g) ¾ cup (150 g)

Two exceptions to the ¾ rule. For frying, sautéing and greasing pans, measure coconut oil 1:1 by volume with butter — a little extra fat in a hot pan does no harm and helps prevent sticking. For pie crusts, biscuits and other laminated doughs where butter’s water content creates steam and flake, keep the ¾ ratio and expect a slightly less flaky result; the crust will be tender but shorter.

Refined or Virgin Changes the Flavor and the Smoke Point

Refined coconut oil is neutral and behaves predictably in baking; it is the default for anything where you do not want coconut flavor. Virgin (unrefined) coconut oil carries a distinct coconut taste that will read through in a vanilla cake or a batch of biscuits. Use virgin oil where coconut suits the recipe — banana bread, granola, curry, sautéed vegetables — and refined everywhere else.

Smoke points differ enough to matter for stovetop work. Refined coconut oil tolerates roughly 400°F (204°C) before it smokes; virgin coconut oil is lower, around 350°F (177°C). For searing at high heat, refined is the safer choice. For oven baking at 350°F (177°C), either works.

Solid or Melted: Match the State the Recipe Expects

Coconut oil is solid below about 76°F (24°C) and liquid above it. Room temperature in a warm kitchen may leave it pourable, which throws off creaming. If a recipe says “softened butter,” soften the coconut oil until it holds a fingerprint but still holds its shape — a few minutes near a warm stove, not a microwave blast. Melted coconut oil behaves like melted butter in muffins and quick breads but will not cream with sugar, so do not substitute melted oil where the method calls for beating softened fat with sugar until pale.

What the Swap Does to Cookies, Cakes and Pastry

Butter browns because of its milk solids; coconut oil has none, so baked goods stay paler and take longer to show color. Watch the doneness cue rather than the clock: cookies are done when the edges are set and the centers look slightly underdone, cakes when a skewer comes out with a few moist crumbs.

Butter also carries flavor compounds from those milk solids. In a butter cookie or shortbread, coconut oil produces a flatter-tasting result; add ¼ tsp (1 g) salt per cup of flour if the recipe did not already call for it. In chocolate cakes, spice cakes and anything with brown sugar, the difference is small.

Chilling matters more with coconut oil. Cookie dough made with coconut oil softens faster on a warm counter, so chill it 30 minutes before scooping if it feels slack. Pie dough made with coconut oil needs a firm 1 hour in the refrigerator before rolling, and it is less forgiving if it warms up — work quickly and re-chill if it starts to stick.

Where Coconut Oil Fails as a Butter Substitute

Some jobs depend on butter specifically, and coconut oil will not do them:

  • Buttercream and frostings. Coconut oil does not whip into a stable buttercream the way butter does; it turns grainy when beaten and firms up hard in the refrigerator. Use butter.
  • Pie crust edges and laminated pastry. Butter’s water and its plasticity create layers. Coconut oil gives a tender but mealy crust.
  • Finishing a sauce or melting over vegetables. The flavor difference is obvious; use butter when butter is the point.
  • Greasing a Bundt pan or intricate mold. Coconut oil can pool and leave bare patches. Use a paste of coconut oil and a little flour, or butter.

For a dairy-free version of a recipe, coconut oil is one option; check labels on any packaged ingredient if allergies are a concern.

Measuring, Storing and Keeping the Swap Safe

Measure solid coconut oil by spooning it into a dry measuring cup and leveling it, the same way you would shortening. If the jar has liquefied, stir it first — the fat can separate — then measure the liquid in a liquid measuring cup and chill the measured amount until it sets if the recipe needs solid fat.

Store coconut oil in a closed container away from heat and light; it keeps for months at room temperature and longer in a cool cupboard. Refrigeration is not required, but it will make the oil hard and inconvenient to measure. Discard oil that smells rancid or soapy.

One more check: coconut oil is not a substitute for butter in recipes where butter is melted and then browned for flavor, and it will not give the same result in croissants, puff pastry or anything built on rolling butter into dough. For those, keep the butter.

Related

Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.

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