Short Answer
The best coconut oil substitute is butter or vegan butter in solid-fat recipes and canola oil in melted-oil recipes, starting at 1 cup for 1 cup.
- Use refined avocado oil for searing, since it smokes at 500°F or more against 350°F for virgin coconut oil.
- Skip liquid oil in no-bake bars and chocolate toppings, because only a solid fat firms in the fridge.
Coconut oil is about 92% saturated fat, which is why it sets hard in the fridge and runs clear in a warm pan, unlike the liquid oils behind most oil swaps. That firmness is the trait a substitute has to copy, and the heat and flavor of the bottle you are replacing settle the rest.
What Does Coconut Oil Do in a Recipe?
Because coconut oil is firm when cold, a recipe can use it like butter: cut into flour, creamed into cake batter, or melted with chocolate into a topping that firms in the fridge.
Melted, it is a liquid fat that moistens muffins, brownies and granola, then firms again as the food cools. Breakfast cookies such as the coconut cranberry cookies hold together because the oil sets while they cool, and a liquid oil would likely leave them crumbly.
The bottle matters too, because refined coconut oil has little to no coconut flavor while virgin keeps it, and virgin oil smokes at 350°F against 450°F for refined. If a recipe asks for virgin oil, you may want that coconut taste, and none of the swaps below brings it back.
Best Substitutes for Coconut Oil
Every swap starts at 1 cup for 1 cup, and you adjust from there. King Arthur replaces butter with coconut oil, shortening or vegan butter 1:1 in bread, pie crust, pastry and cake, and expects slight flavor and texture differences.
Butter, shortening and vegan butter start at the same measure when they replace coconut oil, and so do the liquid oils, which are 100% fat like coconut oil. Butter is only about 80% fat, and you adjust it the most.
| Swap | Form | Smoke point | Best for |
|---|---|---|---|
| Butter or vegan butter | Solid | 350°F (butter) | Cookies, cakes, pie crust, toppings |
| Vegetable shortening | Solid | Varies by brand | Pie crust, cake, biscuits |
| Canola oil | Liquid | 468°F (refined) | Muffins, brownies, granola |
| Avocado oil | Liquid | 500 to 520°F (refined) | Searing, stir-frying |
| Sunflower oil | Liquid | 440 to 460°F | Frying, quick breads |
| Olive oil | Liquid | 320 to 375°F (extra virgin) | Sautéing, savory bakes |
| Grapeseed oil | Liquid | 420 to 435°F (refined) | Smoothies, dressings, sautéing |
| Almond oil | Liquid | 420 to 495°F | Baking, stir-fries |
Butter, vegan butter and shortening stay solid and replace coconut oil that is creamed, cut in or left to set, while the six oils replace it only when it is melted. Smoke points are Tufts' figures, except butter's, which is Colorado State's.
Which Solid Fat Replaces Solid Coconut Oil?
When you cream, cut in or chill the coconut oil, you need a fat that firms up in the fridge. A topping of 1 cup of chocolate chips melted with 1 tablespoon of coconut oil sets with a snap that way, as on the no-bake peanut butter chocolate bars, and a liquid oil would leave the chocolate soft.
1. Butter or Vegan Butter
Butter starts at 1 cup for 1 cup, and so does vegan butter in a dairy-free bake. Butter is about 80% fat and 18% water, which gives the dough a little steam that coconut oil never added.
- Baked bars take either fat: the maple pecan breakfast bars call for ¼ cup of melted coconut oil or butter.
- Vegan butter is the dairy-free choice, since King Arthur found its cake tasted most like a dairy-based one.
Cookies show the change most: in King Arthur's chocolate chip test (refined coconut oil, one batch) the butter dough spread to a good size while the coconut oil cookies came out cakey and slightly dry, which means a swap to butter gives a less cakey middle.
Butter also smokes at 350°F, the same as virgin coconut oil, and that suits medium-heat sautéing but burns when you sear on high.
2. Vegetable Shortening
When the coconut taste has to disappear, vegetable shortening is the pick at 1 cup for 1 cup, because plain shortening is nearly flavorless. King Arthur's dairy-free cake tests found that shortening gives a well-structured cake and creams better than coconut oil, which needs its solid, room-temperature form to cream at all.
In a dairy-free pie crust, King Arthur ranked shortening flakier than coconut oil, and a crust made with only coconut oil bakes up slightly heavy and less flaky than a butter crust.
Which Liquid Oil Replaces Melted Coconut Oil?
Any of these oils replaces melted or heated coconut oil measured by volume. None of them sets like coconut oil, and you skip them wherever the oil has to be creamed or chilled solid.
3. Canola Oil
Canola oil is the plain default: it tastes of almost nothing, costs little and replaces melted coconut oil at the same measure. In a muffin batter, canola goes in at ¼ cup in place of the melted coconut oil in the gluten-free banana almond muffins, and you then taste and check the crumb.
In granola it coats the oats just as well, but the clusters tend to come out looser, because melted coconut oil firms as the tray cools and canola stays liquid.
4. Avocado Oil
For searing and stir-frying, avocado oil is the swap, because refined avocado oil has the highest smoke point of the six oils here and stays far above virgin coconut oil's 350°F. It tastes faintly of avocado and nuts, and Tufts lists it as expensive, a reason to keep it for the hot pan and use canola when you bake.
5. Sunflower Oil
Deep frying and sautéing are where sunflower oil fits, because it is neutral and fries about as hot as refined coconut oil, and it goes into quick breads and cakes at the same measure. Buy a high-oleic bottle if you fry, since UConn Extension puts high-oleic sunflower oil in its top heat tier and Tufts calls it the more stable type.
6. Olive Oil
If you reach for olive oil, pick the bottle by the dish, because it tastes fruity and peppery. Extra virgin oil smokes in about the same range as virgin coconut oil, which is enough for low-heat sautéing, while a light or mild bottle suits a cake or muffin.
7. Grapeseed Oil
In smoothies and dressings, grapeseed oil blends in where coconut oil usually firms into bits when you add cold fruit or ice. It tastes clean and light and sautés at medium-high heat, though Tufts lists it as expensive.
8. Almond Oil
A delicate almond note comes with almond oil in a muffin, a cake or a stir-fry that welcomes it. Its smoke point range is wide, and you should check the bottle before you fry.
Tree nut allergy
Almond oil comes from a tree nut and has to stay out of any dish for a guest who avoids tree nuts.
Which Substitute Should You Use for Your Recipe?
A recipe that has you cream, cut in or chill the coconut oil needs a solid fat, while one that melts or heats it takes a liquid oil chosen by heat and flavor.
Solid fat
Butter, vegan butter and shortening cream, cut in and firm in the fridge.
Butter smokes at 350°F and burns in a hot sear.
Liquid oil
Canola, avocado and sunflower oil take frying heat and melted-oil batters.
It stays liquid in the fridge and leaves bars and toppings unset.
Coconut butter is pureed coconut flesh, a different product from the oil, and a recipe that names it needs its own coconut butter stand-ins.
Frequently Asked Questions
Yes, butter can replace coconut oil in baking, adding richness and flavor, though it will change the texture slightly.
Yes, olive oil is a great substitute for sautéing at low to medium heat, offering a similar fat content.
Avocado oil has a higher smoke point than coconut oil, making it a better choice for high-heat cooking methods.
Yes, sunflower oil works well for frying, providing a neutral flavor and a high smoke point similar to coconut oil.
Yes, canola oil is a mild-flavored, neutral option that works in most recipes where coconut oil is called for.
Yes, grapeseed oil can be used in smoothies as it has a light flavor and adds healthy fats, though it won't replicate coconut oil's tropical flavor.
Sources
- Tufts Health & Nutrition Letter, Comparing Cooking-Oil Choices
- Colorado State University, Kendall Reagan Nutrition Center, Cooking with Fats and Oils
- UConn Extension, Heart Healthy Cooking Oils
- King Arthur Baking, Butter? Oil? Shortening? Which fat makes the best chocolate chip cookies?
- King Arthur Baking, Dairy-free cake
- King Arthur Baking, Dairy-free pie crusts and fillings
- King Arthur Baking, How to bake dairy-free

Andrew Gray is a seasoned food writer and blogger with a wealth of experience in the restaurant and catering industries. With a passion for all things delicious, Andrew has honed his culinary expertise through his work as a personal chef and caterer.
His love for food led him to venture into food writing, where he has contributed to various online publications, sharing his knowledge and insights on the culinary world. As the proud owner of CooksCrafter.com, Andrew covers a wide range of topics, including recipes, restaurant reviews, product recommendations, and culinary tips.
Through his website, he aims to inspire and educate fellow food enthusiasts, offering a comprehensive resource for all things food-related.










