How to Substitute for Coconut Oil In Cooking and Baking

The best coconut oil alternatives for every recipe, according to a chef.

May 11, 2026
Cook pouring oil into a hot black saucepan

660939872/Getty Images

Cook pouring oil into a hot black saucepan

Photo by: PierreOlivierClementMantion

PierreOlivierClementMantion

Coconut oil is a go-to replacement for butter in vegan baking and its high smoke point makes it a favorite for high heat cooking applications like frying and grilling. But what if you don’t have coconut oil in your pantry? Or maybe you want to find alternatives to coconut oil for health or budgetary reasons? For more info on how to pick an alternative to coconut oil in cooking and in baking, we consulted Ann Ziata, chef at the Institute of Culinary Education.

667610257

Photo by: RUSS ROHDE/Getty Images

RUSS ROHDE/Getty Images

Understanding Coconut Oil

Coconut oil is made by extracting oil from coconut meat (the inner kernel) and/or coconut milk. Virgin coconut oil is extracted from fresh coconut meat using minimal heat and processing, so it retains more nutrients and coconut aroma; it has a smoke point of up to 350 degrees Fahrenheit. Refined coconut oil is processed from the dried copra, so it is typically odorless, has a neutral flavor profile and a smoke point of up to 500 degrees Fahrenheit. For more info, check out our primer Refined Vs. Unrefined Coconut Oil.

Coconut oil can be used for frying and sauteing. In baking, its semisolid consistency makes it similar to baking with shortening or lard in biscuits, quick breads, cakes and cookies. It's well-suited to vegan baked goods, too.

Coconut oil is a plant-based lipid that is high in saturated fats, so it is solid at room temperature. “It is primarily composed of lauric acid, which is antimicrobial and antibacterial,” Ziata explains. “It’s a medium-chain fatty acid, meaning that it is used mostly for energy.

“The most common reason people don’t use coconut oil is that it is much more expensive than other fats,” Ziata says. “With a melting point of 76 degrees Fahrenheit, coconut oil is much less stable than lard and shortening when trying to keep it cold while mixing it into a recipe. If it’s not unscented, it can have a very strong, sometimes overpowering coconut aroma.”

Girl Drizzling Oil Into A Heated Pan

2164792510

Girl Drizzling Oil Into A Heated Pan

Photo by: Zheka-Boss/Getty Images

Zheka-Boss/Getty Images

Top Alternatives to Coconut Oil for Cooking

To determine the best substitutes for coconut oil in cooking, consider the type of cooking application as well as flavor profiles and properties. The best substitutes for coconut oil are avocado oil, canola oil, peanut oil or olive oil, Ziata says. Since they are all 100% fat, she says they can all be used as a 1:1 ratio.

Avocado Oil

Both coconut oil and avocado oil have a high smoke point, making avocado oil a great replacement for high heat cooking applications such as deep frying, pan frying, and grilling. It also has a neutral flavor profile that works well in a variety of recipes.

Canola Oil

Canola oil has a neutral flavor profile and a high smoke point, making it a great substitute for coconut oil when frying or grilling.

Peanut Oil

This also has a neutral flavor profile and a high smoke point, making it another good sub for coconut oil in frying or grilling applications.

Olive Oil

For low- to medium-heat cooking applications, reach for olive oil in place of coconut oil. You can also use any of the high smoke point oils listed above, but olive oil is better for imparting flavor.

Ghee butter or clarified butter delicious gourmet food background on the table rustic food top view copy space keto and paleo diet vegetarian and vegan food

2206522449

Ghee butter or clarified butter delicious gourmet food background on the table rustic food top view copy space keto and paleo diet vegetarian and vegan food

Photo by: a-lesa/Getty Images

a-lesa/Getty Images

Top Alternatives to Coconut Oil in Baking

The best alternative for coconut oil in baking include ghee, shortening, canola oil, or butter. To determine which one to use, Ziata considers which properties are most important in the recipe, as outlined below.

Ghee

Ghee is clarified butter and has a rich flavor. Ghee is solid at room temperature, making it a good swap for coconut oil at a 1:1 ratio. Use ghee in place of coconut oil in cookies, cakes or pastries.

Shortening

If you need a solid fat to cream or cut into the dough, as with cookies, biscuits, pie crust, or shortbread, use another saturated fat like shortening at a 1:1 ratio.

Canola Oil

If the recipe calls for melted (liquid) coconut oil, such as cakes, breads and muffins, you can do a 1:1 swap with canola oil.

Butter

Unlike oils, butter is about 80% fat and 20% water/milk solids, so using butter instead of coconut oil can make for a richer, softer baked good. For replacing coconut oil with butter, use 8 tablespoons of butter for every 6 tablespoons and 1 teaspoon of coconut oil, and remove 1-2 tablespoons of liquid (water or milk) from the recipe.

Over the shoulder view of young woman holding a bottle of olive oil against the shelf. Healthy eating and lifestyle.

2161809413

Over the shoulder view of young woman holding a bottle of olive oil against the shelf. Healthy eating and lifestyle.

Photo by: Oscar Wong/Getty Images

Oscar Wong/Getty Images

How to Choose the Right Substitute

When selecting an alternative to coconut oil, determine which properties are most important for the recipe, including the type of fat, smoke point, and flavor.

Type of Fat: Does the recipe call for a saturated fat, i.e. solid at room temperature, or an unsaturated fat, i.e. an oil, which is liquid at room temperature?

Smoke Point: Coconut oil has a high smoke point, with unrefined coconut oil at 350 degrees Fahrenheit and refined coconut oil at up to 500 degrees Fahrenheit. If you plan to cook at high-heat temperatures, opt for another oil with a high smoke point.

Flavor: Refined coconut oil does not have flavor or aroma, so opt for another it will be quite neutral with a mild, clean scent.

“Always look for high quality, minimally processed oils for best results in flavor, cooking, and health,” Ziata says. “It’s best to include a variety of fats in your diet and cooking. Store oils away from light, heat, and oxygen to keep them fresh for as long as possible.”

Related Links:

Next Up

Refined Versus Unrefined Coconut Oil: What’s the Difference?

Can you use both for cooking? What about baking?

How To Dispose of Cooking Oil

First things first: don’t pour it down the drain.

What Is the Best Substitute for Shortening?

You probably already have them in your pantry.

The 13 Best Egg Substitutes for Every Recipe

And when to use each replacement.

The Best Milk Substitutes

Read on to learn the pros and cons of each, plus which are best for coffee and baking.

How to Toast Coconut

Completely transform your coconut flakes or shredded coconut into a deep, sultry, nutty addition to cakes, pies and other desserts. We'll show you how to do it in less than 10 minutes!

What's the Best Cornstarch Substitute?

No cornstarch? No problem. You probably have one of these 5 substitutes on hand.

How to Open a Coconut

Here, how to crack a mature coconut and how to open and drink from a young one.

The Best Oil for Frying

We've got 6 good options, ranked — plus the details about which oils you should never use for frying.

More from:

Cooking School

What's New